PageSourceSearch

https://www.mnetplus.world/build-outputs/fe-account/_next/static/chunks/8960-df8a524acb36335c.js

js mnetplus.world collected 2026-09-24 09:18:37 UTC 79,365 bytes, 14 lines download raw bytes

1!function(){try{var e="u">typeof window?window:"u">typeof global?global:"u">typeof globalThis?globalThis:"u">typeof self?self:{};e._sentryModuleMetadata=e._sentryModuleMetadata||{},e._sentryModuleMetadata[(new e.Error).stack]=function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];if(null!=r)for(var n in r)r.hasOwnProperty(n)&&(e[n]=r[n])}return e}({},e._sentryModuleMetadata[(new e.Error).stack],{"_sentryBundlerPluginAppKey:fe-account":!0});var t=(new e.Error).stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="ea485f09-5e6d-4717-989a-e2a58fc8de4b",e._sentryDebugIdIdentifier="sentry-dbid-ea485f09-5e6d-4717-989a-e2a58fc8de4b")}catch(e){}}();"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[8960],{3584:(e,t,r)=>{var n,o,i,s,a,u;let l,c,d,f,p,h,g,y,m,b,v,w,_,S,k,O,x,E,C;r.d(t,{yf:()=>rH});let T={log:"log",debug:"debug",info:"info",warn:"warn",error:"error"},P=console,A={};Object.keys(T).forEach(e=>{A[e]=P[e]});let $="Datadog Browser SDK:",j={debug:A.debug.bind(P,$),log:A.log.bind(P,$),info:A.info.bind(P,$),warn:A.warn.bind(P,$),error:A.error.bind(P,$)},R="https://docs.datadoghq.com",M=`${R}/real_user_monitoring/browser/troubleshooting`,I="More details:";function q(e,t){return(...r)=>{try{return e(...r)}catch(e){j.error(t,e)}}}let D=!1;function L(e){D=e}function G(e){return function(...t){return N(e,this,t)}}function N(e,t,r){try{return e.apply(t,r)}catch(e){B(e)}}function B(e){if(U(e),l)try{l(e)}catch(e){U(e)}}function U(...e){D&&j.error("[MONITOR]",...e)}function F(){if("object"==typeof globalThis)return globalThis;Object.defineProperty(Object.prototype,"_dd_temp_",{get(){return this},configurable:!0});let e=_dd_temp_;return delete Object.prototype._dd_temp_,"object"!=typeof e&&(e="object"==typeof self?self:"object"==typeof window?window:{}),e}let Q=F(),H="WorkerGlobalScope"in Q;function z(e){var t;let r=null==(t=Q.queueMicrotask)?void 0:t.bind(Q);"function"==typeof r?r(G(e)):Promise.resolve().then(G(e))}class K{constructor(e){this.onFirstSubscribe=e,this.observers=[]}subscribe(e){return this.addObserver(e),{unsubscribe:()=>this.removeObserver(e)}}notify(e){this.observers.forEach(t=>t(e))}addObserver(e){this.observers.push(e),1===this.observers.length&&this.onFirstSubscribe&&(this.onLastUnsubscribe=this.onFirstSubscribe(this)||void 0)}removeObserver(e){this.observers=this.observers.filter(t=>e!==t),!this.observers.length&&this.onLastUnsubscribe&&this.onLastUnsubscribe()}}function J(...e){return new K(t=>{let r=e.map(e=>e.subscribe(e=>t.notify(e)));return()=>r.forEach(e=>e.unsubscribe())})}class W extends K{constructor(e){super(),this.maxBufferSize=e,this.buffer=[]}notify(e){this.buffer.push(e),this.buffer.length>this.maxBufferSize&&this.buffer.shift(),super.notify(e)}subscribe(e){let t=!1;return z(()=>{for(let r of this.buffer){if(t)return;e(r)}t||this.addObserver(e)}),{unsubscribe:()=>{t=!0,this.removeObserver(e)}}}unbuffer(){z(()=>{this.maxBufferSize=this.buffer.length=0})}}let V={GRANTED:"granted",NOT_GRANTED:"not-granted"};function Y(e,t){let r,n=F();return n.Zone&&"function"==typeof n.Zone.__symbol__&&(r=e[n.Zone.__symbol__(t)]),r||(r=e[t]),r}function Z(e,t){return Y(F(),"setTimeout")(G(e),t)}function X(e){Y(F(),"clearTimeout")(e)}function ee(e,t){return Y(F(),"setInterval")(G(e),t)}function et(e){Y(F(),"clearInterval")(e)}function er(){}function en(e){return null===e?"null":Array.isArray(e)?"array":typeof e}function eo(e){return"object"===en(e)}function ei(e){var t,r;let n=[],o=eh(e,"stack"),i=String(e);if(o&&o.startsWith(i)&&(o=o.slice(i.length)),o&&o.split("\n").forEach(e=>{let t=function(e){let t=eu.exec(e);if(!t)return;let r=t[2]&&0===t[2].indexOf("native"),n=t[2]&&0===t[2].indexOf("eval"),o=el.exec(t[2]);return n&&o&&(t[2]=o[1],t[3]=o[2],t[4]=o[3]),{args:r?[t[2]]:[],column:t[4]?+t[4]:void 0,func:t[1]||"?",line:t[3]?+t[3]:void 0,url:r?void 0:t[2]}}(e)||function(e){let t=ec.exec(e);if(t)return{args:[],column:t[4]?+t[4]:void 0,func:t[1]||"?",line:t[3]?+t[3]:void 0,url:t[2]}}(e)||function(e){let t=ed.exec(e);if(t)return{args:[],column:t[4]?+t[4]:void 0,func:t[1]||"?",line:+t[3],url:t[2]}}(e)||function(e){let t=ef.exec(e);if(!t)return;let r=t[3]&&t[3].indexOf(" > eval")>-1,n=ep.exec(t[3]);return r&&n&&(t[3]=n[1],t[4]=n[2],t[5]=void 0),{args:t[2]?t[2].split(","):[],column:t[5]?+t[5]:void 0,func:t[1]||"?",line:t[4]?+t[4]:void 0,url:t[3]}}(e);t&&(!t.func&&t.line&&(t.func="?"),n.push(t))}),n.length>0&&function(){if(void 0!==c)return c;
1class e extends Error{constructor(){super(),this.name="Error"}}let[t,r]=[e,Error].map(e=>new e);return c=ey(Object.getPrototypeOf(t))&&r.stack!==t.stack}()&&e instanceof Error){let o=[],i=e;for(;(i=Object.getPrototypeOf(i))&&ey(i);){let e=(null==(t=i.constructor)?void 0:t.name)||"?";o.push(e)}for(let e=o.length-1;e>=0&&(null==(r=n[0])?void 0:r.func)===o[e];e--)n.shift()}return{message:eh(e,"message"),name:eh(e,"name"),stack:n}}let es="((?:file|https?|blob|chrome-extension|electron|native|eval|webpack|snippet|<anonymous>|\\w+\\.|\\/).*?)",ea="(?::(\\d+))",eu=RegExp(`^\\s*at (.*?) ?\\(${es}${ea}?${ea}?\\)?\\s*$`,"i"),el=RegExp(`\\((\\S*)${ea}${ea}\\)`),ec=RegExp(`^\\s*at\\s*(?:(.*)?(?: @))?\\s*${es}${ea}?${ea}??\\s*$`,"i"),ed=/^\s*at (?:((?:\[object object\])?.+) )?\(?((?:file|ms-appx|https?|webpack|blob):.*?):(\d+)(?::(\d+))?\)?\s*$/i,ef=/^\s*(.*?)(?:\((.*?)\))?(?:(?:(?:^|@)((?:file|https?|blob|chrome|webpack|resource|capacitor|\[native).*?|[^@]*bundle|\[wasm code\])(?::(\d+))?(?::(\d+))?)|@)\s*$/i,ep=/(\S+) line (\d+)(?: > eval line \d+)* > eval/i;function eh(e,t){return eo(e)&&"string"==typeof e[t]?e[t]:void 0}let eg=/^(?:[Uu]ncaught (?:exception: )?)?(?:((?:Eval|Internal|Range|Reference|Syntax|Type|URI|)Error): )?([\s\S]*)$/;function ey(e){return String(e.constructor).startsWith("class ")}function em(e){let t,r=Error(e);return r.name="HandlingStack",N(()=>{let e=ei(r);e.stack=e.stack.slice(2),t=eb(e)}),t}function eb(e){let t=ev(e);return e.stack.forEach(e=>{let r="?"===e.func?"<anonymous>":e.func,n=e.args&&e.args.length>0?`(${e.args.join(", ")})`:"",o=e.line?`:${e.line}`:"",i=e.line&&e.column?`:${e.column}`:"";t+=`
2  at ${r}${n} @ ${e.url}${o}${i}`}),t}function ev(e){return`${e.name||"Error"}: ${e.message}`}function ew(e,t,r,{computeHandlingStack:n}={}){let o=e[t];if("function"!=typeof o)if(!(t in e&&"string"==typeof t&&t.startsWith("on")))return{stop:er};else o=er;let i=!1,s=function(){let e;if(i)return o.apply(this,arguments);let t=Array.from(arguments);N(r,null,[{target:this,parameters:t,onPostCall:t=>{e=t},handlingStack:n?em("instrumented method"):void 0}]);let s=o.apply(this,t);return e&&N(e,null,[s]),s};return e[t]=s,{stop:()=>{i=!0,e[t]===s&&(e[t]=o)}}}function e_(){return new Date().getTime()}function eS(){return performance.now()}function ek(){return{relative:eS(),timeStamp:e_()}}function eO(){var e,t;return void 0===d&&(d=null!=(t=null==(e=performance.timing)?void 0:e.navigationStart)?t:performance.timeOrigin),d}let ex=/[^\u0000-\u007F]/;function eE(e){return ex.test(e)?void 0!==window.TextEncoder?new TextEncoder().encode(e).length:new Blob([e]).size:e.length}function eC(e,t,r){if("object"!=typeof e||null===e)return JSON.stringify(e);let n=eT(Object.prototype),o=eT(Array.prototype),i=eT(Object.getPrototypeOf(e)),s=eT(e);try{return JSON.stringify(e,t,r)}catch(e){return"<error: unable to serialize object>"}finally{n(),o(),i(),s()}}function eT(e){let t=e.toJSON;return t?(delete e.toJSON,()=>{e.toJSON=t}):er}function eP(e,t=225280){let r=eT(Object.prototype),n=eT(Array.prototype),o=[],i=new WeakMap,s=eA(e,"$",void 0,o,i),a=JSON.stringify(s),u=a?a.length:0;if(u>t)return void e$(t,"discarded",e);for(;o.length>0&&u<t;){let r=o.shift(),n=0;if(Array.isArray(r.source))for(let s=0;s<r.source.length;s++){let a=eA(r.source[s],r.path,s,o,i);if(void 0!==a?u+=JSON.stringify(a).length:u+=4,u+=n,n=1,u>t){e$(t,"truncated",e);break}r.target[s]=a}else for(let s in r.source)if(Object.prototype.hasOwnProperty.call(r.source,s)){let a=eA(r.source[s],r.path,s,o,i);if(void 0!==a&&(u+=JSON.stringify(a).length+n+s.length+3,n=1),u>t){e$(t,"truncated",e);break}r.target[s]=a}}return r(),n(),s}function eA(e,t,r,n,o){let i=function(e){if(e&&"function"==typeof e.toJSON)try{return e.toJSON()}catch(e){}return e}(e);if(!i||"object"!=typeof i){var s;return"bigint"==typeof(s=i)?`[BigInt] ${s.toString()}`:"function"==typeof s?`[Function] ${s.name||"unknown"}`:"symbol"==typeof s?`[Symbol] ${s.description||s.toString()}`:s}let a=function e(t){try{if(t instanceof Event){var r;return{type:(r=t).type,isTrusted:r.isTrusted,currentTarget:r.currentTarget?e(r.currentTarget):null,target:r.target?e(r.target):null}}if(t instanceof RegExp)return`[RegExp] ${t.toString()}`;let n=Object.prototype.toString.call(t).match(/\[object (.*)\]/);if(n&&n[1])return`[${n[1]}]`}catch(e){}return"[Unserializable]"}(i);if("[Object]"!==a&&"[Array]"!==a&&"[Error]"!==a)return a;
2if(o.has(e))return`[Reference seen at ${o.get(e)}]`;let u=void 0!==r?`${t}.${r}`:t,l=Array.isArray(i)?[]:{};return o.set(e,u),n.push({source:i,target:l,path:u}),l}function e$(e,t,r){j.warn(`The data provided has been ${t} as it is over the limit of ${e} characters:`,r)}let ej="No stack, consider using an instance of Error";function eR({originalError:e,stackTrace:t,source:r,useFallbackStack:n=!0,nonErrorPrefix:o}){var i,s,a,u;let l=eI(e);return!t&&l&&(t=ei(e)),{source:r,type:t?t.name:void 0,message:(i=t,s=l,a=o,u=e,(null==i?void 0:i.message)&&(null==i?void 0:i.name)?i.message:s?"Empty message":a?`${a} ${eC(eP(u))}`:eC(eP(u))),stack:t?eb(t):n?ej:void 0}}function eM({stackTrace:e,originalError:t,handlingStack:r,componentStack:n,startClocks:o,nonErrorPrefix:i,useFallbackStack:s=!0,source:a,handling:u}){var l;let c=eR({originalError:t,stackTrace:e,source:a,useFallbackStack:s,nonErrorPrefix:i});return{startClocks:o,handling:u,handlingStack:r,componentStack:n,originalError:t,...c,causes:eI(t)?function(e,t){let r=[],n=e.cause;for(;null!=n&&r.length<10;){let e=eR({originalError:n,source:t,useFallbackStack:!1});r.push(e),n=eI(n)?n.cause:void 0}return r.length?r:void 0}(t,a):void 0,fingerprint:eI(l=t)&&"dd_fingerprint"in l?String(l.dd_fingerprint):void 0,context:function(e){if(eo(e))return e.dd_context}(t)}}function eI(e){return e instanceof Error||"[object Error]"===Object.prototype.toString.call(e)}let eq="agent",eD="console",eL="logger",eG="source",eN="report";function eB(e,t){return Object.keys(e).some(r=>e[r]===t)}function eU(e){return 0===Object.keys(e).length}(n=o||(o={})).TRACK_INTAKE_REQUESTS="track_intake_requests",n.USE_TREE_WALKER_FOR_ACTION_NAME="use_tree_walker_for_action_name",n.FEATURE_OPERATION_VITAL="feature_operation_vital",n.SHORT_SESSION_INVESTIGATION="short_session_investigation",n.AVOID_FETCH_KEEPALIVE="avoid_fetch_keepalive",n.START_STOP_ACTION="start_stop_action",n.USE_CHANGE_RECORDS="use_change_records",n.SOURCE_CODE_CONTEXT="source_code_context";let eF=new Set;function eQ(e){let{env:t,service:r,version:n,datacenter:o,sdkVersion:i,variant:s}=e,a=[eH("sdk_version",null!=i?i:"6.26.0")];return t&&a.push(eH("env",t)),r&&a.push(eH("service",r)),n&&a.push(eH("version",n)),o&&a.push(eH("datacenter",o)),s&&a.push(eH("variant",s)),a}function eH(e,t){var r;let n=t?`${e}:${t}`:e;return(n.length>200||(r=n,function(){try{return RegExp("[\\p{Ll}]","u"),!0}catch(e){return!1}}()&&RegExp("[^\\p{Ll}\\p{Lo}0-9_:./-]","u").test(r)))&&j.warn(`Tag ${n} doesn't meet tag requirements and will be sanitized. ${I} ${R}/getting_started/tagging/#defining-tags`),ez(n)}function ez(e){return e.replace(/,/g,"_")}let eK="datadoghq.com",eJ=["ddsource","dd-api-key","dd-request-id"];function eW(e,t){let r=Q.__ddBrowserSdkExtensionCallback;r&&r({type:e,payload:t})}function eV(e){return 0!==e&&100*Math.random()<=e}function eY(e,t,r=function(){if("u">typeof WeakSet){let e=new WeakSet;return{hasAlreadyBeenSeen(t){let r=e.has(t);return r||e.add(t),r}}}let e=[];return{hasAlreadyBeenSeen(t){let r=e.indexOf(t)>=0;return r||e.push(t),r}}}()){if(void 0===t)return e;if("object"!=typeof t||null===t)return t;if(t instanceof Date)return new Date(t.getTime());if(t instanceof RegExp){let e=t.flags||[t.global?"g":"",t.ignoreCase?"i":"",t.multiline?"m":"",t.sticky?"y":"",t.unicode?"u":""].join("");return new RegExp(t.source,e)}if(r.hasAlreadyBeenSeen(t))return;if(Array.isArray(t)){let n=Array.isArray(e)?e:[];for(let e=0;e<t.length;++e)n[e]=eY(n[e],t[e],r);return n}let n="object"===en(e)?e:{};for(let e in t)Object.prototype.hasOwnProperty.call(t,e)&&(n[e]=eY(n[e],t[e],r));return n}function eZ(...e){let t;for(let r of e)null!=r&&(t=eY(t,r));return t}function eX(){let e=F().DatadogEventBridge;if(e)return{getCapabilities(){var t;return JSON.parse((null==(t=e.getCapabilities)?void 0:t.call(e))||"[]")},getPrivacyLevel(){var t;return null==(t=e.getPrivacyLevel)?void 0:t.call(e)},getAllowedWebViewHosts:()=>JSON.parse(e.getAllowedWebViewHosts()),send(t,r,n){e.send(JSON.stringify({eventType:t,event:r,view:n?{id:n}:void 0}))}}}function e0(e){var t;void 0===e&&(e=null==(t=F().location)?void 0:t.hostname);let r=eX();return!!r&&r.getAllowedWebViewHosts().some(t=>e===t||e.endsWith(`.${t}`))}function e1(e){return Object.values(e)}function e2(e,t,r,n,{once:o,capture:i,passive:s}={}){let a=G(t=>{(t.isTrusted||t.__ddIsTrusted||e.allowUntrustedEvents)&&(o&&d(),n(t))}),u=s?{capture:i,passive:s}:i,l=window.EventTarget&&t instanceof EventTarget?window.EventTarget.prototype:t,c=Y(l,"addEventListener");function d(){let e=Y(l,"removeEventListener");r.forEach(r=>e.call(t,r,a,u))}
2return r.forEach(e=>c.call(t,e,a,u)),{stop:d}}let e3={HIDDEN:"visibility_hidden",UNLOADING:"before_unload",PAGEHIDE:"page_hide",FROZEN:"page_frozen"};function e4({encoder:e,request:t,flushController:r}){let n={},o=r.flushObservable.subscribe(r=>(function(r){var o;let i=e1(n).join("\n");n={};let s=(o=r.reason,e1(e3).includes(o)),a=s?t.sendOnExit:t.send;if(s&&e.isAsync){let t=e.finishSync();t.outputBytesCount&&a(e6(t));let r=[t.pendingData,i].filter(Boolean).join("\n");r&&a({data:r,bytesCount:eE(r)})}else i&&e.write(e.isEmpty?i:`
3${i}`),e.finish(e=>{a(e6(e))})})(r));function i(t,o){let i,s,a=eC(t),u=e.estimateEncodedBytesCount(a);u>=262144?j.warn(`Discarded a message whose size was bigger than the maximum allowed size ${256}KiB. ${I} ${M}/#technical-limitations`):(void 0!==o&&void 0!==n[o]&&(i=n[o],delete n[o],s=e.estimateEncodedBytesCount(i),r.notifyAfterRemoveMessage(s)),r.notifyBeforeAddMessage(u),void 0!==o?(n[o]=a,r.notifyAfterAddMessage()):e.write(e.isEmpty?a:`
4${a}`,e=>{r.notifyAfterAddMessage(e-u)}))}return{flushController:r,add:i,upsert:i,stop:o.unsubscribe}}function e6(e){return{data:"string"==typeof e.output?e.output:new Blob([e.output],{type:"text/plain"}),bytesCount:e.outputBytesCount,encoding:e.encoding}}function e7(e,t){return Y(F(),"fetch")(e,t)}let e9=0x1400000;function e5(e,t,r,n,o,i){0===t.transportStatus&&0===t.queuedPayloads.size()&&t.bandwidthMonitor.canHandle(e)?e8(e,t,r,i,{onSuccess:()=>te(0,t,r,n,o,i),onFailure:()=>{t.queuedPayloads.enqueue(e)||i.notify({type:"queue-full",bandwidth:t.bandwidthMonitor.stats(),payload:e}),function e(t,r,n,o,i){2===t.transportStatus&&Z(()=>{e8(t.queuedPayloads.first(),t,r,i,{onSuccess:()=>{t.queuedPayloads.dequeue(),t.currentBackoffTime=1e3,te(1,t,r,n,o,i)},onFailure:()=>{t.currentBackoffTime=Math.min(6e4,2*t.currentBackoffTime),e(t,r,n,o,i)}})},t.currentBackoffTime)}(t,r,n,o,i)}}):t.queuedPayloads.enqueue(e)||i.notify({type:"queue-full",bandwidth:t.bandwidthMonitor.stats(),payload:e})}function e8(e,t,r,n,{onSuccess:o,onFailure:i}){t.bandwidthMonitor.add(e),r(e,r=>{var s;t.bandwidthMonitor.remove(e),"opaque"!==(s=r).type&&(0===s.status&&!navigator.onLine||408===s.status||429===s.status||s.status>=500)?(t.transportStatus=t.bandwidthMonitor.ongoingRequestCount>0?1:2,e.retry={count:e.retry?e.retry.count+1:1,lastFailureStatus:r.status},n.notify({type:"failure",bandwidth:t.bandwidthMonitor.stats(),payload:e}),i()):(t.transportStatus=0,n.notify({type:"success",bandwidth:t.bandwidthMonitor.stats(),payload:e}),o())})}function te(e,t,r,n,o,i){0===e&&t.queuedPayloads.isFull()&&!t.queueFullReported&&(o({message:`Reached max ${n} events size queued for upload: ${e9/1048576}MiB`,source:eq,startClocks:ek()}),t.queueFullReported=!0);let s=t.queuedPayloads;for(t.queuedPayloads=tt();s.size()>0;)e5(s.dequeue(),t,r,n,o,i)}function tt(){let e=[];return{bytesCount:0,enqueue(t){return!this.isFull()&&(e.push(t),this.bytesCount+=t.bytesCount,!0)},first:()=>e[0],dequeue(){let t=e.shift();return t&&(this.bytesCount-=t.bytesCount),t},size:()=>e.length,isFull(){return this.bytesCount>=e9}}}function tr(e,t,r=16384){let n=new K,i={transportStatus:0,currentBackoffTime:1e3,bandwidthMonitor:{ongoingRequestCount:0,ongoingByteCount:0,canHandle(e){return 0===this.ongoingRequestCount||this.ongoingByteCount+e.bytesCount<=81920&&this.ongoingRequestCount<32},add(e){this.ongoingRequestCount+=1,this.ongoingByteCount+=e.bytesCount},remove(e){this.ongoingRequestCount-=1,this.ongoingByteCount-=e.bytesCount},stats(){return{ongoingByteCount:this.ongoingByteCount,ongoingRequestCount:this.ongoingRequestCount}}},queuedPayloads:tt(),queueFullReported:!1};return{observable:n,send:s=>{for(let a of e)e5(s,i,(e,t)=>{var n;(n=o.AVOID_FETCH_KEEPALIVE,eF.has(n))?to(a,e,t):!function(e,t,r,n){(function(){try{return window.Request&&"keepalive"in new Request("http://a")}catch(e){return!1}})()&&r.bytesCount<t?e7(e.build("fetch-keepalive",r),{method:"POST",body:r.data,keepalive:!0,mode:"cors"}).then(G(e=>null==n?void 0:n({status:e.status,type:e.type}))).catch(G(()=>to(e,r,n))):to(e,r,n)}(a,r,e,t)},a.trackType,t,n)},sendOnExit:t=>{for(let n of e)!function(e,t,r){if(navigator.sendBeacon&&r.bytesCount<t)try{let t=e.build("beacon",r);if(navigator.sendBeacon(t,r.data))return}catch(e){var n;n=e,tn||(tn=!0,B(n))}to(e,r)}(n,r,t)}}}let tn=!1;function to(e,t,r){e7(e.build("fetch",t),{method:"POST",body:t.data,mode:"cors"}).then(G(e=>null==r?void 0:r({status:e.status,type:e.type}))).catch(G(()=>null==r?void 0:r({status:0})))}let ti=H?1:50;
4function ts({pageMayExitObservable:e,sessionExpireObservable:t}){let r,n=e.subscribe(e=>u(e.reason)),o=t.subscribe(()=>u("session_expire")),i=new K(()=>()=>{n.unsubscribe(),o.unsubscribe()}),s=0,a=0;function u(e){if(0===a)return;let t=a,r=s;a=0,s=0,l(),i.notify({reason:e,messagesCount:t,bytesCount:r})}function l(){X(r),r=void 0}return{flushObservable:i,get messagesCount(){return a},notifyBeforeAddMessage(e){s+e>=16384&&u("bytes_limit"),a+=1,s+=e,void 0===r&&(r=Z(()=>{u("duration_limit")},3e4))},notifyAfterAddMessage(e=0){s+=e,a>=ti?u("messages_limit"):s>=16384&&u("bytes_limit")},notifyAfterRemoveMessage(e){s-=e,0==(a-=1)&&l()}}}let ta="DISCARDED",tu="SKIPPED",tl="configuration",tc="usage",td=["https://www.datadoghq-browser-agent.com","https://www.datad0g-browser-agent.com","https://d3uc069fcn7uxw.cloudfront.net","https://d20xtzwzcl0ceb.cloudfront.net","http://localhost","<anonymous>"],tf=["ddog-gov.com"];function tp(){return f||(f=new W(100)),f}function th(e,t){U(T.debug,e,t),tp().notify({rawEvent:{type:"log",message:e,status:"debug",...t}})}function tg(e,t){tp().notify({rawEvent:{type:"log",status:"error",...function(e){if(eI(e)){var t;let r=ei(e);return{error:{kind:r.name,stack:eb(((t=r).stack=t.stack.filter(e=>!e.url||td.some(t=>e.url.startsWith(t))),t))},message:r.message}}return{error:{stack:ej},message:`Uncaught ${eC(e)}`}}(e),...t}})}function ty(e){tp().notify({rawEvent:{type:tc,usage:e}})}function tm(e,t,r,n){return G((...o)=>(n&&ty({feature:n}),e()[t][r](...o)))}function tb(e,t,r){e.changeObservable.subscribe(()=>{let n=e.getContext();r.add(e=>e[t].setContext(n))})}let tv="userContext",tw="globalContext",t_="accountContext",tS="getContext",tk="setContext",tO="setContextProperty",tx="removeContextProperty",tE="clearContext";function tC(e,t){t.silentMultipleInit||j.error(`${e} is already initialized.`)}function tT(e,t,r){let n={...e};for(let[e,{required:o,type:i}]of Object.entries(t))"string"!==i||tP(n[e])||(n[e]=String(n[e])),o&&tP(n[e])&&j.warn(`The property ${e} of ${r} is required; context will not be sent to the intake.`);return n}function tP(e){return null==e||""===e}function tA(e="",{propertiesConfig:t={}}={}){let r={},n=new K,o={getContext:()=>eY(void 0,r),setContext:i=>{let s;((s="object"===en(i))||j.error("Unsupported context:",i),s)?r=eP(tT(i,t,e)):o.clearContext(),n.notify()},setContextProperty:(o,i)=>{r=eP(tT({...r,[o]:i},t,e)),n.notify()},removeContextProperty:o=>{delete r[o],tT(r,t,e),n.notify()},clearContext:()=>{r={},n.notify()},changeObservable:n};return o}function t$(e,t,r){let n=r.getHandler(),o=Array.isArray(n)?n:[n];return tR[e]>=tR[r.getLevel()]&&o.includes(t)}let tj={ok:"ok",debug:"debug",info:"info",notice:"notice",warn:"warn",error:"error",critical:"critical",alert:"alert",emerg:"emerg"},tR={[tj.ok]:0,[tj.debug]:1,[tj.info]:2,[tj.notice]:4,[tj.warn]:5,[tj.error]:6,[tj.critical]:7,[tj.alert]:8,[tj.emerg]:9};function tM(e,{includeMessage:t=!1}={}){return{stack:e.stack,kind:e.type,message:t?e.message:void 0,causes:e.causes,fingerprint:e.fingerprint,handling:e.handling}}let tI="http",tq=Object.keys(tj);class tD{constructor(e,t,r=tI,n=tj.debug,o={}){this.handleLogStrategy=e,this.handlerType=r,this.level=n,this.contextManager=tA("logger"),this.tags=[],this.contextManager.setContext(o),t&&this.contextManager.setContextProperty("logger",{name:t})}logImplementation(e,t,r=tj.info,n,o){let i,s=eP(t);if(null!=n){let e=eM({originalError:n,nonErrorPrefix:"Provided",source:eL,handling:"handled",startClocks:ek()});i=eZ({error:tM(e,{includeMessage:!0})},e.context,s)}else i=s;this.handleLogStrategy({message:eP(e),context:i,status:r},this,o)}log(e,t,r=tj.info,n){let o;t$(r,tI,this)&&(o=em("log")),this.logImplementation(e,t,r,n,o)}setContext(e){this.contextManager.setContext(e)}getContext(){return this.contextManager.getContext()}setContextProperty(e,t){this.contextManager.setContextProperty(e,t)}removeContextProperty(e){this.contextManager.removeContextProperty(e)}clearContext(){this.contextManager.clearContext()}addTag(e,t){this.tags.push(eH(e,t))}removeTagsWithKey(e){let t=ez(e);this.tags=this.tags.filter(e=>e!==t&&!e.startsWith(`${t}:`))}getTags(){return this.tags.slice()}setHandler(e){this.handlerType=e}getHandler(){return this.handlerType}setLevel(e){this.level=e}getLevel(){return this.level}}function tL(e){return function(t,r,n){let o;t$(e,tI,this)&&(o=em("log")),this.logImplementation(t,r,e,n,o)}}function tG(){return H?{}:{view:{referrer:document.referrer,url:window.location.href}}}function tN(e,t){let r=e.indexOf(t);r>=0&&e.splice(r,1)}!function(e,t,r,n){var o,i=arguments.length,s=i<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,r):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,r,n);else for(var a=e.length-1;a>=0;a--)(o=e[a])&&(s=(i<3?o(s):i>3?o(t,r,s):o(t,r))||s);i>3&&s&&Object.defineProperty(t,r,s)}([function(e,t,r){let n=r.value;r.value=function(...e){return(l?G(n):n).apply(this,e)}}],tD.prototype,"logImplementation",null),tD.prototype.ok=tL(tj.ok),tD.prototype.debug=tL(tj.debug),tD.prototype.info=tL(tj.info),tD.prototype.notice=tL(tj.notice),tD.prototype.warn=tL(tj.warn),tD.prototype.error=tL(tj.error),tD.prototype.critical=tL(tj.critical),tD.prototype.alert=tL(tj.alert),tD.prototype.emerg=tL(tj.emerg);let tB=[];function tU(e,t,r,n){var o,i;let s=(o=r,i=n,`_dd_c_${o}_${i}`);tB.push(e2(e,window,["storage"],({key:e})=>{s===e&&t.setContext(u())},void 0)),t.changeObservable.subscribe(function(){localStorage.setItem(s,JSON.stringify(t.getContext()))});let a=eZ(u(),t.getContext());function u(){let e=localStorage.getItem(s);return e?JSON.parse(e):{}}eU(a)||t.setContext(a)}function tF(){return tA("global context")}function tQ(){return tA("account",{propertiesConfig:{id:{type:"string",required:!0},name:{type:"string"}}})}function tH(){return tA("user",{propertiesConfig:{id:{type:"string"},name:{type:"string"},email:{type:"string"}}})}function tz(e){return tK(e,location.href).href}function tK(e,t){let{URL:r}=function(){if(!p){let e,t;try{(e=document.createElement("iframe")).style.display="none",document.body.appendChild(e),t=e.contentWindow}catch(e){t=Q}p={URL:t.URL},null==e||e.remove()}return p}();try{return void 0!==t?new r(e,t):new r(e)}catch(e){throw Error(`Failed to construct URL: ${String(e)}`)}}async function tJ(e,t){let r=e.getReader(),n=[];for(;;){let e=await r.read();if(e.done)break;t.collectStreamBody&&n.push(e.value)}return r.cancel().catch(er),t.collectStreamBody?function(e){if(1===e.length)return e[0];let t=new Uint8Array(e.reduce((e,t)=>
4e+t.length,0)),r=0;for(let n of e)t.set(n,r),r+=n.length;return t}(n):void 0}let tW=[];function tV({responseBodyAction:e}={}){return e&&tW.push(e),h||(h=new K(e=>{if(!Q.fetch)return;let{stop:t}=ew(Q,"fetch",t=>(function({parameters:e,onPostCall:t,handlingStack:r},n){let[o,i]=e,s=i&&i.method;void 0===s&&o instanceof Request&&(s=o.method);let a=void 0!==s?String(s).toUpperCase():"GET",u=o instanceof Request?o.url:tz(String(o)),l={state:"start",init:i,input:o,method:a,startClocks:ek(),url:u,handlingStack:r};n.notify(l),e[0]=l.input,e[1]=l.init,t(e=>{tY(n,e,l).catch(B)})})(t,e),{computeHandlingStack:!0});return t})),h}async function tY(e,t,r){var n,o;let i;r.state="resolve";try{i=await t}catch(t){r.status=0,r.isAborted=(null==(o=null==(n=r.init)?void 0:n.signal)?void 0:o.aborted)||t instanceof DOMException&&t.code===DOMException.ABORT_ERR,r.error=t,e.notify(r);return}r.response=i,r.status=i.status,r.responseType=i.type,r.isAborted=!1;let s=tW.reduce((e,t)=>Math.max(e,t(r)),0);if(0!==s){let e=function(e){try{return e.clone()}catch(e){return}}(i);if(e&&e.body)try{let t=await tJ(e.body,{collectStreamBody:2===s});r.responseBody=t&&new TextDecoder().decode(t)}catch(e){}}e.notify(r)}function tZ(e){return e?(parseInt(e,10)^16*Math.random()>>parseInt(e,10)/4).toString(16):"10000000-1000-4000-8000-100000000000".replace(/[018]/g,tZ)}let tX=/(\S+?)\s*=\s*(.+?)(?:;|$)/g;function t0(e,t,r=""){let n=e.charCodeAt(t-1),o=n>=55296&&n<=56319?t+1:t;return e.length<=o?e:`${e.slice(0,o)}${r}`}function t1(e,t,r=0,n){let o=new Date;o.setTime(o.getTime()+r);let i=`expires=${o.toUTCString()}`,s=n&&n.crossSite?"none":"strict",a=n&&n.domain?`;domain=${n.domain}`:"",u=n&&n.secure?";secure":"",l=n&&n.partitioned?";partitioned":"";document.cookie=`${e}=${t};${i};path=/;samesite=${s}${a}${u}${l}`}function t2(e){var t=document.cookie;for(tX.lastIndex=0;;){let r=tX.exec(t);if(r){if(r[1]===e)return r[2]}else break}}function t3(e){return y||(y=function(e){let t=new Map;for(tX.lastIndex=0;;){let r=tX.exec(e);if(r)t.set(r[1],r[2]);else break}return t}(document.cookie)),y.get(e)}function t4(e=location.hostname,t=document.referrer){if(void 0===m){let r=function(e,t){try{return e||tK(t).hostname}catch(e){}}(e,t);if(r){let e=`dd_site_test_${tZ()}`,t=r.split("."),n=t.pop();for(;t.length&&!t2(e);)t1(e,"test",1e3,{domain:n=`${t.pop()}.${n}`});t1(e,"",0,{domain:n}),m=n}}return m}let t6="_dd_s",t7=144e5,t9=9e5,t5=31536e6,t8="cookie",re="local-storage",rt=/^([a-zA-Z]+)=([a-z0-9-]+)$/;function rr(e,t){let r={isExpired:"1"};return t.trackAnonymousUser&&(null==e?void 0:e.anonymousId)&&(r.anonymousId=null==e?void 0:e.anonymousId),r}function rn(e){var t;return void 0!==e.isExpired||!((void 0===(t=e).created||e_()-Number(t.created)<t7)&&(void 0===t.expire||e_()<Number(t.expire)))}function ro(e){e.expire=String(e_()+t9)}function ri(e){return Object.entries(e).map(([e,t])=>"anonymousId"===e?`aid=${t}`:`${e}=${t}`).join("&")}function rs(e){let t={};return e&&(-1!==e.indexOf("&")||rt.test(e))&&e.split("&").forEach(e=>{let r=rt.exec(e);if(null!==r){let[,e,n]=r;"aid"===e?t.anonymousId=n:t[e]=n}}),t}function ra(e){let t=function(e){let t={};if(t.secure=!!e.useSecureSessionCookie||!!e.usePartitionedCrossSiteSessionCookie,t.crossSite=!!e.usePartitionedCrossSiteSessionCookie,t.partitioned=!!e.usePartitionedCrossSiteSessionCookie,e.trackSessionAcrossSubdomains){let e=t4();if(!e)return;t.domain=e}return t}(e);return t&&function(e){if(void 0===document.cookie||null===document.cookie)return!1;try{let t=`dd_cookie_test_${tZ()}`,r="test";t1(t,r,6e4,e);let n=t2(t)===r;return t1(t,"",0,e),n}catch(e){return j.error(e),!1}}(t)?{type:t8,cookieOptions:t}:void 0}function ru(e,t,r,n){let o=ri(r);t.betaEncodeCookieOptions&&(o=ri({...r,...!eU(r)?{c:rc(e)}:{}}
4)),t1(t6,o,t.trackAnonymousUser?t5:n,e)}function rl(e,t){return t.betaEncodeCookieOptions?function(e){let t,r=(function(e){let t=new Map;for(tX.lastIndex=0;;){let r=tX.exec(e);if(r){let e=r[1],n=r[2];t.has(e)?t.get(e).push(n):t.set(e,[n])}else break}return t})(document.cookie).get(t6)||[],n=rc(e);for(let e of r.reverse())if((t=rs(e)).c===n)break;return null==t||delete t.c,null!=t?t:{}}(e):rs(t2(t6))}function rc(e){return((e.domain?e.domain.split(".").length-1:0)<<1|!!e.crossSite).toString(16)}function rd(){try{let e=tZ(),t=`_dd_test_${e}`;localStorage.setItem(t,e);let r=localStorage.getItem(t);return localStorage.removeItem(t),e===r?{type:re}:void 0}catch(e){return}}function rf(e){localStorage.setItem(t6,ri(e))}function rp(){return rs(localStorage.getItem(t6))}let rh=[];function rg(e,t,r=0){var n;let o,{isLockEnabled:i,persistSession:s,expireSession:a}=t,u=e=>s({...e,lock:o}),l=()=>{let{lock:e,...r}=t.retrieveSession();return{session:r,lock:e&&!function(e){var t;let[,r]=e.split("--");return!r||(t=Number(r),e_()-t>1e3)}(e)?e:void 0}};if(b||(b=e),e!==b)return void rh.push(e);if(i&&r>=100)return void rm(t);let c=l();if(i&&(c.lock||(o=tZ()+"--"+e_(),u(c.session),(c=l()).lock!==o)))return void ry(e,t,r);let d=e.process(c.session);if(i&&(c=l()).lock!==o)return void ry(e,t,r);if(d&&(rn(d)?a(d):(ro(d),i?u(d):s(d))),i&&!(d&&rn(d))){if((c=l()).lock!==o)return void ry(e,t,r);s(c.session),d=c.session}null==(n=e.after)||n.call(e,d||c.session),rm(t)}function ry(e,t,r){Z(()=>{rg(e,t,r+1)},10)}function rm(e){b=void 0;let t=rh.shift();t&&rg(t,e)}let rb=["chrome-extension://","moz-extension://"];function rv(e){return rb.some(t=>e.includes(t))}function rw(e,t,r){let n=function(e,t){let r=`/api/v2/${t}`,n=e.proxy;if("string"==typeof n){let e=tz(n);return t=>`${e}?ddforward=${encodeURIComponent(`${r}?${t}`)}`}if("function"==typeof n)return e=>n({path:r,parameters:e});let o=function(e,t){let{site:r=eK,internalAnalyticsSubdomain:n}=t;if("logs"===e&&t.usePciIntake&&r===eK)return"pci.browser-intake-datadoghq.com";if(n&&r===eK)return`${n}.${eK}`;if("dd0g-gov.com"===r)return`http-intake.logs.${r}`;let o=r.split("."),i=o.pop();return`browser-intake-${o.join("-")}.${i}`}(t,e);return e=>`https://${o}${r}?${e}`}(e,t);return{build:(o,i)=>n(function({clientToken:e,internalAnalyticsSubdomain:t,source:r="browser"},n,o,{retry:i,encoding:s},a=[]){let u=[`ddsource=${r}`,`dd-api-key=${e}`,`dd-evp-origin-version=${encodeURIComponent("6.26.0")}`,"dd-evp-origin=browser",`dd-request-id=${tZ()}`].concat(a);return s&&u.push(`dd-evp-encoding=${s}`),"rum"===n&&(u.push(`batch_time=${e_()}`,`_dd.api=${o}`),i&&u.push(`_dd.retry_count=${i.count}`,`_dd.retry_after=${i.lastFailureStatus}`)),t&&u.reverse(),u.join("&")}(e,t,o,i,r)),trackType:t}}function r_(e,t){return null==e||"string"==typeof e||(j.error(`${t} must be defined as a string`),!1)}function rS(e,t){return void 0===e||!!("number"==typeof e&&e>=0&&e<=100)||(j.error(`${t} Sample Rate should be a number between 0 and 100`),!1)}let rk={intervention:"intervention",deprecation:"deprecation",cspViolation:"csp_violation"};function rO(e){return{startClocks:ek(),source:eN,handling:"unhandled",...e}}function rx(e,t,r,n,o){return r?eb({name:e,message:t,stack:[{func:"?",url:r,line:null!=n?n:void 0,column:null!=o?o:void 0}]}):void 0}function rE(e,t,r){let n;return void 0===e?[]:"all"===e||Array.isArray(e)&&e.every(e=>t.includes(e))?"all"===e?t:(n=new Set,e.forEach(e=>n.add(e)),Array.from(n)):void j.error(`${r} should be "all" or an array with allowed values "${t.join('", "')}"`)}function rC(){let e="",t=0;return{isAsync:!1,get isEmpty(){return!e},write(r,n){let o=eE(r);t+=o,e+=r,n&&n(o)},finish(e){e(this.finishSync())},finishSync(){let r={output:e,outputBytesCount:t,rawBytesCount:t,pendingData:""};return e="",t=0,r},estimateEncodedBytesCount:e=>e.length}}function rT(){return!H&&!!(Q._DATADOG_SYNTHETICS_INJECTS_RUM||t3("datadog-synthetics-injects-rum"))}let rP=1/0,rA=null,r$=new Set,rj=[];async function rR(e){let t,r,n=e.sessionStoreStrategyType;if(n){let o,i;n.type===t8?(t=rl(n.cookieOptions,e),r={cookie:await rM(),currentDomain:`${window.location.protocol}//${window.location.hostname}`}):t=rp(),th("Unexpected session state",{sessionStoreStrategyType:n.type,session:t,isSyntheticsTest:"string"==typeof(o=window._DATADOG_SYNTHETICS_PUBLIC_ID||t3("datadog-synthetics-public-id"))&&
4!!o&&"string"==typeof(i=window._DATADOG_SYNTHETICS_RESULT_ID||t3("datadog-synthetics-result-id"))&&!!i,createdTimestamp:null==t?void 0:t.created,expireTimestamp:null==t?void 0:t.expire,...r})}}async function rM(){let e;return{count:(e="cookieStore"in window?await window.cookieStore.getAll(t6):document.cookie.split(/\s*;\s*/).filter(e=>e.startsWith(t6))).length,domain:t4()||"undefined",...e}}function rI(e,t){var r;return"0"===(r=t)||"1"===r?t:eV(e.sessionSampleRate)?"1":"0"}let rq={},rD={[T.log]:tj.info,[T.debug]:tj.debug,[T.info]:tj.info,[T.warn]:tj.warn,[T.error]:tj.error},rL=new WeakMap;function rG({target:e,parameters:[t,r]}){rL.set(e,{state:"open",method:String(t).toUpperCase(),url:tz(String(r))})}function rN({target:e}){let t=rL.get(e);t&&(t.isAborted=!0)}class rB{constructor(){this.callbacks={}}notify(e,t){let r=this.callbacks[e];r&&r.forEach(e=>e(t))}subscribe(e,t){return this.callbacks[e]||(this.callbacks[e]=[]),this.callbacks[e].push(t),{unsubscribe:()=>{this.callbacks[e]=this.callbacks[e].filter(e=>t!==e)}}}}let rU={[tj.ok]:T.debug,[tj.debug]:T.debug,[tj.info]:T.info,[tj.notice]:T.info,[tj.warn]:T.warn,[tj.error]:T.error,[tj.critical]:T.error,[tj.alert]:T.error,[tj.emerg]:T.error},rF=function(){let e={};return{register:(t,r)=>(e[t]||(e[t]=[]),e[t].push(r),{unregister:()=>{e[t]=e[t].filter(e=>e!==r)}}),triggerHook(t,r){let n=e[t]||[],o=[];for(let e of n){let t=e(r);if(t===ta)return ta;t!==tu&&o.push(t)}return eZ(...o)}}},rQ="logs",rH=(a=function(e,t,r,n){var i,s,a,u,c,d,f,p;let h,y,m,b,w,_,S,k,O,x=new rB,E=rF(),C=[];x.subscribe(1,e=>eW("logs",e));let $=e=>{x.notify(0,{rawLogsEvent:{message:e.message,date:e.startClocks.timeStamp,origin:eq,status:tj.error}}),th("Error reported to customer",{"error.message":e.message})},j=H?new K:new K(t=>{let{stop:r}=e2(e,window,["visibilitychange","freeze"],e=>{"visibilitychange"===e.type&&"hidden"===document.visibilityState?t.notify({reason:e3.HIDDEN}):"freeze"===e.type&&t.notify({reason:e3.FROZEN})},{capture:!0}),n=e2(e,window,["beforeunload"],()=>{t.notify({reason:e3.UNLOADING})},void 0).stop;return()=>{r(),n()}}),R=function(e,t,r,n,o,i){let s=new K,{stop:a}=function(e,t,r,n,o){let i=[];if(e0()){let e=eX(),t=o.subscribe(t=>e.send("internal_telemetry",t));i.push(t.unsubscribe)}else{let s=[e.rumEndpointBuilder];e.replica&&"datad0g.com"===e.site&&s.push(e.replica.rumEndpointBuilder);let a=e4({encoder:n(4),request:tr(s,t),flushController:ts({pageMayExitObservable:r,sessionExpireObservable:new K})});i.push(a.stop);let u=o.subscribe(a.add);i.push(u.unsubscribe)}return{stop:()=>i.forEach(e=>e())}}(t,n,o,i,s),{enabled:u,metricsEnabled:c}=function(e,t,r,n,o=1,i=15){var s;let a={},u=!tf.includes(t.site)&&eV(t.telemetrySampleRate),c={log:u,[tl]:u&&eV(t.telemetryConfigurationSampleRate),[tc]:u&&eV(t.telemetryUsageSampleRate),metric:u&&eV(o)},d={is_local_file:(null==(s=Q.location)?void 0:s.protocol)==="file:",is_worker:H},f=tp();return f.subscribe(({rawEvent:o,metricName:s})=>{var u,l,f,p,h;let g,y;if(s&&!c.metric||!c[o.type])return;let m=s||o.status||o.type,b=a[m];if(b||(b=a[m]=new Set),b.size>=i)return;let v=eC(o);if(b.has(v))return;let w=r.triggerHook(1,{startTime:ek().relative});if(w===ta)return;let _=(u=w,l=e,f=o,p=d,y={type:"telemetry",date:ek().timeStamp,service:l,version:"6.26.0",source:"browser",_dd:{format_version:2},telemetry:eZ(f,{runtime_env:p,connectivity:{status:(g=Q.navigator).onLine?"connected":"not_connected",interfaces:g.connection&&g.connection.type?[g.connection.type]:void 0,effective_type:null==(h=g.connection)?void 0:h.effectiveType},sdk_setup:"npm"}),ddtags:eQ(t).join(","),experimental_features:Array.from(eF)},eZ(y,u));n.notify(_),eW("telemetry",_),b.add(v)}),f.unbuffer(),l=tg,{enabled:u,metricsEnabled:c.metric}}(e,t,r,s);return{stop:a,enabled:u,metricsEnabled:c}}("browser-logs-sdk",e,E,$,j,rC);C.push(R.stop);let M=!e.sessionStoreStrategyType||e0()||rT()?(h="1"===rI(e)?{}:void 0,{findTrackedSession:()=>h,expireObservable:new K}):{findTrackedSession:(e,t={returnInactive:!1})=>{let r=y.findSession(e,t);return r&&"1"===r.trackingType?{id:r.id,anonymousId:r.anonymousId}:void 0},expireObservable:(y=function(e,t,r,n){var i;let s=new K,a=new K,u=function(e,t,r,n,o=function(e,t){return e.type===t8?function(e,t){let r={isLockEnabled:0===(null!=g?g:g=function(e=window){var t;let r=e.navigator.userAgent;return e.chrome||/HeadlessChrome/.test(r)?0:(null==(t=e.navigator.vendor)?void 0:t.indexOf("Apple"))===0||/safari/i.test(r)&&!/chrome|android/i.test(r)?1:2}()),persistSession:r=>ru(t,e,r,t9),retrieveSession:()=>rl(t,e),expireSession:r=>ru(t,e,rr(r,e),t7)};if(!t3(t6)){let e=t3("_dd"),t=t3("_dd_r"),n=t3("_dd_l"),o={};e&&(o.id=e),n&&/^[01]$/.test(n)&&(o.logs=n),t&&/^[012]$/.test(t)&&(o.rum=t),eU(o)||(ro(o),r.persistSession(o))}return r}(t,e.cookieOptions):{isLockEnabled:!1,persistSession:rf,retrieveSession:rp,expireSession:e=>(function(e,t){rf(rr(e,t))})(e,t)}}(e,t)){var i;let s,a,u,l,c=new K,d=new K,f=new K,p=ee(function(){let e=o.retrieveSession();rn(e)?rg({process:e=>rn(e)?rr(e,t):void 0,after:m},o):m(e)},1e3);b();let{throttled:h,cancel:y}=(i=()=>{rg({process:e=>{if(eU(e))return;let t=m(e);return function(e){if(eU(e))return;let t=n(e[r]);e[r]=t,delete e.isExpired,"0"===t||e.id||(e.id=tZ(),e.created=String(e_()))}(t),t},after:e=>{eU(e)||v()||(s=e,c.notify()),s=e}},o)},l=!1,{throttled:(...e)=>{if(l){a=e;return}i(...e),l=!0,u=Z(()=>{a&&i(...a),l=!1,a=void 0},1e3)},cancel:()=>{X(u),l=!1,a=void 0}});function m(e){var n;return rn(e)&&(e=rr(e,t)),v()&&((n=e,s.id!==n.id||s[r]!==n[r])?(s=rr(s,t),d.notify()):(f.notify({previousState:s,newState:e}),s=e)),e}function b(){rg({process:e=>{if(eU(e))return e.anonymousId=tZ(),rr(e,t)},after:e=>{s=e}},o)}function v(){return(null==s?void 0:s[r])!==void 0}return{expandOrRenewSession:h,expandSession:function(){rg({process:e=>v()?m(e):void 0},o)},getSession:()=>
4s,renewObservable:c,expireObservable:d,sessionStateUpdateObservable:f,restartSession:b,expire:e=>{y(),!1===e&&s&&delete s.anonymousId,o.expireSession(s),m(rr(s,t))},stop:()=>{et(p)},updateSessionState:function(e){rg({process:t=>({...t,...e}),after:m},o)}}}(e.sessionStoreStrategyType,e,t,r);rj.push(()=>u.stop());let l=function({expireDelay:e,maxEntries:t}){let r=[];rA||(rA=ee(()=>void r$.forEach(e=>e()),6e4));let n=()=>{let t=eS()-e;for(;r.length>0&&r[r.length-1].endTime<t;)r.pop()};return r$.add(n),{add:function(e,n){let o={value:e,startTime:n,endTime:rP,remove:()=>{tN(r,o)},close:e=>{o.endTime=e}};return t&&r.length>=t&&r.pop(),r.unshift(o),o},find:function(e=rP,t={returnInactive:!1}){for(let n of r)if(n.startTime<=e){if(t.returnInactive||e<=n.endTime)return n.value;break}},closeActive:function(e){let t=r[0];t&&t.endTime===rP&&t.close(e)},findAll:function(e=rP,t=0){let n=e+t;return r.filter(t=>t.startTime<=n&&e<=t.endTime).map(e=>e.value)},reset:function(){r=[]},stop:function(){r$.delete(n),0===r$.size&&rA&&(et(rA),rA=null)}}}({expireDelay:t7});if(rj.push(()=>l.stop()),u.renewObservable.subscribe(()=>{l.add(c(),eS()),s.notify()}),u.expireObservable.subscribe(()=>{a.notify(),l.closeActive(eS())}),u.expandOrRenewSession(),l.add(c(),{relative:0,timeStamp:eO()}.relative),i=o.SHORT_SESSION_INVESTIGATION,eF.has(i)){let t=u.getSession();t&&function(e,t){if(!window.cookieStore||!t.created)return;let r=Number(t.created),n=e_(),{stop:o}=e2(e,cookieStore,["change"],function(e){let i=function(e,t){for(let r=e.length-1;r>=0;r-=1){let n=e[r];if(t(n,r,e))return n}}(e.changed,e=>e.name===t6);if(!i)return;let s=e_()-r;if(s>84e4)o();else{let e=rs(i.value);if(e.id&&e.id!==t.id){o();let r=e_()-n;rM().then(n=>{th("Session cookie changed",{time:r,session_age:s,old:t,new:e,cookie:n})}).catch(B)}}},void 0);rj.push(o)}(e,t)}function c(){let r=u.getSession();return r?{id:r.id,trackingType:r[t],isReplayForced:!!r.forcedReplay,anonymousId:r.anonymousId}:(rR(e).catch(()=>void 0),{id:"invalid",trackingType:"0",isReplayForced:!1,anonymousId:void 0})}return n.observable.subscribe(()=>{n.isGranted()?u.expandOrRenewSession():u.expire(!1)}),function(e,t){let{stop:r}=e2(e,window,["click","touchstart","keydown","scroll"],t,{capture:!0,passive:!0});rj.push(r)}(e,()=>{n.isGranted()&&u.expandOrRenewSession()}),function(e,t){let r=()=>{"visible"===document.visibilityState&&t()},{stop:n}=e2(e,document,["visibilitychange"],r,void 0);rj.push(n);let o=ee(r,6e4);rj.push(()=>{et(o)})}(e,()=>u.expandSession()),function(e,t){let{stop:r}=e2(e,window,["resume"],t,{capture:!0});rj.push(r)}(e,()=>u.restartSession()),{findSession:(e,t)=>l.find(e,t),renewObservable:s,expireObservable:a,sessionStateUpdateObservable:u.sessionStateUpdateObservable,expire:u.expire,updateSessionState:u.updateSessionState}}(e,"logs",t=>rI(e,t),r)).expireObservable};function I(){return r.isGranted()?tu:ta}E.register(0,I),E.register(1,I),E.register(0,({startTime:t})=>{let r=M.findTrackedSession(t);return M.findTrackedSession(t,{returnInactive:!0})?{service:e.service,session_id:r?r.id:void 0,session:r?{id:r.id}:void 0}:ta}),E.register(1,({startTime:e})=>{let t=M.findTrackedSession(e);return t&&t.id?{session:{id:t.id}}:tu});let q=(m=tQ(),e.storeContextsAcrossPages&&tU(e,m,rQ,4),E.register(0,()=>{let e=m.getContext();return eU(e)||!e.id?tu:{account:e}}),m),D=(b=tH(),e.storeContextsAcrossPages&&tU(e,b,rQ,1),E.register(0,({eventType:t,startTime:r})=>{let n=b.getContext(),o=M.findTrackedSession(r);return(o&&o.anonymousId&&!n.anonymous_id&&e.trackAnonymousUser&&(n.anonymous_id=o.anonymousId),eU(n))?tu:{type:t,usr:n}}),E.register(1,({startTime:e})=>{var t;return{anonymous_id:null==(t=M.findTrackedSession(e))?void 0:t.anonymousId}}),b),L=(w=tF(),e.storeContextsAcrossPages&&tU(e,w,rQ,2),E.register(0,()=>{let e=w.getContext();return e}),w);function U(e){let t=function(e,t){if(t&&t.getInternalContext)return t.getInternalContext(e)}(e,rT()?Q.DD_RUM_SYNTHETICS:Q.DD_RUM);if(t)return t}E.register(0,({startTime:e})=>{let t=U(e);return t||tu}),E.register(1,({startTime:e})=>{var t,r;let n=U(e);return n?{application:{id:n.application_id},view:{id:null==(t=n.view)?void 0:t.id},action:{id:null==(r=n.user_action)?void 0:r.id}}:tu}),function(e,t){var r;if(e.forwardErrorsToLogs)(H?new K:(!v&&(r=e,v=new K(e=>{let{stop:t}=ew(XMLHttpRequest.prototype,"open",rG),{stop:n}=ew(XMLHttpRequest.prototype,"send",t=>{!function({target:e,parameters:[t],handlingStack:r},n,o){let i=rL.get(e);if(!i)return;i.state="start",i.startClocks=ek(),i.isAborted=!1,i.xhr=e,i.handlingStack=r,i.requestBody=t;let s=!1,{stop:a}=ew(e,"onreadystatechange",()=>{e.readyState===XMLHttpRequest.DONE&&u()}),u=()=>{var t;
4l(),a(),s||(s=!0,i.state="complete",t=i.startClocks.timeStamp,i.duration=e_()-t,i.status=e.status,"string"==typeof e.response&&(i.responseBody=e.response),o.notify({...i}))},{stop:l}=e2(n,e,["loadend"],u,void 0);o.notify(i)}(t,r,e)},{computeHandlingStack:!0}),{stop:o}=ew(XMLHttpRequest.prototype,"abort",rN);return()=>{t(),n(),o()}})),v)).subscribe(e=>{"complete"===e.state&&o("xhr",e)}),tV({responseBodyAction:e=>2*!!n(e)}).subscribe(e=>{"resolve"===e.state&&o("fetch",e)});function n(e){var t,r;return t=e.url,!eJ.every(e=>t.includes(e))&&(0===(r=e).status&&"opaque"!==r.responseType||e.status>=500)}function o(r,o){if(!n(o))return;let i="error"in o&&o.error?eb(ei(o.error)):o.responseBody||"Failed to load",s={isAborted:o.isAborted,handlingStack:o.handlingStack};t.notify(0,{rawLogsEvent:{message:`${"xhr"===r?"XHR":"Fetch"} error ${o.method} ${o.url}`,date:o.startClocks.timeStamp,error:{stack:t0(i,e.requestErrorResponseLengthLimit,"..."),handling:void 0},http:{method:o.method,status_code:o.status,url:o.url},status:tj.error,origin:"network"},domainContext:s})}}(e,x),s=e,a=x,u=n,s.forwardErrorsToLogs&&u.subscribe(e=>{if(0===e.type){let t=e.error;a.notify(0,{rawLogsEvent:{message:t.message,date:t.startClocks.timeStamp,error:tM(t),origin:eG,status:tj.error},messageContext:t.context})}}),n.unbuffer(),c=e,d=x,J(...c.forwardConsoleLogs.map(e=>{var t;return rq[e]||(rq[e]=(t=e,new K(e=>{let r=P[t];return P[t]=(...n)=>{r.apply(console,n);let o=em("console error");N(()=>{e.notify(function(e,t,r){let n=e.map(e=>{var t;return"string"==typeof(t=e)?eP(t):eI(t)?ev(ei(t)):eC(eP(t),void 0,2)}).join(" ");if(t===T.error){let o=eM({originalError:e.find(eI),handlingStack:r,startClocks:ek(),source:eD,handling:"handled",nonErrorPrefix:"Provided",useFallbackStack:!1});return o.message=n,{api:t,message:n,handlingStack:r,error:o}}return{api:t,message:n,error:void 0,handlingStack:r}}(n,t,o))})},()=>{P[t]=r}}))),rq[e]})).subscribe(e=>{var t;let r={rawLogsEvent:{date:e_(),message:e.message,origin:eD,error:e.error&&tM(e.error),status:rD[e.api]},messageContext:null==(t=e.error)?void 0:t.context,domainContext:{handlingStack:e.handlingStack}};d.notify(0,r)}),(i=e.forwardReports,_=[],i.includes(rk.cspViolation)&&_.push((f=e,new K(e=>{let{stop:t}=e2(f,document,["securitypolicyviolation"],t=>{var r;let n;e.notify((r=t,n=`'${r.blockedURI}' blocked by '${r.effectiveDirective}' directive`,rO({type:r.effectiveDirective,message:`${rk.cspViolation}: ${n}`,originalError:r,csp:{disposition:r.disposition},stack:rx(r.effectiveDirective,r.originalPolicy?`${n} of the policy "${t0(r.originalPolicy,100,"...")}"`:"no policy",r.sourceFile,r.lineNumber,r.columnNumber)})))},void 0);return t}))),(S=i.filter(e=>e!==rk.cspViolation)).length&&_.push((p=S,new K(e=>{if(!window.ReportingObserver)return;let t=G((t,r)=>t.forEach(t=>e.notify(function(e){let{type:t,body:r}=e;return rO({type:r.id,message:`${t}: ${r.message}`,originalError:e,stack:rx(r.id,r.message,r.sourceFile,r.lineNumber,r.columnNumber)})}(t)))),r=new window.ReportingObserver(t,{types:p,buffered:!0});return r.observe(),()=>{r.disconnect()}}))),J(..._)).subscribe(e=>{let t,r=e.message,n="deprecation"===e.originalError.type?tj.warn:tj.error;if(n===tj.error)t=tM(e);else{var o,i;e.stack&&(r+=` Found in ${o=e.stack,null==(i=/@ (.+)/.exec(o))?void 0:i[1]}`)}x.notify(0,{rawLogsEvent:{date:e_(),message:r,origin:eN,error:t,status:n}})});let{handleLog:F}={handleLog:function(e,t,r,n,o){let i=eZ(t.getContext(),e.context);if(t$(e.status,"console",t)&&function({status:e,message:t},r){A[rU[e]].call(P,t,r)}(e,i),t$(e.status,tI,t)){let s={rawLogsEvent:{date:o||e_(),message:e.message,status:e.status,origin:eL},messageContext:i,savedCommonContext:n,ddtags:t.getTags()};r&&(s.domainContext={handlingStack:r}),x.notify(0,s)}}};if(k=tq.concat(["custom"]),O={},k.forEach(e=>{O[e]=function(e,t,r=3e3){let n=0,o=!1;return{isLimitReached(){if(0===n&&Z(()=>{n=0},6e4),(n+=1)<=r||o)return o=!1,!1;if(n===r+1){o=!0;try{t({message:`Reached max number of ${e}s by minute: ${r}`,source:eq,startClocks:ek()})}finally{o=!1}}return!0}}}(e,$,void 0)}),x.subscribe(0,({rawLogsEvent:r,messageContext:n,savedCommonContext:o,domainContext:i,ddtags:s=[]})=>{var a,u;let l=r.date-eO(),c=o||t(),d=E.triggerHook(0,{startTime:l});if(d===ta)return;let f=eQ(e),p=eZ({view:c.view},d,r,n,{ddtags:f.concat(s).join(",")});(null==(a=e.beforeSend)?void 0:a.call(e,p,i))===!1||p.origin!==eq&&(null!=(u=O[p.status])?u:O.custom).isLimitReached()||x.notify(1,p)}),e0()){let e;e=eX(),x.subscribe(1,t=>{e.send("log",t)})}else{let t,r,{stop:n}=(t=[e.logsEndpointBuilder],e.replica&&t.push(e.replica.logsEndpointBuilder),r=e4({encoder:rC(),request:tr(t,$),flushController:ts({pageMayExitObservable:j,sessionExpireOb
4servable:M.expireObservable})}),x.subscribe(1,e=>{r.add(e)}),r);C.push(()=>n())}return{handleLog:F,getInternalContext:({get:e=>{let t=M.findTrackedSession(e);if(t)return{session_id:t.id}}}).get,accountContext:q,globalContext:L,userContext:D,stop:()=>{C.forEach(e=>e())}}},k={tryToInit(e){u||(u=e)},update(e){u=e,_.notify()},isGranted:()=>u===V.GRANTED,observable:_=new K},O=function(e=function(){return new K(e=>{var t,r;let n=(t,r)=>{let n=eM({stackTrace:r,originalError:t,startClocks:ek(),nonErrorPrefix:"Uncaught",source:eG,handling:"unhandled"});e.notify(n)},{stop:o}=(t=n,ew(F(),"onerror",({parameters:[e,r,n,o,i]})=>{let s;eI(i)||(s=function(e,t,r,n){var o;let i,s;if(void 0===t)return;let{name:a,message:u}=(o=e,"[object String]"===({}).toString.call(o)&&([,i,s]=eg.exec(o)),{name:i,message:s});return{name:a,message:u,stack:[{url:t,column:n,line:r}]}}(e,r,n,o)),t(null!=i?i:e,s)})),{stop:i}=(r=n,ew(F(),"onunhandledrejection",({parameters:[e]})=>{r(e.reason||"Empty reason")}));return()=>{o(),i()}})}){let t=new W(500),r=e().subscribe(e=>{t.notify({type:0,error:e})});return{observable:t,stop:()=>{r.unsubscribe()}}}().observable,x=function(e,t,r){let n,i,s,a=(s=[],{add:e=>{s.push(e)>500&&s.splice(0,1)},remove:e=>{tN(s,e)},drain:e=>{s.forEach(t=>t(e)),s.length=0}}),u=tF();tb(u,tw,a);let l=tQ();tb(l,t_,a);let c=tH();tb(c,tv,a);let d=t.observable.subscribe(f);function f(){if(!i||!n||!t.isGranted())return;d.unsubscribe();let e=r(n,i);a.drain(e)}return{init(e,r){var s,a,u,l;let c;if(!e)return void j.error("Missing configuration");if(Array.isArray(s=e.enableExperimentalFeatures)&&s.filter(e=>eB(o,e)).forEach(e=>{eF.add(e)}),e0()&&(e={...e,clientToken:"empty"}),n=e,c={session_sample_rate:(u=a=e).sessionSampleRate,telemetry_sample_rate:u.telemetrySampleRate,telemetry_configuration_sample_rate:u.telemetryConfigurationSampleRate,telemetry_usage_sample_rate:u.telemetryUsageSampleRate,use_before_send:!!u.beforeSend,use_partitioned_cross_site_session_cookie:u.usePartitionedCrossSiteSessionCookie,use_secure_session_cookie:u.useSecureSessionCookie,use_proxy:!!u.proxy,silent_multiple_init:u.silentMultipleInit,track_session_across_subdomains:u.trackSessionAcrossSubdomains,track_anonymous_user:u.trackA
4nonymousUser,session_persistence:u.sessionPersistence,allow_fallback_to_local_storage:!!u.allowFallbackToLocalStorage,store_contexts_across_pages:!!u.storeContextsAcrossPages,allow_untrusted_events:!!u.allowUntrustedEvents,tracking_consent:u.trackingConsent,use_allowed_tracking_origins:Array.isArray(u.allowedTrackingOrigins),beta_encode_cookie_options:u.betaEncodeCookieOptions,source:u.source,sdk_version:u.sdkVersion,variant:u.variant},l={forward_errors_to_logs:a.forwardErrorsToLogs,forward_console_logs:a.forwardConsoleLogs,forward_reports:a.forwardReports,use_pci_intake:a.usePciIntake,...c},tp().notify({rawEvent:{type:tl,configuration:l}}),i)return void tC("DD_LOGS",e);let d=function(e,t){!0===e.usePciIntake&&e.site&&"datadoghq.com"!==e.site&&j.warn("PCI compliance for Logs is only available for Datadog organizations in the US1 site. Default intake will be used.");let r=function(e,t){var r,n,o,i,s,a,u,l,c,d,f,p,h;if(!e||!e.clientToken)return void j.error("Client Token is not configured, we will not send any data.");if(void 0!==e.allowedTrackingOrigins&&!Array.isArray(e.allowedTrackingOrigins))return void j.error("Allowed Tracking Origins must be an array");if((!(f=e.site)||"string"!=typeof f||/(datadog|ddog|datad0g|dd0g)/.test(f)||(j.error(`Site should be a valid Datadog site. ${I} ${R}/getting_started/site/.`),0))&&rS(e.sessionSampleRate,"Session")&&rS(e.telemetrySampleRate,"Telemetry")&&rS(e.telemetryConfigurationSampleRate,"Telemetry Configuration")&&rS(e.telemetryUsageSampleRate,"Telemetry Usage")&&r_(e.version,"Version")&&r_(e.env,"Env")&&r_(e.service,"Service")&&function(e,t,r="u">typeof location?location.origin:""){let n=e.allowedTrackingOrigins;if(!n)return!function(e,t=""){return!rv(e)&&rv(t.split("\n").filter(e=>{let t=e.trim();return t.length&&/^at\s+|@/.test(t)})[1]||"")}(r,t)||(j.error("Running the Browser SDK in a Web extension content script is forbidden unless the `allowedTrackingOrigins` option is provided."),!1);let o=function(e,t,r=!1){return e.some(e=>{try{if("function"==typeof e)return e(t);if(e instanceof RegExp)return e.test(t);if("string"==typeof e)return r?t.startsWith(e):e===t}catch(e){j.error(e)}return!1})}(n,r);return o||j.error("SDK initialized on a non-allowed domain."),o}(e,null!=t?t:"")){let t,f,g;if(void 0!==e.trackingConsent&&!eB(V,e.trackingConsent))return void j.error('Tracking Consent should be either "granted" or "not-granted"');return{beforeSend:e.beforeSend&&q(e.beforeSend,"beforeSend threw an error:"),sessionStoreStrategyType:H?void 0:function(e){switch(e.sessionPersistence){case t8:return ra(e);case re:return rd();case void 0:{let t=ra(e);return!t&&e.allowFallbackToLocalStorage&&(t=rd()),t}default:j.error(`Invalid session persistence '${String(e.sessionPersistence)}'`)}}(e),sessionSampleRate:null!=(r=e.sessionSampleRate)?r:100,telemetrySampleRate:null!=(n=e.telemetrySampleRate)?n:20,telemetryConfigurationSampleRate:null!=(o=e.telemetryConfigurationSampleRate)?o:5,telemetryUsageSampleRate:null!=(i=e.telemetryUsageSampleRate)?i:5,service:null!=(s=e.service)?s:void 0,env:null!=(a=e.env)?a:void 0,version:null!=(u=e.version)?u:void 0,datacenter:null!=(l=e.datacenter)?l:void 0,silentMultipleInit:!!e.silentMultipleInit,allowUntrustedEvents:!!e.allowUntrustedEvents,trackingConsent:null!=(c=e.trackingConsent)?c:V.GRANTED,trackAnonymousUser:null==(d=e.trackAnonymousUser)||d,storeContextsAcrossPages:!!e.storeContextsAcrossPages,betaEncodeCookieOptions:!!e.betaEncodeCookieOptions,variant:e.variant,sdkVersion:e.sdkVersion,...(t=e.site||eK,f="flutter"===(p=e.source)||"unity"===p?p:"browser",g={logsEndpointBuilder:rw(h={...e,site:t,source:f},"logs"),rumEndpointBuilder:rw(h,"rum"),profilingEndpointBuilder:rw(h,"profile"),sessionReplayEndpointBuilder:rw(h,"replay"),exposuresEndpointBuilder:rw(h,"exposures"),flagEvaluationEndpointBuilder:rw(h,"flagevaluation")},{replica:function(e){if(!e.replica)return;let t={...e,site:eK,clientToken:e.replica.clientToken};return{logsEndpointBuilder:rw(t,"logs"),rumEndpointBuilder:rw(t,"rum",[`application.id=${e.replica.applicationId}`])}}({...e,site:t,source:f}),site:t,source:f,...g})}}}(e,t),n=rE(e.forwardConsoleLogs,e1(T),"Forward Console Logs"),o=rE(e.forwardReports,e1(rk),"Forward Reports");if(r&&n&&o)return e.forwardErrorsToLogs&&!n.includes(T.error)&&n.push(T.error),{forwardErrorsToLogs:!1!==e.forwardErrorsToLogs,forwardConsoleLogs:n,forwardReports:o,requestErrorResponseLengthLimit:32768,...r}}(e,r);d&&(i=d,tV().subscribe(er),t.tryToInit(d.trackingConsent),f())},get initConfiguration(){return n},globalContext:u,accountContext:l,userContext:c,getInternalContext:er,handleLog(t,r,n,o=e(),i=e_()){a.add(e=>e.handleLog(t,r,n,o,i))}}}(tG,k,(e,t)=>{let r=a(t,tG,k,O);return x={init:e=>{tC("DD_LOGS",e)},initConfiguration:e,...r},r}),E=()=>x,C={},Object.defineProperty(S={version:"6.26.0",onReady(e){e()},...{logger:new tD((...e)=>x.handleLog(...e)),init:e=>{let t=Error().stack;N(()=>x.init(e,t))},setTrackingConsent:G(e=>{k.update(e),ty({feature:"set-tracking-consent",tracking_consent:e})}),getGlobalContext:tm(E,tw,tS),setGlobalContext:tm(E,tw,tk),setGlobalContextProperty:tm(E,tw,tO),removeGlobalContextProperty:tm(E,tw,tx),clearGlobalContext:tm(E,tw,tE),createLogger:G((e,t={})=>(C[e]=new tD((...e)=>x.handleLog(...e),eP(e),t.handler,t.level,eP(t.context)),C[e])),getLogger:G(e=>C[e]),getInitConfiguration:G(()=>eY(void 0,x.initConfiguration)),getInternalContext:G(e=>x.getInternalContext(e)),setUser:tm(E,tv,tk),getUser:tm(E,tv,tS),setUserProperty:tm(E,tv,tO),removeUserProperty:tm(E,tv,tx),clearUser:tm(E,tv,tE),setAccount:tm(E,t_,tk),getAccount:tm(E,t_,tS),setAccountProperty:tm(E,t_,tO),removeAccountProperty:tm(E,t_,tx),clearAccount:tm(E,t_,tE)}},"_setDebug",{get:()=>L,enumerable:!1}),S);i=F(),(w=i[s="DD_LOGS"])&&!w.q&&w.version&&j.warn("SDK is loaded more than once. This is unsupported and might have unex
4pected behavior."),i[s]=rH,w&&w.q&&w.q.forEach(e=>q(e,"onReady callback threw an error:")())},6236:function(e,t,r){var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){let{html:t,scripts:r,stylesheets:n}=(0,s.YouTubeEmbed)(e);return(0,o.jsx)(a.default,{height:e.height||null,width:e.width||null,html:t,dataNtpc:"YouTubeEmbed",children:null==r?void 0:r.map(e=>(0,o.jsx)(i.default,{src:e.url,strategy:u[e.strategy],stylesheets:n},e.url))})};let o=r(34379),i=n(r(72523)),s=r(30248),a=n(r(94470)),u={server:"beforeInteractive",client:"afterInteractive",idle:"lazyOnload",worker:"worker"}},14827:(e,t,r)=>{var n;Object.defineProperty(t,"__esModule",{value:!0}),t.sendGTMEvent=void 0,t.GoogleTagManager=function(e){let{gtmId:t,gtmScriptUrl:r,dataLayerName:n="dataLayer",auth:u,preview:l,dataLayer:c,nonce:d}=e;a=n;let f=new URL(r||"https://www.googletagmanager.com/gtm.js");return t&&f.searchParams.set("id",t),"dataLayer"!==n&&f.searchParams.set("l",n),u&&f.searchParams.set("gtm_auth",u),l&&(f.searchParams.set("gtm_preview",l),f.searchParams.set("gtm_cookies_win","x")),(0,i.useEffect)(()=>{performance.mark("mark_feature_usage",{detail:{feature:"next-third-parties-gtm"}})},[]),(0,o.jsxs)(o.Fragment,{children:[(0,o.jsx)(s.default,{id:"_next-gtm-init",dangerouslySetInnerHTML:{__html:`
5      (function(w,l){
6        w[l]=w[l]||[];
7        w[l].push({'gtm.start': new Date().getTime(),event:'gtm.js'});
8        ${c?`w[l].push(${JSON.stringify(c)})`:""}
9      })(window,'${n}');`},nonce:d}),(0,o.jsx)(s.default,{id:"_next-gtm","data-ntpc":"GTM",src:f.href,nonce:d})]})};let o=r(34379),i=r(7963),s=(n=r(72523))&&n.__esModule?n:{default:n},a="dataLayer";t.sendGTMEvent=(e,t)=>{let r=t||a;window[r]=window[r]||[],window[r].push(e)}},15921:function(e,t,r){var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.sendGAEvent=t.GoogleAnalytics=t.sendGTMEvent=t.GoogleTagManager=t.YouTubeEmbed=t.GoogleMapsEmbed=void 0;var o=r(79992);Object.defineProperty(t,"GoogleMapsEmbed",{enumerable:!0,get:function(){return n(o).default}});var i=r(6236);Object.defineProperty(t,"YouTubeEmbed",{enumerable:!0,get:function(){return n(i).default}});var s=r(14827);Object.defineProperty(t,"GoogleTagManager",{enumerable:!0,get:function(){return s.GoogleTagManager}}),Object.defineProperty(t,"sendGTMEvent",{enumerable:!0,get:function(){return s.sendGTMEvent}});var a=r(91767);Object.defineProperty(t,"GoogleAnalytics",{enumerable:!0,get:function(){return a.GoogleAnalytics}}),Object.defineProperty(t,"sendGAEvent",{enumerable:!0,get:function(){return a.sendGAEvent}})},19948:e=>{e.exports=JSON.parse('{"id":"google-analytics","description":"Install a Google Analytics tag on your website","website":"https://analytics.google.com/analytics/web/","scripts":[{"url":"https://www.googletagmanager.com/gtag/js","params":["id"],"strategy":"worker","location":"head","action":"append"},{"code":"window.dataLayer=window.dataLayer||[];window.gtag=function gtag(){window.dataLayer.push(arguments);};gtag(\'js\',new Date());gtag(\'config\',\'${args.id}\')","strategy":"worker","location":"head","action":"append"}]}')},24072:function(e,t,r){var n=this&&this.__rest||function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&0>t.indexOf(n)&&(r[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var o=0,n=Object.getOwnPropertySymbols(e);o<n.length;o++)0>t.indexOf(n[o])&&Object.prototype.propertyIsEnumerable.call(e,n[o])&&(r[n[o]]=e[n[o]]);return r},o=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.GoogleAnalytics=void 0;let i=o(r(19948)),s=r(56874);t.GoogleAnalytics=e=>{var t=n(e,[]);return(0,s.formatData)(i.default,t)}},30248:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.YouTubeEmbed=t.GoogleMapsEmbed=t.GoogleAnalytics=void 0;var n=r(24072);Object.defineProperty(t,"GoogleAnalytics",{enumerable:!0,get:function(){return n.GoogleAnalytics}});var o=r(91977);Object.defineProperty(t,"GoogleMapsEmbed",{enumerable:!0,get:function(){return o.GoogleMapsEmbed}});var i=r(33057);Object.defineProperty(t,"YouTubeEmbed",{enumerable:!0,get:function(){return i.YouTubeEmbed}})},33057:function(e,t,r){var n=this&&this.__rest||function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&0>t.indexOf(n)&&(r[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var o=0,n=Object.getOwnPropertySymbols(e);o<n.length;o++)0>t.indexOf(n[o])&&Object.prototype.propertyIsEnumerable.call(e,n[o])&&(r[n[o]]=e[n[o]]);return r}
9,o=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.YouTubeEmbed=void 0;let i=o(r(76989)),s=r(56874);t.YouTubeEmbed=e=>{var t=n(e,[]);return(0,s.formatData)(i.default,t)}},34103:(e,t,r)=>{r.d(t,{E:()=>h});var n=r(64902),o=r(49383),i=r(38363),s=r(10868),a=class extends s.Q{constructor(e={}){super(),this.config=e,this.#e=new Map}#e;build(e,t,r){let i=t.queryKey,s=t.queryHash??(0,n.F$)(i,t),a=this.get(s);return a||(a=new o.X({client:e,queryKey:i,queryHash:s,options:e.defaultQueryOptions(t),state:r,defaultOptions:e.getQueryDefaults(i)}),this.add(a)),a}add(e){this.#e.has(e.queryHash)||(this.#e.set(e.queryHash,e),this.notify({type:"added",query:e}))}remove(e){let t=this.#e.get(e.queryHash);t&&(e.destroy(),t===e&&this.#e.delete(e.queryHash),this.notify({type:"removed",query:e}))}clear(){i.jG.batch(()=>{this.getAll().forEach(e=>{this.remove(e)})})}get(e){return this.#e.get(e)}getAll(){return[...this.#e.values()]}find(e){let t={exact:!0,...e};return this.getAll().find(e=>(0,n.MK)(t,e))}findAll(e={}){let t=this.getAll();return Object.keys(e).length>0?t.filter(t=>(0,n.MK)(e,t)):t}notify(e){i.jG.batch(()=>{this.listeners.forEach(t=>{t(e)})})}onFocus(){i.jG.batch(()=>{this.getAll().forEach(e=>{e.onFocus()})})}onOnline(){i.jG.batch(()=>{this.getAll().forEach(e=>{e.onOnline()})})}},u=r(37170),l=class extends s.Q{constructor(e={}){super(),this.config=e,this.#t=new Set,this.#r=new Map,this.#n=0}#t;#r;#n;build(e,t,r){let n=new u.s({client:e,mutationCache:this,mutationId:++this.#n,options:e.defaultMutationOptions(t),state:r});return this.add(n),n}add(e){this.#t.add(e);let t=c(e);if("string"==typeof t){let r=this.#r.get(t);r?r.push(e):this.#r.set(t,[e])}this.notify({type:"added",mutation:e})}remove(e){if(this.#t.delete(e)){let t=c(e);if("string"==typeof t){let r=this.#r.get(t);if(r)if(r.length>1){let t=r.indexOf(e);-1!==t&&r.splice(t,1)}else r[0]===e&&this.#r.delete(t)}}this.notify({type:"removed",mutation:e})}canRun(e){let t=c(e);if("string"!=typeof t)return!0;{let r=this.#r.get(t),n=r?.find(e=>"pending"===e.state.status);return!n||n===e}}runNext(e){let t=c(e);if("string"!=typeof t)return Promise.resolve();{let r=this.#r.get(t)?.find(t=>
9t!==e&&t.state.isPaused);return r?.continue()??Promise.resolve()}}clear(){i.jG.batch(()=>{this.#t.forEach(e=>{this.notify({type:"removed",mutation:e})}),this.#t.clear(),this.#r.clear()})}getAll(){return Array.from(this.#t)}find(e){let t={exact:!0,...e};return this.getAll().find(e=>(0,n.nJ)(t,e))}findAll(e={}){return this.getAll().filter(t=>(0,n.nJ)(e,t))}notify(e){i.jG.batch(()=>{this.listeners.forEach(t=>{t(e)})})}resumePausedMutations(){let e=this.getAll().filter(e=>e.state.isPaused);return i.jG.batch(()=>Promise.all(e.map(e=>e.continue().catch(n.lQ))))}};function c(e){return e.options.scope?.id}var d=r(21758),f=r(70789),p=r(83449),h=class{#o;#i;#s;#a;#u;#l;#c;#d;constructor(e={}){this.#o=e.queryCache||new a,this.#i=e.mutationCache||new l,this.#s=e.defaultOptions||{},this.#a=new Map,this.#u=new Map,this.#l=0}mount(){this.#l++,1===this.#l&&(this.#c=d.m.subscribe(async e=>{e&&(await this.resumePausedMutations(),this.#o.onFocus())}),this.#d=f.t.subscribe(async e=>{e&&(await this.resumePausedMutations(),this.#o.onOnline())}))}unmount(){this.#l--,0===this.#l&&(this.#c?.(),this.#c=void 0,this.#d?.(),this.#d=void 0)}isFetching(e){return this.#o.findAll({...e,fetchStatus:"fetching"}).length}isMutating(e){return this.#i.findAll({...e,status:"pending"}).length}getQueryData(e){let t=this.defaultQueryOptions({queryKey:e});return this.#o.get(t.queryHash)?.state.data}ensureQueryData(e){let t=this.defaultQueryOptions(e),r=this.#o.build(this,t),o=r.state.data;return void 0===o?this.fetchQuery(e):(e.revalidateIfStale&&r.isStaleByTime((0,n.d2)(t.staleTime,r))&&this.prefetchQuery(t),Promise.resolve(o))}getQueriesData(e){return this.#o.findAll(e).map(({queryKey:e,state:t})=>[e,t.data])}setQueryData(e,t,r){let o=this.defaultQueryOptions({queryKey:e}),i=this.#o.get(o.queryHash),s=i?.state.data,a=(0,n.Zw)(t,s);if(void 0!==a)return this.#o.build(this,o).setData(a,{...r,manual:!0})}setQueriesData(e,t,r){return i.jG.batch(()=>this.#o.findAll(e).map(({queryKey:e})=>[e,this.setQueryData(e,t,r)]))}getQueryState(e){let t=this.defaultQueryOptions({queryKey:e});return this.#o.get(t.queryHash)?.state}removeQueries(e){let t=this.#o;i.jG.batch(()=>{t.findAll(e).forEach(e=>{t.remove(e)})})}resetQueries(e,t){let r=this.#o;return i.jG.batch(()=>(r.findAll(e).forEach(e=>{e.reset()}),this.refetchQueries({type:"active",...e},t)))}cancelQueries(e,t={}){let r={revert:!0,...t};return Promise.all(i.jG.batch(()=>this.#o.findAll(e).map(e=>e.cancel(r)))).then(n.lQ).catch(n.lQ)}invalidateQueries(e,t={}){return i.jG.batch(()=>(this.#o.findAll(e).forEach(e=>{e.invalidate()}),e?.refetchType==="none")?Promise.resolve():this.refetchQueries({...e,type:e?.refetchType??e?.type??"active"},t))}refetchQueries(e,t={}){let r={...t,cancelRefetch:t.cancelRefetch??!0};return Promise.all(i.jG.batch(()=>this.#o.findAll(e).filter(e=>!e.isDisabled()&&!e.isStatic()).map(e=>{let t=e.fetch(void 0,r);return r.throwOnError||(t=t.catch(n.lQ)),"paused"===e.state.fetchStatus?Promise.resolve():t}))).then(n.lQ)}fetchQuery(e){let t=this.defaultQueryOptions(e);void 0===t.retry&&(t.retry=!1);let r=this.#o.build(this,t);return r.isStaleByTime((0,n.d2)(t.staleTime,r))?r.fetch(t):Promise.resolve(r.state.data)}prefetchQuery(e){return this.fetchQuery(e).then(n.lQ).catch(n.lQ)}fetchInfiniteQuery(e){return e.behavior=(0,p.PL)(e.pages),this.fetchQuery(e)}prefetchInfiniteQuery(e){return this.fetchInfiniteQuery(e).then(n.lQ).catch(n.lQ)}ensureInfiniteQueryData(e){return e.behavior=(0,p.PL)(e.pages),this.ensureQueryData(e)}resumePausedMutations(){return f.t.isOnline()?this.#i.resumePausedMutations():Promise.resolve()}getQueryCache(){return this.#o}getMutationCache(){return this.#i}getDefaultOptions(){return this.#s}setDefaultOptions(e){this.#s=e}setQueryDefaults(e,t){this.#a.set((0,n.EN)(e),{queryKey:e,defaultOptions:t})}getQueryDefaults(e){let t=[...this.#a.values()],r={};return t.forEach(t=>{(0,n.Cp)(e,t.queryKey)&&Object.assign(r,t.defaultOptions)}),r}setMutationDefaults(e,t){this.#u.set((0,n.EN)(e),{mutationKey:e,defaultOptions:t})}getMutationDefaults(e){let t=[...this.#u.values()],r={};return t.forEach(t=>{(0,n.Cp)(e,t.mutationKey)&&Object.assign(r,t.defaultOptions)}),r}defaultQueryOptions(e){if(e._defaulted)return e;let t={...this.#s.queries,...this.getQueryDefaults(e.queryKey),...e,_defaulted:!0};return t.queryHash||(t.queryHash=(0,n.F$)(t.queryKey,t)),void 0===t.refetchOnReconnect&&(t.refetchOnReconnect="always"!==t.networkMode),void 0===t.throwOnError&&(t.throwOnError=!!t.suspense),!t.networkMode&&t.persister&&(t.networkMode="offlineFirst"),t.queryFn===n.hT&&(t.enabled=!1),t}defaultMutationOptions(e){return e?._defaulted?e:{...this.#s.mutations,...e?.mutationKey&&this.getMutationDefaults(e.mutationKey),...e,_defaulted:!0}}clear(){this.#o.clear(),this.#i.clear()}}},37170:(e,t,r)=>{r.d(t,{$:()=>a,s:()=>s});var n=r(38363),o=r(23138),i=r(92842),s=class extends o.k{#f;#p;#i;#h;constructor(e){super(),this.#f=e.client,this.mutationId=e.mutationId,this.#i=e.mutationCache,this.#p=[],this.state=e.state||a(),this.setOptions(e.options),this.scheduleGc()}setOptions(e){this.options=e,this.updateGcTime(this.options.gcTime)}get meta(){return this.options.meta}addObserver(e){this.#p.includes(e)||(this.#p.push(e),this.clearGcTimeout(),this.#i.notify({type:"observerAdded",mutation:this,observer:e}))}removeObserver(e){this.#p=this.#p.filter(t=>t!==e),this.scheduleGc(),this.#i.notify({type:"observerRemoved",mutation:this,observer:e})}optionalRemove(){this.#p.length||("pending"===this.state.status?this.scheduleGc():this.#i.remove(this))}continue(){return this.#h?.continue()??this.execute(this.state.variables)}async execute(e){let t=()=>{this.#g({type:"continue"})},r={client:this.#f,meta:this.options.meta,mutationKey:this.options.mutationKey};this.#h=(0,i.II)({fn:()=>this.options.mutationFn?this.options.mutationFn(e,r):Promise.reject(Error("No mutationFn found")),onFail:(e,t)=>{this.#g({type:"failed",failureCount:e,error:t})},onPause:()=>{this.#g({type:"pause"})},onContinue:t,retry:this.options.retry??0,retryDelay:this.options.retryDelay,networkMode:this.options.networkMode,canRun:()=>this.#i.canRun(this)});let n="pending"===this.state.status,o=!this.#h.canStart();try{if(n)t();else{this.#g({type:"pending",variables:e,isPaused:o}),this.#i.config.onMutate&&await this.#i.config.onMutate(e,this,r);let t=await this.options.onMutate?.(e,r);t!==this.state.context&&this.#g({type:"pending",context:t,variables:e,isPaused:o})}let i=await this.#h.start();return await this.#i.config.onSuccess?.(i,e,this.state.context,this,r),await this.options.onSuccess?.(i,e,this.state.context,r),await this.#i.config.onSettled?.(i,null,this.state.variables,this.state.context,this,r),await this.options.onSettled?.(i,null,e,this.state.context,r),this.#g({type:"success",data:i}),i}catch(t){try{await this.#i.config.onError?.(t,e,this.state.context,this,r)}catch(e){Promise.reject(e)}try{await this.options.onError?.(t,e,this.state.context,r)}catch(e){Promise.reject(e)}try{await this.#i.config.onSettled?.(void 0,t,this.state.variables,this.state.context,this,r)}catch(e){Promise.reject(e)}try{await this.options.onSettled?.(void 0,t,e,this.state.context,r)}catch(e){Promise.reject(e)}throw this.#g({type:"error",error:t}),t}finally{this.#i.runNext(this)}}#g(e){this.state=(t=>{switch(e.type){case"failed":return{...t,failureCount:e.failureCount,failureReason:e.error};case"pause":return{...t,isPaused:!0};case"continue":return{...t,isPaused:!1};
9case"pending":return{...t,context:e.context,data:void 0,failureCount:0,failureReason:null,error:null,isPaused:e.isPaused,status:"pending",variables:e.variables,submittedAt:Date.now()};case"success":return{...t,data:e.data,failureCount:0,failureReason:null,error:null,status:"success",isPaused:!1};case"error":return{...t,data:void 0,error:e.error,failureCount:t.failureCount+1,failureReason:e.error,isPaused:!1,status:"error"}}})(this.state),n.jG.batch(()=>{this.#p.forEach(t=>{t.onMutationUpdate(e)}),this.#i.notify({mutation:this,type:"updated",action:e})})}};function a(){return{context:void 0,data:void 0,error:null,failureCount:0,failureReason:null,isPaused:!1,status:"idle",variables:void 0,submittedAt:0}}},47465:e=>{e.exports=JSON.parse('{"id":"google-maps-embed","description":"Embed a Google Maps embed on your webpage","website":"https://developers.google.com/maps/documentation/embed/get-started","html":{"element":"iframe","attributes":{"loading":"lazy","src":{"url":"https://www.google.com/maps/embed/v1/place","slugParam":"mode","params":["key","q","center","zoom","maptype","language","region"]},"referrerpolicy":"no-referrer-when-downgrade","frameborder":"0","style":"border:0","allowfullscreen":true,"width":null,"height":null}}}')},51177:(e,t,r)=>{r.d(t,{Cl:()=>n,YH:()=>i,sH:()=>o});var n=function(){return(n=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++)for(var o in t=arguments[r])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e}).apply(this,arguments)};function o(e,t,r,n){return new(r||(r=Promise))(function(o,i){function s(e){try{u(n.next(e))}catch(e){i(e)}}function a(e){try{u(n.throw(e))}catch(e){i(e)}}function u(e){var t;e.done?o(e.value):((t=e.value)instanceof r?t:new r(function(e){e(t)})).then(s,a)}u((n=n.apply(e,t||[])).next())})}function i(e,t){var r,n,o,i={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]},s=Object.create(("function"==typeof Iterator?Iterator:Object).prototype);return s.next=a(0),s.throw=a(1),s.return=a(2),"function"==typeof Symbol&&(s[Symbol.iterator]=function(){return this}),s;function a(a){return function(u){var l=[a,u];if(r)throw TypeError("Generator is already executing.");for(;s&&(s=0,l[0]&&(i=0)),i;)try{if(r=1,n&&(o=2&l[0]?n.return:l[0]?n.throw||((o=n.return)&&o.call(n),0):n.next)&&!(o=o.call(n,l[1])).done)return o;switch(n=0,o&&(l=[2&l[0],o.value]),l[0]){case 0:case 1:o=l;break;case 4:return i.label++,{value:l[1],done:!1};case 5:i.label++,n=l[1],l=[0];continue;case 7:l=i.ops.pop(),i.trys.pop();continue;default:if(!(o=(o=i.trys).length>0&&o[o.length-1])&&(6===l[0]||2===l[0])){i=0;continue}if(3===l[0]&&(!o||l[1]>o[0]&&l[1]<o[3])){i.label=l[1];break}if(6===l[0]&&i.label<o[1]){i.label=o[1],o=l;break}if(o&&i.label<o[2]){i.label=o[2],i.ops.push(l);break}o[2]&&i.ops.pop(),i.trys.pop();continue}l=t.call(e,i)}catch(e){l=[6,e],n=0}finally{r=o=0}if(5&l[0])throw l[1];return{value:l[0]?l[1]:void 0,done:!0}}}}"function"==typeof SuppressedError&&SuppressedError},56874:(e,t)=>{function r(e,t,n=!1){return t?Object.keys(e).filter(e=>n?!t.includes(e):t.includes(e)).reduce((t,r)=>(t[r]=e[r],t),{}):{}}function n(e,t,r,n){let o=n&&Object.keys(n).length>0?new URL(Object.values(n)[0],e):new URL(e);return t&&r&&t.forEach(e=>{r[e]&&o.searchParams.set(e,r[e])}),o.toString()}function o(e,t,r,o,i){var s;if(!t)return`<${e}></${e}>`;let a=(null==(s=t.src)?void 0:s.url)?Object.assign(Object.assign({},t),{src:n(t.src.url,t.src.params,o,i)}):t,u=Object.keys(Object.assign(Object.assign({},a),r)).reduce((e,t)=>{let n=null==r?void 0:r[t],o=a[t],i=null!=n?n:o,s=!0===i?t:`${t}="${i}"`;return i?e+` ${s}`:e},"");return`<${e}${u}></${e}>`}Object.defineProperty(t,"__esModule",{value:!0}),t.formatData=t.createHtml=t.formatUrl=void 0,t.formatUrl=n,t.createHtml=o,t.formatData=function(e,t){var i,s,a,u,l;let c=r(t,null==(i=e.scripts)?void 0:i.reduce((e,t)=>[...e,...Array.isArray(t.params)?t.params:[]],[])),d=r(t,null==(a=null==(s=e.html)?void 0:s.attributes.src)?void 0:a.params),f=r(t,[null==(l=null==(u=e.html)?void 0:u.attributes.src)?void 0:l.slugParam]),p=r(t,[...Object.keys(c),...Object.keys(d),...Object.keys(f)],!0);return Object.assign(Object.assign({},e),{html:e.html?o(e.html.element,e.html.attributes,p,d,f):null,scripts:e.scripts?e.scripts.map(e=>Object.assign(Object.assign({},e),{url:n(e.url,e.params,c)})):null})}},72523:(e,t,r)=>{r.r(t),r.d(t,{default:()=>o.a});
9var n=r(56696),o=r.n(n),i={};for(let e in n)"default"!==e&&(i[e]=()=>n[e]);r.d(t,i)},73567:(e,t,r)=>{r.d(t,{default:()=>i});var n=r(96469),o=r(34379);function i({locale:e,...t}){if(!e)throw Error(void 0);return(0,o.jsx)(n.Dk,{locale:e,...t})}},76989:e=>{e.exports=JSON.parse('{"id":"youtube-embed","description":"Embed a YouTube embed on your webpage.","website":"https://github.com/paulirish/lite-youtube-embed","html":{"element":"lite-youtube","attributes":{"videoid":null,"playlabel":null}},"stylesheets":["https://cdn.jsdelivr.net/gh/paulirish/lite-youtube-embed@master/src/lite-yt-embed.css"],"scripts":[{"url":"https://cdn.jsdelivr.net/gh/paulirish/lite-youtube-embed@master/src/lite-yt-embed.js","strategy":"idle","location":"head","action":"append"}]}')},79992:function(e,t,r){var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){let{apiKey:t,...r}=e,n={...r,key:t},{html:a}=(0,i.GoogleMapsEmbed)(n);return(0,o.jsx)(s.default,{height:n.height||null,width:n.width||null,html:a,dataNtpc:"GoogleMapsEmbed"})};let o=r(34379),i=r(30248),s=n(r(94470))},83449:(e,t,r)=>{r.d(t,{PL:()=>o,RQ:()=>u,rB:()=>a});var n=r(64902);function o(e){return{onFetch:(t,r)=>{let o=t.options,a=t.fetchOptions?.meta?.fetchMore?.direction,u=t.state.data?.pages||[],l=t.state.data?.pageParams||[],c={pages:[],pageParams:[]},d=0,f=async()=>{let r=!1,f=(0,n.ZM)(t.options,t.fetchOptions),p=async(e,o,i)=>{let s;if(r)return Promise.reject();if(null==o&&e.pages.length)return Promise.resolve(e);let a=(s={client:t.client,queryKey:t.queryKey,pageParam:o,direction:i?"backward":"forward",meta:t.options.meta},(0,n.ox)(s,()=>t.signal,()=>r=!0),s),u=await f(a),{maxPages:l}=t.options,c=i?n.ZZ:n.y9;return{pages:c(e.pages,u,l),pageParams:c(e.pageParams,o,l)}};if(a&&u.length){let e="backward"===a,t={pages:u,pageParams:l},r=(e?s:i)(o,t);c=await p(t,r,e)}else{let t=e??u.length;do{let e=0===d?l[0]??o.initialPageParam:i(o,c);if(d>0&&null==e)break;c=await p(c,e),d++}while(d<t)}return c};t.options.persister?t.fetchFn=()=>t.options.persister?.(f,{client:t.client,queryKey:t.queryKey,meta:t.options.meta,signal:t.signal},r):t.fetchFn=f}}}function i(e,{pages:t,pageParams:r}){let n=t.length-1;return t.length>0?e.getNextPageParam(t[n],t,r[n],r):void 0}function s(e,{pages:t,pageParams:r}){return t.length>0?e.getPreviousPageParam?.(t[0],t,r[0],r):void 0}function a(e,t){return!!t&&null!=i(e,t)}function u(e,t){return!!t&&!!e.getPreviousPageParam&&null!=s(e,t)}},91767:(e,t,r)=>{var n;let o;Object.defineProperty(t,"__esModule",{value:!0}),t.GoogleAnalytics=function(e){let{gaId:t,debugMode:r,dataLayerName:n="dataLayer",nonce:u}=e;return void 0===o&&(o=n),(0,s.useEffect)(()=>{performance.mark("mark_feature_usage",{detail:{feature:"next-third-parties-ga"}})},[]),(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(a.default,{id:"_next-ga-init",dangerouslySetInnerHTML:{__html:`
10          window['${n}'] = window['${n}'] || [];
11          function gtag(){window['${n}'].push(arguments);}
12          gtag('js', new Date());
13
14          gtag('config', '${t}' ${r?",{ 'debug_mode': true }":""});`},nonce:u}),(0,i.jsx)(a.default,{id:"_next-ga",src:`https://www.googletagmanager.com/gtag/js?id=${t}`,nonce:u})]})},t.sendGAEvent=function(){void 0===o?console.warn("@next/third-parties: GA has not been initialized"):window[o]?window[o].push(arguments):console.warn(`@next/third-parties: GA dataLayer ${o} does not exist`)};let i=r(34379),s=r(7963),a=(n=r(72523))&&n.__esModule?n:{default:n}},91977:function(e,t,r){var n=this&&this.__rest||function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&0>t.indexOf(n)&&(r[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var o=0,n=Object.getOwnPropertySymbols(e);o<n.length;o++)0>t.indexOf(n[o])&&Object.prototype.propertyIsEnumerable.call(e,n[o])&&(r[n[o]]=e[n[o]]);return r},o=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.GoogleMapsEmbed=void 0;let i=o(r(47465)),s=r(56874);t.GoogleMapsEmbed=e=>{var t=n(e,[]);return(0,s.formatData)(i.default,t)}},94470:(e,t,r)=>
14{Object.defineProperty(t,"__esModule",{value:!0}),t.default=function({html:e,height:t=null,width:r=null,children:i,dataNtpc:s=""}){return(0,o.useEffect)(()=>{s&&performance.mark("mark_feature_usage",{detail:{feature:`next-third-parties-${s}`}})},[s]),(0,n.jsxs)(n.Fragment,{children:[i,e?(0,n.jsx)("div",{style:{height:null!=t?`${t}px`:"auto",width:null!=r?`${r}px`:"auto"},"data-ntpc":s,dangerouslySetInnerHTML:{__html:e}}):null]})};let n=r(34379),o=r(7963)}}]);

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.