1(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,294951,e=>{"use strict";var t=e.i(247167);let r={reset:[0,0],bold:[1,22],dim:[2,22],italic:[3,23],underline:[4,24],overline:[53,55],inverse:[7,27],hidden:[8,28],strikethrough:[9,29],black:[30,39],red:[31,39],green:[32,39],yellow:[33,39],blue:[34,39],magenta:[35,39],cyan:[36,39],white:[37,39],blackBright:[90,39],redBright:[91,39],greenBright:[92,39],yellowBright:[93,39],blueBright:[94,39],magentaBright:[95,39],cyanBright:[96,39],whiteBright:[97,39],bgBlack:[40,49],bgRed:[41,49],bgGreen:[42,49],bgYellow:[43,49],bgBlue:[44,49],bgMagenta:[45,49],bgCyan:[46,49],bgWhite:[47,49],bgBlackBright:[100,49],bgRedBright:[101,49],bgGreenBright:[102,49],bgYellowBright:[103,49],bgBlueBright:[104,49],bgMagentaBright:[105,49],bgCyanBright:[106,49],bgWhiteBright:[107,49]};function n(e,t,i,a=!1){let o=String(t),s=(e,t)=>`\u001b[${t[0]}m${e}\u001b[${t[1]}m`,l=(e,t)=>null!=t&&"string"==typeof t?s(e,r[t]):null!=t&&Array.isArray(t)?t.reduce((e,t)=>l(e,t),e):null!=t&&null!=t[e.trim()]?l(e,t[e.trim()]):null!=t&&null!=t["*"]?l(e,t["*"]):e;return o.replace(/{{(.+?)}}/g,(t,n)=>{let o=null!=i[n]?String(i[n]):a?"":t;return e.stylePrettyLogs?l(o,e?.prettyLogStyles?.[n]??null)+s("",r.reset):o})}
1function i(e,t=2,r=0){return null!=e&&isNaN(e)?"":(e=null!=e?e+r:e,2===t?null==e?"--":e<10?"0"+e:e.toString():null==e?"---":e<10?"00"+e:e<100?"0"+e:e.toString())}function a(e){let t=new Set;return JSON.stringify(e,(e,r)=>{if("object"==typeof r&&null!==r){if(t.has(r))return"[Circular]";t.add(r)}return r})}function o(e,t){let r={seen:[],stylize:l};return null!=t&&O(r,t),s(r.showHidden)&&(r.showHidden=!1),s(r.depth)&&(r.depth=2),s(r.colors)&&(r.colors=!0),s(r.customInspect)&&(r.customInspect=!0),r.colors&&(r.stylize=u),v(r,e,r.depth)}function s(e){return void 0===e}function l(e){return e}function u(e,t){let r=o.styles[t];return null!=r&&o?.colors?.[r]?.[0]!=null&&o?.colors?.[r]?.[1]!=null?"\x1b["+o.colors[r][0]+"m"+e+"\x1b["+o.colors[r][1]+"m":e}function c(e){return"function"==typeof e}function g(e){return"string"==typeof e}o.colors=r,o.styles={special:"cyan",number:"yellow",boolean:"yellow",undefined:"grey",null:"bold",string:"green",date:"magenta",regexp:"red"};function h(e,t){return Object.prototype.hasOwnProperty.call(e,t)}function f(e){return p(e)&&"[object RegExp]"===y(e)}function p(e){return"object"==typeof e&&null!==e}function d(e){return p(e)&&("[object Error]"===y(e)||e instanceof Error)}function m(e){return p(e)&&"[object Date]"===y(e)}function y(e){return Object.prototype.toString.call(e)}function b(e){return"["+Error.prototype.toString.call(e)+"]"}function v(e,t,r=0){var n,i,a;let s,l;if(e.customInspect&&null!=t&&c(t)&&t?.inspect!==o&&!(t?.constructor&&t?.constructor.prototype===t)){if("function"!=typeof t.inspect&&null!=t.toString)return t.toString();let n=t?.inspect(r,e);return g(n)||(n=v(e,n,r)),n}let u=k(e,t);if(u)return u;let p=Object.keys(t),y=(l={},p.forEach(e=>{l[e]=!0}),l);try{e.showHidden&&Object.getOwnPropertyNames&&(p=Object.getOwnPropertyNames(t))}catch(e){}if(d(t)&&(p.indexOf("message")>=0||p.indexOf("description")>=0))return b(t);if(0===p.length)if(!c(e.stylize))return t;else{if(c(t)){let r=t.name?": "+t.name:"";return e.stylize("[Function"+r+"]","special")}if(f(t))return e.stylize(RegExp.prototype.toString.call(t),"regexp");if(m(t))return e.stylize(Date.prototype.toISOString.call(t),"date");if(d(t))return b(t)}let O="",L=!1,w=["{\n","\n}"];if(Array.isArray(t)&&(L=!0,w=["[\n","\n]"]),c(t)&&(O=" [Function"+(t.name?": "+t.name:"")+"]"),f(t)&&(O=" "+RegExp.prototype.toString.call(t)),m(t)&&(O=" "+Date.prototype.toUTCString.call(t)),d(t)&&(O=" "+b(t)),0===p.length&&(!L||0==t.length))return w[0]+O+w[1];if(r<0)if(f(t))return e.stylize(RegExp.prototype.toString.call(t),"regexp");else return e.stylize("[Object]","special");return e.seen.push(t),s=L?function(e,t,r,n,i){let a=[];for(let i=0,o=t.length;i<o;++i)h(t,String(i))?a.push(P(e,t,r,n,String(i),!0)):a.push("");return i.forEach(i=>{i.match(/^\d+$/)||a.push(P(e,t,r,n,i,!0))}),a}(e,t,r,y,p):p.map(n=>P(e,t,r,y,n,L)),e.seen.pop(),n=s,i=O,(a=w)[0]+(""===i?"":i+"\n")+" "+n.join(",\n ")+" "+a[1]}function P(e,t,r,n,i,a){let o,l,u={value:void 0};try{u.value=t[i]}catch(e){}try{Object.getOwnPropertyDescriptor&&(u=Object.getOwnPropertyDescriptor(t,i)||u)}catch(e){}if(u.get?l=u.set?e.stylize("[Getter/Setter]","special"):e.stylize("[Getter]","special"):u.set&&(l=e.stylize("[Setter]","special")),h(n,i)||(o="["+i+"]"),!l&&(0>e.seen.indexOf(u.value)?(l=null===r?v(e,u.value,void 0):v(e,u.value,r-1)).indexOf("\n")>-1&&(l=a?l.split("\n").map(e=>" "+e).join("\n").substr(2):"\n"+l.split("\n").map(e=>" "+e).join("\n")):l=e.stylize("[Circular]","special")),s(o)){if(a&&i.match(/^\d+$/))return l;(o=JSON.stringify(""+i)).match(/^"([a-zA-Z_][a-zA-Z_0-9]*)"$/)?(o=o.substr(1,o.length-2),o=e.stylize(o,"name")):(o=o.replace(/'/g,"\\'").replace(/\\"/g,"\\'").replace(/(^"|"$)/g,"'"),o=e.stylize(o,"string"))}return o+": "+l}function k(e,t){if(s(t))return e.stylize("undefined","undefined");if(g(t)){let r="'"+JSON.stringify(t).replace(/^"|"$/g,"").replace(/'/g,"\\'").replace(/\\"/g,"\\'")+"'";return e.stylize(r,"string")}return"number"==typeof t?e.stylize(""+t,"number"):"boolean"==typeof t?e.stylize(""+t,"boolean"):null===t?e.stylize("null","null"):void 0}function O(e,t){if(!t||!p(t))return e;let r={...e},n={...t},i=Object.keys(t),a=i.length;for(;a--;)r[i[a]]=n[i[a]];return e}let L={getCallerStackFrame:T,getErrorTrace:N,getMeta:function(e,t,r,n,i,a){return Object.assign({},w,{name:i,parentNames:a,date:new Date,logLevelId:e,logLevelName:t,path:n?void 0:T(r)})},transportJSON:function(e){console.log(a(e))},transportFormatted:function(e,t,r,n){let i=(r.length>0&&t.length>0?"\n":"")+r.join("\n");n.prettyInspectOptions.colors=n.stylePrettyLogs,console.log(e+function(e,...t){let r={seen:[],stylize:l};null!=e&&O(r,e);let n=t[0],i=0,s="",u="";if("string"==typeof n){let l;if(1===t.length)return n;let c=0;for(let u=0;u<n.length-1;u++)if(37===n.charCodeAt(u)){let g=n.charCodeAt(++u);if(i+1!==t.length){switch(g){case 115:{let n=t[++i];l="number"==typeof n||"bigint"==typeof n?k(r,n):"object"!=typeof n||null===n?String(n):o(n,{...e,compact:3,colors:!1,depth:0});break}case 106:l=a(t[++i]);break;case 100:{let e=t[++i];l="bigint"==typeof e?k(r,e):"symbol"==typeof e?"NaN":k(r,e);break}case 79:l=o(t[++i],e);break;case 111:l=o(t[++i],{...e,showHidden:!0,showProxy:!0,depth:4});break;case 105:{let e=t[++i];l="bigint"==typeof e?k(r,e):"symbol"==typeof e?"NaN":k(r,parseInt(l));break}case 102:{let e=t[++i];l="symbol"==typeof e?"NaN":k(r,parseInt(e));break}case 99:i+=1,l="";break;case 37:s+=n.slice(c,u),c=u+1;continue;default:continue}c!==u-1&&(s+=n.slice(c,u-1)),s+=l,c=u+1}else 37===g&&(s+=n.slice(c,u),c=u+1)}0!==c&&(i++,u=" ",c<n.length&&(s+=n.slice(c)))}for(;i<t.length;){let r=t[i];
1s+=u,s+="string"!=typeof r?o(r,e):r,u=" ",i++}return s}(n.prettyInspectOptions,...t)+i)},isBuffer:function(e){return!e&&!1},isError:E,prettyFormatLogObj:function(e,t){return e.reduce((e,r)=>(E(r)?e.errors.push(S(r,t)):e.args.push(r),e),{args:[],errors:[]})},prettyFormatErrorObj:S},w={runtime:[typeof window,typeof document].includes("undefined")?"Generic":"Browser",browser:globalThis?.navigator?.userAgent},C=/(?:(?:file|https?|global code|[^@]+)@)?(?:file:)?((?:\/[^:/]+){2,})(?::(\d+))?(?::(\d+))?/;function T(e,t=Error()){return _(t?.stack?.split("\n")?.filter(e=>!e.includes("Error: "))?.[e])}function N(e){return e?.stack?.split("\n")?.filter(e=>!e.includes("Error: "))?.reduce((e,t)=>(e.push(_(t)),e),[])}function _(e){let t=globalThis?.location?.origin,r={fullFilePath:void 0,fileName:void 0,fileNameWithLine:void 0,fileColumn:void 0,fileLine:void 0,filePath:void 0,filePathWithLine:void 0,method:void 0};if(null!=e){let n=e.match(C);if(n){r.filePath=n[1].replace(/\?.*$/,""),r.fullFilePath=`${t}${r.filePath}`;let e=r.filePath.split("/");r.fileName=e[e.length-1],r.fileLine=n[2],r.fileColumn=n[3],r.filePathWithLine=`${r.filePath}:${r.fileLine}`,r.fileNameWithLine=`${r.fileName}:${r.fileLine}`}}return r}function E(e){return e instanceof Error}function S(e,t){let r=N(e).map(e=>n(t,t.prettyErrorStackTemplate,{...e},!0)),i={errorName:` ${e.name} `,errorMessage:Object.getOwnPropertyNames(e).reduce((t,r)=>("stack"!==r&&t.push(e[r]),t),[]).join(", "),errorStack:r.join("\n")};return n(t,t.prettyErrorTemplate,i)}class I{constructor(e,t,r=4){this.logObj=t,this.stackDepthLevel=r,this.runtime=L,this.settings={type:e?.type??"pretty",name:e?.name,parentNames:e?.parentNames,minLevel:e?.minLevel??0,argumentsArrayName:e?.argumentsArrayName,hideLogPositionForProduction:e?.hideLogPositionForProduction??!1,prettyLogTemplate:e?.prettyLogTemplate??"{{yyyy}}.{{mm}}.{{dd}} {{hh}}:{{MM}}:{{ss}}:{{ms}} {{logLevelName}} {{filePathWithLine}}{{nameWithDelimiterPrefix}} ",prettyErrorTemplate:e?.prettyErrorTemplate??"\n{{errorName}} {{errorMessage}}\nerror stack:\n{{errorStack}}",prettyErrorStackTemplate:e?.prettyErrorStackTemplate??" ⢠{{fileName}} {{method}}\n {{filePathWithLine}}",prettyErrorParentNamesSeparator:e?.prettyErrorParentNamesSeparator??":",prettyErrorLoggerNameDelimiter:e?.prettyErrorLoggerNameDelimiter??" ",stylePrettyLogs:e?.stylePrettyLogs??!0,prettyLogTimeZone:e?.prettyLogTimeZone??"UTC",prettyLogStyles:e?.prettyLogStyles??{logLevelName:{"*":["bold","black","bgWhiteBright","dim"],SILLY:["bold","white"],TRACE:["bold","whiteBright"],DEBUG:["bold","green"],INFO:["bold","blue"],WARN:["bold","yellow"],ERROR:["bold","red"],FATAL:["bold","redBright"]},dateIsoStr:"white",filePathWithLine:"white",name:["white","bold"],nameWithDelimiterPrefix:["white","bold"],nameWithDelimiterSuffix:["white","bold"],errorName:["bold","bgRedBright","whiteBright"],fileName:["yellow"],fileNameWithLine:"white"},prettyInspectOptions:e?.prettyInspectOptions??{colors:!0,compact:!1,depth:1/0},metaProperty:e?.metaProperty??"_meta",maskPlaceholder:e?.maskPlaceholder??"[***]",maskValuesOfKeys:e?.maskValuesOfKeys??["password"],maskValuesOfKeysCaseInsensitive:e?.maskValuesOfKeysCaseInsensitive??!1,maskValuesRegEx:e?.maskValuesRegEx,prefix:[...e?.prefix??[]],attachedTransports:[...e?.attachedTransports??[]],over
1write:{mask:e?.overwrite?.mask,toLogObj:e?.overwrite?.toLogObj,addMeta:e?.overwrite?.addMeta,addPlaceholders:e?.overwrite?.addPlaceholders,formatMeta:e?.overwrite?.formatMeta,formatLogObj:e?.overwrite?.formatLogObj,transportFormatted:e?.overwrite?.transportFormatted,transportJSON:e?.overwrite?.transportJSON}}}log(e,t,...r){let n,i;if(e<this.settings.minLevel)return;let a=[...this.settings.prefix,...r],o=this.settings.overwrite?.mask!=null?this.settings.overwrite?.mask(a):null!=this.settings.maskValuesOfKeys&&this.settings.maskValuesOfKeys.length>0?this._mask(a):a,s=null!=this.logObj?this._recursiveCloneAndExecuteFunctions(this.logObj):void 0,l=this.settings.overwrite?.toLogObj!=null?this.settings.overwrite?.toLogObj(o,s):this._toLogObj(o,s),u=this.settings.overwrite?.addMeta!=null?this.settings.overwrite?.addMeta(l,e,t):this._addMetaToLogObj(l,e,t);return this.settings.overwrite?.formatMeta!=null&&(n=this.settings.overwrite?.formatMeta(u?.[this.settings.metaProperty])),this.settings.overwrite?.formatLogObj!=null&&(i=this.settings.overwrite?.formatLogObj(o,this.settings)),"pretty"===this.settings.type&&(n=n??this._prettyFormatLogObjMeta(u?.[this.settings.metaProperty]),i=i??this.runtime.prettyFormatLogObj(o,this.settings)),null!=n&&null!=i?this.settings.overwrite?.transportFormatted!=null?this.settings.overwrite?.transportFormatted(n,i.args,i.errors,this.settings):this.runtime.transportFormatted(n,i.args,i.errors,this.settings):this.settings.overwrite?.transportJSON!=null?this.settings.overwrite?.transportJSON(u):"hidden"!==this.settings.type&&this.runtime.transportJSON(u),null!=this.settings.attachedTransports&&this.settings.attachedTransports.length>0&&this.settings.attachedTransports.forEach(e=>{e(u)}),u}attachTransport(e){this.settings.attachedTransports.push(e)}getSubLogger(e,t){let r={...this.settings,...e,parentNames:this.settings?.parentNames!=null&&this.settings?.name!=null?[...this.settings.parentNames,this.settings.name]:this.settings?.name!=null?[this.settings.name]:void 0,prefix:[...this.settings.prefix,...e?.prefix??[]]};return new this.constructor(r,t??this.logObj,this.stackDepthLevel)}_mask(e){let t=!0!==this.settings.maskValuesOfKeysCaseInsensitive?this.settings.maskValuesOfKeys:this.settings.maskValuesOfKeys.map(e=>e.toLowerCase());return e?.map(e=>this._recursiveCloneAndMaskValuesOfKeys(e,t))}_recursiveCloneAndMaskValuesOfKeys(e,t,r=[]){if(r.includes(e))return{...e};if("object"==typeof e&&null!==e&&r.push(e),this.runtime.isError(e)||this.runtime.isBuffer(e))return e;if(e instanceof Map)return new Map(e);if(e instanceof Set)return new Set(e);if(Array.isArray(e))return e.map(e=>this._recursiveCloneAndMaskValuesOfKeys(e,t,r));if(e instanceof Date)return new Date(e.getTime());else if(e instanceof URL)return{href:e.href,protocol:e.protocol,username:e.username,password:e.password,host:e.host,hostname:e.hostname,port:e.port,pathname:e.pathname,search:e.search,searchParams:[...e.searchParams].map(([e,t])=>({key:e,value:t})),hash:e.hash,origin:e.origin};else if(null!==e&&"object"==typeof e){let n=this.runtime.isError(e)?this._cloneError(e):Object.create(Object.getPrototypeOf(e));return Object.getOwnPropertyNames(e).reduce((n,i)=>(n[i]=t.includes(this.settings?.maskValuesOfKeysCaseInsensitive!==!0?i:i.toLowerCase())?this.settings.maskPlaceholder:this._recursiveCloneAndMaskValuesOfKeys(e[i],t,r),n),n)}else{if("string"==typeof e){let t=e;for(let e of this.settings?.maskValuesRegEx||[])t=t.replace(e,this.settings?.maskPlaceholder||"");return t}return e}}_recursiveCloneAndExecuteFunctions(e,t=[]){return this.isObjectOrArray(e)&&t.includes(e)?this.shallowCopy(e):(this.isObjectOrArray(e)&&t.push(e),Array.isArray(e))?e.map(e=>this._recursiveCloneAndExecuteFunctions(e,t)):e instanceof Date?new Date(e.getTime()):this.isObject(e)?Object.getOwnPropertyNames(e).reduce((r,n)=>{let i=Object.getOwnPropertyDescriptor(e,n);if(i){Object.defineProperty(r,n,i);let a=e[n];r[n]="function"==typeof a?a():this._recursiveCloneAndExecuteFunctions(a,t)}return r},Object.create(Object.getPrototypeOf(e))):e}isObjectOrArray(e){return"object"==typeof e&&null!==e}isObject(e){return"object"==typeof e&&!Array.isArray(e)&&null!==e}shallowCopy(e){return Array.isArray(e)?[...e]:{...e}}_toLogObj(e,t={}){return e=e?.map(e=>this.runtime.isError(e)?this._toErrorObject(e):e),t=null==this.settings.argumentsArrayName?1!==e.length||Array.isArray(e[0])||!0===this.runtime.isBuffer(e[0])||e[0]instanceof Date?{...t,...e}:"object"==typeof e[0]&&null!=e[0]?{...e[0],...t}:{0:e[0],...t}:{...t,[this.settings.argumentsArrayName]:e}}_cloneError(e){let t=new e.constructor;return Object.getOwnPropertyNames(e).forEach(r=>{t[r]=e[r]}),t}_toErrorObject(e){return{nativeError:e,name:e.name??"Error",message:e.message,stack:this.runtime.getErrorTrace(e)}}_addMetaToLogObj(e,t,r){return{...e,[this.settings.metaProperty]:this.runtime.getMeta(t,r,this.stackDepthLevel,this.settings.hideLogPositionForProduction,this.settings.name,this.settings.parentNames)}}_prettyFormatLogObjMeta(e){if(null==e)return"";let t=this.settings.prettyLogTemplate,r={};t.includes("{{yyyy}}.{{mm}}.{{dd}} {{hh}}:{{MM}}:{{ss}}:{{ms}}")?t=t.replace("{{yyyy}}.{{mm}}.{{dd}} {{hh}}:{{MM}}:{{ss}}:{{ms}}","{{dateIsoStr}}"):"UTC"===this.settings.prettyLogTimeZone?(r.yyyy=e?.date?.getUTCFullYear()??"
1----",r.mm=i(e?.date?.getUTCMonth(),2,1),r.dd=i(e?.date?.getUTCDate(),2),r.hh=i(e?.date?.getUTCHours(),2),r.MM=i(e?.date?.getUTCMinutes(),2),r.ss=i(e?.date?.getUTCSeconds(),2),r.ms=i(e?.date?.getUTCMilliseconds(),3)):(r.yyyy=e?.date?.getFullYear()??"----",r.mm=i(e?.date?.getMonth(),2,1),r.dd=i(e?.date?.getDate(),2),r.hh=i(e?.date?.getHours(),2),r.MM=i(e?.date?.getMinutes(),2),r.ss=i(e?.date?.getSeconds(),2),r.ms=i(e?.date?.getMilliseconds(),3));let a="UTC"===this.settings.prettyLogTimeZone?e?.date:new Date(e?.date?.getTime()-e?.date?.getTimezoneOffset()*6e4);r.rawIsoStr=a?.toISOString(),r.dateIsoStr=a?.toISOString().replace("T"," ").replace("Z",""),r.logLevelName=e?.logLevelName,r.fileNameWithLine=e?.path?.fileNameWithLine??"",r.filePathWithLine=e?.path?.filePathWithLine??"",r.fullFilePath=e?.path?.fullFilePath??"";let o=this.settings.parentNames?.join(this.settings.prettyErrorParentNamesSeparator);return o=null!=o&&e?.name!=null?o+this.settings.prettyErrorParentNamesSeparator:void 0,r.name=e?.name!=null||null!=o?((o??"")+e?.name)??"":"",r.nameWithDelimiterPrefix=r.name.length>0?this.settings.prettyErrorLoggerNameDelimiter+r.name:"",r.nameWithDelimiterSuffix=r.name.length>0?r.name+this.settings.prettyErrorLoggerNameDelimiter:"",this.settings.overwrite?.addPlaceholders!=null&&this.settings.overwrite?.addPlaceholders(e,r),n(this.settings,t,r)}}var j=e.i(24509);let x={minLevel:parseInt(t.default.env.NEXT_PUBLIC_LOGGER_LEVEL||"4"),maskValuesOfKeys:["password","passwordConfirmation","credentials","credential"],prettyLogTimeZone:j.IS_PRODUCTION?"UTC":"local",prettyErrorStackTemplate:" ⢠{{fileName}} {{method}}\n {{filePathWithLine}}",prettyErrorTemplate:"\n{{errorName}} {{errorMessage}}\nerror stack:\n{{errorStack}}",prettyLogTemplate:"{{hh}}:{{MM}}:{{ss}}:{{ms}} [{{logLevelName}}] ",stylePrettyLogs:!j.IS_PRODUCTION,prettyLogStyles:{name:"yellow",dateIsoStr:"blue"},type:j.IS_PRODUCTION?"json":"pretty"},F=new class extends I{constructor(e,t){const r="u">typeof window&&"u">typeof document,n=!!r&&void 0!==window.chrome&&void 0!==window.CSS&&window.CSS.supports("color","green"),i=!!r&&/^((?!chrome|android).)*safari/i.test(navigator.userAgent);(e=e||{}).stylePrettyLogs=(!e.stylePrettyLogs||!r||!!n)&&e.stylePrettyLogs,super(e,t,i?4:5)}log(e,t,...r){return super.log(e,t,...r)}silly(...e){return super.log(0,"SILLY",...e)}trace(...e){return super.log(1,"TRACE",...e)}debug(...e){return super.log(2,"DEBUG",...e)}info(...e){return super.log(3,"INFO",...e)}warn(...e){return super.log(4,"WARN",...e)}error(...e){return super.log(5,"ERROR",...e)}fatal(...e){return super.log(6,"FATAL",...e)}getSubLogger(e,t){return super.getSubLogger(e,t)}}(x);e.s(["default",0,F],294951)},852060,e=>{"use strict";e.s(["DailyLocationType",0,"integrations:daily","MSTeamsLocationType",0,"integrations:office365_video","MeetLocationType",0,"integrations:google:meet"])},273107,e=>{"use strict";var t={}.constructor;e.s(["default",0,function(e){return null!=e&&e.constructor===t}])},238648,e=>{"use strict";e.s(["default",0,function(e,t){e=e.split("-"),t=t.split("-");for(var r=e[0].split("."),n=t[0].split("."),i=0;i<3;i++){var a=Number(r[i]),o=Number(n[i]);if(a>o)return 1;if(o>a)return -1;if(!isNaN(a)&&isNaN(o))return 1;if(isNaN(a)&&!isNaN(o))return -1}return e[1]&&t[1]?e[1]>t[1]?1:e[1]<t[1]?-1:0:!e[1]&&t[1]?1:e[1]&&!t[1]?-1:0}])},526971,e=>{"use strict";var t=e.i(238648),r=e.i(273107);function n(e){return(n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function i(e,t){if(!(e instanceof t))throw TypeError("Cannot call a class as a function")}function a(e,t){for(var r=0;r<t.length;r++){var i=t[r];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,function(e){var t=function(e,t){if("object"!=n(e)||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var i=r.call(e,t||"default");if("object"!=n(i))return i;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==n(t)?t:t+""}(i.key),i)}}function o(e,t,r){return t&&a(e.prototype,t),r&&a(e,r),Object.defineProperty(e,"prototype",{writable:!1}),e}var s=" ext. ",l=/^\d+$/,u=o(function e(t){i(this,e),d(t),this.metadata=t,y.call(this,t)},[{key:"getCountries",value:function(){return Object.keys(this.metadata.countries).filter(function(e){return"001"!==e})}},{key:"getCountryMetadata",value:function(e){return this.metadata.countries[e]}},{key:"nonGeographic",value:function(){if(!this.v1&&!this.v2&&!this.v3)return this.metadata.nonGeographic||this.metadata.nonGeographical}},{key:"hasCountry",value:function(e){return void 0!==this.getCountryMetadata(e)}},{key:"hasCallingCode",value:function(e){if(this.getCountryCodesForCallingCode(e))return!0;
vendor: 6,191 bytes, line 1
1if(this.nonGeographic()){if(this.nonGeographic()[e])return!0}else{var t=this.countryCallingCodes()[e];if(t&&1===t.length&&"001"===t[0])return!0}}},{key:"isNonGeographicCallingCode",value:function(e){return this.nonGeographic()?!!this.nonGeographic()[e]:!this.getCountryCodesForCallingCode(e)}},{key:"country",value:function(e){return this.selectNumberingPlan(e)}},{key:"selectNumberingPlan",value:function(e,t){if(e&&l.test(e)&&(t=e,e=null),e&&"001"!==e){if(!this.hasCountry(e))throw Error("Unknown country: ".concat(e));this.numberingPlan=new c(this.getCountryMetadata(e),this)}else if(t){if(!this.hasCallingCode(t))throw Error("Unknown calling code: ".concat(t));this.numberingPlan=new c(this.getNumberingPlanMetadata(t),this)}else this.numberingPlan=void 0;return this}},{key:"getCountryCodesForCallingCode",value:function(e){var t=this.countryCallingCodes()[e];if(t){if(1===t.length&&3===t[0].length)return;return t}}},{key:"getCountryCodeForCallingCode",value:function(e){var t=this.getCountryCodesForCallingCode(e);if(t)return t[0]}},{key:"getNumberingPlanMetadata",value:function(e){var t=this.getCountryCodeForCallingCode(e);if(t)return this.getCountryMetadata(t);if(this.nonGeographic()){var r=this.nonGeographic()[e];if(r)return r}else{var n=this.countryCallingCodes()[e];if(n&&1===n.length&&"001"===n[0])return this.metadata.countries["001"]}}},{key:"countryCallingCode",value:function(){return this.numberingPlan.callingCode()}},{key:"IDDPrefix",value:function(){return this.numberingPlan.IDDPrefix()}},{key:"defaultIDDPrefix",value:function(){return this.numberingPlan.defaultIDDPrefix()}},{key:"nationalNumberPattern",value:function(){return this.numberingPlan.nationalNumberPattern()}},{key:"possibleLengths",value:function(){return this.numberingPlan.possibleLengths()}},{key:"formats",value:function(){return this.numberingPlan.formats()}},{key:"nationalPrefixForParsing",value:function(){return this.numberingPlan.nationalPrefixForParsing()}},{key:"nationalPrefixTransformRule",value:function(){return this.numberingPlan.nationalPrefixTransformRule()}},{key:"leadingDigits",value:function(){return this.numberingPlan.leadingDigits()}},{key:"hasTypes",value:function(){return this.numberingPlan.hasTypes()}},{key:"type",value:function(e){return this.numberingPlan.type(e)}},{key:"ext",value:function(){return this.numberingPlan.ext()}},{key:"countryCallingCodes",value:function(){return this.v1?this.metadata.country_phone_code_to_countries:this.metadata.country_calling_codes}},{key:"chooseCountryByCountryCallingCode",value:function(e){return this.selectNumberingPlan(e)}},{key:"hasSelectedNumberingPlan",value:function(){return void 0!==this.numberingPlan}}]),c=o(function e(t,r){i(this,e),this.globalMetadataObject=r,this.metadata=t,y.call(this,r.metadata)},[{key:"callingCode",value:function(){return this.metadata[0]}},{key:"getDefaultCountryMetadataForRegion",value:function(){return this.globalMetadataObject.getNumberingPlanMetadata(this.callingCode())}},{key:"IDDPrefix",value:function(){if(!this.v1&&!this.v2)return this.metadata[1]}},{key:"defaultIDDPrefix",value:function(){if(!this.v1&&!this.v2)return this.metadata[12]}},{key:"nationalNumberPattern",value:function(){return this.v1||this.v2?this.metadata[1]:this.metadata[2]}},{key:"possibleLengths",value:function(){if(!this.v1)return this.metadata[this.v2?2:3]}},{key:"_getFormats",value:function(e){return e[this.v1?2:this.v2?3:4]}},{key:"formats",value:function(){var e=this;return(this._getFormats(this.metadata)||this._getFormats(this.getDefaultCountryMetadataForRegion())||[]).map(function(t){return new g(t,e)})}},{key:"nationalPrefix",value:function(){return this.metadata[this.v1?3:this.v2?4:5]}},{key:"_getNationalPrefixFormattingRule",value:function(e){return e[this.v1?4:this.v2?5:6]}},{key:"nationalPrefixFormattingRule",value:function(){return this._getNationalPrefixFormattingRule(this.metadata)||this._getNationalPrefixFormattingRule(this.getDefaultCountryMetadataForRegion())}},{key:"_nationalPrefixForParsing",value:function(){return this.metadata[this.v1?5:this.v2?6:7]}},{key:"nationalPrefixForParsing",value:function(){return this._nationalPrefixForParsing()||this.nationalPrefix()}},{key:"nationalPrefixTransformRule",value:function(){return this.metadata[this.v1?6:this.v2?7:8]}},{key:"_getNationalPrefixIsOptionalWhenFormatting",value:function(){return!!this.metadata[this.v1?7:this.v2?8:9]}},{key:"nationalPrefixIsOptionalWhenFormattingInNationalFormat",value:function(){return this._getNationalPrefixIsOptionalWhenFormatting(this.metadata)||this._getNationalPrefixIsOptionalWhenFormatting(this.getDefaultCountryMetadataForRegion())}},{key:"leadingDigits",value:function(){return this.metadata[this.v1?8:this.v2?9:10]}},{key:"types",value:function(){return this.metadata[this.v1?9:this.v2?10:11]}},{key:"hasTypes",value:function(){return(!this.types()||0!==this.types().length)&&!!this.types()}},{key:"type",value:function(e){if(this.hasTypes()&&p(this.types(),e))return new f(p(this.types(),e),this)}},{key:"ext",value:function(){return this.v1||this.v2?s:this.metadata[13]||s}}]),g=o(function e(t,r){i(this,e),this._format=t,this.metadata=r},[{key:"pattern",value:function(){return this._format[0]}},{key:"format",value:function(){return this._format[1]}},{key:"leadingDigitsPatterns",value:function(){return this._format[2]||[]}},{key:"nationalPrefixFormattingRule",value:function(){return this._format[3]||this.metadata.nationalPrefixFormattingRule()}},{key:"nationalPrefixIsOptionalWhenFormattingInNationalFormat",value:function(){return!!this._format[4]||this.metadata.nationalPrefixIsOptionalWhenFormattingInNationalFormat()}},{key:"nationalPrefixIsMandatoryWhenFormattingInNationalFormat",value:function(){return this.usesNationalPrefix()&&!this.nationalPrefixIsOptionalWhenFormattingInNationalFormat()}},{key:"usesNationalPrefix",value:function(){return!(!this.nationalPrefixFormattingRule()||h.test(this.nationalPrefixFormattingRule()))}},{key:"internationalFormat",value:function(){return this._format[5]||this.format()}}]),h=/^\(?\$1\)?$/,f=o(function e(t,r){i(this,e),this.type=t,this.metadata=r},[{key:"pattern",value:function(){return this.metadata.v1?this.type:this.t
1ype[0]}},{key:"possibleLengths",value:function(){if(!this.metadata.v1)return this.type[1]||this.metadata.possibleLengths()}}]);function p(e,t){switch(t){case"FIXED_LINE":return e[0];case"MOBILE":return e[1];case"TOLL_FREE":return e[2];case"PREMIUM_RATE":return e[3];case"PERSONAL_NUMBER":return e[4];case"VOICEMAIL":return e[5];case"UAN":return e[6];case"PAGER":return e[7];case"VOIP":return e[8];case"SHARED_COST":return e[9]}}function d(e){if(!e)throw Error("[libphonenumber-js] `metadata` argument not passed. Check your arguments.");if(!(0,r.default)(e)||!(0,r.default)(e.countries))throw Error("[libphonenumber-js] `metadata` argument was passed but it's not a valid metadata. Must be an object having `.countries` child object property. Got ".concat((0,r.default)(e)?"an object of shape: { "+Object.keys(e).join(", ")+" }":"a "+m(e)+": "+e,"."))}var m=function(e){return n(e)};function y(e){var r=e.version;"number"==typeof r?(this.v1=1===r,this.v2=2===r,this.v3=3===r,this.v4=4===r):r?-1===(0,t.default)(r,"1.2.0")?this.v2=!0:-1===(0,t.default)(r,"1.7.35")?this.v3=!0:this.v4=!0:this.v1=!0}e.s(["default",0,u,"getCountryCallingCode",0,function(e,t){if((t=new u(t)).hasCountry(e))return t.selectNumberingPlan(e).countryCallingCode();throw Error("Unknown country: ".concat(e))},"isSupportedCountry",0,function(e,t){return t.countries.hasOwnProperty(e)},"validateMetadata",0,d])},315138,627901,e=>{"use strict";var t,r=e.i(114827),n=e.i(869181),i=e.i(205176),a=e.i(264805),o=e.i(107447),s=e.i(655950),l=e.i(534987),u=e.i(336771),c=e.i(707050),g=e.i(257922),h=e.i(301186),f=e.i(436184),p=e.i(177771),d=e.i(431536),m=e.i(316638),y=e.i(624013),b=e.i(776406),v=e.i(235260),P=e.i(52165),k=e.i(626526),O=e.i(808354),L=e.i(559358),w=e.i(79655),C=e.i(862503),T=e.i(392679),N=e.i(698217),_=e.i(175541),E=e.i(396478),S=e.i(88359),I=e.i(240027),j=e.i(163595),x=e.i(639145),F=e.i(448653),z=e.i(333733),M=e.i(823088),D=e.i(30674),A=e.i(69637),R=e.i(11662),V=e.i(60033),B=e.i(926479),U=e.i(523887),W=e.i(138089),$=e.i(180228),G=e.i(995147),K=e.i(862981);let J={campfire:r.default,dailyvideo:n.metadata,databuddy:i.default,demodesk:a.default,dialpad:o.default,discord:s.default,eightxeight:l.default,"element-call":u.default,facetime:c.default,fathom:g.default,ga4:h.default,googlevideo:f.metadata,gtm:p.default,"horizon-workrooms":d.default,huddle01video:m.metadata,insihts:y.default,jelly:b.default,jitsivideo:v.metadata,lyra:P.default,matomo:k.default,metapixel:O.default,mirotalk:L.default,nextcloudtalk:w.default,office365video:C.default,ping:T.default,plausible:N.default,posthog:_.default,riverside:E.default,roam:S.default,salesroom:I.default,shimmervideo:j.default,signal:x.default,sirius_video:F.default,skype:z.default,sylapsvideo:M.default,tandemvideo:D.metadata,telegram:A.default,"booking-pages-tag":R.default,"event-type-location-video-static":V.default,twipla:B.default,umami:U.default,webex:W.default,whatsapp:$.default,whereby:G.default,zoomvideo:K.metadata};var Z=e.i(820771);let H={};for(let[e,t]of Object.entries(J))H[e]=(0,Z.getNormalizedAppMetadata)(t);e.s(["appStoreMetadata",0,H],627901);var Y=e.i(294951),X=e.i(331597),q=e.i(779770),Q=e.i(50270),ee=e.i(852060);let et=ee.MeetLocationType;ee.MSTeamsLocationType;let er=ee.DailyLocationType;var en=((t={}).AttendeeInPerson="attendeeInPerson",t.InPerson="inPerson",t.Phone="phone",t.UserPhone="userPhone",t.Link="link",t.Conferencing="conferencing",t.SomewhereElse="somewhereElse",t);let ei=[{default:!0,type:"attendeeInPerson",label:"in_person_attendee_address",variable:"address",organizerInputType:null,messageForOrganizer:"Cal will ask your invitee to enter an address before scheduling.",attendeeInputType:"attendeeAddress",attendeeInputPlaceholder:"enter_address",defaultValueVariable:"attendeeAddress",iconUrl:"/map-pin-dark.svg",category:"in_person_category",linkType:"static",supportsCustomLabel:!0},{default:!0,type:"somewhereElse",label:"custom_attendee_location",variable:"address",organizerInputType:null,messageForOrganizer:"Cal will ask your invitee to enter any location before scheduling.",attendeeInputType:"somewhereElse",attendeeInputPlaceholder:"any_location",defaultValueVariable:"somewhereElse",iconUrl:"/message-pin.svg",category:"other",linkType:"static",supp
1ortsCustomLabel:!0},{default:!0,type:"inPerson",label:"in_person",organizerInputType:"text",messageForOrganizer:"Provide an Address or Place",variable:"locationAddress",defaultValueVariable:"address",iconUrl:"/map-pin-dark.svg",category:"in_person_category",linkType:"static"},{default:!0,type:"conferencing",iconUrl:"/link.svg",organizerInputType:null,label:"organizer_default_conferencing_app",variable:"hostDefault",defaultValueVariable:"hostDefault",category:"conferencing",messageForOrganizer:"",linkType:"static",supportsCustomLabel:!0},{default:!0,type:"link",label:"link_meeting",organizerInputType:"text",organizerInputLabel:"meeting_link",variable:"locationLink",messageForOrganizer:"Provide a Meeting Link",defaultValueVariable:"link",iconUrl:"/link.svg",category:"other",linkType:"static",supportsCustomLabel:!0},{default:!0,type:"phone",label:"attendee_phone_number",variable:"phone",organizerInputType:null,attendeeInputType:"phone",attendeeInputPlaceholder:"enter_phone_number",defaultValueVariable:"phone",messageForOrganizer:"Cal will ask your invitee to enter a phone number before scheduling.",iconUrl:"/phone.svg",category:"phone",linkType:"static"},{default:!0,type:"userPhone",label:"phone_call",messageForOrganizer:"Provide your phone number",organizerInputType:"phone",organizerInputLabel:"phone_number",variable:"locationPhoneNumber",defaultValueVariable:"hostPhoneNumber",iconUrl:"/phone.svg",category:"phone",linkType:"static"}],ea=["in_person_attendee_address","in_person","attendee_phone_number","link_meeting","phone_call","organizer_default_conferencing_app","somewhere_else","custom_attendee_location"],eo={},es=[];for(let[e,t]of Object.entries(H)){let r=t.appData?.location;if(r){for(let[e,n]of Object.entries(r))"string"==typeof n&&(r[e]=n.replace(/{SLUG}/g,t.slug).replace(/{TITLE}/g,t.name));let n={...r,messageForOrganizer:r.messageForOrganizer||`Set ${r.label} link`,iconUrl:t.logo,variable:r.variable||"locationLink",defaultValueVariable:r.defaultValueVariable||"link"};"static"===n.linkType?(n.organizerInputType=r.organizerInputType||"text",n.organizerInputPlaceholder?.match(/https?:\/\//)&&(n.organizerInputPlaceholder=` ${n.organizerInputPlaceholder}`)):n.organizerInputType=null,eo[e]=n.type,es.push({...n})}}let el=[...ei,...es],eu=e=>es.find(t=>t.type===e),ec=e=>el.find(t=>t.type===e),eg={...en,...eo},eh=(e,t)=>{if(!e)return t("no_location");let r=ec(e),n=r?.default;return r?n?t(r.label):`${r.label}`:e||""},ef=e=>{let t=ec(e.type);if(!t)return null;let r=t.defaultValueVariable;return r?e[r]||t.label:(Y.default.error(`defaultValueVariable not set for ${e.type}`),"")};e.s(["DefaultEventLocationTypeEnum",()=>en,"LocationType",0,eg,"MeetLocationType",0,et,"OrganizerDefaultConferencingAppType",0,"conferencing","defaultLocations",0,ei,"getAppSlugFromLocationType",0,e=>{for(let[,t]of Object.entries(H))if(t.appData?.location?.type===e)return t.slug;return null},"getEventLocationType",0,ec,"getHumanReadableLocationValue",0,eh,"getLocationFromApp",0,eu,"getMessageForOrganizer",0,(e,t)=>{let r=eu(e),n=ei.find(t=>t.type===e);return n?t(n.messageForOrganizer):r&&"static"!==r.linkType&&"integrations:zoom"!==r.type?t(`Cal will provide a ${r.label} URL.`):""},"getOrganizerInputLocationTypes",0,()=>{let e=[],t=el.filter(e=>!!e.organizerInputType);return t?.forEach(t=>e.push(t.type)),e},"getSuccessPageLocationMessage",0,function(e,t,r){let n=ec(e),i=e;if(n&&!n.default&&"dynamic"===n.linkType){let n=r===X.BookingStatus.ACCEPTED;i=r===X.BookingStatus.CANCELLED||r===X.BookingStatus.REJECTED?t("web_conference"):n?`${eh(e,t)}: ${t("meeting_url_in_confirmation_email")}`:t("web_conferencing_details_to_follow")}return i},"getTranslatedLocation",0,(e,t,r)=>{if(!t)return null;let n=Q.z.string().default("").parse(ef(e));return e.type.startsWith("integrations:")?t.label:ea.includes(n)?r(n):n},"guessEventLocationType",0,e=>ec(e)||(e?el.find(t=>{if(!t.default&&"dynamic"!=t.linkType&&t.urlRegExp)return new RegExp(t.urlRegExp).test(e)}):null),"isAttendeeInputRequired",0,e=>{let t=el.find(t=>t.type===e);return!!t&&t.attendeeInputType},"isCalVideoLocation",0,e=>e===er,"isStaticLocationType",0,e=>Object.values(en).includes(e),"locationKeyToString",0,ef,"locationsResolver",0,e=>Q.z.array(Q.z.object({type:Q.z.string(),address:Q.z.string().optional(),link:Q.z.string().url().optional(),phone:Q.z.string().refine(e=>(0,q.isValidPhoneNumber)(e)).optional(),hostPhoneNumber:Q.z.string().refine(e=>(0,q.isValidPhoneNumber)(e)).optional(),displayLocationPublicly:Q.z.boolean().optional(),credentialId:Q.z.number().optional(),teamName:Q.z.string().optional()}).passthrough().superRefine((t,r)=>{if(t?.link){let n=t.link,i=ec(t.type);
1if(i&&!i.default&&"static"===i.linkType&&i.urlRegExp){if(!Q.z.string().regex(new RegExp(i.urlRegExp)).safeParse(n).success){let t=i.organizerInputPlaceholder;r.addIssue({code:Q.z.ZodIssueCode.custom,path:[i?.defaultValueVariable??"link"],message:e("invalid_url_error_message",{label:i.label,sampleUrl:t??"https://cal.com"})})}return}Q.z.string().url().optional().safeParse(n).success||r.addIssue({code:Q.z.ZodIssueCode.custom,path:[i?.defaultValueVariable??"link"],message:"Invalid URL"})}})).optional()],315138)}]); 2 3//# sourceMappingURL=0je5i0gx5z8ap.js.map
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.