"use strict";(self.webpackChunkbookings_web_accounts_portal_workspaces=self.webpackChunkbookings_web_accounts_portal_workspaces||[]).push([[699],{52435:function(t,n,e){var r,o,i,s,u,a,f,c,l;function p(t){return p="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},p(t)}e(70489),e(95853),e(64509),e(20341),e(17482),e(7849),e(78604),e(68305),function(t,n){if(!n.jstmpl){var e,r,o,i,s,u,a,f,c,l,p,h,g,_,v,m,d,y,b,T,E,S,w,A,L,M,j=[];i=function(t,n){this.closure=t,this.name=n},s=function(t){var n=[];return c(n,t,0),1===n.length?n[0]:n.join("")},a=function(t,n,e){return/^[0-9]+$/.test(t)?t:""===t?null:(M("Attempting to use non-numeric value '"+t+"' for translation tag '"+e+"'"),0)},M=function(r,o){r=r||"BHCJS runtime issue",n&&n.env&&n.env.b_dev_server?(o&&console.warn("Template: "+o),console.error(r)):e.error_out&&t.onerror&&t.onerror("JSTMPL:: "+r,o||"jstmpl",0)},f=function(t){if("string"!=typeof t||-1===t.indexOf("{"))return t;var n=[];return p(n,t,0),1===n.length?n[0]:n.join("")},h=new Array(42),p=function(t,n,e){var r=0;for(n.length;;){var o=n.indexOf("{",r);if(-1===o){0===r?t.push(n):t.push(n.substring(r));break}o!==r&&(t.push(n.substring(r,o)),r=o);var i=n.indexOf("}",o+1);if(i!==o+1){if(-1===i){t.push(n.substring(r));break}for(var s=o+1;s="0"&&u<="9"||u>="a"&&u<="z"||"_"==u||"/"==u||"-"==u))break}s===i?(c(t,n.substring(o+1,i),e+1),r=i+1):(t.push(n.substring(o,s)),r=s)}else t.push("{}"),r=i+1}},c=function(t,n,e){if(e>0){if(e>=42)return console.warn("Detected excessive recursion in tag sequence: %s, returning '%s'",interpolate_tags.slice(1,42).join(" "),value),void t.push(n);if(n===h[e-1])return console.warn("Detected self-referential tag '%s', returning '%s'",value,value),void t.push(n)}h[e]=n;for(var i=0,s=r.length;i=n;)r.push({value:String.fromCharCode(t)}),t-=e;else if(t<=n)for(;t<=n;)r.push({value:t}),t+=e;else for(;t>=n;)r.push({value:t}),t-=e;return r},defined:function(t){return void 0!==t?1:0},substr:function(t,n,e){return t.substr(n,e)},sprintf:T,ucfirst:E=function(t){return t.charAt(0).toUpperCase()+t.substr(1)},lcfirst:function(t){return t.charAt(0).toLowerCase()+t.substr(1)},ucfirstword:S,rand:function(t){return void 0===t?Math.random():Math.random()*t},time:function(){return+new Date/1e3},in_array:w}},(e=function(t,n){if(void 0===n)return t in A?A[t]:A.__no_op__;var e=new i(n,t);return A[t]=e,e}).setup=function(t){var n=function(t,n){if(n)for(var e in n)n.hasOwnProperty(e)&&(t[e]=n[e])};n(i.prototype.fn,t.fn),n(i.prototype.fn.FILTERS,t.filters),"get_trans"in t&&(i.prototype.fn.GET_TRANS=i.prototype.fn.ME=t.get_trans),"get_text"in t&&(i.prototype.fn.GET_TEXT=i.prototype.fn.MF=t.get_text),"get_var_plural"in t&&(i.prototype.fn.GET_VAR_PLURAL=i.prototype.fn.VP=t.get_var_plural),"get_static_hostname"in t&&(i.prototype.fn.STATIC_HOSTNAME=t.get_static_hostname),"get_csrf_token"in t&&(i.prototype.fn.CSRF_TOKEN=t.get_csrf_token),"get_date"in t&&(i.prototype.fn.DATE=t.get_date),"get_helper"in t&&(i.prototype.fn.HELPER=t.get_helper),"translations"in t&&(o=t.translations)},e.fn=i.prototype.fn,e("__no_op__",(function(){return M("JSTMPL -> TMPL not found")||""})),n.jstmpl=e}}(window,window.booking||{}),e(4040),function(t){if(t.jstmpl=t.jstmpl||{setup:function(){console.error("This is a mocked method. It's needed for client BHC templates to work, and doesn't need to work while we don't use them")}},!t.jstmpl.translations){var n,e=t.jstmpl,r=t.env,o=function(t,n,e,o){var s=0,u=!(0!==o&&!o);if(u){if(/^[0-9]+$/.test(o))s=parseInt(o,10);else{var a=n(o);/^[0-9]+$/.test(a)?s=a:console.warn("Trying to use a non-numeric template var for exception tool on copy '%s'",t)}e("num",s)}if(r&&r.global_translation_tags)for(var f in r.global_translation_tags)n(f)||e(f,r.global_translation_tags[f]);return i(t,n,e,s,u)},i=function(t,n,e,r,o){var a,f=t.split("/");""===f[0]&&f.shift(),1==f.length&&("{"===(p=f[0]).charAt(0)&&"}"===p.charAt(p.length-1)&&(p=p.substr(1,p.length-2)),f=["private",p,"name"]);for(var c=0,l=f.length;c
"+(n?"\n
":"")},r=function(t){return t.replace(/(?:\r?\n)((?:\r?\n)*)/,o)},s=function(t,n){return n?"
":"\n
"},i=function(t){return t.replace(/(?:\r?\n)((?:\r?\n)*)/,s)},a=function(t){return r(d(t))},u=function(t){return r(n(t))},f=function(t){return"
"+i(n(t))+"
"},c=function(t){return""+i(String(t))+"
"},p=function(t){return A[t]},l=function(t){return String(t).replace(/([\b\f\n\r\t'"\\<>]|"|')/g,p)},h=function(n){return t.jstmpl.fn.PERL_BOOL(n)?"true":"false"},g=function(t){return null==t?"":"'"+l(t)+"'"},_=function(t){return encodeURIComponent(t).replace(/[!'()]/g,escape).replace(/\*/g,"%2A")},v=function(t){return String(t).replace(/ /g,"")},m=function(t){return String(t).replace(/\n/g,"