LWR.define("lwr/domRouterUtils/v/0_22_21",["exports","lwr/routerUtils/v/0_22_21"],function(r,t){"use strict";function e(R=""){if(R=R||"",R.indexOf("://")<0){const f=window.location.port?`:${window.location.port}`:"",d=`${window.location.protocol}//${window.location.hostname}${f}`,_=R.charAt(0)==="/"?"":"/";R=d+_+R}const m={},p=document.createElement("a");p.href=R;const u=p.search.substring(1);return u&&u.split("&").forEach(f=>{const[d,_=""]=f.split("=");m[t.decode(d)]=t.decode(_)}),{href:p.href,origin:`${p.protocol}//${p.hostname}${p.port?`:${p.port}`:""}`,pathname:p.pathname.replace(/(\/)?/,"/"),searchParams:m}}function O(R){const m=e(R),p=m.href.replace(/:\d+/,""),u=m.origin.replace(/:\d+/,"");return p.replace(u,"")}function T(R){const m=R.indexOf("#");return m!==-1?R.substring(0,m):R}function H(R,m){const p=m||{};window.history.pushState(p,"",R)}function D(R,m){const p=m||{};window.history.replaceState(p,"",R)}r.getRelativeUrl=O,r.removeFragment=T,r.replace=D,r.set=H,Object.defineProperty(r,"__esModule",{value:!0})}),LWR.define("lwr/domRouterUtils",["exports","lwr/domRouterUtils/v/0_22_21"],function(r,t){r.default=t&&typeof t=="object"&&"default"in t?t.default:t,Object.keys(t).forEach(function(e){e==="default"||r.hasOwnProperty(e)||Object.defineProperty(r,e,{enumerable:!0,get:function(){return t[e]}})})}),LWR.define("lwr/metrics/v/0_22_21",["exports"],function(r){"use strict";const t="lwr.bootstrap.",e=`${t}end`,O=`${t}error`,T=`${O}.count`,H=`${t}duration`,D="lwr.bootstrap.init",R=`${D}.duration`,m="lwr.bootstrap.init.module",p=`${m}.duration`,u=`${m}.count`,f="lwr.loader.",d=`${f}module.define`,_=`${d}.count`,P=`${f}module.dynamicLoad`,A=`${P}.count`,L=`${f}module.fetch`,S=`${L}.count`,G=`${L}.duration`,U=`${f}module.error`,Y=`${U}.count`,Q=`${f}mappings.fetch`,I=`${Q}.count`,k=`${Q}.duration`,ne=`${f}mappings.error`,ae=`${ne}.count`,ke="lwr.router.",te=`${ke}navigate`,W=`${te}.count`,Oe=`${te}.duration`,Fe=`${ke}view`,o=`${Fe}.duration`,h=`${ke}error`,c=`${h}.count`;r.BOOTSTRAP_DURATION=H,r.BOOTSTRAP_END=e,r.BOOTSTRAP_ERROR=O,r.BOOTSTRAP_ERROR_COUNT=T,r.BOOTSTRAP_PREFIX=t,r.INIT=D,r.INIT_DURATION=R,r.INIT_MODULE=m,r.INIT_MODULE_COUNT=u,r.INIT_MODULE_DURATION=p,r.LOADER_PREFIX=f,r.MAPPINGS_ERROR=ne,r.MAPPINGS_ERROR_COUNT=ae,r.MAPPINGS_FETCH=Q,r.MAPPINGS_FETCH_COUNT=I,r.MAPPINGS_FETCH_DURATION=k,r.MODULE_DEFINE=d,r.MODULE_DEFINE_COUNT=_,r.MODULE_DYNAMIC_LOAD=P,r.MODULE_DYNAMIC_LOAD_COUNT=A,r.MODULE_ERROR=U,r.MODULE_ERROR_COUNT=Y,r.MODULE_FETCH=L,r.MODULE_FETCH_COUNT=S,r.MODULE_FETCH_DURATION=G,r.ROUTER_ERROR=h,r.ROUTER_ERROR_COUNT=c,r.ROUTER_NAV=te,r.ROUTER_NAV_COUNT=W,r.ROUTER_NAV_DURATION=Oe,r.ROUTER_PREFIX=ke,r.ROUTER_VIEW=Fe,r.ROUTER_VIEW_DURATION=o,Object.defineProperty(r,"__esModule",{value:!0})}),LWR.define("lwr/metrics",["exports","lwr/metrics/v/0_22_21"],function(r,t){r.default=t&&typeof t=="object"&&"default"in t?t.default:t,Object.keys(t).forEach(function(e){e==="default"||r.hasOwnProperty(e)||Object.defineProperty(r,e,{enumerable:!0,get:function(){return t[e]}})})}),LWR.define("lwr/observable/v/0_22_21",["exports"],function(r){"use strict";function t(){let e,O,T=[];const H=f=>{T.push(f)},D=f=>{T=[...T.slice(0,f),...T.slice(f+1)]},R=f=>{T.filter(d=>d!==null).forEach(d=>d.next&&d.next(f)),e=f,O=void 0},m=f=>{T.filter(d=>d!==null).forEach(d=>d.error&&d.error(f)),e=void 0,O=f};return{next:R,error:m,complete:()=>{T.filter(f=>f!==null).forEach(f=>f.complete&&f.complete()),T=[],e=void 0,O=void 0},subscribe:(f,d=!0)=>{H(f),e&&d&&f.next(e),O&&m(O);const _=T.length-1;return{unsubscribe:()=>D(_)}}}}r.createObservable=t,Object.defineProperty(r,"__esModule",{value:!0})}),LWR.define("lwr/observable",["exports","lwr/observable/v/0_22_21"],function(r,t){r.default=t&&typeof t=="object"&&"default"in t?t.default:t,Object.keys(t).forEach(function(e){e==="default"||r.hasOwnProperty(e)||Object.defineProperty(r,e,{enumerable:!0,get:function(){return t[e]}})})}),LWR.define("lwr/contextProvider/v/0_22_21",["exports","lwc/v/9_1_2","lwr/routerUtils/v/0_22_21","lwr/navigation/v/0_22_21"],function(r,t,e,O){"use strict";const T=t.createContextProvider(O.CurrentPageReference),H=e.hasDocument?t.createContextProvider(O.CurrentView):void 0,D=t.createContextProvider(O.NavigationContext);function R(m,p,u,f){u&&f&&(f.setContext(p,m),u(p,{consumerConnectedCallback:f.subscribeContext.bind(f,p),consumerDisconnectedCallback:f.unsubscribeContext.bind(f,p)}))}r.currentPageReferenceContextualizer=T,r.currentViewContextualizer=H,r.navigationContextContextualizer=D,r.provideContext=R,Object.defineProperty(r,"__esModule",{value:!0})}),LWR.define("lwr/contextProvider",["exports","lwr/contextProvider/v/0_22_21"],function(r,t){r.default=t&&typeof t=="object"&&"default"in t?t.default:t,Object.keys(t).forEach(function(e){e==="default"||r.hasOwnProperty(e)||Object.defineProperty(r,e,{enumerable:!0,get:function(){return t[e]}})})}),LWR.define("lwr/routerUtils/v/0_22_21",["exports","lwr/routerErrors/v/0_22_21"],function(r,t){"use strict";function e(){const v=[],x=()=>v.length===0,E=j=>{typeof j=="function"&&v.push(j)};return{add:(j=[])=>{Array.isArray(j)?j.forEach(V=>E(V)):E(j)},compile:j=>v.length===0?Promise.resolve(!0):v.reduce((V,J)=>V.then(re=>re===!1?Promise.reject():Promise.resolve(J(j))),Promise.resolve(!0)).then(V=>V!==!1).catch(V=>{if(V instanceof Error)throw V;return!1}),empty:x}}function O(v=""){return v=v||"",encodeURIComponent(v)}function T(v=""){return v=v||"",decodeURIComponent(v)}function H(v){v=v||"/",v.charAt(0)!=="/"&&(v="/"+v);const x=v.match(/^[^#?]+/);if(x!==null){const E=x[0];return E==="/"?"/":E.replace(/\/$/,"")}return"/"}function D(v){v=v||"";const x=v.indexOf("#");x>=0&&(v=v.substring(0,x));const E=v.indexOf("?"),C=E>=0?v.substr(E+1):null,F={};return C&&C.split("&").forEach(j=>{if(j.indexOf("=")>=0){const[V,J=""]=j.split("=");F[T(V)]=T(J)}else F[T(j)]=null}),F}function R(v={}){const x=Object.keys(v);return x.length?`?${x.map(E=>{const C=v[E];return C===null?E:`${E}=${O(C)}`}).join("&")}`:""}function m(v){return v&&v.length>1?v.startsWith(":"):!1}function p(v){return v&&m(v)?v.substr(1):!1}function u(v){return Object.values(v).reduce((x,{routeParamName:E})=>{const C=p(E);return C&&x.push(C),x},[])}function f(v,x){if(!v)return null;const{type:E,attributes:C={},state:F={}}=v;if(E){const[j]=x.filter(V=>{const{original:{page:{type:J=null,attributes:re={},state:ee={}}={}}}=V,oe=J===E,_e=Object.keys(re).every(He=>Object.keys(C).indexOf(He)>=0),we=Object.keys(re).length===Object.keys(C).length,De=Object.keys(ee).every(He=>Object.keys(F).indexOf(He)>=0),Ne=Object.keys(re).filter(He=>{const N=re[He];return!N||!m(N)}).every(He=>re[He]===C[He]),Ge=Object.keys(ee).filter(He=>{const N=ee[He];return N===null||!m(N)}).every(He=>ee[He]===F[He]);return oe&&_e&&we&&Ne&&De&&Ge});return j||null}return null}function d(v,x){const{regex:E,params:C}=x,F=E.exec(v);if(F){const[,...j]=F,V={};return C.forEach((J,re)=>{const{name:ee}=J,oe=j[re];V[ee]=oe&&T(oe)}),V}return null}function _(v,x){if(v&&x){const{queryMatcher:E}=x,C=E(v);if(C){const F={};return Object.keys(C).forEach(j=>{const V=C[j],{value:J,routeParamName:re}=V,ee=re?re.substr(1):j;F[ee]=J&&T(J)}),F}}return null}function P(v,x){const{compiledQuery:E}=x,C=Object.keys(E).filter(j=>{const{literalValue:V}=E[j];return!V}),F={};return Object.keys(v).forEach(j=>{const V=v[j];C.indexOf(j)<0&&(F[j]=V)}),F}function A(v,x){if(x){const{original:{page:{type:E="",attributes:C={},state:F={}}={}}={}}=x,j=H(v),V=D(v),J=d(j,x),re=_(V,x);if(J&&re){const ee={...J,...re},oe={};Object.keys(C).forEach(De=>{const Ne=C[De];let Ge;if(Ne&&m(Ne)){const He=Ne.substr(1);Ge=ee[He]}else Ge=Ne;oe[De]=Ge});const _e={};Object.keys(F).forEach(De=>{const Ne=F[De];let Ge;if(Ne&&m(Ne)){const He=Ne.substr(1);Ge=ee[He]}else Ge=Ne;_e[De]=Ge});const we=P(V,x);return{type:E,attributes:{...oe},state:{...we,..._e}}}}return null}const L={locale:"en-US",defaultLocale:"en-US"};function S(v,x,E){const{original:{patterns:C=null}={}}=E||{};if(C){const F=d(v,E),j=_(x,E),V={...F,...j};return Object.keys(C).every(J=>{const re=C[J],ee=new RegExp(re),oe=V[J]||"";return ee.test(oe)})}return!0}function G(v,x){const E=H(v),C=D(v),F=x?x.filter(V=>V.regex.test(E)):[],[j]=F.filter(V=>{const{queryMatcher:J}=V;return J(C)&&S(E,C,V)});return j||null}function U(v,x,E="",C=L,F){if(E&&(v===E||v?.search(new RegExp(`^${E}[/?#]`))===0)&&(v=v.replace(E,"")),F?.locale||C?.locale){const J=`/${F?.locale||C.locale}`;(v===J||v?.search(new RegExp(`^${J}[/?#]`))===0)&&(v=v.replace(J,""))}const j=G(v,x);let V;if(j){const J=A(v,j);if(J)return V={route:{id:j.original.id,attributes:{...J.attributes},state:{...J.state},pageReference:{type:J.type,attributes:{...J.attributes},state:{...J.state}}},routeDefinition:j},V}else return null;return null}function Y(v,x,E="",C=L,F){const j=f(v,x);return j?I(v,j,E,C,F):null}function Q(v,x,E){const{attributeBindings:C,stateBindings:F}=E,{attributes:j,state:V}=x,J={};return v.forEach(re=>{const[ee]=Object.keys(C).filter(oe=>p(C[oe])===re);if(ee)J[re]=j[ee];else{const[oe]=Object.keys(F).filter(_e=>p(F[_e])===re);oe&&(J[re]=V[oe])}}),J}function I(v,x,E="",C=L,F){const{params:j,original:{page:V={}}={},toPath:J,compiledQuery:re}=x,{attributes:ee={},state:oe={}}=V,_e=j.filter(({name:me})=>typeof me=="string").map(({name:me})=>me),we=Q(_e,v,{attributeBindings:ee,stateBindings:oe}),De=J(we),Ne=u(re),Ge=Q(Ne,v,{attributeBindings:ee,stateBindings:oe}),He=k(v,Ge,x),N=R(He),ie=F?.locale||C&&C.locale,pe=ie!==C.defaultLocale?`/${ie}`:"";return`${E}${pe}${De}${N}`}function k(v,x,E){const{compiledQuery:C,original:{page:{state:F={}}}}=E,{state:j={}}=v||{},V={};Object.keys(j).filter(re=>{const ee=F[re];return!m(ee)}).forEach(re=>V[re]=j[re]);const J={};return Object.keys(x).forEach(re=>{const ee=x[re],[oe]=Object.keys(C).filter(_e=>{const we=C[_e],{routeParamName:De}=we;return p(De)===re});if(oe){const _e=oe;J[_e]=ee}}),{...V,...J}}function ne(v,x,E="",C=L){const F=U(v,x,E,C);return F&&F.route&&F.route.pageReference?F.route.pageReference:null}function ae(v){return typeof v=="object"&&v!==null&&!Array.isArray(v)}function ke(v){return typeof v=="string"}function te(v,x){return x in v}function W(v,x=2){if(ae(v))try{Object.freeze(v),x>0&&Object.keys(v).forEach(E=>{if(te(v,E)){const C=v[E];C&&typeof C=="object"&&W(C,x-1)}})}catch(E){}return v}function Oe(){return Math.floor((1+Math.random())*65536).toString(16).substring(1)}function Fe(v){const x=["id","attributes","state","pageReference"],{pageReference:E=null}=v||{};return ae(v)&&c(v,x)&&o(E)}function o(v){const x=["type","state","attributes"],{type:E,state:C,attributes:F}=v||{},j=ae(v)&&ke(E)&&ae(C)&&h(C)&&ae(F)&&h(F);return c(v,x)&&j}function h(v){return Object.keys(v).every(x=>{const E=v[x];return typeof x=="string"&&(typeof E=="string"||E===null)})}function c(v,x){if(ae(v)){const E=x.every(j=>te(v,j)),F=Object.keys(x).length===x.length;return E&&F}return!1}function $(v){const x=[];let E=0;for(;E<v.length;){const C=v[E];if(C==="*"||C==="+"||C==="?"){x.push({type:"MODIFIER",index:E,value:v[E++]});continue}if(C==="\\"){x.push({type:"ESCAPED_CHAR",index:E++,value:v[E++]});continue}if(C==="{"){x.push({type:"OPEN",index:E,value:v[E++]});continue}if(C==="}"){x.push({type:"CLOSE",index:E,value:v[E++]});continue}if(C===":"){let F="",j=E+1;for(;j<v.length;){const V=v.charCodeAt(j);if(V>=48&&V<=57||V>=65&&V<=90||V>=97&&V<=122||V===95){F+=v[j++];continue}break}if(!F)throw new TypeError(`Missing parameter name at ${E}`);x.push({type:"NAME",index:E,value:F}),E=j;continue}if(C==="("){let F=1,j="",V=E+1;if(v[V]==="?")throw new TypeError(`Pattern cannot start with "?" at ${V}`);for(;V<v.length;){if(v[V]==="\\"){j+=v[V++]+v[V++];continue}if(v[V]===")"){if(F--,F===0){V++;break}}else if(v[V]==="("&&(F++,v[V+1]!=="?"))throw new TypeError(`Capturing groups are not allowed at ${V}`);j+=v[V++]}if(F)throw new TypeError(`Unbalanced pattern at ${E}`);if(!j)throw new TypeError(`Missing pattern at ${E}`);x.push({type:"PATTERN",index:E,value:j}),E=V;continue}x.push({type:"CHAR",index:E,value:v[E++]})}return x.push({type:"END",index:E,value:""}),x}function z(v){return v.replace(/([.+*?=^!:${}()[\]|/\\])/g,"\\$1")}function de(v){return v&&v.sensitive?"":"i"}function Te(v,x={}){const E=$(v),{prefixes:C="./"}=x,F=`[^${z(x.delimiter||"/#?")}]+?`,j=[];let V=0,J=0,re="";const ee=we=>{if(J<E.length&&E[J].type===we)return E[J++].value},oe=we=>{const De=ee(we);if(De!==void 0)return De;const{type:Ne,index:Ge}=E[J];throw new TypeError(`Unexpected ${Ne} at ${Ge}, expected ${we}`)},_e=()=>{let we="",De;for(;De=ee("CHAR")||ee("ESCAPED_CHAR");)we+=De;return we};for(;J<E.length;){const we=ee("CHAR"),De=ee("NAME"),Ne=ee("PATTERN");if(De||Ne){let N=we||"";C.indexOf(N)===-1&&(re+=N,N=""),re&&(j.push(re),re=""),j.push({name:De||V++,prefix:N,suffix:"",pattern:Ne||F,modifier:ee("MODIFIER")||""});continue}const Ge=we||ee("ESCAPED_CHAR");if(Ge){re+=Ge;continue}if(re&&(j.push(re),re=""),ee("OPEN")){const N=_e(),ie=ee("NAME")||"",pe=ee("PATTERN")||"",me=_e();oe("CLOSE"),j.push({name:ie||(pe?V++:""),pattern:ie&&!pe?F:pe,prefix:N,suffix:me,modifier:ee("MODIFIER")||""});continue}oe("END")}return j}function Ve(v,x={}){const E=de(x),{encode:C=V=>V,validate:F=!0}=x,j=v.map(V=>{if(typeof V=="object")return new RegExp(`^(?:${V.pattern})$`,E)});return V=>{let J="";for(let re=0;re<v.length;re++){const ee=v[re];if(typeof ee=="string"){J+=ee;continue}const oe=V?V[ee.name]:void 0,_e=ee.modifier==="?"||ee.modifier==="*",we=ee.modifier==="*"||ee.modifier==="+";if(Array.isArray(oe)){if(!we)throw new TypeError(`Expected "${ee.name}" to not repeat, but got an array`);if(oe.length===0){if(_e)continue;throw new TypeError(`Expected "${ee.name}" to not be empty`)}for(let Ne=0;Ne<oe.length;Ne++){const Ge=C(oe[Ne],ee);if(F&&!j[re].test(Ge))throw new TypeError(`Expected all "${ee.name}" to match "${ee.pattern}", but got "${Ge}"`);J+=ee.prefix+Ge+ee.suffix}continue}if(typeof oe=="string"||typeof oe=="number"){const Ne=C(String(oe),ee);if(F&&!j[re].test(Ne))throw new TypeError(`Expected "${ee.name}" to match "${ee.pattern}", but got "${Ne}"`);J+=ee.prefix+Ne+ee.suffix;continue}if(_e)continue;const De=we?"an array":"a string";throw new TypeError(`Expected "${ee.name}" to be ${De}`)}return J}}function je(v,x){return Ve(Te(v,x),x)}function xe(v,x){if(!x)return v;const E=v.source.match(/\((?!\?)/g);if(E)for(let C=0;C<E.length;C++)x.push({name:C,prefix:"",suffix:"",modifier:"",pattern:""});return v}function $e(v,x,E={}){const{strict:C=!1,start:F=!0,end:j=!0,encode:V=oe=>oe}=E,J=`[${z(E.endsWith||"")}]|$`,re=`[${z(E.delimiter||"/#?")}]`;let ee=F?"^":"";for(const oe of v)if(typeof oe=="string")ee+=z(V(oe));else{const _e=z(V(oe.prefix)),we=z(V(oe.suffix));if(oe.pattern)if(x&&x.push(oe),_e||we)if(oe.modifier==="+"||oe.modifier==="*"){const De=oe.modifier==="*"?"?":"";ee+=`(?:${_e}((?:${oe.pattern})(?:${we}${_e}(?:${oe.pattern}))*)${we})${De}`}else ee+=`(?:${_e}(${oe.pattern})${we})${oe.modifier}`;else ee+=`(${oe.pattern})${oe.modifier}`;else ee+=`(?:${_e}${we})${oe.modifier}`}if(j)C||(ee+=`${re}?`),ee+=E.endsWith?`(?=${J})`:"$";else{const oe=v[v.length-1],_e=typeof oe=="string"?re.indexOf(oe[oe.length-1])>-1:oe===void 0;C||(ee+=`(?:${re}(?=${J}))?`),_e||(ee+=`(?=${re}|${J})`)}return new RegExp(ee,de(E))}function We(v,x,E){return $e(Te(v,E),x,E)}function Ze(v,x,E){return v instanceof RegExp?xe(v,x):Array.isArray(v)?B(v,x,E):We(v,x,E)}function B(v,x,E){const C=v.map(F=>Ze(F,x,E).source);return new RegExp(`(?:${C.join("|")})`,de(E))}const{INVALID_ROUTE_QUERY:se,MISSING_ROUTE_TEMPLATE:K,MISSING_PAGE_BINDING:ye,INVALID_PAGE_BINDING:Ae,INVALID_URI_SYNTAX:qe}=t.messages;function Me(v){const{routes:x,caseSensitive:E}=v;return x.map(C=>Re(C,E))}function Re(v,x=!1){const E=[],{id:C,uri:F,page:j}=v;t.invariant(!!F,t.generateMessageObject(K,[C])),t.invariant(Xe(F),t.generateMessageObject(qe,[C])),t.invariant(!!j,t.generateMessageObject(ye,[C]));const V=H(F),J=D(F),re=Ze(V,E,{sensitive:x,end:v.exact!==!1}),ee=je(V,{encode:encodeURIComponent}),oe=nt(J),_e=ut(oe,x),we={original:v,regex:re,params:E,toPath:ee,compiledQuery:oe,queryMatcher:_e};return t.invariant(Je(we),t.generateMessageObject(Ae,[C])),we}function Xe(v=""){return!["*","(",")",";"].some(C=>v.indexOf(C)>=0)}function Je(v){const{original:{page:x}={},params:E,compiledQuery:C}=v,F=x&&x.type,j=x&&x.attributes||{},V=x&&x.state||{};if(typeof F!="string"||typeof j!="object"||typeof V!="object")return!1;const J=Object.values(E).map(({name:Ne})=>Ne),re=u(C),ee=[...J,...re],oe=Object.values(j).filter(m).map(p),_e=Object.values(V).filter(m).map(p),we=ee.every(Ne=>typeof Ne!="string"?!1:oe.indexOf(Ne)>=0||_e.indexOf(Ne)>=0),De=ee.length===oe.length+_e.length;return!!(x&&F&&j&&V&&we&&De)}function nt(v){const x={};return Object.keys(v).forEach(E=>{const C=v[E];t.invariant(m(E)?C===null:!0,se),m(E)?x[E.substr(1)]={routeParamName:E}:C&&m(C)?x[E]={routeParamName:C}:x[E]={literalValue:C===null?null:C}}),x}function ut(v,x=!1){return C=>{const F=Object.keys(C),j=Object.keys(v);return j.every(J=>F.indexOf(J)>=0)?j.reduce((J,re)=>{if(J===null)return null;const{literalValue:ee,routeParamName:oe}=v[re],_e=C[re];let we=!0;return typeof ee=="string"?we=x?ee===_e:ee.toUpperCase()===(_e==null?_e:_e.toUpperCase()):ee===null&&(we=_e===ee),we?J={...J,[re]:{value:_e,routeParamName:oe}}:J=null,J},{}):null}}const Se=typeof document!="undefined",ht={pathToRegexp:Ze,compile:je};r.DEFAULT_I18N_ROUTER_CONFIG=L,r.createFilterChain=e,r.decode=T,r.encode=O,r.freeze=W,r.getPageReferenceFromUriAndRouteDef=A,r.getPageReferenceFromUrl=ne,r.getPathFromUrl=H,r.getQueryFromUrl=D,r.getQueryString=R,r.getUrlFromPageReference=Y,r.getUrlFromPageReferenceAndRouteDef=I,r.guid=Oe,r.hasDocument=Se,r.isObject=ae,r.isValidRoute=Fe,r.matchRouteByUrl=U,r.parseRoutes=Me,r.pathToRegexp=ht,Object.defineProperty(r,"__esModule",{value:!0})}),LWR.define("lwr/routerUtils",["exports","lwr/routerUtils/v/0_22_21"],function(r,t){r.default=t&&typeof t=="object"&&"default"in t?t.default:t,Object.keys(t).forEach(function(e){e==="default"||r.hasOwnProperty(e)||Object.defineProperty(r,e,{enumerable:!0,get:function(){return t[e]}})})}),LWR.define("lwr/navigationMixinHacks/v/0_22_21",["exports","lwr/routerUtils/v/0_22_21"],function(r,t){"use strict";const e=`universalcontainergetnavigationcontext${t.guid()}`;r.CONTEXT_ID_BACKDOOR=e,Object.defineProperty(r,"__esModule",{value:!0})}),LWR.define("lwr/navigationMixinHacks",["exports","lwr/navigationMixinHacks/v/0_22_21"],function(r,t){r.default=t&&typeof t=="object"&&"default"in t?t.default:t,Object.keys(t).forEach(function(e){e==="default"||r.hasOwnProperty(e)||Object.defineProperty(r,e,{enumerable:!0,get:function(){return t[e]}})})}),LWR.define("lwr/currentView/v/0_22_21",["exports","lwr/contextUtils/v/0_22_21","lwr/routerErrors/v/0_22_21"],function(r,t,e){"use strict";const O=new t.ContextInfo(void 0),T=class extends t.generateContextualWireAdapter(O){async update(D,R){if(R){const m=D&&D.viewName?D.viewName:"default",p=R.viewset[m],u=p,f=u&&u.module||p;let d;if(f)try{const _=await f(),P=_&&_.default;if(P&&P.constructor!==void 0)this._callback(P);else throw new Error("error occurred with view import")}catch(_){const P=_;u.specifier?d=e.generateMessageObject(e.messages.VIEW_IMPORT_FAILED_WITH_SPECIFIER,[u.specifier,m,P.message,P.stack||""]):d=e.generateMessageObject(e.messages.VIEW_IMPORT_FAILED,[m,P.message,P.stack||""])}else d=e.generateMessageObject(e.messages.VIEW_MISSING,[m]);R.onComplete&&R.onComplete(d)}}};r.CurrentView=T,Object.defineProperty(r,"__esModule",{value:!0})}),LWR.define("lwr/currentView",["exports","lwr/currentView/v/0_22_21"],function(r,t){r.default=t&&typeof t=="object"&&"default"in t?t.default:t,Object.keys(t).forEach(function(e){e==="default"||r.hasOwnProperty(e)||Object.defineProperty(r,e,{enumerable:!0,get:function(){return t[e]}})})}),LWR.define("lwr/currentPageReference/v/0_22_21",["exports","lwr/contextUtils/v/0_22_21"],function(r,t){"use strict";const e=new t.ContextInfo(void 0),O=t.generateContextualWireAdapter(e);r.CurrentPageReference=O,Object.defineProperty(r,"__esModule",{value:!0})}),LWR.define("lwr/currentPageReference",["exports","lwr/currentPageReference/v/0_22_21"],function(r,t){r.default=t&&typeof t=="object"&&"default"in t?t.default:t,Object.keys(t).forEach(function(e){e==="default"||r.hasOwnProperty(e)||Object.defineProperty(r,e,{enumerable:!0,get:function(){return t[e]}})})}),LWR.define("lwr/routerErrors/v/0_22_21",["exports"],function(r){"use strict";const t="LWR",e={Fatal:0,Error:1,Warning:2,Log:3};function O(m,p){return Array.isArray(p)?m.replace(/\{([0-9]+)\}/g,(u,f)=>p[f]):m}function T(m,p){return`${m.code}: ${O(m.message,p)}`}function H(m,p){const u={...m,message:O(m.message,p)};return m.address&&(u.address=O(m.address,p)),m.stack&&(u.stack=O(m.stack,p)),u}function D(m,p,u){if(!m)throw new Error(T(p,u))}const R={INVALID_MIXIN_CMP:{code:`${t}4001`,message:"{0} must be an Element type",level:e.Error},MISSING_CONTEXT:{code:`${t}4002`,message:"Could not find context to perform navigation action.",level:e.Error},INVALID_CONTEXT:{code:`${t}4003`,message:"Cannot register navigation context; it must have this shape: { navigate, generateUrl, subscribe }",level:e.Error},MULTIPLE_ROOTS:{code:`${t}4004`,message:"Router connection failed. There can only be one root router.",level:e.Error},MULTIPLE_CHILDREN:{code:`${t}4005`,message:"Could not add to the navigation hierarchy. There can only be one child per navigation node.",level:e.Error},MISSING_ROUTE:{code:`${t}4006`,message:'A route cannot be created to navigate to URL "{0}"',level:e.Error,address:"{0}"},MISSING_URL:{code:`${t}4007`,message:'A URL cannot be created to navigate to route "{0}"',level:e.Error,address:"{0}"},PRENAV_FAILED:{code:`${t}4008`,message:'A preNavigate hook listener blocked routing to "{0}"',level:e.Warning,address:"{0}"},MISSING_ROUTE_TEMPLATE:{code:`${t}4009`,message:'Route definition with id "{0}" is missing a "uri" property.',level:e.Error,address:"{0}"},MISSING_ROUTE_CMP:{code:`${t}4016`,message:"Expected a route view component with a default export.",level:e.Error},MISSING_DATA_CONTEXT:{code:`${t}4018`,message:"Could not find context to retrieve navigation data.",level:e.Error},INVALID_ROUTE_QUERY:{code:`${t}4019`,message:"Invalid query param in route definition.",level:e.Error},MISSING_PAGE_BINDING:{code:`${t}4020`,message:'Route definition with id "{0}" is missing a "page" binding.',level:e.Error,address:"{0}"},INVALID_PAGE_BINDING:{code:`${t}4021`,message:'Route definition with id "{0}" has an invalid "page" binding.',level:e.Error,address:"{0}"},INVALID_URI_SYNTAX:{code:`${t}4022`,message:'Route definition with id "{0}" has invalid "uri" syntax. URI cannot contain *, +, (, ), ',level:e.Error,address:"{0}"},VIEW_IMPORT_FAILED:{code:`${t}4023`,message:'Error importing view with name "{0}", failure was: {1}',level:e.Error,stack:"{2}"},VIEW_MISSING:{code:`${t}4024`,message:'Expected a view with name "{0}" in the viewset',level:e.Error},VIEW_IMPORT_FAILED_WITH_SPECIFIER:{code:`${t}4025`,message:'Error importing module "{0}" from view with name "{1}", failure was: {2}',level:e.Error,stack:"{3}"},NO_ROUTE_MATCH:{code:`${t}4026`,message:"A routing match cannot be found for: {0}",level:e.Error},INVALID_ROUTE_HANDLER:{code:`${t}4027`,message:'Route definition "{0}" does not have a valid route handler module',level:e.Error},DESTINATION_NOT_FOUND:{code:`${t}4028`,message:"Route handler returned 404: Not Found",level:e.Error},DESTINATION_ERROR:{code:`${t}4029`,message:"Route handler returned error status {0}: {1}",level:e.Error,stack:"{2}"},NO_INIT_URL:{code:`${t}4030`,message:'Cannot initialize a server router without a "url"',level:e.Error}};r.generateMessage=T,r.generateMessageObject=H,r.invariant=D,r.messages=R,Object.defineProperty(r,"__esModule",{value:!0})}),LWR.define("lwr/routerErrors",["exports","lwr/routerErrors/v/0_22_21"],function(r,t){r.default=t&&typeof t=="object"&&"default"in t?t.default:t,Object.keys(t).forEach(function(e){e==="default"||r.hasOwnProperty(e)||Object.defineProperty(r,e,{enumerable:!0,get:function(){return t[e]}})})}),LWR.define("lwr/contextUtils/v/0_22_21",["exports","lwr/routerErrors/v/0_22_21"],function(r,t){"use strict";function e(m){if(m==null)throw new TypeError("Provider must be defined.")}class O{constructor(p){this.infoMap=new WeakMap,this.defaultValue=p}getInfo(p){let u=this.infoMap.get(p);return u===void 0&&(u={consumers:new Set},this.infoMap.set(p,u)),u}setContext(p,u){e(p);const f=u,d=this.getInfo(p);d.contextValue=u,d.consumers.forEach(_=>_.provide(f)),d.consumers.size===0&&f?.onComplete&&f.onComplete()}getContext(p){e(p);const{contextValue:u}=this.getInfo(p);return u!==void 0?u:this.defaultValue}clearContext(p){e(p),this.infoMap.delete(p)}subscribeContext(p,u){e(p);const{consumers:f,contextValue:d}=this.getInfo(p);f.has(u)||(f.add(u),u.provide(d))}unsubscribeContext(p,u){e(p),this.getInfo(p).consumers.delete(u)}}const T=new WeakMap;function H(m){const p=T.get(m);if(!p||!p.value)throw new Error(t.generateMessage(t.messages.MISSING_CONTEXT));return p.value}function D(m,p){const u={id:m,value:p,update:f=>{u.value=f}};return T.set(u.id,u),u}function R(m){var p;return p=class{constructor(d){this._callback=d}connect(){}disconnect(){}update(d,_){_&&this._callback(_)}static setContext(d,_){m.setContext(d,_)}static getContext(d){return m.getContext(d)}static clearContext(d){m.clearContext(d)}static subscribeContext(d,_){m.subscribeContext(d,_)}static unsubscribeContext(d,_){m.unsubscribeContext(d,_)}},p.contextSchema={value:"required"},p}r.ContextInfo=O,r.generateContextualWireAdapter=R,r.getNavigationHelm=H,r.registerNavigationHelm=D,Object.defineProperty(r,"__esModule",{value:!0})}),LWR.define("lwr/contextUtils",["exports","lwr/contextUtils/v/0_22_21"],function(r,t){r.default=t&&typeof t=="object"&&"default"in t?t.default:t,Object.keys(t).forEach(function(e){e==="default"||r.hasOwnProperty(e)||Object.defineProperty(r,e,{enumerable:!0,get:function(){return t[e]}})})}),LWR.define("lwr/navigationContext/v/0_22_21",["exports","lwr/contextUtils/v/0_22_21"],function(r,t){"use strict";const e=new t.ContextInfo(void 0),O=t.generateContextualWireAdapter(e);r.NavigationContext=O,Object.defineProperty(r,"__esModule",{value:!0})}),LWR.define("lwr/navigationContext",["exports","lwr/navigationContext/v/0_22_21"],function(r,t){r.default=t&&typeof t=="object"&&"default"in t?t.default:t,Object.keys(t).forEach(function(e){e==="default"||r.hasOwnProperty(e)||Object.defineProperty(r,e,{enumerable:!0,get:function(){return t[e]}})})}),LWR.define("lwr/navigation/v/0_22_21",["exports","lwr/navigationContext/v/0_22_21","lwr/currentPageReference/v/0_22_21","lwr/currentView/v/0_22_21","lwr/contextUtils/v/0_22_21","lwr/routerErrors/v/0_22_21","lwr/navigationMixinHacks/v/0_22_21"],function(r,t,e,O,T,H,D){"use strict";function R(L,S,G,U){T.getNavigationHelm(L).navigate(S,G,U)}function m(L,S,G){return T.getNavigationHelm(L).generateUrl(S,G)}function p(L,S,G){return T.getNavigationHelm(L).generateUrlAsync(S,G)}const u=Symbol("Navigate"),f=Symbol("GenerateUrl"),d=Symbol("NavContext"),_=Symbol("NavContext"),P=typeof window=="undefined";function A(L){H.invariant(typeof L.prototype.dispatchEvent=="function",H.messages.INVALID_MIXIN_CMP,[L.toString()]);class S extends L{[_](){if(!this[d]&&(this.dispatchEvent(new CustomEvent(D.CONTEXT_ID_BACKDOOR,{bubbles:!0,composed:!0,detail:{callback:U=>{this[d]=U}}})),!this[d]))throw new Error(H.generateMessage(H.messages.MISSING_CONTEXT))}[u](U,Y,Q){P||(this[_](),R(this[d],U,Y,Q))}async[f](U,Y){return P?null:(this[_](),p(this[d],U,Y))}}return S}A.Navigate=u,A.GenerateUrl=f,A.NavContext=d,Object.defineProperty(r,"NavigationContext",{enumerable:!0,get:function(){return t.NavigationContext}}),Object.defineProperty(r,"CurrentPageReference",{enumerable:!0,get:function(){return e.CurrentPageReference}}),Object.defineProperty(r,"CurrentView",{enumerable:!0,get:function(){return O.CurrentView}}),Object.defineProperty(r,"ContextInfo",{enumerable:!0,get:function(){return T.ContextInfo}}),Object.defineProperty(r,"generateContextualWireAdapter",{enumerable:!0,get:function(){return T.generateContextualWireAdapter}}),Object.defineProperty(r,"getNavigationHelm",{enumerable:!0,get:function(){return T.getNavigationHelm}}),Object.defineProperty(r,"registerNavigationHelm",{enumerable:!0,get:function(){return T.registerNavigationHelm}}),r.NavigationMixin=A,r.generateUrl=m,r.navigate=R,Object.defineProperty(r,"__esModule",{value:!0})}),LWR.define("lwr/navigation",["exports","lwr/navigation/v/0_22_21"],function(r,t){r.default=t&&typeof t=="object"&&"default"in t?t.default:t,Object.keys(t).forEach(function(e){e==="default"||r.hasOwnProperty(e)||Object.defineProperty(r,e,{enumerable:!0,get:function(){return t[e]}})})}),LWR.define("lwr/domRouter/v/0_22_21",["exports","lwr/navigation/v/0_22_21","lwr/contextProvider/v/0_22_21","lwr/routerErrors/v/0_22_21","lwr/routerUtils/v/0_22_21","lwr/observable/v/0_22_21","lwr/metrics/v/0_22_21","lwr/profiler/v/0_22_21","lwr/navigationMixinHacks/v/0_22_21"],function(r,t,e,O,T,H,D,R,m){"use strict";const p=`universalcontainernavigationevent${T.guid()}`,u=`universalcontainerparentevent${T.guid()}`;class f{constructor(P,A,L){this.pendingRoute=null,this.committedRoute=null,this.contextId=Object.freeze(()=>{}),this.connected=!1,this.preNavFilters=T.createFilterChain(),this.errorNavFilters=T.createFilterChain(),this._handleNavigationEvent=S=>{const G=S;if(G.detail&&typeof G.detail=="object"){const{url:U,replace:Y,address:Q}=G.detail;this.config.handleNavigation(Q,Y)?this.root&&!U?this.root.processError(O.generateMessageObject(O.messages.MISSING_URL,[JSON.stringify(Q)])):this.parent||this.process(U,Y):G.stopPropagation()}},this._handleParentEvent=S=>{S.stopImmediatePropagation();const G=S;G&&G.detail&&typeof G.detail=="function"&&G.detail(this)},this.config={handleNavigation:P.handleNavigation||(()=>!0)},this.target=L||window,this.router=A,this.router.contextId=this.contextId,this.routeObservable=H.createObservable()}get root(){if(!this.parent)return this;let P=this.parent;for(;P;){if(!P.parent)return P;P=P.parent}throw new Error("No root router could be found")}updateWires(P,A,L){if(L)this.processError(L);else{if(this.committedRoute&&P.route===this.committedRoute.route)return;R.logOperationEnd({id:D.ROUTER_VIEW,specifier:this.eventId}),this.pendingRoute=this.pendingRoute||{...P,url:A},this.committedRoute={...this.pendingRoute,...P},t.CurrentPageReference.setContext(this.target,P.route.pageReference),this.routeObservable.next({...this.committedRoute,viewset:P.viewset}),R.logOperationEnd({id:D.ROUTER_NAV,specifier:this.eventId}),this.child&&this.child.process(this._stripUrlForChild(this.committedRoute.url))}}connect(){this._sendEvent(u,A=>{this.parent=A,A.addChild(this)});const P={navigate:(A,L)=>this.navigate(A,L),generateUrl:(A,L)=>this.generateUrl(A,L),generateUrlAsync:(A,L)=>this.generateUrlAsync(A,L),subscribe:(A,L)=>this.subscribe(A,L)};t.registerNavigationHelm(this.contextId,P),e.provideContext(this.contextId,this.target,e.navigationContextContextualizer,t.NavigationContext),e.provideContext(void 0,this.target,e.currentPageReferenceContextualizer,t.CurrentPageReference),e.provideContext(void 0,this.target,e.currentViewContextualizer,t.CurrentView),this.router.subscribe(A=>{if(A.status===404){this.processError(O.generateMessageObject(O.messages.DESTINATION_NOT_FOUND));return}if(A.status&&A.status>=400){const G=A.error||new Error;this.processError(O.generateMessageObject(O.messages.DESTINATION_ERROR,[A.status.toString(),G.message,G.stack||""]));return}const L=A.route.pageReference||{},S=this.router.generateUrl(L)||"";if(R.logOperationStart({id:D.ROUTER_VIEW,specifier:this.eventId}),A.viewset){const G={viewset:A.viewset,onComplete:this.updateWires.bind(this,A,S)};t.CurrentView.setContext(this.target,G)}else A.route.pageReference&&this.updateWires(A,S)},!0),T.hasDocument&&(this.target.addEventListener(p,this._handleNavigationEvent),this.target.addEventListener(u,this._handleParentEvent),this.target.addEventListener(m.CONTEXT_ID_BACKDOOR,A=>{const L=A;L.detail.callback&&L.detail.callback(this.contextId)})),this.connected=!0}disconnect(){this.target.removeEventListener(p,this._handleNavigationEvent),this.target.removeEventListener(u,this._handleParentEvent),this.parent&&(this.parent.child=void 0),this.parent=void 0,this.child&&(this.child.parent=void 0),this.child=void 0,this.connected=!1}addPreNavigate(P){this.preNavFilters.add(P)}addErrorNavigate(P){this.errorNavFilters.add(P)}async addChild(P){if(await new Promise(A=>{setTimeout(()=>{O.invariant(!this.child,O.messages.MULTIPLE_CHILDREN),this.child=P,A()},0)}),this.child&&this.committedRoute){const A=this._stripUrlForChild(this.committedRoute.url);await this.child.preProcess(A)&&this.child.process(A)}}async process(P,A,L,S){this.eventId=new Date().getTime().toString(),R.logOperationStart({id:D.ROUTER_NAV,specifier:this.eventId});try{this.parent||await this.preProcess(P,L)}catch(U){if(U.code)return this.processError(U),!1;throw U}const G=this.router.parseUrl(P);return G&&this.router.navigate(G,L),!0}preProcess(P,A){const L=this.router.parseUrl(P),S=L&&this.router.matchRoute(L,A);return S?(this.pendingRoute={url:P,...S},(this.preNavFilters.empty()?Promise.resolve(!0):this.preNavFilters.compile({current:this.committedRoute||void 0,next:this.pendingRoute})).then(U=>U&&this.child?this.child.preProcess(this._stripUrlForChild(P)):U).then(U=>U||Promise.reject(O.generateMessageObject(O.messages.PRENAV_FAILED,[P])))):Promise.reject(O.generateMessageObject(O.messages.MISSING_ROUTE,[P]))}processError(P){R.logOperationStart({id:D.ROUTER_ERROR}),this.errorNavFilters.compile(P),this.child&&this.child.processError(P)}navigate(P,A,L){const S=this.filterNavigateOptions(L);let G=this.router.generateUrl(P,S);G&&(G=(this.parent&&this.parent.committedRoute&&this.parent.committedRoute.pathMatch||"").concat(G)),this._sendEvent(p,{url:G,replace:A,address:P})}generateUrl(P,A){const L=this.filterNavigateOptions(A),S=this.router.generateUrl(P,L);return S?`${this.parent&&this.parent.committedRoute&&this.parent.committedRoute.pathMatch||""}${S}`:null}async generateUrlAsync(P,A){const L=this.filterNavigateOptions(A),S=await this.router.generateUrlAsync(P,L);return S?`${this.parent&&this.parent.committedRoute&&this.parent.committedRoute.pathMatch||""}${S}`:null}subscribe(P,A){return this.routeObservable.subscribe({next:P,error:()=>{},complete:()=>{}},Boolean(A))}_sendEvent(P,A){T.hasDocument&&this.target.dispatchEvent(new CustomEvent(P,{bubbles:!0,composed:!0,detail:A}))}_stripUrlForChild(P){return this.pendingRoute&&P.indexOf(this.pendingRoute.pathMatch)===0?P.replace(this.pendingRoute.pathMatch,""):P}filterNavigateOptions(P){const A=!this.parent;return{...P,locale:A?P?.locale:void 0}}}function d(_,P,A){return new f(_,P,A)}r.DomRouterImpl=f,r.NAV_EVENT=p,r.PARENT_EVENT=u,r.createDomRouter=d,Object.defineProperty(r,"__esModule",{value:!0})}),LWR.define("lwr/domRouter",["exports","lwr/domRouter/v/0_22_21"],function(r,t){r.default=t&&typeof t=="object"&&"default"in t?t.default:t,Object.keys(t).forEach(function(e){e==="default"||r.hasOwnProperty(e)||Object.defineProperty(r,e,{enumerable:!0,get:function(){return t[e]}})})}),LWR.define("lwr/historyRouter/v/0_22_21",["exports","lwc/v/9_1_2","lwr/domRouter/v/0_22_21","lwr/domRouterUtils/v/0_22_21","lwr/routerUtils/v/0_22_21"],function(r,t,e,O,T){"use strict";class H extends e.DomRouterImpl{constructor(...m){super(...m);this.historyDisabled=!1,this.currentUrl=""}connect(){super.connect(),this.historyDisabled||(T.hasDocument&&window.addEventListener("popstate",this.onpopstate.bind(this)),this.onpopstate())}onpopstate(){if(!this.parent&&T.hasDocument){const m=O.getRelativeUrl(window.location.href),p=this.router.basePath.includes("#")?m:O.removeFragment(m);p!==this.currentUrl&&this.catchBrowserUpdate(p)}}disconnect(){super.disconnect(),T.hasDocument&&window.removeEventListener("popstate",this.onpopstate)}async process(m,p,u,f=!0){const d=await super.process(m,p,u,f);return d&&this.connected&&!this.parent&&(this.currentUrl=m,!this.historyDisabled&&f&&(p?O.replace(m):O.set(m))),d}catchBrowserUpdate(m){this.process(m,!1,{},!1)}}t.registerDecorators(H,{fields:["historyDisabled","currentUrl"]});function D(R,m,p){return new H(R,m,p)}r.HistoryRouter=H,r.createHistoryRouter=D,Object.defineProperty(r,"__esModule",{value:!0})}),LWR.define("lwr/historyRouter",["exports","lwr/historyRouter/v/0_22_21"],function(r,t){r.default=t&&typeof t=="object"&&"default"in t?t.default:t,Object.keys(t).forEach(function(e){e==="default"||r.hasOwnProperty(e)||Object.defineProperty(r,e,{enumerable:!0,get:function(){return t[e]}})})}),LWR.define("lwr/routerContainer/v/0_22_21",["exports","lwc/v/9_1_2","lwr/historyRouter/v/0_22_21","lwr/routerErrors/v/0_22_21","lwr/domRouter/v/0_22_21","lwr/routerUtils/v/0_22_21"],function(r,t,e,O,T,H){"use strict";function D(G,U,Y){var Q=G?"."+G:"";return"span.router-title"+Q+" {position: absolute;margin: -1px;border: 0;padding: 0;width: 1px;height: 1px;overflow: hidden;clip: rect(0 0 0 0);text-transform: none;white-space: nowrap;}"}D.$scoped$=!0;var R=[D];const m=t.parseFragment`<span class="router-title${0}" aria-live="polite" aria-atomic="true"${2}></span>`,p={key:0},u=[],f={ref:"title"};function d(G,U,Y,Q){const{s:I,sp:k,st:ne}=G;return[I("",p,u,Y),ne(m,2,[k(0,f,null)])]}var _=t.registerTemplate(d);d.slots=[""],d.renderMode="light",d.hasRefs=!0,d.stylesheets=[],d.stylesheetToken="lwc-7bis3qj4jjc",d.legacyStylesheetToken="lwr-routerContainer_routerContainer",R&&d.stylesheets.push.apply(d.stylesheets,R),t.freezeTemplate(d);let P=!1;function A(G,U={},Y){const Q=U.historyDisabled?new T.DomRouterImpl(U,Y,G):new e.HistoryRouter(U,Y,G),I={addPreNavigate:k=>(Q.addPreNavigate(k),I),addPostNavigate:k=>(Q.subscribe(k),I),addErrorNavigate:k=>(Q.addErrorNavigate(k),I),connect:()=>{Q.connect(),O.invariant(!P||!!Q.parent,O.messages.MULTIPLE_ROOTS),P=P||!Q.parent,I.id=Q.contextId},disconnect:()=>{P=P&&!!Q.parent,Q.disconnect()}};return I}class L extends t.LightningElement{constructor(){super();this.router=void 0,this.historyDisabled=!1,this.currentTitle=H.hasDocument?document.title:""}connectedCallback(){const U={historyDisabled:this.historyDisabled,handleNavigation:this.handleNavigation.bind(this)};H.hasDocument&&this.router&&(this.routerApi=A(this,U,this.router),this.routerApi.addPreNavigate(this.preNavigate.bind(this)).addPostNavigate(this.postNavigate.bind(this)).addErrorNavigate(this.errorNavigate.bind(this)).connect())}preNavigate(U){const Y=this._createEvent("prenavigate",U,!0);return this.dispatchEvent(Y),!Y.defaultPrevented}postNavigate(U){this.dispatchEvent(this._createEvent("postnavigate",U));const Y=U.routeDefinition.metadata&&U.routeDefinition.metadata.title;Y&&(this.currentTitle=Y.replace(/[<>&"']/g,I=>{switch(I){case"<":return"&lt;";case">":return"&gt;";case"&":return"&amp;";case'"':return"&quot;";case"'":return"&#39;";default:return I}}),document.title=this.currentTitle);const Q=this.refs?.title;Q&&(Q.innerHTML=this.currentTitle,setTimeout(()=>{Q.innerHTML=""},500))}errorNavigate(U){return this.dispatchEvent(this._createEvent("errornavigate",U)),!0}handleNavigation(U,Y){const Q=this._createEvent("handlenavigation",{address:U,replace:Y},!0);return this.dispatchEvent(Q),!Q.defaultPrevented}disconnectedCallback(){this.routerApi&&this.routerApi.disconnect()}_createEvent(U,Y,Q){return new CustomEvent(U,{detail:Y,bubbles:!1,composed:!1,cancelable:Q})}}L.renderMode="light",t.registerDecorators(L,{publicProps:{router:{config:0},historyDisabled:{config:0}}});const S=t.registerComponent(L,{tmpl:_,sel:"lwr-router-container",apiVersion:66,enableSyntheticElementInternals:!0});r.default=S,Object.defineProperty(r,"__esModule",{value:!0})}),LWR.define("lwr/routerContainer",["exports","lwr/routerContainer/v/0_22_21"],function(r,t){r.default=t&&typeof t=="object"&&"default"in t?t.default:t,Object.keys(t).forEach(function(e){e==="default"||r.hasOwnProperty(e)||Object.defineProperty(r,e,{enumerable:!0,get:function(){return t[e]}})})}),LWR.define("webruntime/defaultView/v/1_66_1200-262_0",["exports","lwc/v/9_1_2"],function(r,t){"use strict";const e=[];function O(D,R,m,p){return e}var T=t.registerTemplate(O);O.renderMode="light",O.stylesheets=[],O.stylesheetToken="lwc-15jgd3dq0rl",O.legacyStylesheetToken="webruntime-defaultView_defaultView",t.freezeTemplate(O);var H={html:T,attributes(){}};r.default=H,Object.defineProperty(r,"__esModule",{value:!0})}),LWR.define("webruntime/defaultView",["exports","webruntime/defaultView/v/1_66_1200-262_0"],function(r,t){r.default=t&&typeof t=="object"&&"default"in t?t.default:t,Object.keys(t).forEach(function(e){e==="default"||r.hasOwnProperty(e)||Object.defineProperty(r,e,{enumerable:!0,get:function(){return t[e]}})})}),LWR.define("webruntime/designmodeInit/v/1_66_1200-262_0",["exports","lwr/loaderLegacy/v/0_22_21","@app/isDesignMode/v/1","@app/isPreviewMode/v/1"],function(r,t,e,O){"use strict";function T(p){return p&&typeof p=="object"&&"default"in p?p:{default:p}}var H=T(e),D=T(O);const{info:R}=console;async function m(){if(H.default||D.default){const{start:p,startPreview:u}=await t.load("webruntimedesign/designmode/v/1");H.default&&(/interactive|complete/.test(document.readyState)?p():document.addEventListener("DOMContentLoaded",p,!1)),D.default&&(u?u():R("startPreview() does not exist in this environment!"))}}r.designmodeInit=m,Object.defineProperty(r,"__esModule",{value:!0})}),LWR.define("webruntime/designmodeInit",["exports","webruntime/designmodeInit/v/1_66_1200-262_0"],function(r,t){r.default=t&&typeof t=="object"&&"default"in t?t.default:t,Object.keys(t).forEach(function(e){e==="default"||r.hasOwnProperty(e)||Object.defineProperty(r,e,{enumerable:!0,get:function(){return t[e]}})})}),LWR.define("webruntime/utils/v/1_66_1200-262_0",["exports"],function(r){"use strict";function t(_,P){if(!_)throw new Error(P)}function e(_){return typeof _=="object"&&_!==null&&!Array.isArray(_)}function O(){return"xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g,function(_){const P=Math.random()*16|0;return(_==="x"?P:P&3|8).toString(16)})}function T(_){return typeof _=="string"&&/^(?:[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}|00000000-0000-0000-0000-000000000000)$/i.test(_)}const H=new RegExp("^([a-z]+://|//)","i");function D(_){return _?H.test(_):!1}const R=new RegExp("/sfsites/c/.+","i");function m(_){return _?R.test(_):!1}function p(_,P){const A=JSON.stringify(P);if(!(window&&window.navigator&&window.navigator.sendBeacon&&window.navigator.sendBeacon(_,A))){const S=new XMLHttpRequest;S.open("POST",_,!0),S.setRequestHeader("Content-Type","text/plain;charset=UTF-8"),S.send(A)}}function u(_){return document?.querySelector(`meta[name="${_}"]`)?.getAttribute("content")||""}function f(){return u("basePath")}function d(){return u("deployTarget")||"CORE"}r.assert=t,r.getBasePathFromMetaTag=f,r.getDeployTargetFromMetaTag=d,r.isAbsoluteURL=D,r.isObject=e,r.isSfdcCoreURL=m,r.sendPayloadToServer=p,r.uuidValidate=T,r.uuidv4=O,Object.defineProperty(r,"__esModule",{value:!0})}),LWR.define("webruntime/utils",["exports","webruntime/utils/v/1_66_1200-262_0"],function(r,t){r.default=t&&typeof t=="object"&&"default"in t?t.default:t,Object.keys(t).forEach(function(e){e==="default"||r.hasOwnProperty(e)||Object.defineProperty(r,e,{enumerable:!0,get:function(){return t[e]}})})}),LWR.define("webruntime/logger/v/1_66_1200-262_0",["exports"],function(r){"use strict";function t(...O){console.log(...O)}function e(...O){console.error(...O)}r.log=t,r.logError=e,Object.defineProperty(r,"__esModule",{value:!0})}),LWR.define("webruntime/logger",["exports","webruntime/logger/v/1_66_1200-262_0"],function(r,t){r.default=t&&typeof t=="object"&&"default"in t?t.default:t,Object.keys(t).forEach(function(e){e==="default"||r.hasOwnProperty(e)||Object.defineProperty(r,e,{enumerable:!0,get:function(){return t[e]}})})}),LWR.define("webruntime/errors/v/1_66_1200-262_0",["exports","webruntime/logger/v/1_66_1200-262_0","@communities-webruntime/common/v/1_66_1200-262_0","webruntime/transport/v/1_66_1200-262_0"],function(r,t,e,O){"use strict";function T(R){O.sendBeacon({path:e.ERRORS_PATH_PREFIX,payload:JSON.stringify(R),contentType:"text/plain;charset=UTF-8"})}function H(R,m){document.dispatchEvent(new CustomEvent("client-error",{detail:{error:R,type:m}}))}function D({subject:R,error:m,wcstack:p,type:u=e.CLIENT_ERROR_TYPES.UNKNOWN_ERROR}){p=p||m.wcstack;const{message:f,stack:d}=m,{hostname:_,pathname:P}=globalThis.location||{},L={subject:R,message:f,stack:d,wcstack:p,location:{hostname:_,pathname:P}};t.logError(d||L),typeof document!="undefined"&&(H(L,u),T(L))}r.reportError=D,Object.defineProperty(r,"__esModule",{value:!0})}),LWR.define("webruntime/errors",["exports","webruntime/errors/v/1_66_1200-262_0"],function(r,t){r.default=t&&typeof t=="object"&&"default"in t?t.default:t,Object.keys(t).forEach(function(e){e==="default"||r.hasOwnProperty(e)||Object.defineProperty(r,e,{enumerable:!0,get:function(){return t[e]}})})}),LWR.define("webruntime/innerApp/v/1_66_1200-262_0",["exports","lwr/loaderLegacy/v/0_22_21","lwc/v/9_1_2","@communities-webruntime/common/v/1_66_1200-262_0","webruntime/overrides/v/1_66_1200-262_0","webruntime/errors/v/1_66_1200-262_0","webruntime/utils/v/1_66_1200-262_0","webruntime/views/v/1_66_1200-262_0","webruntime/routingService/v/1_66_1200-262_0","@app/viewToThemeLayoutMap/v/1","webruntime/designmodeInit/v/1_66_1200-262_0","webruntime/defaultView/v/1_66_1200-262_0"],function(r,t,e,O,T,H,D,R,m,p,u,f){"use strict";function d(U){return U&&typeof U=="object"&&"default"in U?U:{default:U}}var _=d(R),P=d(p),A=d(f),L=void 0;class S extends e.LightningElement{constructor(...Y){super(...Y);this.view=void 0,this.routerContainerView=void 0,this._routeParams=void 0,this.generatedTemplateHtml=void 0,this.attributes={},this.previousRouteId=null,this.route={}}get routeParams(){return this._routeParams||{}}set routeParams(Y){this._routeParams=Y}async connectedCallback(){const Y=this.view||A.default;this.generatedTemplateHtml=Y.html,this.attributes=Y.attributes(this,this.routeParams)||{},await u.designmodeInit(),this.subscription=m.subscribe(this.loadThemeLayout.bind(this))}render(){return this.generatedTemplateHtml}disconnectedCallback(){this.subscription&&this.subscription.unsubscribe()}updateTemplate(Y){this.generatedTemplateHtml=Y.html}updateRoute(Y,Q){m.handleExtraRouteParams(Q);const{state:I,attributes:k}=Q;this.previousRouteId=this.route?.id||null,this._routeParams={...I,...k},this.attributes=Y.attributes(this,this.routeParams)||{},this.route=Q}restoreDefaultTemplate(){this.generatedTemplateHtml=A.default.html}async loadThemeLayout(Y){let Q=!1;const I=Y.routeDefinition.view,k=P.default[I];setTimeout(async()=>{!Q&&this.themeLayout!==k&&this.restoreDefaultTemplate()},10);let ne;try{ne=await _.default(k)}catch(ae){await this.handleFetchViewFailed(ae,Y.routeDefinition.metadata?.isPublic)}if(!!ne)try{Q=!0,this.themeLayout!==k&&(this.themeLayout=k,this.updateTemplate(ne.default)),this.updateRoute(ne.default,Y.route)}catch(ae){H.reportError({subject:"InnerApp.loadThemeLayout error",type:O.CLIENT_ERROR_TYPES.FAILED_TO_LOAD_RESOURCE,error:ae})}}async handleFetchViewFailed(Y,Q){await T.PageNavigationFailureOverrides.run({error:Y,isPublic:Q})&&H.reportError({subject:"InnerApp.loadThemeLayout#getViewModule error",type:O.CLIENT_ERROR_TYPES.FAILED_TO_LOAD_RESOURCE,error:Y})}async mockHandlebarsEngineImport(){await t.load("webruntime/handlebarsEngine/v/1_66_1200-262_0")}}S.renderMode="light",e.registerDecorators(S,{publicProps:{view:{config:0},routerContainerView:{config:0},routeParams:{config:3}},publicMethods:["updateTemplate","updateRoute","restoreDefaultTemplate"],fields:["_routeParams","generatedTemplateHtml","attributes","previousRouteId","route"]});const G=e.registerComponent(S,{tmpl:L,sel:"webruntime-inner-app",apiVersion:66,enableSyntheticElementInternals:!0});r.default=G,Object.defineProperty(r,"__esModule",{value:!0})}),LWR.define("webruntime/innerApp",["exports","webruntime/innerApp/v/1_66_1200-262_0"],function(r,t){r.default=t&&typeof t=="object"&&"default"in t?t.default:t,Object.keys(t).forEach(function(e){e==="default"||r.hasOwnProperty(e)||Object.defineProperty(r,e,{enumerable:!0,get:function(){return t[e]}})})}),LWR.define("lightning/purifyLib/v/1_28_17-alpha",["exports"],function(r){"use strict";/*! @license DOMPurify 3.3.2 | (c) Cure53 and other contributors | Released under the Apache license 2.0 and Mozilla Public License 2.0 | github.com/cure53/DOMPurify/blob/3.3.2/LICENSE */const{entries:t,setPrototypeOf:e,isFrozen:O,getPrototypeOf:T,getOwnPropertyDescriptor:H}=Object;let{freeze:D,seal:R,create:m}=Object,{apply:p,construct:u}=typeof Reflect!="undefined"&&Reflect;D||(D=function(C){return C}),R||(R=function(C){return C}),p||(p=function(C,F){for(var j=arguments.length,V=new Array(j>2?j-2:0),J=2;J<j;J++)V[J-2]=arguments[J];return C.apply(F,V)}),u||(u=function(C){for(var F=arguments.length,j=new Array(F>1?F-1:0),V=1;V<F;V++)j[V-1]=arguments[V];return new C(...j)});const f=ae(Array.prototype.forEach),d=ae(Array.prototype.lastIndexOf),_=ae(Array.prototype.pop),P=ae(Array.prototype.push),A=ae(Array.prototype.splice),L=ae(String.prototype.toLowerCase),S=ae(String.prototype.toString),G=ae(String.prototype.match),U=ae(String.prototype.replace),Y=ae(String.prototype.indexOf),Q=ae(String.prototype.trim),I=ae(Object.prototype.hasOwnProperty),k=ae(RegExp.prototype.test),ne=ke(TypeError);function ae(E){return function(C){C instanceof RegExp&&(C.lastIndex=0);for(var F=arguments.length,j=new Array(F>1?F-1:0),V=1;V<F;V++)j[V-1]=arguments[V];return p(E,C,j)}}function ke(E){return function(){for(var C=arguments.length,F=new Array(C),j=0;j<C;j++)F[j]=arguments[j];return u(E,F)}}function te(E,C){let F=arguments.length>2&&arguments[2]!==void 0?arguments[2]:L;e&&e(E,null);let j=C.length;for(;j--;){let V=C[j];if(typeof V=="string"){const J=F(V);J!==V&&(O(C)||(C[j]=J),V=J)}E[V]=!0}return E}function W(E){for(let C=0;C<E.length;C++)I(E,C)||(E[C]=null);return E}function Oe(E){const C=m(null);for(const[F,j]of t(E))I(E,F)&&(Array.isArray(j)?C[F]=W(j):j&&typeof j=="object"&&j.constructor===Object?C[F]=Oe(j):C[F]=j);return C}function Fe(E,C){for(;E!==null;){const j=H(E,C);if(j){if(j.get)return ae(j.get);if(typeof j.value=="function")return ae(j.value)}E=T(E)}function F(){return null}return F}const o=D(["a","abbr","acronym","address","area","article","aside","audio","b","bdi","bdo","big","blink","blockquote","body","br","button","canvas","caption","center","cite","code","col","colgroup","content","data","datalist","dd","decorator","del","details","dfn","dialog","dir","div","dl","dt","element","em","fieldset","figcaption","figure","font","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","img","input","ins","kbd","label","legend","li","main","map","mark","marquee","menu","menuitem","meter","nav","nobr","ol","optgroup","option","output","p","picture","pre","progress","q","rp","rt","ruby","s","samp","search","section","select","shadow","slot","small","source","spacer","span","strike","strong","style","sub","summary","sup","table","tbody","td","template","textarea","tfoot","th","thead","time","tr","track","tt","u","ul","var","video","wbr"]),h=D(["svg","a","altglyph","altglyphdef","altglyphitem","animatecolor","animatemotion","animatetransform","circle","clippath","defs","desc","ellipse","enterkeyhint","exportparts","filter","font","g","glyph","glyphref","hkern","image","inputmode","line","lineargradient","marker","mask","metadata","mpath","part","path","pattern","polygon","polyline","radialgradient","rect","stop","style","switch","symbol","text","textpath","title","tref","tspan","view","vkern"]),c=D(["feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDistantLight","feDropShadow","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feImage","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence"]),$=D(["animate","color-profile","cursor","discard","font-face","font-face-format","font-face-name","font-face-src","font-face-uri","foreignobject","hatch","hatchpath","mesh","meshgradient","meshpatch","meshrow","missing-glyph","script","set","solidcolor","unknown","use"]),z=D(["math","menclose","merror","mfenced","mfrac","mglyph","mi","mlabeledtr","mmultiscripts","mn","mo","mover","mpadded","mphantom","mroot","mrow","ms","mspace","msqrt","mstyle","msub","msup","msubsup","mtable","mtd","mtext","mtr","munder","munderover","mprescripts"]),de=D(["maction","maligngroup","malignmark","mlongdiv","mscarries","mscarry","msgroup","mstack","msline","msrow","semantics","annotation","annotation-xml","mprescripts","none"]),Te=D(["#text"]),Ve=D(["accept","action","align","alt","autocapitalize","autocomplete","autopictureinpicture","autoplay","background","bgcolor","border","capture","cellpadding","cellspacing","checked","cite","class","clear","color","cols","colspan","controls","controlslist","coords","crossorigin","datetime","decoding","default","dir","disabled","disablepictureinpicture","disableremoteplayback","download","draggable","enctype","enterkeyhint","exportparts","face","for","headers","height","hidden","high","href","hreflang","id","inert","inputmode","integrity","ismap","kind","label","lang","list","loading","loop","low","max","maxlength","media","method","min","minlength","multiple","muted","name","nonce","noshade","novalidate","nowrap","open","optimum","part","pattern","placeholder","playsinline","popover","popovertarget","popovertargetaction","poster","preload","pubdate","radiogroup","readonly","rel","required","rev","reversed","role","rows","rowspan","spellcheck","scope","selected","shape","size","sizes","slot","span","srclang","start","src","srcset","step","style","summary","tabindex","title","translate","type","usemap","valign","value","width","wrap","xmlns","slot"]),je=D(["accent-height","accumulate","additive","alignment-baseline","amplitude","ascent","attributename","attributetype","azimuth","basefrequency","baseline-shift","begin","bias","by","class","clip","clippathunits","clip-path","clip-rule","color","color-interpolation","color-interpolation-filters","color-profile","color-rendering","cx","cy","d","dx","dy","diffuseconstant","direction","display","divisor","dur","edgemode","elevation","end","exponent","fill","fill-opacity","fill-rule","filter","filterunits","flood-color","flood-opacity","font-family","font-size","font-size-adjust","font-stretch","font-style","font-variant","font-weight","fx","fy","g1","g2","glyph-name","glyphref","gradientunits","gradienttransform","height","href","id","image-rendering","in","in2","intercept","k","k1","k2","k3","k4","kerning","keypoints","keysplines","keytimes","lang","lengthadjust","letter-spacing","kernelmatrix","kernelunitlength","lighting-color","local","marker-end","marker-mid","marker-start","markerheight","markerunits","markerwidth","maskcontentunits","maskunits","max","mask","mask-type","media","method","mode","min","name","numoctaves","offset","operator","opacity","order","orient","orientation","origin","overflow","paint-order","path","pathlength","patterncontentunits","patterntransform","patternunits","points","preservealpha","preserveaspectratio","primitiveunits","r","rx","ry","radius","refx","refy","repeatcount","repeatdur","restart","result","rotate","scale","seed","shape-rendering","slope","specularconstant","specularexponent","spreadmethod","startoffset","stddeviation","stitchtiles","stop-color","stop-opacity","stroke-dasharray","stroke-dashoffset","stroke-linecap","stroke-linejoin","stroke-miterlimit","stroke-opacity","stroke","stroke-width","style","surfacescale","systemlanguage","tabindex","tablevalues","targetx","targety","transform","transform-origin","text-anchor","text-decoration","text-rendering","textlength","type","u1","u2","unicode","values","viewbox","visibility","version","vert-adv-y","vert-origin-x","vert-origin-y","width","word-spacing","wrap","writing-mode","xchannelselector","ychannelselector","x","x1","x2","xmlns","y","y1","y2","z","zoomandpan"]),xe=D(["accent","accentunder","align","bevelled","close","columnsalign","columnlines","columnspan","denomalign","depth","dir","display","displaystyle","encoding","fence","frame","height","href","id","largeop","length","linethickness","lspace","lquote","mathbackground","mathcolor","mathsize","mathvariant","maxsize","minsize","movablelimits","notation","numalign","open","rowalign","rowlines","rowspacing","rowspan","rspace","rquote","scriptlevel","scriptminsize","scriptsizemultiplier","selection","separator","separators","stretchy","subscriptshift","supscriptshift","symmetric","voffset","width","xmlns"]),$e=D(["xlink:href","xml:id","xlink:title","xml:space","xmlns:xlink"]),We=R(/\{\{[\w\W]*|[\w\W]*\}\}/gm),Ze=R(/<%[\w\W]*|[\w\W]*%>/gm),B=R(/\$\{[\w\W]*/gm),se=R(/^data-[\-\w.\u00B7-\uFFFF]+$/),K=R(/^aria-[\-\w]+$/),ye=R(/^(?:(?:(?:f|ht)tps?|mailto|tel|callto|sms|cid|xmpp|matrix):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i),Ae=R(/^(?:\w+script|data):/i),qe=R(/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g),Me=R(/^html$/i),Re=R(/^[a-z][.\w]*(-[.\w]+)+$/i);var Xe=Object.freeze({__proto__:null,ARIA_ATTR:K,ATTR_WHITESPACE:qe,CUSTOM_ELEMENT:Re,DATA_ATTR:se,DOCTYPE_NAME:Me,ERB_EXPR:Ze,IS_ALLOWED_URI:ye,IS_SCRIPT_OR_DATA:Ae,MUSTACHE_EXPR:We,TMPLIT_EXPR:B});const Je={element:1,attribute:2,text:3,cdataSection:4,entityReference:5,entityNode:6,progressingInstruction:7,comment:8,document:9,documentType:10,documentFragment:11,notation:12},nt=function(){return typeof window=="undefined"?null:window},ut=function(C,F){if(typeof C!="object"||typeof C.createPolicy!="function")return null;let j=null;const V="data-tt-policy-suffix";F&&F.hasAttribute(V)&&(j=F.getAttribute(V));const J="dompurify"+(j?"#"+j:"");try{return C.createPolicy(J,{createHTML(re){return re},createScriptURL(re){return re}})}catch(re){return console.warn("TrustedTypes policy "+J+" could not be created."),null}},Se=function(){return{afterSanitizeAttributes:[],afterSanitizeElements:[],afterSanitizeShadowDOM:[],beforeSanitizeAttributes:[],beforeSanitizeElements:[],beforeSanitizeShadowDOM:[],uponSanitizeAttribute:[],uponSanitizeElement:[],uponSanitizeShadowNode:[]}};function ht(){let E=arguments.length>0&&arguments[0]!==void 0?arguments[0]:nt();const C=Pe=>ht(Pe);if(C.version="3.3.2",C.removed=[],!E||!E.document||E.document.nodeType!==Je.document||!E.Element)return C.isSupported=!1,C;let{document:F}=E;const j=F,V=j.currentScript,{DocumentFragment:J,HTMLTemplateElement:re,Node:ee,Element:oe,NodeFilter:_e,NamedNodeMap:we=E.NamedNodeMap||E.MozNamedAttrMap,HTMLFormElement:De,DOMParser:Ne,trustedTypes:Ge}=E,He=oe.prototype,N=Fe(He,"cloneNode"),ie=Fe(He,"remove"),pe=Fe(He,"nextSibling"),me=Fe(He,"childNodes"),Ke=Fe(He,"parentNode");if(typeof re=="function"){const Pe=F.createElement("template");Pe.content&&Pe.content.ownerDocument&&(F=Pe.content.ownerDocument)}let ze,mt="";const{implementation:pt,createNodeIterator:ft,createDocumentFragment:Rt,getElementsByTagName:jt}=F,{importNode:wt}=j;let Ye=Se();C.isSupported=typeof t=="function"&&typeof Ke=="function"&&pt&&pt.createHTMLDocument!==void 0;const{MUSTACHE_EXPR:Tt,ERB_EXPR:At,TMPLIT_EXPR:St,DATA_ATTR:Lt,ARIA_ATTR:zt,IS_SCRIPT_OR_DATA:Ht,ATTR_WHITESPACE:bt,CUSTOM_ELEMENT:Ee}=Xe;let{IS_ALLOWED_URI:n}=Xe,i=null;const a=te({},[...o,...h,...c,...z,...Te]);let l=null;const y=te({},[...Ve,...je,...xe,...$e]);let g=Object.seal(m(null,{tagNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},attributeNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},allowCustomizedBuiltInElements:{writable:!0,configurable:!1,enumerable:!0,value:!1}})),q=null,ge=null;const he=Object.seal(m(null,{tagCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},attributeCheck:{writable:!0,configurable:!1,enumerable:!0,value:null}}));let ve=!0,Ie=!0,Ce=!1,ce=!0,Le=!1,Be=!0,tt=!1,ct=!1,_t=!1,st=!1,at=!1,Et=!1,lt=!0,Ut=!1;const Jt="user-content-";let Xt=!0,xt=!1,Mt={},gt=null;const Kt=te({},["annotation-xml","audio","colgroup","desc","foreignobject","head","iframe","math","mi","mn","mo","ms","mtext","noembed","noframes","noscript","plaintext","script","style","svg","template","thead","title","video","xmp"]);let Yt=null;const Zt=te({},["audio","video","img","source","image","track"]);let Vt=null;const It=te({},["alt","class","for","id","label","name","pattern","placeholder","role","summary","title","value","style","xmlns"]),Dt="http://www.w3.org/1998/Math/MathML",kt="http://www.w3.org/2000/svg",Pt="http://www.w3.org/1999/xhtml";let Ct=Pt,$t=!1,Qt=null;const er=te({},[Dt,kt,Pt],S);let Bt=te({},["mi","mo","mn","ms","mtext"]),Wt=te({},["annotation-xml"]);const tr=te({},["title","style","font","a","script"]);let Ft=null;const nr=["application/xhtml+xml","text/html"],ir="text/html";let et=null,Ot=null;const ar=F.createElement("form"),rr=function(b){return b instanceof RegExp||b instanceof Function},s=function(){let b=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};if(!(Ot&&Ot===b)){if((!b||typeof b!="object")&&(b={}),b=Oe(b),Ft=nr.indexOf(b.PARSER_MEDIA_TYPE)===-1?ir:b.PARSER_MEDIA_TYPE,et=Ft==="application/xhtml+xml"?S:L,i=I(b,"ALLOWED_TAGS")?te({},b.ALLOWED_TAGS,et):a,l=I(b,"ALLOWED_ATTR")?te({},b.ALLOWED_ATTR,et):y,Qt=I(b,"ALLOWED_NAMESPACES")?te({},b.ALLOWED_NAMESPACES,S):er,Vt=I(b,"ADD_URI_SAFE_ATTR")?te(Oe(It),b.ADD_URI_SAFE_ATTR,et):It,Yt=I(b,"ADD_DATA_URI_TAGS")?te(Oe(Zt),b.ADD_DATA_URI_TAGS,et):Zt,gt=I(b,"FORBID_CONTENTS")?te({},b.FORBID_CONTENTS,et):Kt,q=I(b,"FORBID_TAGS")?te({},b.FORBID_TAGS,et):Oe({}),ge=I(b,"FORBID_ATTR")?te({},b.FORBID_ATTR,et):Oe({}),Mt=I(b,"USE_PROFILES")?b.USE_PROFILES:!1,ve=b.ALLOW_ARIA_ATTR!==!1,Ie=b.ALLOW_DATA_ATTR!==!1,Ce=b.ALLOW_UNKNOWN_PROTOCOLS||!1,ce=b.ALLOW_SELF_CLOSE_IN_ATTR!==!1,Le=b.SAFE_FOR_TEMPLATES||!1,Be=b.SAFE_FOR_XML!==!1,tt=b.WHOLE_DOCUMENT||!1,st=b.RETURN_DOM||!1,at=b.RETURN_DOM_FRAGMENT||!1,Et=b.RETURN_TRUSTED_TYPE||!1,_t=b.FORCE_BODY||!1,lt=b.SANITIZE_DOM!==!1,Ut=b.SANITIZE_NAMED_PROPS||!1,Xt=b.KEEP_CONTENT!==!1,xt=b.IN_PLACE||!1,n=b.ALLOWED_URI_REGEXP||ye,Ct=b.NAMESPACE||Pt,Bt=b.MATHML_TEXT_INTEGRATION_POINTS||Bt,Wt=b.HTML_INTEGRATION_POINTS||Wt,g=b.CUSTOM_ELEMENT_HANDLING||{},b.CUSTOM_ELEMENT_HANDLING&&rr(b.CUSTOM_ELEMENT_HANDLING.tagNameCheck)&&(g.tagNameCheck=b.CUSTOM_ELEMENT_HANDLING.tagNameCheck),b.CUSTOM_ELEMENT_HANDLING&&rr(b.CUSTOM_ELEMENT_HANDLING.attributeNameCheck)&&(g.attributeNameCheck=b.CUSTOM_ELEMENT_HANDLING.attributeNameCheck),b.CUSTOM_ELEMENT_HANDLING&&typeof b.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements=="boolean"&&(g.allowCustomizedBuiltInElements=b.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements),Le&&(Ie=!1),at&&(st=!0),Mt&&(i=te({},Te),l=m(null),Mt.html===!0&&(te(i,o),te(l,Ve)),Mt.svg===!0&&(te(i,h),te(l,je),te(l,$e)),Mt.svgFilters===!0&&(te(i,c),te(l,je),te(l,$e)),Mt.mathMl===!0&&(te(i,z),te(l,xe),te(l,$e))),I(b,"ADD_TAGS")||(he.tagCheck=null),I(b,"ADD_ATTR")||(he.attributeCheck=null),b.ADD_TAGS&&(typeof b.ADD_TAGS=="function"?he.tagCheck=b.ADD_TAGS:(i===a&&(i=Oe(i)),te(i,b.ADD_TAGS,et))),b.ADD_ATTR&&(typeof b.ADD_ATTR=="function"?he.attributeCheck=b.ADD_ATTR:(l===y&&(l=Oe(l)),te(l,b.ADD_ATTR,et))),b.ADD_URI_SAFE_ATTR&&te(Vt,b.ADD_URI_SAFE_ATTR,et),b.FORBID_CONTENTS&&(gt===Kt&&(gt=Oe(gt)),te(gt,b.FORBID_CONTENTS,et)),b.ADD_FORBID_CONTENTS&&(gt===Kt&&(gt=Oe(gt)),te(gt,b.ADD_FORBID_CONTENTS,et)),Xt&&(i["#text"]=!0),tt&&te(i,["html","head","body"]),i.table&&(te(i,["tbody"]),delete q.tbody),b.TRUSTED_TYPES_POLICY){if(typeof b.TRUSTED_TYPES_POLICY.createHTML!="function")throw ne('TRUSTED_TYPES_POLICY configuration option must provide a "createHTML" hook.');if(typeof b.TRUSTED_TYPES_POLICY.createScriptURL!="function")throw ne('TRUSTED_TYPES_POLICY configuration option must provide a "createScriptURL" hook.');ze=b.TRUSTED_TYPES_POLICY,mt=ze.createHTML("")}else ze===void 0&&(ze=ut(Ge,V)),ze!==null&&typeof mt=="string"&&(mt=ze.createHTML(""));D&&D(b),Ot=b}},w=te({},[...h,...c,...$]),M=te({},[...z,...de]),X=function(b){let Z=Ke(b);(!Z||!Z.tagName)&&(Z={namespaceURI:Ct,tagName:"template"});const fe=L(b.tagName),Qe=L(Z.tagName);return Qt[b.namespaceURI]?b.namespaceURI===kt?Z.namespaceURI===Pt?fe==="svg":Z.namespaceURI===Dt?fe==="svg"&&(Qe==="annotation-xml"||Bt[Qe]):Boolean(w[fe]):b.namespaceURI===Dt?Z.namespaceURI===Pt?fe==="math":Z.namespaceURI===kt?fe==="math"&&Wt[Qe]:Boolean(M[fe]):b.namespaceURI===Pt?Z.namespaceURI===kt&&!Wt[Qe]||Z.namespaceURI===Dt&&!Bt[Qe]?!1:!M[fe]&&(tr[fe]||!w[fe]):!!(Ft==="application/xhtml+xml"&&Qt[b.namespaceURI]):!1},ue=function(b){P(C.removed,{element:b});try{Ke(b).removeChild(b)}catch(Z){ie(b)}},le=function(b,Z){try{P(C.removed,{attribute:Z.getAttributeNode(b),from:Z})}catch(fe){P(C.removed,{attribute:null,from:Z})}if(Z.removeAttribute(b),b==="is")if(st||at)try{ue(Z)}catch(fe){}else try{Z.setAttribute(b,"")}catch(fe){}},be=function(b){let Z=null,fe=null;if(_t)b="<remove></remove>"+b;else{const rt=G(b,/^[\r\n\t ]+/);fe=rt&&rt[0]}Ft==="application/xhtml+xml"&&Ct===Pt&&(b='<html xmlns="http://www.w3.org/1999/xhtml"><head></head><body>'+b+"</body></html>");const Qe=ze?ze.createHTML(b):b;if(Ct===Pt)try{Z=new Ne().parseFromString(Qe,Ft)}catch(rt){}if(!Z||!Z.documentElement){Z=pt.createDocument(Ct,"template",null);try{Z.documentElement.innerHTML=$t?mt:Qe}catch(rt){}}const ot=Z.body||Z.documentElement;return b&&fe&&ot.insertBefore(F.createTextNode(fe),ot.childNodes[0]||null),Ct===Pt?jt.call(Z,tt?"html":"body")[0]:tt?Z.documentElement:ot},Ue=function(b){return ft.call(b.ownerDocument||b,b,_e.SHOW_ELEMENT|_e.SHOW_COMMENT|_e.SHOW_TEXT|_e.SHOW_PROCESSING_INSTRUCTION|_e.SHOW_CDATA_SECTION,null)},yt=function(b){return b instanceof De&&(typeof b.nodeName!="string"||typeof b.textContent!="string"||typeof b.removeChild!="function"||!(b.attributes instanceof we)||typeof b.removeAttribute!="function"||typeof b.setAttribute!="function"||typeof b.namespaceURI!="string"||typeof b.insertBefore!="function"||typeof b.hasChildNodes!="function")},Gt=function(b){return typeof ee=="function"&&b instanceof ee};function vt(Pe,b,Z){f(Pe,fe=>{fe.call(C,b,Z,Ot)})}const sr=function(b){let Z=null;if(vt(Ye.beforeSanitizeElements,b,null),yt(b))return ue(b),!0;const fe=et(b.nodeName);if(vt(Ye.uponSanitizeElement,b,{tagName:fe,allowedTags:i}),Be&&b.hasChildNodes()&&!Gt(b.firstElementChild)&&k(/<[/\w!]/g,b.innerHTML)&&k(/<[/\w!]/g,b.textContent)||b.nodeType===Je.progressingInstruction||Be&&b.nodeType===Je.comment&&k(/<[/\w]/g,b.data))return ue(b),!0;if(!(he.tagCheck instanceof Function&&he.tagCheck(fe))&&(!i[fe]||q[fe])){if(!q[fe]&&ur(fe)&&(g.tagNameCheck instanceof RegExp&&k(g.tagNameCheck,fe)||g.tagNameCheck instanceof Function&&g.tagNameCheck(fe)))return!1;if(Xt&&!gt[fe]){const Qe=Ke(b)||b.parentNode,ot=me(b)||b.childNodes;if(ot&&Qe){const rt=ot.length;for(let dt=rt-1;dt>=0;--dt){const Nt=N(ot[dt],!0);Nt.__removalCount=(b.__removalCount||0)+1,Qe.insertBefore(Nt,pe(b))}}}return ue(b),!0}return b instanceof oe&&!X(b)||(fe==="noscript"||fe==="noembed"||fe==="noframes")&&k(/<\/no(script|embed|frames)/i,b.innerHTML)?(ue(b),!0):(Le&&b.nodeType===Je.text&&(Z=b.textContent,f([Tt,At,St],Qe=>{Z=U(Z,Qe," ")}),b.textContent!==Z&&(P(C.removed,{element:b.cloneNode()}),b.textContent=Z)),vt(Ye.afterSanitizeElements,b,null),!1)},lr=function(b,Z,fe){if(ge[Z]||lt&&(Z==="id"||Z==="name")&&(fe in F||fe in ar))return!1;if(!(Ie&&!ge[Z]&&k(Lt,Z))){if(!(ve&&k(zt,Z))){if(!(he.attributeCheck instanceof Function&&he.attributeCheck(Z,b))){if(!l[Z]||ge[Z]){if(!(ur(b)&&(g.tagNameCheck instanceof RegExp&&k(g.tagNameCheck,b)||g.tagNameCheck instanceof Function&&g.tagNameCheck(b))&&(g.attributeNameCheck instanceof RegExp&&k(g.attributeNameCheck,Z)||g.attributeNameCheck instanceof Function&&g.attributeNameCheck(Z,b))||Z==="is"&&g.allowCustomizedBuiltInElements&&(g.tagNameCheck instanceof RegExp&&k(g.tagNameCheck,fe)||g.tagNameCheck instanceof Function&&g.tagNameCheck(fe))))return!1}else if(!Vt[Z]){if(!k(n,U(fe,bt,""))){if(!((Z==="src"||Z==="xlink:href"||Z==="href")&&b!=="script"&&Y(fe,"data:")===0&&Yt[b])){if(!(Ce&&!k(Ht,U(fe,bt,"")))){if(fe)return!1}}}}}}}return!0},ur=function(b){return b!=="annotation-xml"&&G(b,Ee)},cr=function(b){vt(Ye.beforeSanitizeAttributes,b,null);const{attributes:Z}=b;if(!Z||yt(b))return;const fe={attrName:"",attrValue:"",keepAttr:!0,allowedAttributes:l,forceKeepAttr:void 0};let Qe=Z.length;for(;Qe--;){const ot=Z[Qe],{name:rt,namespaceURI:dt,value:Nt}=ot,qt=et(rt),or=Nt;let it=rt==="value"?or:Q(or);if(fe.attrName=qt,fe.attrValue=it,fe.keepAttr=!0,fe.forceKeepAttr=void 0,vt(Ye.uponSanitizeAttribute,b,fe),it=fe.attrValue,Ut&&(qt==="id"||qt==="name")&&(le(rt,b),it=Jt+it),Be&&k(/((--!?|])>)|<\/(style|script|title|xmp|textarea|noscript|iframe|noembed|noframes)/i,it)){le(rt,b);continue}if(qt==="attributename"&&G(it,"href")){le(rt,b);continue}if(fe.forceKeepAttr)continue;if(!fe.keepAttr){le(rt,b);continue}if(!ce&&k(/\/>/i,it)){le(rt,b);continue}Le&&f([Tt,At,St],mr=>{it=U(it,mr," ")});const dr=et(b.nodeName);if(!lr(dr,qt,it)){le(rt,b);continue}if(ze&&typeof Ge=="object"&&typeof Ge.getAttributeType=="function"&&!dt)switch(Ge.getAttributeType(dr,qt)){case"TrustedHTML":{it=ze.createHTML(it);break}case"TrustedScriptURL":{it=ze.createScriptURL(it);break}}if(it!==or)try{dt?b.setAttributeNS(dt,rt,it):b.setAttribute(rt,it),yt(b)?ue(b):_(C.removed)}catch(mr){le(rt,b)}}vt(Ye.afterSanitizeAttributes,b,null)},fr=function Pe(b){let Z=null;const fe=Ue(b);for(vt(Ye.beforeSanitizeShadowDOM,b,null);Z=fe.nextNode();)vt(Ye.uponSanitizeShadowNode,Z,null),sr(Z),cr(Z),Z.content instanceof J&&Pe(Z.content);vt(Ye.afterSanitizeShadowDOM,b,null)};return C.sanitize=function(Pe){let b=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},Z=null,fe=null,Qe=null,ot=null;if($t=!Pe,$t&&(Pe="<!-->"),typeof Pe!="string"&&!Gt(Pe))if(typeof Pe.toString=="function"){if(Pe=Pe.toString(),typeof Pe!="string")throw ne("dirty is not a string, aborting")}else throw ne("toString is not a function");if(!C.isSupported)return Pe;if(ct||s(b),C.removed=[],typeof Pe=="string"&&(xt=!1),xt){if(Pe.nodeName){const Nt=et(Pe.nodeName);if(!i[Nt]||q[Nt])throw ne("root node is forbidden and cannot be sanitized in-place")}}else if(Pe instanceof ee)Z=be("<!---->"),fe=Z.ownerDocument.importNode(Pe,!0),fe.nodeType===Je.element&&fe.nodeName==="BODY"||fe.nodeName==="HTML"?Z=fe:Z.appendChild(fe);else{if(!st&&!Le&&!tt&&Pe.indexOf("<")===-1)return ze&&Et?ze.createHTML(Pe):Pe;if(Z=be(Pe),!Z)return st?null:Et?mt:""}Z&&_t&&ue(Z.firstChild);const rt=Ue(xt?Pe:Z);for(;Qe=rt.nextNode();)sr(Qe),cr(Qe),Qe.content instanceof J&&fr(Qe.content);if(xt)return Pe;if(st){if(at)for(ot=Rt.call(Z.ownerDocument);Z.firstChild;)ot.appendChild(Z.firstChild);else ot=Z;return(l.shadowroot||l.shadowrootmode)&&(ot=wt.call(j,ot,!0)),ot}let dt=tt?Z.outerHTML:Z.innerHTML;return tt&&i["!doctype"]&&Z.ownerDocument&&Z.ownerDocument.doctype&&Z.ownerDocument.doctype.name&&k(Me,Z.ownerDocument.doctype.name)&&(dt="<!DOCTYPE "+Z.ownerDocument.doctype.name+`>
`+dt),Le&&f([Tt,At,St],Nt=>{dt=U(dt,Nt," ")}),ze&&Et?ze.createHTML(dt):dt},C.setConfig=function(){let Pe=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};s(Pe),ct=!0},C.clearConfig=function(){Ot=null,ct=!1},C.isValidAttribute=function(Pe,b,Z){Ot||s({});const fe=et(Pe),Qe=et(b);return lr(fe,Qe,Z)},C.addHook=function(Pe,b){typeof b=="function"&&P(Ye[Pe],b)},C.removeHook=function(Pe,b){if(b!==void 0){const Z=d(Ye[Pe],b);return Z===-1?void 0:A(Ye[Pe],Z,1)[0]}return _(Ye[Pe])},C.removeHooks=function(Pe){Ye[Pe]=[]},C.removeAllHooks=function(){Ye=Se()},C}var v=ht();function x(E,C){const F=C?.hook?.afterSanitizeAttributes;F&&v.addHook("afterSanitizeAttributes",F);try{return v.sanitize(E,C)}finally{F&&v.removeHook("afterSanitizeAttributes",F)}}r.default=x,Object.defineProperty(r,"__esModule",{value:!0})}),LWR.define("lightning/purifyLib",["exports","lightning/purifyLib/v/1_28_17-alpha"],function(r,t){r.default=t&&typeof t=="object"&&"default"in t?t.default:t,Object.keys(t).forEach(function(e){e==="default"||r.hasOwnProperty(e)||Object.defineProperty(r,e,{enumerable:!0,get:function(){return t[e]}})})}),LWR.define("experience/dataLayerObject/v/256_8_0",["exports","lwc/v/9_1_2","lightning/purifyLib/v/1_28_17-alpha"],function(r,t,e){"use strict";function O(A){return A&&typeof A=="object"&&"default"in A?A:{default:A}}var T=O(e);const H={hidden:""},D={lwc:{dom:"manual"}};function R(A,L,S,G){const{shc:U,h:Y}=A;return[Y("div",{attrs:H,props:{innerHTML:G._rawHtml$0!==(G._rawHtml$0=L.scriptElement)?G._sanitizedHtml$0=U(L.scriptElement):G._sanitizedHtml$0},context:D,key:0})]}var m=t.registerTemplate(R);R.renderMode="light",R.stylesheets=[],R.stylesheetToken="lwc-64pqse1e4gn",R.legacyStylesheetToken="experience-dataLayerObject_dataLayerObject",t.freezeTemplate(R);const f=Object.freeze({ALLOWED_TAGS:[],ALLOWED_ATTR:[]});function d(A){return typeof window=="undefined"?A:T.default(A,f)}class _ extends t.LightningElement{constructor(...L){super(...L);this._scriptDataAttributes={},this._catalogObjectId=void 0,this._catalogObjectType=void 0,this._catalogObjectAttributes=void 0,this._relatedCatalogObjects=void 0,this._customObject=void 0}set scriptDataAttributes(L){this._scriptDataAttributes=L}get scriptDataAttributes(){return this._scriptDataAttributes}set catalogObjectId(L){this._catalogObjectId=L}get catalogObjectId(){return this._catalogObjectId}set catalogObjectType(L){this._catalogObjectType=L}get catalogObjectType(){return this._catalogObjectType}set catalogObjectAttributes(L){this._catalogObjectAttributes=L}get catalogObjectAttributes(){return this._catalogObjectAttributes}set relatedCatalogObjects(L){this._relatedCatalogObjects=L}get relatedCatalogObjects(){return this._relatedCatalogObjects}set customObject(L){this._customObject=L}get customObject(){return this._customObject}get scriptElement(){return this.scriptDataAttributes?.providerType&&(this.isCustomObject()||this.isCatalogObject())?`<script type="application/json" data-provider-type="${this.scriptDataAttributes?.providerType}">${d(this.scriptElementContent())}</script>`:""}scriptElementContent(){const L=this.isCustomObject()?this.customObject:this.buildCatalogObject();return JSON.stringify(L)}isCustomObject(){return!!this.customObject}isCatalogObject(){return!!(this.catalogObjectId&&this.catalogObjectType)}buildCatalogObject(){return{id:this.catalogObjectId,type:this.catalogObjectType,attributes:this.catalogObjectAttributes,relatedCatalogObjects:this.relatedCatalogObjects}}}_.renderMode="light",t.registerDecorators(_,{publicProps:{scriptDataAttributes:{config:3},catalogObjectId:{config:3},catalogObjectType:{config:3},catalogObjectAttributes:{config:3},relatedCatalogObjects:{config:3},customObject:{config:3},scriptElement:{config:1}},fields:["_scriptDataAttributes","_catalogObjectId","_catalogObjectType","_catalogObjectAttributes","_relatedCatalogObjects","_customObject"]});const P=t.registerComponent(_,{tmpl:m,sel:"experience-data-layer-object",apiVersion:66,enableSyntheticElementInternals:!0});r.default=P,Object.defineProperty(r,"__esModule",{value:!0})}),LWR.define("experience/dataLayerObject",["exports","experience/dataLayerObject/v/256_8_0"],function(r,t){r.default=t&&typeof t=="object"&&"default"in t?t.default:t,Object.keys(t).forEach(function(e){e==="default"||r.hasOwnProperty(e)||Object.defineProperty(r,e,{enumerable:!0,get:function(){return t[e]}})})}),LWR.define("webruntime/app/v/1_66_1200-262_0",["exports","lwc/v/9_1_2","experience/dataLayerObject/v/256_8_0","webruntime/innerApp/v/1_66_1200-262_0","lwr/routerContainer/v/0_22_21","@salesforce/site/Id/v/1","@salesforce/webstore/Id/v/1","@app/templateDevName/v/1","webruntime/routingService/v/1_66_1200-262_0","webruntime/errors/v/1_66_1200-262_0"],function(r,t,e,O,T,H,D,R,m,p){"use strict";function u(Q){return Q&&typeof Q=="object"&&"default"in Q?Q:{default:Q}}var f=u(e),d=u(O),_=u(T),P=u(H),A=u(D),L=u(R);function S(Q,I,k,ne){const{c:ae}=Q;return[ae("lwr-router-container",_.default,{props:{router:I.router},key:0},[ae("experience-data-layer-object",f.default,{props:{scriptDataAttributes:I.siteDataForDataLayer.scriptDataAttributes,customObject:I.siteDataForDataLayer.customObject},key:1}),ae("webruntime-inner-app",d.default,{props:{view:I.view,routerContainerView:I.routerContainerView,routeParams:I.routeParams},key:2})])]}var G=t.registerTemplate(S);S.renderMode="light",S.stylesheets=[],S.stylesheetToken="lwc-ag6063mqi2",S.legacyStylesheetToken="webruntime-app_app",t.freezeTemplate(S);class U extends t.LightningElement{constructor(I,k){super();this.routeParams=void 0,this.themeLayout=void 0,this.isInitialized=void 0,this.router=m.router,this.view=I,this.routerContainerView=k,this.siteDataForDataLayer={scriptDataAttributes:{providerType:"site"},customObject:{siteId:P.default,templateDevName:L.default,...A.default?{webstore:{id:A.default}}:{}}}}renderedCallback(){if(this.isInitialized)return;const I=this.querySelector("lwr-router-container");m.initializeRouterContainer(I),this.isInitialized=!0}errorCallback(I,k){if(p.reportError({subject:"app level error",error:I,wcstack:k}),process.env.SSR)throw I}disconnectedCallback(){this.isInitialized=!1}render(){return G}}U.renderMode="light",t.registerDecorators(U,{publicProps:{routeParams:{config:0}},fields:["themeLayout","isInitialized","router"]});const Y=t.registerComponent(U,{tmpl:G,sel:"webruntime-app",apiVersion:66,enableSyntheticElementInternals:!0});r.default=Y,Object.defineProperty(r,"__esModule",{value:!0})}),LWR.define("webruntime/app",["exports","webruntime/app/v/1_66_1200-262_0"],function(r,t){r.default=t&&typeof t=="object"&&"default"in t?t.default:t,Object.keys(t).forEach(function(e){e==="default"||r.hasOwnProperty(e)||Object.defineProperty(r,e,{enumerable:!0,get:function(){return t[e]}})})}),LWR.define("@salesforce/loader/v/1_66_1200-262_0",["exports","lwr/loaderLegacy/v/0_22_21"],function(r,t){"use strict";Object.defineProperty(r,"load",{enumerable:!0,get:function(){return t.load}}),Object.defineProperty(r,"__esModule",{value:!0})}),LWR.define("@salesforce/loader",["exports","@salesforce/loader/v/1_66_1200-262_0"],function(r,t){r.default=t&&typeof t=="object"&&"default"in t?t.default:t,Object.keys(t).forEach(function(e){e==="default"||r.hasOwnProperty(e)||Object.defineProperty(r,e,{enumerable:!0,get:function(){return t[e]}})})}),LWR.define("webruntime/assert/v/1_66_1200-262_0",["exports","webruntime/utils/v/1_66_1200-262_0"],function(r,t){"use strict";Object.defineProperty(r,"default",{enumerable:!0,get:function(){return t.assert}}),Object.defineProperty(r,"__esModule",{value:!0})}),LWR.define("webruntime/assert",["exports","webruntime/assert/v/1_66_1200-262_0"],function(r,t){r.default=t&&typeof t=="object"&&"default"in t?t.default:t,Object.keys(t).forEach(function(e){e==="default"||r.hasOwnProperty(e)||Object.defineProperty(r,e,{enumerable:!0,get:function(){return t[e]}})})}),LWR.define("aura-instrumentation/v/1_66_1200-262_0",["exports","webruntime/logger/v/1_66_1200-262_0","@communities-webruntime/common/v/1_66_1200-262_0","webruntime/assert/v/1_66_1200-262_0"],function(r,t,e,O){"use strict";function T(o){return o&&typeof o=="object"&&"default"in o?o:{default:o}}var H=T(O);function D(o,h){return`${e.WEBRUNTIME_PREFIX}-${[o,h].filter(Boolean).join(":")}`}const{performance:R}=globalThis;function m(o){const h=JSON.stringify(o);return h&&JSON.parse(h)}function p(o,h,c){const $=D(o,h);R.mark($,{detail:{ctx:m(c)}})}function u(o,h,c){p(o,h,c)}function f(o,h,c){p(o,h,c)}function d(o,h,c){const $=D(o,h);try{R.measure($,{detail:{ctx:m(c)},start:$})}catch(z){t.logError(`[instrumentation] no startMark named ${$} found`,z.stack)}}function _(){return Date.now()}function P(o,h,c){}function A(o,h,c){}function L(o,h,c,$,z){}function S(o){}function G(o,h){}function U(o){return{logHits(h){},logMisses(h){},unRegister(){}}}function Y(o,h,c){}function Q(o){}function I(o){}function k(o){}function ne(o,h,c){}function ae(o){return{increment(h){},decrement(h){},getValue(){return 0},reset(){}}}function ke(o){return{setValue(h){},getValue(){return 0},reset(){}}}function te(o){return{update(h){},getValue(){return[]},reset(){}}}function W(o){return{addDuration(){},time(){},getValue(){return[]},reset(){},get(){}}}class Oe{constructor(){this._registry={eptMarked:[],navToPage:[],navFromPage:[],windowUnload:[]}}get knownEvents(){return Object.keys(this._registry)}_checkEventName(h){if(!this._registry[h])throw new Error(`eventName ${h} isn't valid`)}register(h,c,$){return H.default(h&&typeof h=="string","eventName must be a valid string"),this._checkEventName(h),H.default(c&&typeof c=="string","listenerName must be a valid string"),H.default(typeof $=="function","callback must be provided"),this._registry[h].push({name:c,func:$})}unregister(h,c){this._checkEventName(h);const $=c-1;H.default(this._registry[h][$],`No listener found for ${h} with registration ID ${c}`),delete this._registry[h][$]}notify(h,c){this._checkEventName(h),this._registry[h].forEach($=>$.func(c))}}const Fe=new Oe;r.counter=ae,r.disablePlugin=k,r.enablePlugin=I,r.error=Y,r.gauge=ke,r.interaction=L,r.mark=u,r.markEnd=d,r.markStart=f,r.notifications=Fe,r.percentileHistogram=te,r.perfEnd=A,r.perfStart=P,r.registerCacheStats=U,r.registerPeriodicLogger=G,r.registerPlugin=S,r.removePeriodicLogger=Q,r.time=_,r.timer=W,r.trackScenario=ne,Object.defineProperty(r,"__esModule",{value:!0})}),LWR.define("aura-instrumentation",["exports","aura-instrumentation/v/1_66_1200-262_0"],function(r,t){r.default=t&&typeof t=="object"&&"default"in t?t.default:t,Object.keys(t).forEach(function(e){e==="default"||r.hasOwnProperty(e)||Object.defineProperty(r,e,{enumerable:!0,get:function(){return t[e]}})})}),LWR.define("aura-storage/v/1_66_1200-262_0",["exports"],function(r){"use strict";var t={};r.default=t,Object.defineProperty(r,"__esModule",{value:!0})}),LWR.define("aura-storage",["exports","aura-storage/v/1_66_1200-262_0"],function(r,t){r.default=t&&typeof t=="object"&&"default"in t?t.default:t,Object.keys(t).forEach(function(e){e==="default"||r.hasOwnProperty(e)||Object.defineProperty(r,e,{enumerable:!0,get:function(){return t[e]}})})}),LWR.define("webruntime/auraMethodToResourceReferenceMapping/v/1_66_1200-262_0",["exports","webruntime/logger/v/1_66_1200-262_0"],function(r,t){"use strict";const e="/services/data/v67.0",O={"CommerceCatalogController.getProductCategoryPath":{urlPath:e+"/commerce/webstores/${webstoreId}/product-category-path/product-categories/${productCategoryId}",urlPathParamNames:["productCategoryId","webstoreId"],method:"GET"},"CommerceCatalogController.getProducts":{urlPath:e+"/commerce/webstores/${webstoreId}/products",urlPathParamNames:["webstoreId"],method:"GET"},"CommerceCatalogController.getProduct":{urlPath:e+"/commerce/webstores/${webstoreId}/products/${productId}",urlPathParamNames:["productId","webstoreId"],method:"GET"},"CommerceCatalogManagementController.compositeCommerceProductCreate":{urlPath:e+"/commerce/management/webstore/${webstoreId}/composite-products",urlPathParamNames:["webstoreId"],inputRepresentation:"compositeCommerceProductInputRepresentation",method:"POST"},"CommerceCatalogManagementController.compositeCommerceProductUpdate":{urlPath:e+"/commerce/management/webstore/${webstoreId}/composite-products/${productId}",urlPathParamNames:["productId","webstoreId"],inputRepresentation:"compositeCommerceProductInputRepresentation",method:"PUT"},"CommerceCatalogManagementController.compositeCommerceVariationCreate":{urlPath:e+"/commerce/management/webstore/${webstoreId}/composite-variations",urlPathParamNames:["webstoreId"],inputRepresentation:"compositeCommerceVariationInputRepresentation",method:"POST"},"CommerceCatalogManagementController.ProductAttributeSearch":{urlPath:e+"/commerce/management/search/product-variation-attributes",urlPathParamNames:[],method:"GET"},"CommerceCatalogSettingsController.getDisplayableAttributes":{urlPath:e+"/commerce/management/webstores/${webstoreId}/catalog/attribute-settings/displayable-fields",urlPathParamNames:["webstoreId"],method:"GET"},"CommerceCatalogSettingsController.replaceDisplayableAttributes":{urlPath:e+"/commerce/management/webstores/${webstoreId}/catalog/attribute-settings/displayable-fields",urlPathParamNames:["webstoreId"],inputRepresentation:"displayableAttributeSettings",method:"PUT"},"HSRCommerceCatalogController.getProductCategoryPathHSR":{urlPath:e+"/commerce/webstores/${webstoreId}/versions/${versionId}/product-categories/${productCategoryId}/product-category-path",urlPathParamNames:["productCategoryId","versionId","webstoreId"],method:"GET"},"HSRCommerceCatalogController.getProductHSR":{urlPath:e+"/commerce/webstores/${webstoreId}/versions/${versionId}/products/${productId}",urlPathParamNames:["productId","versionId","webstoreId"],method:"GET"},"CommerceStorePricingController.getProductPrices":{urlPath:e+"/commerce/webstores/${webstoreId}/pricing/products",urlPathParamNames:["webstoreId"],method:"GET"},"CommerceStorePricingController.getProductPrice":{urlPath:e+"/commerce/webstores/${webstoreId}/pricing/products/${productId}",urlPathParamNames:["productId","webstoreId"],method:"GET"},"CommunitiesController.getPagePreviewUrl":{urlPath:e+"/connect/communities/${communityId}/preview-url/pages/${pageApiName}",urlPathParamNames:["communityId","pageApiName"],method:"GET"},"CommunitiesController.getCommunity":{urlPath:e+"/connect/communities/${communityId}",urlPathParamNames:["communityId"],method:"GET"},"CommunitiesController.ingestRecord":{urlPath:e+"/connect/communities/${communityId}/microbatching",urlPathParamNames:["communityId"],inputRepresentation:"requestIngestionInput",method:"POST"},"FilesController.getFileUploadConfig":{urlPath:e+"/connect/file/upload/config",urlPathParamNames:[],method:"GET"},"FilesController.createContentDocFromContentBody":{urlPath:e+"/connect/files/users/${userId}",urlPathParamNames:["userId"],inputRepresentation:"file",method:"POST"},"MissionsController.purgeUserMissionsActivities":{urlPath:e+"/connect/communities/${communityId}/missions/activities/purge-job",urlPathParamNames:["communityId"],method:"POST"},"CommerceCartController.upsertInventoryReservation":{urlPath:e+"/commerce/webstores/${webstoreId}/carts/${activeCartOrId}/inventory-reservations",urlPathParamNames:["activeCartOrId","webstoreId"],inputRepresentation:"cartInventoryReservationInput",method:"PUT"},"CommerceSearchController.getSearchBoostBuryRules":{urlPath:e+"/commerce/management/webstores/${webstoreId}/search/boost-bury-rules",urlPathParamNames:["webstoreId"],method:"GET"},"CommerceSearchController.createSearchBoostBuryRule":{urlPath:e+"/commerce/management/webstores/${webstoreId}/search/boost-bury-rules",urlPathParamNames:["webstoreId"],inputRepresentation:"boostBuryRuleInput",method:"POST"},"CommerceSearchController.deleteSearchBoostBuryRule":{urlPath:e+"/commerce/management/webstores/${webstoreId}/search/boost-bury-rules/${ruleId}",urlPathParamNames:["ruleId","webstoreId"],method:"DELETE"},"CommerceSearchController.getSearchBoostBuryRule":{urlPath:e+"/commerce/management/webstores/${webstoreId}/search/boost-bury-rules/${ruleId}",urlPathParamNames:["ruleId","webstoreId"],method:"GET"},"CommerceSearchController.getSearchIndexErrors":{urlPath:e+"/commerce/management/webstores/${webstoreId}/search/index/${indexId}/errors",urlPathParamNames:["indexId","webstoreId"],method:"GET"},"CommerceSearchController.getManagementSortRules":{urlPath:e+"/commerce/management/webstores/${webstoreId}/search/sort-rules",urlPathParamNames:["webstoreId"],method:"GET"},"CommerceSearchController.putSortRules":{urlPath:e+"/commerce/management/webstores/${webstoreId}/search/sort-rules",urlPathParamNames:["webstoreId"],inputRepresentation:"sortRules",method:"PUT"},"CommerceSearchController.searchProducts":{urlPath:e+"/commerce/webstores/${webstoreId}/search/product-search",urlPathParamNames:["webstoreId"],inputRepresentation:"productSearchInput",method:"POST"},"CommerceSearchSettingsController.getCommerceSearchIndexes":{urlPath:e+"/commerce/management/webstores/${webstoreId}/search/indexes",urlPathParamNames:["webstoreId"],method:"GET"},"CommerceSearchSettingsController.createCommerceSearchIndex":{urlPath:e+"/commerce/management/webstores/${webstoreId}/search/indexes",urlPathParamNames:["webstoreId"],method:"POST"},"CommerceSearchSettingsController.getCommerceSearchIndexLogs":{urlPath:e+"/commerce/management/webstores/${webstoreId}/search/index-logs",urlPathParamNames:["webstoreId"],method:"GET"},"CommerceSearchSettingsController.getFacetableAttributeSettings":{urlPath:e+"/commerce/management/webstores/${webstoreId}/search/attribute-settings/facetable-fields",urlPathParamNames:["webstoreId"],method:"GET"},"CommerceSearchSettingsController.replaceFacetableAttributeSettings":{urlPath:e+"/commerce/management/webstores/${webstoreId}/search/attribute-settings/facetable-fields",urlPathParamNames:["webstoreId"],inputRepresentation:"facetableAttributeSettings",method:"PUT"},"CommerceSearchSettingsController.getSearchableAttributes":{urlPath:e+"/commerce/management/webstores/${webstoreId}/search/attribute-settings/searchable-fields",urlPathParamNames:["webstoreId"],method:"GET"},"CommerceSearchSettingsController.modifySearchableAttributes":{urlPath:e+"/commerce/management/webstores/${webstoreId}/search/attribute-settings/searchable-fields",urlPathParamNames:["webstoreId"],inputRepresentation:"searchableAttributeSettings",method:"PATCH"},"CommerceShippingController.getShippingProfilesForWebStore":{urlPath:e+"/commerce/webstores/${webstoreId}/shippingProfiles",urlPathParamNames:["webstoreId"],method:"GET"},"NavigationMenuController.getCommunityNavigationMenu":{urlPath:e+"/connect/communities/${communityId}/navigation-menu/navigation-menu-items",urlPathParamNames:["communityId"],method:"GET"},"MarketingIntegrationController.getForm":{urlPath:e+"/sites/${siteId}/marketing-integration/forms/${formId}",urlPathParamNames:["formId","siteId"],method:"GET"},"MarketingIntegrationController.saveForm":{urlPath:e+"/sites/${siteId}/marketing-integration/forms",urlPathParamNames:["siteId"],inputRepresentation:"formInput",method:"POST"},"MarketingIntegrationController.submitForm":{urlPath:e+"/sites/${siteId}/marketing-integration/forms/${formId}/data",urlPathParamNames:["formId","siteId"],inputRepresentation:"formSubmissionInput",method:"POST"},"SeoPropertiesController.getRecordSeoProperties":{urlPath:e+"/connect/communities/${communityId}/seo/properties/${recordId}",urlPathParamNames:["communityId","recordId"],method:"GET"},"FlowBuilderController.getRules":{urlPath:e+"/connect/interaction/builder/rules",urlPathParamNames:[],method:"GET"},"OrchestrationController.getOrchestrationInstanceCollection":{urlPath:e+"/connect/interaction/orchestration/instances",urlPathParamNames:[],method:"GET"},"FlowRuntimeConnectController.navigateFlow":{urlPath:e+"/connect/interaction/runtime/navigateFlow",urlPathParamNames:[],inputRepresentation:"request",method:"POST"},"FlowRuntimeConnectController.resumeFlow":{urlPath:e+"/connect/interaction/runtime/resumeFlow",urlPathParamNames:[],method:"POST"},"FlowRuntimeConnectController.startFlow":{urlPath:e+"/connect/interaction/runtime/startFlow",urlPathParamNames:[],method:"POST"},"DataCategoryController.getCategoryGroups":{urlPath:e+"/connect/data-category/category-group",urlPathParamNames:[],method:"GET"},"KnowledgeController.updateViewStat":{urlPath:e+"/connect/knowledge/article/view-stat",urlPathParamNames:[],method:"PATCH"},"NetworkDataCategoryController.getChildCategories":{urlPath:e+"/connect/communities/${communityId}/network-data-category/${networkDataCategoryId}/child-category",urlPathParamNames:["communityId","networkDataCategoryId"],method:"GET"},"NetworkDataCategoryController.getArticlesForCategory":{urlPath:e+"/connect/communities/${communityId}/network-data-category/${networkDataCategoryId}/knowledge-article",urlPathParamNames:["communityId","networkDataCategoryId"],method:"GET"},"NetworkDataCategoryController.updateNetworkDataCategory":{urlPath:e+"/connect/communities/${communityId}/network-data-category/${networkDataCategoryId}",urlPathParamNames:["communityId","networkDataCategoryId"],method:"PATCH"},"NetworkDataCategoryController.getNetworkDataCategories":{urlPath:e+"/connect/communities/${communityId}/data-category/network-data-category",urlPathParamNames:["communityId"],method:"GET"},"NetworkDataCategoryController.updateNetworkDataCategories":{urlPath:e+"/connect/communities/${communityId}/data-category/network-data-category",urlPathParamNames:["communityId"],inputRepresentation:"networkDataCategoryTree",method:"PUT"},"NetworkDataCategoryController.getParentNetworkDataCategoryPath":{urlPath:e+"/connect/communities/${communityId}/network-data-category/${networkDataCategoryId}/parent-path",urlPathParamNames:["communityId","networkDataCategoryId"],method:"GET"},"NetworkDataCategoryController.getServiceCatalogItems":{urlPath:e+"/connect/network-data-category/${networkDataCategoryId}/catalog-item",urlPathParamNames:["networkDataCategoryId"],method:"GET"},"NetworkDataCategoryController.getServiceCatalogItemsForCommunity":{urlPath:e+"/connect/communities/${communityId}/network-data-category/${networkDataCategoryId}/catalog-item",urlPathParamNames:["communityId","networkDataCategoryId"],method:"GET"},"ExperienceModelTypeSystemController.getBlockTypes":{urlPath:e+"/connect/experience-model/block-types",urlPathParamNames:[],method:"GET"},"ExperienceModelTypeSystemController.getBlockType":{urlPath:e+"/connect/experience-model/block-types/${fullyQualifiedName}",urlPathParamNames:["fullyQualifiedName"],method:"GET"},"ExperienceModelTypeSystemController.getContentTypes":{urlPath:e+"/connect/experience-model/content-types",urlPathParamNames:[],method:"GET"},"ExperienceModelTypeSystemController.getContentTypesByContextRecordId":{urlPath:e+"/connect/experience-model/content-types",urlPathParamNames:[],method:"GET"},"ExperienceModelTypeSystemController.getContentType":{urlPath:e+"/connect/experience-model/content-types/${fullyQualifiedName}",urlPathParamNames:["fullyQualifiedName"],method:"GET"},"ExperienceModelTypeSystemController.getPropertyTypes":{urlPath:e+"/connect/experience-model/property-types",urlPathParamNames:[],method:"GET"},"ExperienceModelTypeSystemController.getPropertyType":{urlPath:e+"/connect/experience-model/property-types/${fullyQualifiedName}",urlPathParamNames:["fullyQualifiedName"],method:"GET"},"LightningTypesFamilyController.getTypes":{urlPath:e+"/connect/lightning-model/types",urlPathParamNames:[],inputRepresentation:"lightningModelTypes",method:"POST"},"ManagedContentController.getMCSFolderShares":{urlPath:e+"/connect/cms/folders/${folderId}/shares",urlPathParamNames:["folderId"],method:"GET"},"ManagedContentController.patchMCSFolderShares":{urlPath:e+"/connect/cms/folders/${folderId}/shares",urlPathParamNames:["folderId"],inputRepresentation:"mCSFolderShareCollectionUpdateInput",method:"PATCH"},"ManagedContentController.getMCSFolderShareTargets":{urlPath:e+"/connect/cms/folders/${folderId}/share-targets",urlPathParamNames:["folderId"],method:"GET"},"ManagedContentController.cancelOrchestrationInstance":{urlPath:e+"/connect/cms/contents/orchestration-instances/${mContentOrchInstanceId}",urlPathParamNames:["mContentOrchInstanceId"],method:"DELETE"},"ManagedContentController.cloneManagedContents":{urlPath:e+"/connect/cms/contents/clone",urlPathParamNames:[],inputRepresentation:"ManagedContentCloneInputParam",method:"POST"},"ManagedContentController.getCollectionItems":{urlPath:e+"/connect/cms/collections/${collectionKeyOrId}",urlPathParamNames:["collectionKeyOrId"],method:"GET"},"ManagedContentController.getManagedContentByTopicsAndContentKeys":{urlPath:e+"/connect/communities/${communityId}/managed-content/delivery",urlPathParamNames:["communityId"],method:"GET"},"ManagedContentController.getPublishedManagedContentListByContentKey":{urlPath:e+"/connect/communities/${communityId}/managed-content/delivery/contents",urlPathParamNames:["communityId"],method:"GET"},"ManagedContentController.getDeployments":{urlPath:e+"/cms/deployments",urlPathParamNames:[],method:"GET"},"ManagedContentController.createDeployment":{urlPath:e+"/cms/deployments",urlPathParamNames:[],inputRepresentation:"DeploymentInput",method:"POST"},"ManagedContentController.cloneManagedContentDocument":{urlPath:e+"/connect/cms/contents/${contentKeyOrId}/clone",urlPathParamNames:["contentKeyOrId"],inputRepresentation:"ManagedContentCloneInputParam",method:"POST"},"ManagedContentController.createManagedContent":{urlPath:e+"/connect/cms/contents",urlPathParamNames:[],inputRepresentation:"ManagedContentInputParam",method:"POST"},"ManagedContentController.createManagedContentWithMedia":{urlPath:e+"/connect/cms/contents",urlPathParamNames:[],inputRepresentation:"ManagedContentInputParam",method:"POST"},"ManagedContentController.getManagedContent":{urlPath:e+"/connect/cms/contents/${contentKeyOrId}",urlPathParamNames:["contentKeyOrId"],method:"GET"},"ManagedContentController.getManagedContentForSite":{urlPath:e+"/connect/sites/${siteId}/cms/contents/${contentKeyOrId}",urlPathParamNames:["contentKeyOrId","siteId"],method:"GET"},"ManagedContentController.createManagedContentExportV2Job":{urlPath:e+"/connect/cms/spaces/${contentSpaceId}/contents/export",urlPathParamNames:["contentSpaceId"],inputRepresentation:"managedContentV2JobRequest",method:"POST"},"ManagedContentController.createManagedContentImportV2Job":{urlPath:e+"/connect/cms/spaces/${contentSpaceId}/contents/import",urlPathParamNames:["contentSpaceId"],inputRepresentation:"managedContentV2JobRequest",method:"POST"},"ManagedContentController.getCMSJobForSpace":{urlPath:e+"/cms/spaces/${contentSpaceId}/jobs/${jobId}",urlPathParamNames:["contentSpaceId","jobId"],method:"GET"},"ManagedContentController.getAllCMSJobsForSpace":{urlPath:e+"/cms/spaces/${contentSpaceId}/jobs",urlPathParamNames:["contentSpaceId"],method:"GET"},"ManagedContentController.createManagedContentTranslationVariants":{urlPath:e+"/connect/cms/contents/${contentKeyOrId}/translate",urlPathParamNames:["contentKeyOrId"],inputRepresentation:"languages",method:"POST"},"ManagedContentController.getManagedContentOrchestrationDefinitions":{urlPath:e+"/connect/cms/contents/orchestration-definitions",urlPathParamNames:[],method:"GET"},"ManagedContentController.getManagedContentOrchestrationInstances":{urlPath:e+"/connect/cms/contents/orchestration-instances",urlPathParamNames:[],method:"GET"},"ManagedContentController.createManagedContentOrchestrationInstance":{urlPath:e+"/connect/cms/contents/orchestration-instances",urlPathParamNames:[],inputRepresentation:"mContentOrchInstanceInput",method:"POST"},"ManagedContentController.getManagedContentPreviews":{urlPath:e+"/cms/spaces/${contentSpaceId}/preview-endpoints",urlPathParamNames:["contentSpaceId"],method:"GET"},"ManagedContentController.getManagedContentProviders":{urlPath:e+"/connect/cms/content/providers",urlPathParamNames:[],method:"GET"},"ManagedContentController.publishDiagnostic":{urlPath:e+"/connect/cms/contents/publish/diagnostic",urlPathParamNames:[],inputRepresentation:"publishDiagnosticInput",method:"POST"},"ManagedContentController.publish":{urlPath:e+"/connect/cms/contents/publish",urlPathParamNames:[],inputRepresentation:"publishInput",method:"POST"},"ManagedContentController.getManagedContentReferencedBy":{urlPath:e+"/connect/cms/contents/${contentKeyOrId}/referenced-by",urlPathParamNames:["contentKeyOrId"],method:"GET"},"ManagedContentController.getManagedContentVariantRendition":{urlPath:e+"/connect/cms/contents/${contentKeyOrId}/renditions/${renditionType}",urlPathParamNames:["contentKeyOrId","renditionType"],method:"GET"},"ManagedContentController.getManagedContentRunningOrchestrationHistoryEvents":{urlPath:e+"/connect/cms/contents/orchestration-history-events",urlPathParamNames:[],method:"GET"},"ManagedContentController.updateDeployment":{urlPath:e+"/connect/cms/schedules/${deploymentId}",urlPathParamNames:["deploymentId"],method:"PATCH"},"ManagedContentController.createSchedule":{urlPath:e+"/connect/cms/schedules",urlPathParamNames:[],inputRepresentation:"ScheduleInput",method:"POST"},"ManagedContentController.searchManagedContentForItems":{urlPath:e+"/connect/cms/items/search",urlPathParamNames:[],method:"GET"},"ManagedContentController.getManagedContentSingleItem":{urlPath:e+"/connect/cms/spaces/${contentSpaceId}/single-item-content/${contentTypeFQN}",urlPathParamNames:["contentSpaceId","contentTypeFQN"],method:"GET"},"ManagedContentController.getManagedContentSpaces":{urlPath:e+"/connect/cms/spaces",urlPathParamNames:[],method:"GET"},"ManagedContentController.postManagedContentSpaceFolder":{urlPath:e+"/connect/cms/folders",urlPathParamNames:[],inputRepresentation:"managedContentSpaceFolderInput",method:"POST"},"ManagedContentController.getManagedContentSpaceFolderItems":{urlPath:e+"/connect/cms/folders/${folderId}/items",urlPathParamNames:["folderId"],method:"GET"},"ManagedContentController.getManagedContentSpaceFolderItemsV1":{urlPath:e+"/cms/folders/${folderId}/items",urlPathParamNames:["folderId"],method:"GET"},"ManagedContentController.getManagedContentSpaceFolder":{urlPath:e+"/connect/cms/folders/${folderId}",urlPathParamNames:["folderId"],method:"GET"},"ManagedContentController.getManagedContentSpaceOrchestratorConfig":{urlPath:e+"/connect/cms/spaces/${contentSpaceId}/orchestrator-config",urlPathParamNames:["contentSpaceId"],method:"GET"},"ManagedContentController.putManagedContentSpaceOrchestratorConfig":{urlPath:e+"/connect/cms/spaces/${contentSpaceId}/orchestrator-config",urlPathParamNames:["contentSpaceId"],inputRepresentation:"mContentOrchConfigInput",method:"PUT"},"ManagedContentController.deleteManagedContentSpace":{urlPath:e+"/connect/cms/spaces/${contentSpaceId}",urlPathParamNames:["contentSpaceId"],method:"DELETE"},"ManagedContentController.getManagedContentSpace":{urlPath:e+"/connect/cms/spaces/${contentSpaceId}",urlPathParamNames:["contentSpaceId"],method:"GET"},"ManagedContentController.patchManagedContentSpace":{urlPath:e+"/connect/cms/spaces/${contentSpaceId}",urlPathParamNames:["contentSpaceId"],inputRepresentation:"ManagedContentSpaceInput",method:"PATCH"},"ManagedContentController.getTaxonomyTerms":{urlPath:e+"/connect/cms/contents/${contentKeyOrId}/taxonomy-terms",urlPathParamNames:["contentKeyOrId"],method:"GET"},"ManagedContentController.updateTaxonomyTerms":{urlPath:e+"/connect/cms/contents/${contentKeyOrId}/taxonomy-terms",urlPathParamNames:["contentKeyOrId"],inputRepresentation:"taxonomyTerms",method:"PATCH"},"ManagedContentController.createTranslationJob":{urlPath:e+"/connect/managed-content/translation",urlPathParamNames:[],inputRepresentation:"translationRequest",method:"POST"},"ManagedContentController.createTranslationV2Job":{urlPath:e+"/connect/cms/content/spaces/${contentSpaceId}/translation",urlPathParamNames:["contentSpaceId"],inputRepresentation:"translationV2Request",method:"POST"},"ManagedContentController.getManagedContentTypesForMixin":{urlPath:e+"/connect/cms/spaces/${contentSpaceId}/content-types",urlPathParamNames:["contentSpaceId"],method:"GET"},"ManagedContentController.unpublish":{urlPath:e+"/connect/cms/contents/unpublish",urlPathParamNames:[],inputRepresentation:"unpublishInput",method:"POST"},"ManagedContentController.createManagedContentVariant":{urlPath:e+"/connect/cms/contents/variants",urlPathParamNames:[],inputRepresentation:"ManagedContentVariantInputParam",method:"POST"},"ManagedContentController.getVariantReferences":{urlPath:e+"/connect/cms/contents/${contentKeyOrId}/variants/references",urlPathParamNames:["contentKeyOrId"],method:"GET"},"ManagedContentController.deleteManagedContentVariant":{urlPath:e+"/connect/cms/contents/variants/${variantId}",urlPathParamNames:["variantId"],method:"DELETE"},"ManagedContentController.getManagedContentVariant":{urlPath:e+"/connect/cms/contents/variants/${variantId}",urlPathParamNames:["variantId"],method:"GET"},"ManagedContentController.replaceManagedContentVariant":{urlPath:e+"/connect/cms/contents/variants/${variantId}",urlPathParamNames:["variantId"],inputRepresentation:"ManagedContentVariantInputParam",method:"PUT"},"ManagedContentController.replaceManagedContentVariantWithMedia":{urlPath:e+"/connect/cms/contents/variants/${variantId}",urlPathParamNames:["variantId"],inputRepresentation:"ManagedContentVariantInputParam",method:"PUT"},"ManagedContentController.getManagedContentVariantVersions":{urlPath:e+"/connect/cms/contents/variants/${variantId}/versions",urlPathParamNames:["variantId"],method:"GET"},"ManagedContentController.getWebUrls":{urlPath:e+"/connect/cms/contents/${contentKeyOrId}/web-urls",urlPathParamNames:["contentKeyOrId"],method:"GET"},"ManagedContentController.updateManagedContentWebUrl":{urlPath:e+"/connect/cms/contents/web-urls/${managedContentWebUrlId}",urlPathParamNames:["managedContentWebUrlId"],inputRepresentation:"managedContentWebUrlInput",method:"PATCH"},"ManagedContentChannelController.getManagedContentChannels":{urlPath:e+"/connect/cms/channels",urlPathParamNames:[],method:"GET"},"ManagedContentChannelController.postManagedContentChannel":{urlPath:e+"/connect/cms/channels",urlPathParamNames:[],inputRepresentation:"ManagedContentChannelInput",method:"POST"},"ManagedContentChannelController.deleteManagedContentChannel":{urlPath:e+"/connect/cms/channels/${channelId}",urlPathParamNames:["channelId"],method:"DELETE"},"ManagedContentChannelController.getManagedContentChannel":{urlPath:e+"/connect/cms/channels/${channelId}",urlPathParamNames:["channelId"],method:"GET"},"ManagedContentChannelController.patchManagedContentChannel":{urlPath:e+"/connect/cms/channels/${channelId}",urlPathParamNames:["channelId"],inputRepresentation:"ManagedContentChannelInput",method:"PATCH"},"ManagedContentDeliveryController.getCollectionItemsForChannel":{urlPath:e+"/connect/cms/delivery/channels/${channelId}/collections/${collectionKeyOrId}",urlPathParamNames:["channelId","collectionKeyOrId"],method:"GET"},"ManagedContentDeliveryController.getCollectionItemsForSite":{urlPath:e+"/connect/sites/${siteId}/cms/delivery/collections/${collectionKeyOrId}",urlPathParamNames:["collectionKeyOrId","siteId"],method:"GET"},"ManagedContentDeliveryController.getCollectionMetadata":{urlPath:e+"/connect/cms/collections/${collectionKeyOrId}/metadata",urlPathParamNames:["collectionKeyOrId"],method:"GET"},"ManagedContentDeliveryController.getCollectionMetadataForChannel":{urlPath:e+"/connect/cms/delivery/channels/${channelId}/collections/${collectionKeyOrId}/metadata",urlPathParamNames:["channelId","collectionKeyOrId"],method:"GET"},"ManagedContentDeliveryController.getCollectionMetadataForSite":{urlPath:e+"/connect/sites/${siteId}/cms/delivery/collections/${collectionKeyOrId}/metadata",urlPathParamNames:["collectionKeyOrId","siteId"],method:"GET"},"ManagedContentSpaceController.getManagedContentSpaceChannels":{urlPath:e+"/connect/cms/spaces/${contentSpaceId}/channels",urlPathParamNames:["contentSpaceId"],method:"GET"},"ManagedContentSpaceController.patchManagedContentSpaceChannels":{urlPath:e+"/connect/cms/spaces/${contentSpaceId}/channels",urlPathParamNames:["contentSpaceId"],inputRepresentation:"spaceChannels",method:"PATCH"},"ManagedContentSpaceController.deleteDummySpace":{urlPath:e+"/connect/cms/spaces/dummy/",urlPathParamNames:[],method:"DELETE"},"ManagedContentTypeController.getContentTypeSchema":{urlPath:e+"/connect/cms/content-types/${contentTypeFQN}",urlPathParamNames:["contentTypeFQN"],method:"GET"},"SitesController.searchSite":{urlPath:e+"/connect/sites/${siteId}/search",urlPathParamNames:["siteId"],method:"GET"},"ActionsController.getFlexipageFormulaOverrides":{urlPath:e+"/ui-api/actions/formula-activation/${actionFeature}",urlPathParamNames:["actionFeature"],method:"GET"},"ActionsController.getGlobalActions":{urlPath:e+"/ui-api/actions/global",urlPathParamNames:[],method:"GET"},"ActionsController.getActionLayout":{urlPath:e+"/ui-api/actions/layout/${actionApiName}",urlPathParamNames:["actionApiName"],method:"GET"},"ActionsController.getListViewActions":{urlPath:e+"/ui-api/actions/list-view/${listViewIds}",urlPathParamNames:["listViewIds"],method:"GET"},"ActionsController.getLookupActions":{urlPath:e+"/ui-api/actions/lookup/${objectApiNames}",urlPathParamNames:["objectApiNames"],method:"GET"},"ActionsController.getMRUListActions":{urlPath:e+"/ui-api/actions/mru-list/${objectApiNames}",urlPathParamNames:["objectApiNames"],method:"GET"},"ActionsController.getObjectCreateActions":{urlPath:e+"/ui-api/actions/object/${objectApiName}/record-create",urlPathParamNames:["objectApiName"],method:"GET"},"ActionsController.getActionOverrides":{urlPath:e+"/ui-api/actions/overrides/${objectApiName}",urlPathParamNames:["objectApiName"],method:"GET"},"ActionsController.performUpdateRecordQuickAction":{urlPath:e+"/ui-api/actions/perform-quick-action/${actionApiName}",urlPathParamNames:["actionApiName"],inputRepresentation:"performQuickActionInput",method:"PATCH"},"ActionsController.performQuickAction":{urlPath:e+"/ui-api/actions/perform-quick-action/${actionApiName}",urlPathParamNames:["actionApiName"],inputRepresentation:"performQuickActionInput",method:"POST"},"ActionsController.getQuickActionDefaults":{urlPath:e+"/ui-api/actions/record-defaults/${actionApiName}",urlPathParamNames:["actionApiName"],method:"GET"},"ActionsController.getQuickActionInfo":{urlPath:e+"/ui-api/actions/quick-action-info/${actionApiName}",urlPathParamNames:["actionApiName"],method:"GET"},"ActionsController.getRecordEditActions":{urlPath:e+"/ui-api/actions/record/${recordIds}/record-edit",urlPathParamNames:["recordIds"],method:"GET"},"ActionsController.getRecordActions":{urlPath:e+"/ui-api/actions/record/${recordIds}",urlPathParamNames:["recordIds"],method:"GET"},"ActionsController.getRelatedListsActions":{urlPath:e+"/ui-api/actions/record/${recordIds}/related-list/batch/${relatedListIds}",urlPathParamNames:["recordIds","relatedListIds"],method:"GET"},"ActionsController.postRelatedListsActions":{urlPath:e+"/ui-api/actions/record/${recordIds}/related-list/batch",urlPathParamNames:["recordIds"],inputRepresentation:"listRecordActionsQuery",method:"POST"},"ActionsController.getRelatedListRecordActions":{urlPath:e+"/ui-api/actions/record/${recordIds}/related-list-record/${relatedListRecordIds}",urlPathParamNames:["recordIds","relatedListRecordIds"],method:"GET"},"ActionsController.getRelatedListActions":{urlPath:e+"/ui-api/actions/record/${recordIds}/related-list/${relatedListId}",urlPathParamNames:["recordIds","relatedListId"],method:"GET"},"ActionsController.postRelatedListActions":{urlPath:e+"/ui-api/actions/record/${recordIds}/related-list/${relatedListId}",urlPathParamNames:["recordIds","relatedListId"],inputRepresentation:"listRecordActionsQuery",method:"POST"},"AppsController.getAppByID":{urlPath:e+"/ui-api/apps/${appId}",urlPathParamNames:["appId"],method:"GET"},"AppsController.getAccessibleApps":{urlPath:e+"/ui-api/apps",urlPathParamNames:[],method:"GET"},"AppsController.getNavItems":{urlPath:e+"/ui-api/nav-items",urlPathParamNames:[],method:"GET"},"ListUiController.getListsByObjectName":{urlPath:e+"/ui-api/list-ui/${objectApiName}",urlPathParamNames:["objectApiName"],method:"GET"},"ListUiController.getListInfosById":{urlPath:e+"/ui-api/list-info/batch",urlPathParamNames:[],method:"GET"},"ListUiController.getListInfosByName":{urlPath:e+"/ui-api/list-info/batch",urlPathParamNames:[],method:"GET"},"ListUiController.getListInfosByObjectName":{urlPath:e+"/ui-api/list-info/${objectApiName}",urlPathParamNames:["objectApiName"],method:"GET"},"ListUiController.createListInfo":{urlPath:e+"/ui-api/list-info/${objectApiName}",urlPathParamNames:["objectApiName"],inputRepresentation:"listInfoInput",method:"POST"},"ListUiController.deleteListInfo":{urlPath:e+"/ui-api/list-info/${objectApiName}/${listViewApiName}",urlPathParamNames:["listViewApiName","objectApiName"],method:"DELETE"},"ListUiController.getListInfoById":{urlPath:e+"/ui-api/list-info/${listViewId}",urlPathParamNames:["listViewId"],method:"GET"},"ListUiController.getListInfoByName":{urlPath:e+"/ui-api/list-info/${objectApiName}/${listViewApiName}",urlPathParamNames:["listViewApiName","objectApiName"],method:"GET"},"ListUiController.updateListInfoByApiName":{urlPath:e+"/ui-api/list-info/${objectApiName}/${listViewApiName}",urlPathParamNames:["listViewApiName","objectApiName"],inputRepresentation:"listInfoInput",method:"PATCH"},"ListUiController.getListObjectInfo":{urlPath:e+"/ui-api/list-object-info/${objectApiName}",urlPathParamNames:["objectApiName"],method:"GET"},"ListUiController.getListPreferences":{urlPath:e+"/ui-api/list-preferences/${objectApiName}/${listViewApiName}",urlPathParamNames:["listViewApiName","objectApiName"],method:"GET"},"ListUiController.updateListPreferences":{urlPath:e+"/ui-api/list-preferences/${objectApiName}/${listViewApiName}",urlPathParamNames:["listViewApiName","objectApiName"],inputRepresentation:"listPreferencesInput",method:"PATCH"},"ListUiController.getListRecordsById":{urlPath:e+"/ui-api/list-records/${listViewId}",urlPathParamNames:["listViewId"],method:"GET"},"ListUiController.getListRecordsByName":{urlPath:e+"/ui-api/list-records/${objectApiName}/${listViewApiName}",urlPathParamNames:["listViewApiName","objectApiName"],method:"GET"},"ListUiController.postListRecordsByName":{urlPath:e+"/ui-api/list-records/${objectApiName}/${listViewApiName}",urlPathParamNames:["listViewApiName","objectApiName"],inputRepresentation:"listRecordsQuery",method:"POST"},"ListUiController.getListUiById":{urlPath:e+"/ui-api/list-ui/${listViewId}",urlPathParamNames:["listViewId"],method:"GET"},"ListUiController.getListUiByName":{urlPath:e+"/ui-api/list-ui/${objectApiName}/${listViewApiName}",urlPathParamNames:["listViewApiName","objectApiName"],method:"GET"},"MruListUiController.getMruListInfo":{urlPath:e+"/ui-api/mru-list-info/${objectApiName}",urlPathParamNames:["objectApiName"],method:"GET"},"MruListUiController.getMruListRecords":{urlPath:e+"/ui-api/mru-list-records/${objectApiName}",urlPathParamNames:["objectApiName"],method:"GET"},"MruListUiController.getMruListUi":{urlPath:e+"/ui-api/mru-list-ui/${objectApiName}",urlPathParamNames:["objectApiName"],method:"GET"},"RecordUiController.getAggregateUi":{urlPath:e+"/ui-api/aggregate-ui",urlPathParamNames:[],method:"GET"},"RecordUiController.executeAggregateUi":{urlPath:e+"/ui-api/aggregate-ui",urlPathParamNames:[],inputRepresentation:"input",method:"POST"},"RecordUiController.getRecordsWithFields":{urlPath:e+"/ui-api/records/batch/${recordIds}",urlPathParamNames:["recordIds"],method:"GET"},"RecordUiController.getRecordsWithLayouts":{urlPath:e+"/ui-api/records/batch/${recordIds}",urlPathParamNames:["recordIds"],method:"GET"},"RecordUiController.executeBatchRecordOperations":{urlPath:e+"/ui-api/records/batch",urlPathParamNames:[],inputRepresentation:"recordInput",method:"POST"},"RecordUiController.getDedupeConfig":{urlPath:e+"/ui-api/duplicates/${objectApiName}",urlPathParamNames:["objectApiName"],method:"GET"},"RecordUiController.getDuplicateConfig":{urlPath:e+"/ui-api/duplicates/${objectApiName}",urlPathParamNames:["objectApiName"],method:"GET"},"RecordUiController.getFormByName":{urlPath:e+"/ui-api/forms/${apiName}",urlPathParamNames:["apiName"],method:"GET"},"RecordUiController.executeBatchGraphQL":{urlPath:e+"/graphql/batch",urlPathParamNames:[],inputRepresentation:"batchQueryInput",method:"POST"},"RecordUiController.executeGraphQL":{urlPath:e+"/graphql",urlPathParamNames:[],inputRepresentation:"queryInput",method:"POST"},"RecordUiController.getLayout":{urlPath:e+"/ui-api/layout/${objectApiName}",urlPathParamNames:["objectApiName"],method:"GET"},"RecordUiController.getLayoutUserState":{urlPath:e+"/ui-api/layout/${objectApiName}/user-state",urlPathParamNames:["objectApiName"],method:"GET"},"RecordUiController.updateLayoutUserState":{urlPath:e+"/ui-api/layout/${objectApiName}/user-state",urlPathParamNames:["objectApiName"],inputRepresentation:"userState",method:"PATCH"},"RecordUiController.getObjectInfos":{urlPath:e+"/ui-api/object-info/batch/${objectApiNames}",urlPathParamNames:["objectApiNames"],method:"GET"},"RecordUiController.getObjectInfo":{urlPath:e+"/ui-api/object-info/${objectApiName}",urlPathParamNames:["objectApiName"],method:"GET"},"RecordUiController.getPathLayout":{urlPath:e+"/ui-api/path/layout/${objectApiName}",urlPathParamNames:["objectApiName"],method:"GET"},"RecordUiController.getPicklistValuesByRecordType":{urlPath:e+"/ui-api/object-info/${objectApiName}/picklist-values/${recordTypeId}",urlPathParamNames:["objectApiName","recordTypeId"],method:"GET"},"RecordUiController.getPicklistValues":{urlPath:e+"/ui-api/object-info/${objectApiName}/picklist-values/${recordTypeId}/${fieldApiName}",urlPathParamNames:["fieldApiName","objectApiName","recordTypeId"],method:"GET"},"RecordUiController.findDuplicates":{urlPath:e+"/ui-api/predupe",urlPathParamNames:[],inputRepresentation:"recordInput",method:"POST"},"RecordUiController.postRecordAvatarAssociation":{urlPath:e+"/ui-api/record-avatars/${recordId}/association",urlPathParamNames:["recordId"],inputRepresentation:"input",method:"POST"},"RecordUiController.getRecordAvatars":{urlPath:e+"/ui-api/record-avatars/batch/${recordIds}",urlPathParamNames:["recordIds"],method:"GET"},"RecordUiController.getRecordCloneDefaults":{urlPath:e+"/ui-api/record-defaults/clone/${recordId}",urlPathParamNames:["recordId"],method:"GET"},"RecordUiController.getRecordCreateDefaults":{urlPath:e+"/ui-api/record-defaults/create/${objectApiName}",urlPathParamNames:["objectApiName"],method:"GET"},"RecordUiController.createRecord":{urlPath:e+"/ui-api/records",urlPathParamNames:[],inputRepresentation:"recordInput",method:"POST"},"RecordUiController.deleteRecord":{urlPath:e+"/ui-api/records/${recordId}",urlPathParamNames:["recordId"],method:"DELETE"},"RecordUiController.getRecordWithFields":{urlPath:e+"/ui-api/records/${recordId}",urlPathParamNames:["recordId"],method:"GET"},"RecordUiController.getRecordWithLayouts":{urlPath:e+"/ui-api/records/${recordId}",urlPathParamNames:["recordId"],method:"GET"},"RecordUiController.updateRecord":{urlPath:e+"/ui-api/records/${recordId}",urlPathParamNames:["recordId"],inputRepresentation:"recordInput",method:"PATCH"},"RecordUiController.getRecordDefaultsTemplateClone":{urlPath:e+"/ui-api/record-defaults/template/clone/${recordId}",urlPathParamNames:["recordId"],method:"GET"},"RecordUiController.getRecordDefaultsTemplateForCreate":{urlPath:e+"/ui-api/record-defaults/template/create/${objectApiName}",urlPathParamNames:["objectApiName"],method:"GET"},"RecordUiController.getRecordUis":{urlPath:e+"/ui-api/record-ui/${recordIds}",urlPathParamNames:["recordIds"],method:"GET"},"RecordUiController.getValidationRulesInfo":{urlPath:e+"/ui-api/object-info/${objectApiName}/validation-rules-info",urlPathParamNames:["objectApiName"],method:"GET"},"RelatedListUiController.getRelatedListInfoBatch":{urlPath:e+"/ui-api/related-list-info/batch/${parentObjectApiName}/${relatedListNames}",urlPathParamNames:["parentObjectApiName","relatedListNames"],method:"GET"},"RelatedListUiController.getRelatedListInfoCollection":{urlPath:e+"/ui-api/related-list-info/${parentObjectApiName}",urlPathParamNames:["parentObjectApiName"],method:"GET"},"RelatedListUiController.getRelatedListInfo":{urlPath:e+"/ui-api/related-list-info/${parentRecordId}/${relatedListId}",urlPathParamNames:["parentRecordId","relatedListId"],method:"GET"},"RelatedListUiController.getRelatedListInfoByApiName":{urlPath:e+"/ui-api/related-list-info/${parentObjectApiName}/${relatedListId}",urlPathParamNames:["parentObjectApiName","relatedListId"],method:"GET"},"RelatedListUiController.updateRelatedListInfoByApiName":{urlPath:e+"/ui-api/related-list-info/${parentObjectApiName}/${relatedListId}",urlPathParamNames:["parentObjectApiName","relatedListId"],inputRepresentation:"relatedListInfoInput",method:"PATCH"},"RelatedListUiController.getRelatedListPreferencesBatch":{urlPath:e+"/ui-api/related-list-preferences/batch/${preferencesIds}",urlPathParamNames:["preferencesIds"],method:"GET"},"RelatedListUiController.getRelatedListPreferences":{urlPath:e+"/ui-api/related-list-preferences/${preferencesId}",urlPathParamNames:["preferencesId"],method:"GET"},"RelatedListUiController.updateRelatedListPreferences":{urlPath:e+"/ui-api/related-list-preferences/${preferencesId}",urlPathParamNames:["preferencesId"],inputRepresentation:"relatedListUserPreferencesInput",method:"PATCH"},"RelatedListUiController.getRelatedListsRecordCount":{urlPath:e+"/ui-api/related-list-count/batch/${parentRecordId}/${relatedListNames}",urlPathParamNames:["parentRecordId","relatedListNames"],method:"GET"},"RelatedListUiController.getRelatedListRecordCount":{urlPath:e+"/ui-api/related-list-count/${parentRecordId}/${relatedListId}",urlPathParamNames:["parentRecordId","relatedListId"],method:"GET"},"RelatedListUiController.getRelatedListRecordsBatch":{urlPath:e+"/ui-api/related-list-records/batch/${parentRecordId}/${relatedListIds}",urlPathParamNames:["parentRecordId","relatedListIds"],method:"GET"},"RelatedListUiController.postRelatedListRecordsBatch":{urlPath:e+"/ui-api/related-list-records/batch/${parentRecordId}",urlPathParamNames:["parentRecordId"],inputRepresentation:"listRecordsQuery",method:"POST"},"RelatedListUiController.getRelatedListRecords":{urlPath:e+"/ui-api/related-list-records/${parentRecordId}/${relatedListId}",urlPathParamNames:["parentRecordId","relatedListId"],method:"GET"},"RelatedListUiController.postRelatedListRecords":{urlPath:e+"/ui-api/related-list-records/${parentRecordId}/${relatedListId}",urlPathParamNames:["parentRecordId","relatedListId"],inputRepresentation:"listRecordsQuery",method:"POST"},"SearchUiController.searchResultsKeyword":{urlPath:e+"/ui-api/search/results/keyword",urlPathParamNames:[],inputRepresentation:"options",method:"POST"},"SearchUiController.getSearchFilterMetadata":{urlPath:e+"/ui-api/search-info/${objectApiName}/filters",urlPathParamNames:["objectApiName"],method:"GET"},"SearchUiController.getFilterOptions":{urlPath:e+"/ui-api/search-info/${objectApiName}/filters/${filterApiName}/options",urlPathParamNames:["filterApiName","objectApiName"],method:"GET"},"SearchUiController.searchResults":{urlPath:e+"/ui-api/search/results",urlPathParamNames:[],inputRepresentation:"options",method:"POST"},"LookupController.getLookupMetadata":{urlPath:e+"/ui-api/search-info/${objectApiName}/lookup/${fieldApiName}",urlPathParamNames:["fieldApiName","objectApiName"],method:"GET"},"LookupController.getLookupRecords":{urlPath:e+"/ui-api/lookups/${objectApiName}/${fieldApiName}",urlPathParamNames:["fieldApiName","objectApiName"],method:"GET"},"LookupController.lookup":{urlPath:e+"/ui-api/lookups/${objectApiName}/${fieldApiName}",urlPathParamNames:["fieldApiName","objectApiName"],inputRepresentation:"body",method:"POST"},"ServicePlanController.executeServicePlan":{urlPath:e+"/service-plan/execute/${generatedPlanId}",urlPathParamNames:["generatedPlanId"],inputRepresentation:"servicePlanInputRepresentation",method:"PUT"},"ServicePlanController.generateSync":{urlPath:e+"/service-plan/generateSync/${recordId}",urlPathParamNames:["recordId"],inputRepresentation:"ServicePlanPostInput",method:"POST"},"TableauEmbeddingController.postJWT":{urlPath:e+"/tableau/jwt",urlPathParamNames:[],method:"POST",inputRepresentation:"tableauJwtArgs"},"TableauEmbeddingController.getJWT":{urlPath:e+"/tableau/jwt",urlPathParamNames:[],method:"GET"},"TableauEmbeddingController.getEAS":{urlPath:e+"/tableau/eas",urlPathParamNames:[],method:"GET"},"AnalyticsController.getVisualizationBundle":{urlPath:e+"/tableau/visualizations/${visualizationIdOrApiName}/bundle",urlPathParamNames:["visualizationIdOrApiName"],method:"GET"},"SemanticEngineController.executeSemanticQuery":{urlPath:e+"/semantic-engine/gateway",urlPathParamNames:[],method:"POST",inputRepresentation:"semanticQueryRequest"},"MilestonesController.getBusinessHours":{urlPath:e+"/connect/milestones/business-hours",urlPathParamNames:[],method:"GET"},"MilestonesController.markMilestoneCompleted":{urlPath:e+"/connect/milestones/business-hours/milestone-completed",urlPathParamNames:[],method:"PUT"},"MilestonesController.getMilestonesDataManager":{urlPath:e+"/connect/milestones/milestones-data-manager/${recordId}",urlPathParamNames:["recordId"],method:"GET"},"ICpqConnectFeatureController.productDetails":{urlPath:e+"/connect/cpq/products/${productId}",urlPathParamNames:["productId"],method:"POST",inputRepresentation:"requestBody"},"ICpqConnectFeatureController.configure":{urlPath:e+"/connect/cpq/configurator/actions/configure",urlPathParamNames:[],method:"POST",inputRepresentation:"configuratorInput"},"ICpqConnectFeatureController.searchProductList":{urlPath:e+"/connect/cpq/products/search",urlPathParamNames:[],method:"POST",inputRepresentation:"requestBody"},"IArcResourceFamilyController.amend":{urlPath:e+"/connect/revenue-management/assets/actions/amend",urlPathParamNames:[],method:"POST",inputRepresentation:"amendRequest"},"IArcResourceFamilyController.renew":{urlPath:e+"/connect/revenue-management/assets/actions/renew",urlPathParamNames:[],method:"POST",inputRepresentation:"amendRequest"},"IArcResourceFamilyController.cancel":{urlPath:e+"/connect/revenue-management/assets/actions/cancel",urlPathParamNames:[],method:"POST",inputRepresentation:"amendRequest"},"InstantPricingConnectFeatureController.getInstantPricing":{urlPath:e+"/industries/cpq/quotes/actions/get-instant-price",urlPathParamNames:[],method:"POST",inputRepresentation:"getInstantPricingRequestPayload"},"SalesTransactionContextController.placeSalesTransaction":{urlPath:e+"/connect/rev/sales-transaction/actions/place",urlPathParamNames:[],method:"POST",inputRepresentation:"PlaceSalesTransactionInput"},"PlaceQuoteController.placeQuote":{urlPath:e+"/commerce/quotes/actions/place",urlPathParamNames:[],method:"POST",inputRepresentation:"PlaceQuoteInput"},"CommerceOrderController.placeOrder":{urlPath:e+"/commerce/sales-orders/actions/place",urlPathParamNames:[],method:"POST",inputRepresentation:"inputRequest"},"SalesAgreementProductController.updateSalesAgreement":{urlPath:e+"/connect/sales-agreements/${salesAgreementId}/product",urlPathParamNames:["salesAgreementId"],method:"PUT",inputRepresentation:"salesAgreementDetailInput"},"ConfiguratorResourceFamilyController.getProductFlowByProductId":{urlPath:e+"/connect/pcm/products/${productId}/flow",urlPathParamNames:["productId"],method:"GET"},"ICpqConnectFeatureController.bulkProductDetails":{urlPath:e+"/connect/cpq/products/bulk",urlPathParamNames:[],method:"POST",inputRepresentation:"requestBody"},"ICpqConnectFeatureController.productList":{urlPath:e+"/connect/cpq/products",urlPathParamNames:[],method:"POST",inputRepresentation:"requestBody"},"ICpqConnectFeatureController.guidedSelectionProductList":{urlPath:e+"/connect/cpq/products/guided-selection",urlPathParamNames:[],method:"POST",inputRepresentation:"requestBody"},"ICpqConnectFeatureController.categoryList":{urlPath:e+"/connect/cpq/categories",urlPathParamNames:[],method:"POST",inputRepresentation:"requestBody"},"OmniAnalyticsController.fetchOmniAnalyticsMetadata":{urlPath:e+"/connect/omni-analytics/analytics-metadata",urlPathParamNames:["externalTrackingDefName","fetchSettings","groupName","isActive"],method:"GET"},"OmniAnalyticsController.storeOmniAnalyticsLogs":{urlPath:e+"/connect/omni-analytics/analytics-logs",urlPathParamNames:[],method:"POST",inputRepresentation:"omniAnalyticsLogDefinition"},"IFlexRuntimeConnectController.executeDataSource":{urlPath:e+"/connect/flex-runtime/executeDataSource",urlPathParamNames:[],method:"GET"},"IFlexRuntimeConnectController.executeDataSourceContinuation":{urlPath:e+"/connect/flex-runtime/datasource-continuation",urlPathParamNames:[],method:"GET"},"IFlexRuntimeConnectController.executeDataSourceAsync":{urlPath:e+"/connect/flex-runtime/datasource-async",urlPathParamNames:[],method:"GET"},"IFlexRuntimeConnectController.isCommunity":{urlPath:e+"/connect/flex-runtime/isCommunity",urlPathParamNames:[],method:"GET"},"OmniStudioLoggerConnectController.logUsageEvents":{urlPath:e+"/connect/omnistudio/logger",urlPathParamNames:[],method:"POST",inputRepresentation:"omniStudioLogInputRepresentation"},"KnowledgeSummaryController.getKnowledgeSummary":{urlPath:e+"/connect/article/${recordId}/summary",urlPathParamNames:["recordId"],method:"GET"},"KnowledgeQuestionsGenController.getKnowledgeAnswer":{urlPath:e+"/connect/article/${recordId}/answer",urlPathParamNames:["recordId"],method:"POST",inputRepresentation:"knowledgeGetAnswerInput"},"KnowledgeQuestionsGenController.getKnowledgeQuestions":{urlPath:e+"/connect/article/${recordId}/questions",urlPathParamNames:["recordId"],method:"GET"},"KnowledgeQuestionsGenController.updateKnowledgeQuestion":{urlPath:e+"/connect/article/${recordId}/questions/${questionId}/selectioncount",urlPathParamNames:["recordId","questionId"],method:"PUT"},"ServiceAutomationFamilyController.getCatalogItem":{urlPath:e+"/connect/service-automation/catalog/catalog-item/${catalogItemId}",urlPathParamNames:["catalogItemId"],method:"GET"},"ServiceAutomationFamilyController.getCatalogItemForRuntime":{urlPath:e+"/connect/service-automation/catalog/catalog-item/${catalogItemId}",urlPathParamNames:["catalogItemId"],method:"GET"},"MobilePublisherContainerOneTimeLoginUrlFamilyController.getMobilePublisherContainerOneTimeLoginUrl":{urlPath:e+"/connect/mobilepublisher/container/oneTimeLoginUrl",urlPathParamNames:[],method:"GET"},"AppointmentBookingConnectController.getAvailableResources":{urlPath:e+"/connect/appointmentbooking/available-resources",urlPathParamNames:[],method:"POST"},"AppointmentBookingConnectController.getServiceTerritories":{urlPath:e+"/connect/appointmentbooking/service-territories",urlPathParamNames:[],method:"POST"},"AppointmentBookingConnectController.getEctDetails":{urlPath:e+"/connect/appointmentbooking/get-ect-details",urlPathParamNames:[],method:"POST"},"AppointmentBookingConnectController.getSuggestedResources":{urlPath:e+"/connect/appointmentbooking/suggested-resources",urlPathParamNames:[],method:"POST"},"AppointmentBookingConnectController.getRelatedServiceResource":{urlPath:e+"/connect/appointmentbooking/related-service-resource",urlPathParamNames:[],method:"POST"},"AppointmentBookingConnectController.getOrgPreferences":{urlPath:e+"/connect/appointmentbooking/org-preferences",urlPathParamNames:[],method:"POST"},"AppointmentBookingConnectController.getAppointmentSlots":{urlPath:e+"/connect/appointmentbooking/get-appointment-slots",urlPathParamNames:[],method:"POST"},"AppointmentBookingConnectController.getWorkTypeGroups":{urlPath:e+"/connect/appointmentbooking/work-type-groups",urlPathParamNames:[],method:"POST"},"AppointmentBookingConnectController.getResourcesNextAvailability":{urlPath:e+"/connect/appointmentbooking/resources-next-availability",urlPathParamNames:[],method:"POST"},"SearchController.suggest":{urlPath:e+"/connect/search/suggestions",urlPathParamNames:[],method:"GET"},"LightningSchedulerController.getAppointmentPaymentDetails":{urlPath:e+"/connect/scheduling/appointment-payment-details",urlPathParamNames:[],method:"GET"},"LightningSchedulerController.getAppointmentFromToken":{urlPath:e+"/connect/scheduling/appointment-from-token",urlPathParamNames:[],method:"GET"},"AppointmentBookingConnectController.getSchedulingPolicyDetails":{urlPath:e+"/connect/appointmentbooking/scheduling-policy-details",urlPathParamNames:[],method:"POST"},"CommonSchedulingUiApiFamilyController.getFieldsFromPageLayout":{urlPath:e+"/connect/unified-scheduling/actions/get-fields-from-page-layout",urlPathParamNames:[],method:"POST"},"CommonSchedulingUiApiFamilyController.getOrgSettings":{urlPath:e+"/connect/common-scheduling/org-settings",urlPathParamNames:[],method:"GET"},"CommonSchedulingUiApiFamilyController.getSchedulingPolicyDetails":{urlPath:e+"/connect/unified-scheduling/actions/get-scheduling-policy-details",urlPathParamNames:[],method:"GET"},"CommonSchedulingUiApiFamilyController.getSuggestedResources":{urlPath:e+"/connect/scheduling/suggested-resources",urlPathParamNames:[],method:"POST"},"CommonSchedulingUiApiFamilyController.getRelatedServiceResource":{urlPath:e+"/connect/unified-scheduling/related-service-resource",urlPathParamNames:[],method:"POST"},"InBusinessSchedulingUiApiFamilyController.getWorkTypes":{urlPath:e+"/connect/unified-scheduling/actions/get-work-types",urlPathParamNames:[],method:"POST"},"CommonSchedulingUiApiFamilyController.getEctDetails":{urlPath:e+"/connect/unified-scheduling/get-ect-details",urlPathParamNames:[],method:"POST"},"InBusinessSchedulingUiApiFamilyController.getServiceTerritoriesByLocation":{urlPath:e+"/connect/unified-scheduling/actions/get-service-territories-by-location",urlPathParamNames:[],method:"POST"},"InBusinessSchedulingUiApiFamilyController.getAvailableResources":{urlPath:e+"/connect/unified-scheduling/actions/get-available-resources",urlPathParamNames:[],method:"POST"},"CommonSchedulingUiApiFamilyController.getAvailableSlots":{urlPath:e+"/connect/unified-scheduling/actions/get-available-slots",urlPathParamNames:[],method:"POST"},"CommonSchedulingUiApiFamilyController.getAppointmentFromToken":{urlPath:e+"/connect/unified-scheduling/appointment-from-token",urlPathParamNames:[],method:"GET"},"EnablementMeasureConnectController.createEnablementMeasure":{urlPath:e+"/connect/enablement/measures",urlPathParamNames:[],inputRepresentation:"measure",method:"POST"},"EnablementMeasureConnectController.updateEnablementMeasure":{urlPath:e+"/connect/enablement/measures/${measureId}",urlPathParamNames:["measureId"],inputRepresentation:"measure",method:"PUT"},"EnablementMeasureConnectController.updateEnablementMeasureStatus":{urlPath:e+"/connect/enablement/measures/${measureId}",urlPathParamNames:["measureId"],inputRepresentation:"measureStatus",method:"PATCH"},"EnablementMeasureConnectController.getEnablementMeasure":{urlPath:e+"/connect/enablement/measures/${measureId}",urlPathParamNames:["measureId"],method:"GET"},"EnablementMeasureConnectController.deleteEnablementMeasure":{urlPath:e+"/connect/enablement/measures/${measureId}",urlPathParamNames:["measureId"],method:"DELETE"},"EnablementProgramController.describeEnablementProgram":{urlPath:e+"/connect/enablement/programs/${enablementProgramId}/describe",urlPathParamNames:["enablementProgramId"],method:"GET"},"EnablementProgramController.createEnablementProgram":{urlPath:e+"/connect/enablement/programs",urlPathParamNames:[],inputRepresentation:"enablementProgram",method:"POST"},"EnablementProgramController.updateEnablementProgram":{urlPath:e+"/connect/enablement/programs/${enablementProgramId}",urlPathParamNames:["enablementProgramId"],inputRepresentation:"enablementProgram",method:"PATCH"},"EnablementProgramController.retrieveEnablementProgram":{urlPath:e+"/connect/enablement/program/${enablementProgramId}",urlPathParamNames:["enablementProgramId"],method:"GET"},"EnablementProgramController.enroll":{urlPath:e+"/connect/enablement/program/${enablementProgramId}/actions/enroll",urlPathParamNames:["enablementProgramId"],method:"POST"},"EnablementProgramController.unenroll":{urlPath:e+"/connect/enablement/program/${enablementProgramId}/actions/unenroll",urlPathParamNames:["enablementProgramId"],method:"POST"},"EnablementProgramController.updateEnablementProgramStatus":{urlPath:e+"/connect/enablement/programs/status/${enablementProgramId}",urlPathParamNames:["enablementProgramId"],inputRepresentation:"enablementProgramStatus",method:"POST"},"EnablementProgramController.assignedEnablementProgramSummaryForCommunity":{urlPath:e+"/connect/communities/${communityId}/enablement/program/summary/assigned",urlPathParamNames:["communityId"],method:"GET"},"EnablementProgramController.assignedEnablementProgramSummary":{urlPath:e+"/connect/enablement/program/summary/assigned",urlPathParamNames:[],method:"GET"},"EnablementProgramController.getProgramSummaryCollectionForCommunity":{urlPath:e+"/connect/communities/${communityId}/enablement/program/summary/collection",urlPathParamNames:["communityId"],method:"GET"},"EnablementProgramController.getProgramSummaryCollection":{urlPath:e+"/connect/enablement/program/summary/collection",urlPathParamNames:[],method:"GET"},"EnablementProgramController.enablementProgramSummary":{urlPath:e+"/connect/enablement/program/summary/${enablementProgramId}",urlPathParamNames:["enablementProgramId"],method:"GET"},"EnablementMeasureConnectController.getContributingRecordsInfoForMilestone":{urlPath:e+"/connect/enablement/contributing-records/taskMeasureProgress/${taskMeasureProgressId}",urlPathParamNames:["taskMeasureProgressId"],method:"GET"},"EnablementMeasureConnectController.triggerOnDemandComputation":{urlPath:e+"/connect/enablement/on-demand-computation/programs/${programId}",urlPathParamNames:["programId"],method:"PATCH"},"EnablementProgramController.getEnablementProgramTemplateList":{urlPath:e+"/connect/enablement/programTemplate",urlPathParamNames:[],method:"GET"},"EnablementProgramController.getEnablementProgramTemplate":{urlPath:e+"/connect/enablement/programTemplate/${programTemplateName}",urlPathParamNames:["programTemplateName"],method:"GET"},"LearningContentPlatformController.submitForCoachingAIFeedback":{urlPath:e+"/learning-content-platform/coaching/ai-feedback",urlPathParamNames:[],inputRepresentation:"coachingAICallSubmissionInputRepresentation",method:"POST"},"LearningContentPlatformController.getCoachingAIFeedback":{urlPath:e+"/learning-content-platform/coaching/${learningItemSubmissionId}/ai-feedback",urlPathParamNames:["learningItemSubmissionId"],method:"GET"},"LearningContentPlatformController.submitForCoachingMomentsProductPitchFeedback":{urlPath:e+"/learning-content-platform/coaching/moments/ai-product-pitch-feedback",urlPathParamNames:[],inputRepresentation:"coachingAIProductPitchFeedbackInputRepresentation",method:"POST"},"LearningContentPlatformController.evaluateLearningItem":{urlPath:e+"/connect/learning-platform/learning-item/${learningItemId}/actions/evaluate",urlPathParamNames:["learningItemId"],inputRepresentation:"evaluateLearningItemInputRepresentation",method:"POST"},"LearningContentPlatformController.getFeaturedItemsRecommendedList":{urlPath:e+"/learning-content-platform/featured-item/list/recommended",urlPathParamNames:[],method:"GET"},"LearningContentPlatformController.getFeaturedItemsRelatedList":{urlPath:e+"/learning-content-platform/featured-item/list/related",urlPathParamNames:[],method:"GET"},"LearningContentPlatformController.getLearningConfig":{urlPath:e+"/learning-content-platform/learning/config",urlPathParamNames:[],method:"GET"},"LearningContentPlatformController.getLearningItemsList":{urlPath:e+"/learning-content-platform/learning/item/list",urlPathParamNames:[],method:"GET"},"LearningContentPlatformController.getLearningItemProgress":{urlPath:e+"/learning-content-platform/learning/item/progress",urlPathParamNames:[],method:"GET"},"LearningContentPlatformController.getLearningModel":{urlPath:e+"/learning-content-platform/learning/model/${learningItemId}",urlPathParamNames:["learningItemId"],method:"GET"},"LearningContentPlatformController.getModule":{urlPath:e+"/learning-content-platform/learning/module/${moduleId}",urlPathParamNames:["moduleId"],method:"GET"},"LearningContentPlatformController.getLearningPractice":{urlPath:e+"/learning-content-platform/learning/practice/${learningItemId}",urlPathParamNames:["learningItemId"],method:"GET"},"LearningContentPlatformController.getTextLesson":{urlPath:e+"/learning-content-platform/learning/textlesson/${learningItemId}",urlPathParamNames:["learningItemId"],method:"GET"},"ServiceAutomationFamilyController.getServiceRequest":{urlPath:e+"/connect/service-automation/service-request/service-catalog-request/${serviceRequestId}",urlPathParamNames:["serviceRequestId"],method:"GET"},"ServiceEmployeeController.getUserProfileDetails":{urlPath:e+"/connect/employee-hub/profile/user/${userId}",urlPathParamNames:["userId"],inputRepresentation:"userProfile",method:"POST"}};function T(H){const D=O[H];return D||t.log(`[getResourceReferenceFromAuraMethod] aura controller mapping returned empty for '${H}'`),D}r.getResourceReferenceFromAuraMethod=T,Object.defineProperty(r,"__esModule",{value:!0})}),LWR.define("webruntime/auraMethodToResourceReferenceMapping",["exports","webruntime/auraMethodToResourceReferenceMapping/v/1_66_1200-262_0"],function(r,t){r.default=t&&typeof t=="object"&&"default"in t?t.default:t,Object.keys(t).forEach(function(e){e==="default"||r.hasOwnProperty(e)||Object.defineProperty(r,e,{enumerable:!0,get:function(){return t[e]}})})}),LWR.define("webruntime/apiCall/v/1_66_1200-262_0",["exports","webruntime/auraMethodToResourceReferenceMapping/v/1_66_1200-262_0","webruntime/transport/v/1_66_1200-262_0","webruntime/errors/v/1_66_1200-262_0","@app/apexApiBasePath/v/1","webruntime/overrides/v/1_66_1200-262_0","@communities-webruntime/common/v/1_66_1200-262_0"],function(r,t,e,O,T,H,D){"use strict";function R(S){return S&&typeof S=="object"&&"default"in S?S:{default:S}}var m=R(T);async function p(S,G){const[U,Y]=S.split(".");if(U==="ApexActionController")return f(Y,G);const Q=t.getResourceReferenceFromAuraMethod(S);if(Q)return u(Q,G);throw new Error(`Unsupported controller action: ${U}.${Y}`)}async function u({urlPath:S,urlPathParamNames:G,method:U,inputRepresentation:Y},Q){const I=Q&&{...Q}||{};let k=G.reduce((te,W)=>{const Oe=I[W];return delete I[W],te.replace(`\${${W}}`,encodeURIComponent(Oe))},S),ne;(U==="POST"||U==="PATCH"||U==="PUT")&&I[Y]&&(ne=JSON.stringify(I[Y]),delete I[Y]),Object.keys(I).length&&(k+=`?${Object.entries(I).filter(([,te])=>te!=null&&(!Array.isArray(te)||te.length)).map(([te,W])=>`${encodeURIComponent(te)}=${encodeURIComponent(W)}`).join("&")}`);const ae=await e.fetch(k,{method:U,body:ne});let ke;if(ae.status===401&&P(),ae.status!==204&&(ke=await ae.json()),ke instanceof Array&&(ke=ke[0]),!ae.ok){const te={status:ae.status,data:{...ke,statusCode:ae.status}};throw L([te])}return A(ke)}async function f(S,G){if(S==="execute"){const{url:U,httpRequestOptions:Y}=d(S,G);return e.fetch(U,Y).then(Q=>(Q.status===401&&P(),Q.status!==204?Q.json():void 0)).then(Q=>{if(Q&&Q.error&&Q.error.length>0)throw L(Q.error);return A(Q)})}throw new Error(`Unsupported Apex action: ${S}`)}function d(S,G){if((!G||typeof G!="object"||Object.keys(G).length===0)&&O.reportError({subject:"Apex API action error - invalid params",type:D.CLIENT_ERROR_TYPES.APEX_ACTION_ERROR,error:new Error(`Apex ${S} action called with invalid params: '${JSON.stringify(G)}'.`)}),G&&G.cacheable===!0){const U=`/apex/${S}?${_(G)}`;if(U.length<=D.MAX_URL_LENGTH)return{url:U,httpRequestOptions:{method:"GET",basePath:m.default}}}return{url:`/apex/${S}`,httpRequestOptions:{method:"POST",body:JSON.stringify(G),basePath:m.default}}}function _(S){const G={...S},U=G.params;if(U&&typeof U=="object"){const Y=Object.keys(U).sort().reduce((Q,I)=>(Q[I]=U[I],Q),{});G.params=JSON.stringify(Y)}return Object.keys(G).filter(Y=>G[Y]!==void 0&&G[Y]!=null).sort().map(Y=>`${Y}=${encodeURIComponent(G[Y])}`).join("&")}function P(){H.SessionTimeoutOverrides.runSync()}function A(S){return{getReturnValue:()=>S}}function L(S){return{getError:()=>S}}r.apiCallRawResponse=p,r.formatApexRequest=d,Object.defineProperty(r,"__esModule",{value:!0})}),LWR.define("webruntime/apiCall",["exports","webruntime/apiCall/v/1_66_1200-262_0"],function(r,t){r.default=t&&typeof t=="object"&&"default"in t?t.default:t,Object.keys(t).forEach(function(e){e==="default"||r.hasOwnProperty(e)||Object.defineProperty(r,e,{enumerable:!0,get:function(){return t[e]}})})}),LWR.define("aura/v/1_66_1200-262_0",["exports","webruntime/apiCall/v/1_66_1200-262_0","webruntime/logger/v/1_66_1200-262_0"],function(r,t,e){"use strict";function O(m){if(m&&m.__esModule)return m;var p=Object.create(null);return m&&Object.keys(m).forEach(function(u){if(u!=="default"){var f=Object.getOwnPropertyDescriptor(m,u);Object.defineProperty(p,u,f.get?f:{enumerable:!0,get:function(){return m[u]}})}}),p.default=m,Object.freeze(p)}var T=O(e);const H=null,D=null,R=null;Object.defineProperty(r,"executeGlobalControllerRawResponse",{enumerable:!0,get:function(){return t.apiCallRawResponse}}),r.logger=T,r.createComponent=H,r.getDefinition=R,r.renderComponent=D,Object.defineProperty(r,"__esModule",{value:!0})}),LWR.define("aura",["exports","aura/v/1_66_1200-262_0"],function(r,t){r.default=t&&typeof t=="object"&&"default"in t?t.default:t,Object.keys(t).forEach(function(e){e==="default"||r.hasOwnProperty(e)||Object.defineProperty(r,e,{enumerable:!0,get:function(){return t[e]}})})}),LWR.define("instrumentation/service/v/1_66_1200-262_0",["exports","aura-instrumentation/v/1_66_1200-262_0"],function(r,t){"use strict";Object.keys(t).forEach(function(e){e!=="default"&&!r.hasOwnProperty(e)&&Object.defineProperty(r,e,{enumerable:!0,get:function(){return t[e]}})}),Object.defineProperty(r,"__esModule",{value:!0})}),LWR.define("instrumentation/service",["exports","instrumentation/service/v/1_66_1200-262_0"],function(r,t){r.default=t&&typeof t=="object"&&"default"in t?t.default:t,Object.keys(t).forEach(function(e){e==="default"||r.hasOwnProperty(e)||Object.defineProperty(r,e,{enumerable:!0,get:function(){return t[e]}})})}),LWR.define("instrumentation/utility/v/1_66_1200-262_0",["exports","aura-instrumentation/v/1_66_1200-262_0"],function(r,t){"use strict";Object.keys(t).forEach(function(e){e!=="default"&&!r.hasOwnProperty(e)&&Object.defineProperty(r,e,{enumerable:!0,get:function(){return t[e]}})}),Object.defineProperty(r,"__esModule",{value:!0})}),LWR.define("instrumentation/utility",["exports","instrumentation/utility/v/1_66_1200-262_0"],function(r,t){r.default=t&&typeof t=="object"&&"default"in t?t.default:t,Object.keys(t).forEach(function(e){e==="default"||r.hasOwnProperty(e)||Object.defineProperty(r,e,{enumerable:!0,get:function(){return t[e]}})})}),LWR.define("lightning/configProvider/v/1_66_1200-262_0",["exports","@app/basePath/v/1","lwc/v/9_1_2"],function(r,t,e){"use strict";function O(N){return N&&typeof N=="object"&&"default"in N?N:{default:N}}var T=O(t);const H=/^\d{4}(-\d\d(-\d\d(T\d\d:\d\d(:\d\d)?(\.\d+)?(([+-]\d\d:\d\d)|Z){1})?)?)?$/i,D=/^\d\d:\d\d(:\d\d)?(\.\d+)?(([+-]\d\d:\d\d)|Z)?$/i,R="HH:mm:ss.SSS",m="YYYY-MM-DD",p="T",u=/(Z|([+-])(\d{2}):(\d{2}))$/;function f(N){return P(N)&&L(N)}function d(N){if(!A(N))return!1;const ie=_(N);return L(`2018-09-09T${ie}Z`)}function _(N){return typeof N=="string"?N.split(u)[0]:N}function P(N){return typeof N!="string"?!1:H.test(N)}function A(N){return typeof N!="string"?!1:D.test(N)}function L(N){const ie=Date.parse(N);return isFinite(ie)}var S=void 0;const G="in a few seconds",U="a few seconds ago",Y="in {0} {1}",Q="{0} {1} ago",I="s",k={SECONDS:{name:"second",threshold:45},MINUTES:{name:"minute",threshold:45},HOURS:{name:"hour",threshold:22},DAYS:{name:"day",threshold:26},MONTHS:{name:"month",threshold:11},YEARS:{name:"year"}},ne=1e3,ae=6e4,ke=36e5,te=864e5;class W{constructor(ie){if(this.milliseconds=0,typeof ie!="number"){this.isValid=!1,console.warn(`The value of milliseconds passed into Duration must be of type number, 
                but we are getting the ${typeof ie} value "${ie}" instead.
                `);return}this.isValid=!0,this.milliseconds=ie}humanize(ie){if(!this.isValid)return"";const pe=o(this);return pe===k.SECONDS?this.milliseconds>0?G:U:h(ie,this.asIn(pe),pe.name)}asIn(ie){switch(ie){case k.SECONDS:return Math.round(this.milliseconds/ne);case k.MINUTES:return Math.round(this.milliseconds/ae);case k.HOURS:return Math.round(this.milliseconds/ke);case k.DAYS:return Math.round(this.milliseconds/te);case k.MONTHS:return Math.round(Fe(this.milliseconds/te));case k.YEARS:default:return Math.round(Fe(this.milliseconds/te)/12)}}}const Oe=e.registerComponent(W,{tmpl:S,sel:"lightning-config-provider",apiVersion:66,enableSyntheticElementInternals:!0});function Fe(N){const ie=4800/146097;return N*ie}function o(N){const ie=Object.keys(k).find(pe=>{const me=k[pe];return me===k.YEARS||Math.abs(N.asIn(me))<me.threshold});return k[ie]}function h(N,ie,pe){return"Intl"in window&&Intl.RelativeTimeFormat?new Intl.RelativeTimeFormat(N,{style:"long",numeric:"always"}).format(ie,pe):c(ie,pe)}function c(N,ie){console.warn("The current environment does not support formatters for relative time.");const pe=Math.abs(N),me=pe!==1?ie+I:ie,Ke=N>0?Y:Q;return $(Ke,pe,me)}function $(N,...ie){return N.replace(/{(\d+)}/g,(pe,me)=>ie[me])}const z=["January","February","March","April","May","June","July","August","September","October","November","December"],de={short:"M/d/yyyy",medium:"MMM d, yyyy",long:"MMMM d, yyyy"},Te={short:"h:mm a",medium:"h:mm:ss a",long:"h:mm:ss a"},Ve={short:"h:m a",medium:"h:m:s a",long:"h:m:s a"};function je(N,ie){let pe=!1,me=N;return typeof N=="string"&&(me=N.split(p)[0],pe=!0),x(me,ie,pe)}function xe(N,ie){return x(N,ie,!0)}function $e(N,ie){if(!C(N))return new Date("");const pe=(N.getHours()+11)%12+1,me=N.getHours()>=12?"PM":"AM";switch(ie){case R:return`${re(N.getHours())}:${re(N.getMinutes())}:${re(N.getSeconds())}.${ee(N.getMilliseconds())}`;case Te.short:return`${pe}:${re(N.getMinutes())} ${me}`;case Te.medium:case Te.long:default:return`${pe}:${re(N.getMinutes())}:${re(N.getSeconds())} ${me}`}}function We(N){if(!C(N))return new Date("");const ie=new Date(N.getTime());return`${xe(ie)}, ${$e(j(ie))}`}function Ze(N){let ie=null,pe=!0;if(d(N)?ie=`2014-03-20T${F(N)}`:f(N)&&(N.indexOf(p)>0?(ie=F(N),pe=!1):ie=`${N}T00:00:00.000Z`),ie){const me=new Date(ie);return pe&&j(me),me}return null}function B(N,ie){return ie===m&&f(N)?Ze(N):Object.values(de).includes(ie)?v(N,ie):Object.values(Ve).includes(ie)?ht(N):null}function se(N){return Ze(F(N))}function K(N,ie,pe){const me=J(N),Ke=J(ie);return!me||!Ke?!1:E(me,pe).getTime()<E(Ke,pe).getTime()}function ye(N,ie,pe){const me=J(N),Ke=J(ie);return!me||!Ke?!1:E(me,pe).getTime()>E(Ke,pe).getTime()}function Ae(N,ie,pe){const me=new Date(N.getTime());pe(V(me))}function qe(N,ie,pe){const me=new Date(N.getTime());pe(j(me))}function Me(N){return N}function Re(N){return N}function Xe(N){return N}function Je(N){return N}function nt(){return{format:N=>(console.warn(`The current environment does not support large numbers and the original value of ${N} will be returned.`),N)}}function ut(N){return new Oe(N*60*1e3)}function Se(N){return N.humanize("en")}function ht(N){const ie=N.trim().split(/[:.\s*]/),pe=ie.length;if(!ie||pe<2||pe>5)return null;const me=ie[pe-1],Ke=me.toLowerCase()==="am",ze=me.toLowerCase()==="pm";ie.splice(-1,1);const mt=ie.every(Tt=>!isNaN(Tt));if(!ze&&!Ke||!mt)return null;const pt=ie[0],ft=re(ze?pt%12+12:pt%12),Rt=pe>=3&&ie[1]||"0",jt=pe>=4&&ie[2]||"0",wt=pe===5&&ie[3]||"0",Ye=new Date("2014-03-20");return Ye.setHours(ft,Rt,jt,wt),C(Ye)?Ye:null}function v(N,ie){let pe=/^([a-zA-Z]{3})\s*(\d{1,2}),\s*(\d{4})$/;switch(ie){case de.short:pe=/^(\d{1,2})\/(\d{1,2})\/(\d{4})$/;break;case de.long:pe=/^([a-zA-Z]+)\s*(\d{1,2}),\s*(\d{4})$/;break}const me=pe.exec(N.trim());if(!me)return null;let Ke=me[1];const ze=me[2],mt=me[3];ie!==de.short&&(Ke=z.findIndex(Rt=>Rt.toLowerCase().includes(Ke.toLowerCase())),Ke+=1);const pt=`${mt}-${re(Ke)}-${re(ze)}`,ft=new Date(`${pt}T00:00:00.000Z`);return C(ft)?j(ft):null}function x(N,ie,pe){const me=J(N);if(!me)return new Date("");switch(pe&&C(N)&&j(me),ie){case m:return`${me.getFullYear()}-${re(me.getMonth()+1)}-${re(me.getDate())}`;case de.short:return`${me.getMonth()+1}/${me.getDate()}/${me.getFullYear()}`;case de.long:return`${z[me.getMonth()]} ${me.getDate()}, ${me.getFullYear()}`;case de.medium:default:return`${z[me.getMonth()].substring(0,3)} ${me.getDate()}, ${me.getFullYear()}`}}function E(N,ie){switch(ie){case"day":N.setHours(0),N.setMinutes(0);case"minute":N.setSeconds(0),N.setMilliseconds(0);break}return N}function C(N){return Object.prototype.toString.call(N)==="[object Date]"&&!isNaN(N.getTime())}function F(N){return`${_(N)}Z`}function j(N){return N.setMinutes(N.getMinutes()+N.getTimezoneOffset()),N}function V(N){return N.setMinutes(N.getMinutes()-N.getTimezoneOffset()),N}function J(N){return N?C(N)?new Date(N.getTime()):isFinite(N)&&(typeof N=="number"||typeof N=="string")?new Date(parseInt(N,10)):typeof N=="string"?Ze(N):null:null}function re(N){return Number(N)<10?`0${N}`:N}function ee(N){return Number(N)<10?`00${N}`:Number(N)<100?`0${N}`:N}var oe={formatDate:je,formatDateUTC:xe,formatTime:$e,formatDateTimeUTC:We,parseDateTimeISO8601:Ze,parseDateTime:B,parseDateTimeUTC:se,isBefore:K,isAfter:ye,UTCToWallTime:Ae,WallTimeToUTC:qe,translateToOtherCalendar:Me,translateFromOtherCalendar:Re,translateToLocalizedDigits:Xe,translateFromLocalizedDigits:Je,getNumberFormat:nt,duration:ut,displayDuration:Se};function _e(){return oe}function we(){return T.default}function De(){return null}function Ne(){return null}function Ge(){return{densitySetting:""}}var He={getOneConfig:Ge,getIconSvgTemplates:Ne,getToken:De,getPathPrefix:we,getLocalizationService:_e};r.default=He,r.getIconSvgTemplates=Ne,r.getLocalizationService=_e,r.getOneConfig=Ge,r.getPathPrefix=we,r.getToken=De,Object.defineProperty(r,"__esModule",{value:!0})}),LWR.define("lightning/configProvider",["exports","lightning/configProvider/v/1_66_1200-262_0"],function(r,t){r.default=t&&typeof t=="object"&&"default"in t?t.default:t,Object.keys(t).forEach(function(e){e==="default"||r.hasOwnProperty(e)||Object.defineProperty(r,e,{enumerable:!0,get:function(){return t[e]}})})}),LWR.define("lightning/navigation/v/0_22_21",["exports","lwr/navigationContext/v/0_22_21","lwr/currentPageReference/v/0_22_21","lwr/currentView/v/0_22_21","lwr/contextUtils/v/0_22_21","lwr/routerErrors/v/0_22_21","lwr/navigationMixinHacks/v/0_22_21"],function(r,t,e,O,T,H,D){"use strict";function R(L,S,G,U){T.getNavigationHelm(L).navigate(S,G,U)}function m(L,S,G){return T.getNavigationHelm(L).generateUrl(S,G)}function p(L,S,G){return T.getNavigationHelm(L).generateUrlAsync(S,G)}const u=Symbol("Navigate"),f=Symbol("GenerateUrl"),d=Symbol("NavContext"),_=Symbol("NavContext"),P=typeof window=="undefined";function A(L){H.invariant(typeof L.prototype.dispatchEvent=="function",H.messages.INVALID_MIXIN_CMP,[L.toString()]);class S extends L{[_](){if(!this[d]&&(this.dispatchEvent(new CustomEvent(D.CONTEXT_ID_BACKDOOR,{bubbles:!0,composed:!0,detail:{callback:U=>{this[d]=U}}})),!this[d]))throw new Error(H.generateMessage(H.messages.MISSING_CONTEXT))}[u](U,Y,Q){P||(this[_](),R(this[d],U,Y,Q))}async[f](U,Y){return P?null:(this[_](),p(this[d],U,Y))}}return S}A.Navigate=u,A.GenerateUrl=f,A.NavContext=d,Object.defineProperty(r,"NavigationContext",{enumerable:!0,get:function(){return t.NavigationContext}}),Object.defineProperty(r,"CurrentPageReference",{enumerable:!0,get:function(){return e.CurrentPageReference}}),Object.defineProperty(r,"CurrentView",{enumerable:!0,get:function(){return O.CurrentView}}),Object.defineProperty(r,"ContextInfo",{enumerable:!0,get:function(){return T.ContextInfo}}),Object.defineProperty(r,"generateContextualWireAdapter",{enumerable:!0,get:function(){return T.generateContextualWireAdapter}}),Object.defineProperty(r,"getNavigationHelm",{enumerable:!0,get:function(){return T.getNavigationHelm}}),Object.defineProperty(r,"registerNavigationHelm",{enumerable:!0,get:function(){return T.registerNavigationHelm}}),r.NavigationMixin=A,r.generateUrl=m,r.navigate=R,Object.defineProperty(r,"__esModule",{value:!0})}),LWR.define("lightning/navigation",["exports","lightning/navigation/v/0_22_21"],function(r,t){r.default=t&&typeof t=="object"&&"default"in t?t.default:t,Object.keys(t).forEach(function(e){e==="default"||r.hasOwnProperty(e)||Object.defineProperty(r,e,{enumerable:!0,get:function(){return t[e]}})})}),LWR.define("webruntime/f6Controller/v/1_66_1200-262_0",["exports"],function(r){"use strict";const t=300,{document:e}=globalThis,O={navKey:"F6",f6RegionAttribute:"data-f6-region",f6RegionHighlightClass:"f6-highlight"},T=p=>p&&(p.shadowRoot?p.shadowRoot.activeElement?T(p.shadowRoot.activeElement):p:p.activeElement?T(p.activeElement):p);class H{constructor(u={}){this.regions=[],this.config=O,this._debounceKeyDownHandler=void 0,this._styleElement=void 0,this.handleClick=()=>{this.clearRegionHighlights()},this.handleKeyDown=f=>{this.clearRegionHighlights();const{key:d,ctrlKey:_,metaKey:P}=f;d===this.config.navKey&&(_||P)&&(this.populateRegions(),this.handleNavigation(f))},this.elementFilter=f=>f.parentElement&&f.parentElement.matches(`*[${this.config.f6RegionAttribute}]`)?NodeFilter.FILTER_REJECT:f.matches(`*[${this.config.f6RegionAttribute}]`)&&this.isVisible(f)&&!this.isEmpty(f)?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP,this._debounceKeyDownHandler=this.debounce(this.handleKeyDown.bind(this),t),this.initialize(u)}debounce(u,f,d){const _=d||{};let P=_.leading,A;return function(){const S=Array.prototype.slice.apply(arguments);P&&(u.apply(this,S),P=!1),clearTimeout(A),A=setTimeout(function(){u.apply(this,S),P=_.leading},f)}}appendStyleElement(){this._styleElement=e.createElement("style");const u=`[${this.config.f6RegionAttribute}].${this.config.f6RegionHighlightClass}`;this._styleElement.innerText=`${u} { position: relative; }  ${u}::after { width: 100%; height: 100%; content: ''; outline: rgb(94, 158, 214) 3px solid; outline-offset: -3px; position: absolute; top: 0; left: 0; z-index: 9999; }`,this._styleElement.setAttribute("type","text/css"),e.head.appendChild(this._styleElement)}clearRegionHighlights(){!this.regions||!this.regions.length||this.regions.forEach(u=>{u.classList.remove(this.config.f6RegionHighlightClass)})}addRegionHighlight(u){u.classList.add(this.config.f6RegionHighlightClass)}focusIn(u){const f=u.querySelector('a[href],button:not([disabled]),input:not([type="hidden"]):not([disabled]),select:not([type="hidden"]):not([disabled]),textarea:not([type="hidden"]):not([disabled])');f?f.focus():(u.tabIndex="-1",u.focus())}handleNavigation(u){if(u.preventDefault(),!this.regions.length)return;const f=u.shiftKey,d=this.getElementRegionIndex(T(u.target)),_=this.getNextRegionIndex(d,f);if(_===-1)return;const P=this.regions[_];this.focusIn(P),this.addRegionHighlight(P)}shadowContains(u,f){return u===f||u.contains(f)||u.shadowRoot&&this.isElementInContainerElements(u.shadowRoot.children,f)||u.tagName==="SLOT"&&this.isElementInContainerElements(u.assignedElements(),f)?!0:this.isElementInContainerElements(u.children,f)}isElementInContainerElements(u,f){if(!u||!u.length)return!1;const d=u.length;for(let _=0;_<d;_++)if(this.shadowContains(u[_],f))return!0;return!1}getElementRegionIndex(u){return!this.regions||!this.regions.length?-1:this.regions.findIndex(f=>this.shadowContains(f,u))}getNextRegionIndex(u,f){const d=this.regions.length-1;return d<0?-1:f?u<=0?d:u-1:u===d?0:u+1}isVisible(u){if(u===e.body||!(u instanceof Element))return!0;try{const f=window.getComputedStyle(u)||u.style;if(!f)return!1;const{display:d,visibility:_}=f;return d&&d.toLowerCase()==="none"||_&&_.toLowerCase()==="hidden"?!1:this.isVisible(u.parentNode)}catch(f){return!1}}isEmpty(u){if(u.tagName==="SLOT"&&!this.isEmptyChildren(u.assignedElements()))return!1;let f=u.children;return(!f||!f.length)&&u.shadowRoot&&(f=u.shadowRoot.children),this.isEmptyChildren(f)}isEmptyChildren(u){if(!u||!u.length)return!0;const f=u.length;for(let d=0;d<f;d++){const _=u[d];if(_.tagName!=="SLOT"||!this.isEmpty(_))return!1}return!0}populateRegions(){if(!e)return;this.regions=[];const u=e.createTreeWalker(e.body,NodeFilter.SHOW_ELEMENT,this.elementFilter,!1);for(;u.nextNode();)this.regions.push(u.currentNode)}initialize(u={}){!e||(e.addEventListener("keydown",this._debounceKeyDownHandler),this.regions=[],this.config={...this.config,...u},this.appendStyleElement())}cleanUp(){!e||(e.removeEventListener("keydown",this._debounceKeyDownHandler),this._regions=[],this._config=O,this._debounceKeyDownHandler=null,this._styleElement&&(e.head.removeChild(this._styleElement),this._styleElement=null))}getConfig(){return Object.freeze(this.config)}}let D;const R=p=>(D||(D=new H(p)),D),m=()=>{if(D){const p=D.getConfig();if(p)return p.f6RegionAttribute}};r.DEFAULT_CONFIG=O,r.F6Controller=H,r.createF6Controller=R,r.getActiveElem=T,r.getCurrentRegionAttributeName=m,Object.defineProperty(r,"__esModule",{value:!0})}),LWR.define("webruntime/f6Controller",["exports","webruntime/f6Controller/v/1_66_1200-262_0"],function(r,t){r.default=t&&typeof t=="object"&&"default"in t?t.default:t,Object.keys(t).forEach(function(e){e==="default"||r.hasOwnProperty(e)||Object.defineProperty(r,e,{enumerable:!0,get:function(){return t[e]}})})}),LWR.define("lightning/f6Controller/v/1_66_1200-262_0",["exports","webruntime/f6Controller/v/1_66_1200-262_0"],function(r,t){"use strict";Object.keys(t).forEach(function(e){e!=="default"&&!r.hasOwnProperty(e)&&Object.defineProperty(r,e,{enumerable:!0,get:function(){return t[e]}})}),Object.defineProperty(r,"__esModule",{value:!0})}),LWR.define("lightning/f6Controller",["exports","lightning/f6Controller/v/1_66_1200-262_0"],function(r,t){r.default=t&&typeof t=="object"&&"default"in t?t.default:t,Object.keys(t).forEach(function(e){e==="default"||r.hasOwnProperty(e)||Object.defineProperty(r,e,{enumerable:!0,get:function(){return t[e]}})})}),LWR.define("lwr/environment/v/0_22_21",["exports"],function(r){"use strict";const t=globalThis?.LWR?.env||{},e=t&&(t.SSR==="true"||t.SSR===!0),O=t&&t.basePath,T=t&&t.locale,H=t&&t.assetBasePath,D=t&&t.uiBasePath;r.assetBasePath=H,r.basePath=O,r.isServer=e,r.locale=T,r.uiBasePath=D,Object.defineProperty(r,"__esModule",{value:!0})}),LWR.define("lwr/environment",["exports","lwr/environment/v/0_22_21"],function(r,t){r.default=t&&typeof t=="object"&&"default"in t?t.default:t,Object.keys(t).forEach(function(e){e==="default"||r.hasOwnProperty(e)||Object.defineProperty(r,e,{enumerable:!0,get:function(){return t[e]}})})}),LWR.define("transport/v/1_66_1200-262_0",["exports","webruntime/transport/v/1_66_1200-262_0"],function(r,t){"use strict";Object.keys(t).forEach(function(e){e!=="default"&&!r.hasOwnProperty(e)&&Object.defineProperty(r,e,{enumerable:!0,get:function(){return t[e]}})}),Object.defineProperty(r,"__esModule",{value:!0})}),LWR.define("transport",["exports","transport/v/1_66_1200-262_0"],function(r,t){r.default=t&&typeof t=="object"&&"default"in t?t.default:t,Object.keys(t).forEach(function(e){e==="default"||r.hasOwnProperty(e)||Object.defineProperty(r,e,{enumerable:!0,get:function(){return t[e]}})})}),LWR.define("webruntime/cookieStore/v/1_66_1200-262_0",["exports","@app/authenticationCookieName/v/1","@app/guestUuidCookieName/v/1","@salesforce/site/Id/v/1"],function(r,t,e,O){"use strict";function T(S){return S&&typeof S=="object"&&"default"in S?S:{default:S}}var H=T(t),D=T(e),R=T(O);let m;function p(S){S&&typeof S=="object"&&(m=S)}function u(S){m=L(S)}function f(){const S=A(H.default);return S?S==="1"||S.includes(R.default):!1}function d(){return A(D.default)}function _(){return m}function P(){return Object.entries(m||{}).map(([S,G])=>`${S}=${G}`).join(";")}function A(S){return S?(typeof document!="undefined"&&u(document?.cookie),m&&m[S]):null}function L(S){return S&&typeof S=="string"?S.split(";").reduce((U,Y)=>{const[Q,I]=Y.trim().split("=").map(decodeURIComponent);return U[Q]=I,U},{}):null}r.getAllCookies=_,r.getAllCookiesString=P,r.getCookie=A,r.getGuestUuidCookie=d,r.hasSidCookie=f,r.setCookiesFromObject=p,r.setCookiesFromString=u,Object.defineProperty(r,"__esModule",{value:!0})}),LWR.define("webruntime/cookieStore",["exports","webruntime/cookieStore/v/1_66_1200-262_0"],function(r,t){r.default=t&&typeof t=="object"&&"default"in t?t.default:t,Object.keys(t).forEach(function(e){e==="default"||r.hasOwnProperty(e)||Object.defineProperty(r,e,{enumerable:!0,get:function(){return t[e]}})})}),LWR.define("webruntime/persistentQueryParams/v/1_66_1200-262_0",["exports"],function(r){"use strict";const t={};r.persistentQueryParams=t,Object.defineProperty(r,"__esModule",{value:!0})}),LWR.define("webruntime/persistentQueryParams",["exports","webruntime/persistentQueryParams/v/1_66_1200-262_0"],function(r,t){r.default=t&&typeof t=="object"&&"default"in t?t.default:t,Object.keys(t).forEach(function(e){e==="default"||r.hasOwnProperty(e)||Object.defineProperty(r,e,{enumerable:!0,get:function(){return t[e]}})})}),LWR.define("webruntime/transport/v/1_66_1200-262_0",["exports","lwr/loaderLegacy/v/0_22_21","@app/basePath/v/1","@app/apiBasePath/v/1","@salesforce/i18n/lang/v/1","webruntime/persistentQueryParams/v/1_66_1200-262_0","webruntime/utils/v/1_66_1200-262_0","@communities-webruntime/common/v/1_66_1200-262_0","webruntime/cookieStore/v/1_66_1200-262_0","@app/isDesignMode/v/1","@app/isPreviewMode/v/1","lwc/v/9_1_2"],function(r,t,e,O,T,H,D,R,m,p,u,f){"use strict";function d(B){return B&&typeof B=="object"&&"default"in B?B:{default:B}}var _=d(e),P=d(O),A=d(T),L=d(p),S=d(u),G=void 0;class U{constructor(se){const[K,ye]=se.split("?");this.path=K,this.searchParams=new URLSearchParams(ye)}setParamDefaultValue(se,K){return this.searchParams.has(se)||this.searchParams.append(se,K),this}build(){const se=this.searchParams.toString();return this.path+(se?`?${se}`:"")}}const Y=f.registerComponent(U,{tmpl:G,sel:"webruntime-transport",apiVersion:66,enableSyntheticElementInternals:!0}),Q=["POST","PATCH","PUT","DELETE"],I="X-SFDC-Request-Id",k="X-Salesforce-Too-Many-Requests",ne="X-CSP",ae="asGuest",ke="language",te="htmlEncode",{location:W,navigator:Oe}=globalThis,Fe=new Set;function o(B){typeof B=="function"&&Fe.add(B)}function h(B){Fe.delete(B)}async function c(B,se={}){D.assert(typeof B=="string","Valid path not provided for fetch request");const K={...se,headers:{...se.headers},credentials:se.credentials||"same-origin"};se.credentials===null&&delete K.credentials,typeof window=="undefined"&&m.getGuestUuidCookie()&&(K.headers.cookie=m.getAllCookiesString());const ye=K.isNonApiRequest===!0,Ae=K.asGuest===!0||Ze(),qe=K.basePath!==void 0?K.basePath:P.default,Me=new Y(W?new URL(qe+B,W).toString():qe+B);ye||(Me.setParamDefaultValue(ke,A.default).setParamDefaultValue(ae,Ae).setParamDefaultValue(te,!1),Object.entries(H.persistentQueryParams).forEach(([Je,nt])=>{Me.setParamDefaultValue(Je,nt)}));const Re=K.headers["Content-Type"];Re===null?delete K.headers["Content-Type"]:Re?K.headers["Content-Type"]=Re:se.body&&(K.headers["Content-Type"]="application/json; charset=utf-8"),K.headers[I]=xe(),await Ve(K);const Xe=await globalThis.fetch(Me.build(),K);return Fe.forEach(Je=>Je(Xe)),de(Xe)&&$(),Xe}function $(){typeof document!="undefined"&&document.dispatchEvent(new CustomEvent("client-error",{detail:{type:R.CLIENT_ERROR_TYPES.TOO_MANY_REQUESTS}}))}function z(B){return!!(B.headers.get(k)||(B.headers.get(ne)||"").toLowerCase()==="rejected")}function de(B){return!!((B.status===503||B.status===429)&&z(B))}function Te(B){return B.status===503&&!z(B)}async function Ve(B){if(!Q.includes(B.method))return;const{csrfToken:se}=await We();se&&(B.headers["CSRF-Token"]=se)}async function je({path:B,payload:se,contentType:K}){const ye=_.default+B;Oe&&Oe.sendBeacon&&Oe.sendBeacon(ye,se)||await globalThis.fetch(B,{headers:{"Content-Type":K},basePath:_.default,body:se,method:"POST",isNonApiRequest:!0})}function xe(){return(Date.now()+$e()+Math.round(Math.random()*1e8)).substring(0,18)}function $e(){function B(){return Math.floor((1+Math.random())*65536).toString(16).substring(1)}return B()+B()}async function We(){if(typeof window=="undefined")return{isGuest:!0,id:null,contactId:null,csrfToken:null};const{default:B}=await t.load("@app/user/v/1");return B}function Ze(){return L.default||S.default?!1:!m.hasSidCookie()}r.addFetchObserver=o,r.fetch=c,r.isDownForMaintenanceResponse=Te,r.isTooManyRequestsResponse=de,r.removeFetchObserver=h,r.sendBeacon=je,Object.defineProperty(r,"__esModule",{value:!0})}),LWR.define("webruntime/transport",["exports","webruntime/transport/v/1_66_1200-262_0"],function(r,t){r.default=t&&typeof t=="object"&&"default"in t?t.default:t,Object.keys(t).forEach(function(e){e==="default"||r.hasOwnProperty(e)||Object.defineProperty(r,e,{enumerable:!0,get:function(){return t[e]}})})}),LWR.define("logger/v/1_66_1200-262_0",["exports"],function(r){"use strict";function t(...O){console.log(...O)}function e(...O){console.error(...O)}r.log=t,r.logError=e,Object.defineProperty(r,"__esModule",{value:!0})}),LWR.define("logger",["exports","logger/v/1_66_1200-262_0"],function(r,t){r.default=t&&typeof t=="object"&&"default"in t?t.default:t,Object.keys(t).forEach(function(e){e==="default"||r.hasOwnProperty(e)||Object.defineProperty(r,e,{enumerable:!0,get:function(){return t[e]}})})}),LWR.define("assert/v/1_66_1200-262_0",["exports","webruntime/utils/v/1_66_1200-262_0"],function(r,t){"use strict";Object.defineProperty(r,"default",{enumerable:!0,get:function(){return t.assert}}),Object.defineProperty(r,"__esModule",{value:!0})}),LWR.define("assert",["exports","assert/v/1_66_1200-262_0"],function(r,t){r.default=t&&typeof t=="object"&&"default"in t?t.default:t,Object.keys(t).forEach(function(e){e==="default"||r.hasOwnProperty(e)||Object.defineProperty(r,e,{enumerable:!0,get:function(){return t[e]}})})}),LWR.define("o11y/shared/v/262_6_0",["exports"],function(r){"use strict";class t{constructor(){this.notImplemented="Method not implemented.";const o=typeof performance!="undefined";o?performance.timeOrigin?this._timeOrigin=performance.timeOrigin:this._timeOrigin=Date.now():this._timeOrigin=Date.now();const h=this._timeOrigin;o&&typeof performance.now=="function"?(this.perfNow=performance.now.bind(performance),this.time=()=>{const c=this.perfNow();return{tsNow:h+c,perfNow:c,timeOrigin:h}}):(this.perfNow=()=>Date.now()-h,this.time=()=>{const c=this.perfNow();return{tsNow:Date.now(),perfNow:c,timeOrigin:h}})}get isProduction(){return t._isProduction}markProduction(o){t._isProduction=o??!0}_checkArgument(o,h){if(typeof h=="string")return typeof o===h;if(typeof h=="function")return o instanceof h;if(Array.isArray(h))return h.some(c=>this._checkArgument(o,c));throw new Error(`Invalid argKind ${h}`)}requireArgument(o,h,c){let $=o==null||o==="";const z=c!==void 0;if(!$&&z&&($=!this._checkArgument(o,c)),$)throw new Error(`${h} argument is required${z?" and must be of a supported type.":"."}`)}requireArgumentIfDefined(o,h,c){if(o===void 0)return!1;if(o===null||o===""||!this._checkArgument(o,c))throw new Error(`${h} argument, if defined, must be of a supported type.`);return!0}checkForDenyListedValues(o,h,c){if(c.some($=>o===$))throw new Error(`The value ${o} isn't allowed for ${h} argument.`)}checkForReservedCharacters(o,h,c){if(o&&c.some($=>o.indexOf($)>=0))throw new Error(`The argument ${h} isn't allowed to contain characters from ['${c.join(", ")}']. Received: ${o}.`)}generateUniqueId(o=16){const h=[],c="0123456789abcdef";if(!(o===void 0||o>0))throw new Error('If specified, the argument "length" must be a positive integer');for(let $=0;$<o;$++){const z=Math.floor(Math.random()*16);h.push(c[z])}return h.join("")}getXpath(o){function h(z){const de=z.localName;for(;z.nextElementSibling;)if(z=z.nextElementSibling,z.localName===de)return!0;return!1}function c(z,de){return z?c(z.previousElementSibling,de||z.localName)+(z.localName===de?1:0):1}function $(z){if(!z||z.nodeType!==1)return[""];const de=c(z)>1||h(z)?`${z.localName.toLowerCase()}[${c(z)}]`:z.localName.toLowerCase();return[...$(z.parentNode),de]}return $(o).join("/")}getAge(o){return o-this._timeOrigin}getConnectionType(){var o;let h;if(typeof navigator!="undefined"){const c=navigator;h=(o=c==null?void 0:c.connection)===null||o===void 0?void 0:o.effectiveType}return h}clone(o){return JSON.parse(JSON.stringify(o))}definedValueOrDefault(o,h){return o!==void 0?o:h}getGlobal(){if(typeof globalThis=="object")return globalThis;if(typeof self=="object")return self;throw new Error("Unable to locate globalThis or self")}getIsBeaconSupported(){var o;const h=this.getGlobal();return typeof((o=h.navigator)===null||o===void 0?void 0:o.sendBeacon)=="function"&&typeof h.Blob=="function"}estimateObjectSize(o){const h=new Set,c=[o];let $=0;for(;c.length;){const z=c.pop();if(typeof z=="boolean")$+=4;else if(typeof z=="string")$+=z.length*2;else if(typeof z=="number")$+=8;else if(z instanceof Uint8Array||z instanceof Uint8ClampedArray||z instanceof Uint16Array||z instanceof Uint32Array||z instanceof Int8Array||z instanceof Int16Array||z instanceof Int32Array||z instanceof Float32Array||z instanceof Float64Array)$+=z.byteLength;else if(typeof z=="object"){const de=z;if(!h.has(de)){h.add(de);for(const Te in de)c.push(de[Te])}}}return $}noProdThrow(o){if(!T.isProduction)throw o}isAllowedOrigin(o,h){return Array.isArray(h)&&h.some(c=>c==="*"||o===c||c instanceof RegExp&&c.test(o))}roundNumber(o,h){const c=Math.pow(10,h);return Math.round(o*c)/c}roundNumbersInObject(o,h){o&&Object.entries(o).forEach(([c,$])=>{typeof $=="number"&&(o[c]=this.roundNumber($,h))})}tryGetAbsoluteUrl(o){var h,c;return(o==null?void 0:o.startsWith("//"))&&typeof window=="object"?((h=window.location.protocol)!==null&&h!==void 0?h:"")+o:(o==null?void 0:o.startsWith("/"))&&typeof window=="object"?((c=window.location.origin)!==null&&c!==void 0?c:"")+o:o}validateParentActivityType(o,h){const c=o??!1;if(!h)return;const $=h.isExternal();if(c===$)return h;{const z=c?"external":"internal",de=$?"external":"internal";throw new Error(`Parent activity type mismatch: ${z} activity cannot have ${de} parent.`)}}}t._isProduction=!0;const e=new t,O=e.getGlobal();e.markProduction(O==null?void 0:O.__O11Y_IS_PROD__);const T=Object.freeze(e);class H{constructor(o,h,c,$,z,de,Te){this._name=o,this._ownerName=h,this._ownerAppName=c,this._tags=$,this._value=0,this._createdOn=z===void 0?T.time().tsNow:z,de!==void 0&&(this._lastUpdatedOn=de),Te!==void 0&&(this._value=Te)}getName(){return this._name}getCreatedOn(){return this._createdOn}getLastUpdatedOn(){return this._lastUpdatedOn}getData(){return this._value}increment(o=1){if(typeof o=="number"&&o>0){this._value+=Math.round(o),this._lastUpdatedOn=T.time().tsNow;return}throw new Error("UpCounter can only increment positive numbers.")}reset(){this._lastUpdatedOn=void 0,this._value=0}getOwnerName(){return this._ownerName}getOwnerAppName(){return this._ownerAppName}getTags(){return this._tags}}const D="co11y";class R{constructor(){this._upCounters=new Map,this._ownerAppName=D}_addOrUpdateCounter(o,h,c){if(!o)return;const $={status:c},z=`${this._ownerAppName}:${h}:${o}${JSON.stringify($)}`;let de=this._upCounters.get(z);de||(de=new H(o,h,this._ownerAppName,$),this._upCounters.set(z,de)),de.increment()}success(o,h){this._addOrUpdateCounter(o,h,"success")}exception(o,h){this._addOrUpdateCounter(o,h,"error")}getBucketHistograms(){return[]}getUpCounters(){return Array.from(this._upCounters.values()).filter(o=>o.getLastUpdatedOn())}getValueRecorders(){return[]}setOwnerAppName(o){this._ownerAppName=o}}const m=new R;class p{constructor(o){if(this._lazyMap=new Map,o!==void 0){if(typeof o=="number"&&o>0){this._maxSize=Math.ceil(o);return}throw new Error("maxSize must be a positive number")}}get maxSize(){return this._maxSize}get size(){return this._lazyMap.size}push(o,h){let c=this._lazyMap.get(o);if(!c){if(this.maxSize!==void 0&&this.size===this.maxSize)return!1;c=new Array,this._lazyMap.set(o,c)}return c.push(h),!0}getMessages(o,h){const c=this._lazyMap.get(o);return h&&this._lazyMap.has(o)&&this._lazyMap.set(o,[]),c||[]}getAllMessages(o){const h=new Map;for(const[c,$]of this._lazyMap.entries())$.length&&h.set(c,this.getMessages(c,o));return h}extractMessages(o){return this.getMessages(o,!0)}extractAllMessages(){return this.getAllMessages(!0)}get totalItemCount(){let o=0;for(const h of this._lazyMap.values())o+=h.length;return o}}class u{getSchemaId(o){return`${o.namespace}.${o.name}`}isInternal(o){return(o==null?void 0:o.namespace)==="sf.instrumentation"}makePayload(o,h,c=!0){if(!c||o!==void 0&&h!==void 0)return{schema:o,payload:h}}checkSchema(o){return T.requireArgument(o,"schema","object"),T.requireArgument(o.namespace,"schema.namespace","string"),T.requireArgument(o.name,"schema.name","string"),T.requireArgument(o.pbjsSchema,"schema.pbjsSchema","object"),this._getTokens(o)}_getTokens(o){const h=o.namespace.split(".");if(h.length!==2)throw new Error(`Schema "${this.getSchemaId(o)}" must have a namespace of the form "domain.feature".`);return{domain:h[0],feature:h[1],message:o.name}}_getAnyNestedObject(o,h){return h.reduce((c,$)=>{const z=c.nested;if(z){const de=z[$];if(de)return de}throw new Error(`Cannot locate ${h.join(".")} in schema with ID ${this.getSchemaId(o)}`)},o.pbjsSchema)}getTypes(o){const h=this.checkSchema(o),$=this._getAnyNestedObject(o,[h.domain,h.feature]).nested;if(!$)throw new Error(`Cannot parse schema with ID ${this.getSchemaId(o)}`);return $}getType(o,h){T.requireArgument(h,"messageName","string");const $=this.getTypes(o)[h];if(!$)throw new Error(`Cannot locate message ${h} in schema with ID ${this.getSchemaId(o)}`);return $}getOptions(o,h,c){c&&T.requireArgument(h,"messageName","string");const $=this.checkSchema(o);if(!h)return this._getAnyNestedObject(o,[$.domain,$.feature]).options;const z=this.getType(o,h);if(!c)return z.options;const de=z.fields[c];if(!de){const Te=this.getSchemaId(o);throw new Error(`Cannot locate field ${c} in message ${h} in schema with ID ${Te}`)}return de.options}getExtraFields(o,h){const{message:c}=this._getTokens(o),z=this.getTypes(o)[c].fields,de=new Set(Object.keys(z));return h!=null?Object.keys(h).filter(Ve=>!de.has(Ve)):[]}}const f=new u,d=1e4,_=1e4,P=0,A=2147483647,L=-2147483648,S=4294967295,G=9223372036854776e3,U=-9223372036854776e3,Y=18446744073709552e3;class Q{constructor(o,h,c,$){this.errorCode=o,this.fields=h,this.expected=c,this.received=$}asMessage(o){const h=this.fields[0]+this.fields.slice(1).reduce(($,z)=>Number(z)>=0?`${$}[${z}]`:`${$}.${z}`,"");let c;switch(this.errorCode){case 1:c="Repeated field must be an array";break;case 2:c=`Expected type ${this.expected} but received type ${this.received}`;break;case 3:c="Value must be finite";break;case 4:c="Value is out of range for its type";break;case 5:c="Bytes array is malformed";break;case 6:c="Exceeded app limit for maximum string length";break;case 7:c="Exceeded app limit for item count";break;case 12:c="Value must be an integer";break;case 13:c="Values like null or undefined are not allowed for items in repeated fields";break;default:c=`Unknown error code: ${this.errorCode}`;break}return`Schema ${o} on field "${h}": ${c}`}}class I{validate(o,h,c=!1){const $=f.checkSchema(o);T.requireArgument(h,"data","object");const z=f.getSchemaId(o),de=new Array,Te=f.getTypes(o);if(this._validateFields(de,[],h,Te[$.message],Te,z),de.length&&!c)throw new Error(de[0].asMessage(z));return de}_validateFields(o,h,c,$,z,de){const Te=$.oneofs||{},Ve=$.fields||{};for(const je in c){const xe=c[je];if(xe!=null){const $e=(We,Ze,B)=>this._matchFieldTypes(o,[...h,je],xe,We,z,de,je,Ze,B);Te[je]?$e(Ve[Te[je].oneof[0]].type):Ve[je]&&$e(Ve[je].type,Ve[je].rule==="repeated")}}}_matchFieldTypes(o,h,c,$,z,de,Te,Ve,je){let xe;if(Ve)Array.isArray(c)?(c.length>_&&(xe=7),c.forEach(($e,We)=>{this._matchFieldTypes(o,[...h,We.toString()],$e,$,z,de,Te,void 0,!0)})):xe=1;else if(c==null||c===void 0)je&&(xe=13);else{let $e,We;switch($){case"string":We="string",c.length>d&&(xe=6);break;case"bytes":We="object",c instanceof Uint8Array||(xe=5);break;case"bool":We="boolean";break;case"uint32":We="number",$e={min:P,max:S,isInt:!0,isItem:je};break;case"int32":case"sint32":case"fixed32":case"sfixed32":We="number",$e={min:L,max:A,isInt:!0,isItem:je};break;case"uint64":We="number",$e={min:P,max:Y,isInt:!0,isItem:je};break;case"fixed64":case"sfixed64":case"int64":case"sint64":We="number",$e={min:U,max:G,isInt:!0,isItem:je};break;case"double":case"float":We="number",$e={min:Number.NEGATIVE_INFINITY,max:Number.POSITIVE_INFINITY,isInt:!1,isItem:je};break;default:new Set(Object.keys(z)).has($)&&(this._validateFields(o,h,c,z[$],z,de),We="object");break}typeof c!==We?o.push(new Q(2,h,$,typeof c)):$e&&($e.isInt&&!Number.isFinite(c)?xe=3:$e.isInt&&!Number.isInteger(c)?xe=12:!(!$e.isInt&&Number.isNaN(c))&&!(c>=$e.min&&c<=$e.max)&&(xe=4))}xe&&o.push(new Q(xe,h))}}const k=new I;class ne{_getMetricTags(o){const h=o.getTags();if(h)return Object.entries(h).map(c=>({name:c[0],value:c[1].toString()}))}getUpCounters(o,h=!0){return o.map(c=>{const $={name:c.getName(),createdTimestamp:c.getCreatedOn(),lastUpdatedTimestamp:c.getLastUpdatedOn(),value:c.getData(),ownerName:c.getOwnerName(),ownerAppName:c.getOwnerAppName(),tags:this._getMetricTags(c)};return h&&c.reset(),$})}getValueRecorders(o,h=!0){return o.map(c=>{const $={name:c.getName(),createdTimestamp:c.getCreatedOn(),lastUpdatedTimestamp:c.getLastUpdatedOn(),values:c.getData(),ownerName:c.getOwnerName(),ownerAppName:c.getOwnerAppName(),tags:this._getMetricTags(c)};return h&&c.reset(),$})}getBucketHistograms(o,h=!0){return o.map(c=>{const $={name:c.getName(),createdTimestamp:c.getCreatedOn(),lastUpdatedTimestamp:c.getLastUpdatedOn(),values:c.getData(),buckets:c.getBuckets(),ownerName:c.getOwnerName(),ownerAppName:c.getOwnerAppName(),tags:this._getMetricTags(c)};return h&&c.reset(),$})}getMetricsTags(o){const h={};return o.forEach(c=>{h[c.name]=c.value}),h}}const ae=Object.freeze(new ne);class ke{checkInputs(o,h){f.checkSchema(o),T.requireArgument(h,"data","object");let c,$;h.userPayload!==void 0&&f.isInternal(o)&&($=h.userPayload,c=k.validate($.schema,$.payload,!0),this._processValidationResults(f.getSchemaId($.schema),$.payload,c),h.userPayload=void 0),c=k.validate(o,h,!0),this._processValidationResults(f.getSchemaId(o),h,c),$!==void 0&&(h.userPayload=$)}getExtraFields(o,h){T.requireArgument(h,"data","object");const c=[],$=h.userPayload;return $!==void 0&&f.isInternal(o)&&c.push(...f.getExtraFields($.schema,$.payload)),c.push(...f.getExtraFields(o,h)),c}getPayloadFromProvider(o,h){const c=(o==null?void 0:o.getPayload(h))||void 0;return c&&this.checkInputs(c.schema,c.payload),c}_processValidationResults(o,h,c){for(let $=0;$<c.length;$+=1){const z=c[$];if(z.errorCode==6||z.errorCode==7){const de=z.fields.length-1,Te=this._traverseFields(h,z.fields.slice(0,de)),Ve=z.fields[de];z.errorCode==6?Te[Ve]=Te[Ve].substring(0,d):Te[Ve].splice(_)}else throw new Error(z.asMessage(o))}}_traverseFields(o,h){return h.length?this._traverseFields(o[h[0]],h.slice(1)):o}}const te=Object.freeze(new ke),W="o11y";class Oe{constructor(o){this._errorCounter=o,this._safeCatchMode=!1}_callCo11y(o,h){h?m.exception(o==null?void 0:o.op,W):m.success(o==null?void 0:o.op,W)}tryCatch(o,h){let c;try{o()}catch($){c=!0,this._prodSafeCatch($)}finally{this._callCo11y(h,c)}}tryCatchReturn(o,h,c){let $;try{return T.requireArgument(h,"noopValue"),o()}catch(z){return $=!0,this._prodSafeCatch(z),h}finally{this._callCo11y(c,$)}}_prodSafeCatch(o){let h;try{if(h=!T.isProduction,h)throw o;if(this._safeCatchMode)throw this._safeCatchMode=!1,new Error("Internal error in prodSafeCatch.");if(this._safeCatchMode=!0,this._errorCounter&&this._errorCounter.increment(),!(o instanceof Error)){const c=o&&o.message||(typeof o.toString=="function"?o.toString():"");o=new Error(c)}this._safeCatchMode=!1}catch(c){if(h)throw c;if(c&&console&&typeof console.error=="function")try{console.error(c)}catch($){}this._safeCatchMode=!1}}}r.Co11yImpl=R,r.LazyMapToList=p,r.MetricsUtility=ne,r.PublicSafety=Oe,r.UpCounterImpl=H,r.ValidationEntry=Q,r.co11y=m,r.logValidator=k,r.maxItemCountAppLimit=_,r.maxStringLengthAppLimit=d,r.metricsUtility=ae,r.payloadUtility=te,r.schemaUtil=f,r.utility=T,Object.defineProperty(r,"__esModule",{value:!0})}),LWR.define("o11y/shared",["exports","o11y/shared/v/262_6_0"],function(r,t){r.default=t&&typeof t=="object"&&"default"in t?t.default:t,Object.keys(t).forEach(function(e){e==="default"||r.hasOwnProperty(e)||Object.defineProperty(r,e,{enumerable:!0,get:function(){return t[e]}})})}),LWR.define("o11y_schema/sf_instrumentation/v/260_63_0",["exports"],function(r){"use strict";var t={namespace:"sf.instrumentation",name:"Event",pbjsSchema:{nested:{sf:{nested:{instrumentation:{nested:{Event:{fields:{type:{id:1,type:"string"}}}}}}}}}},e={namespace:"sf.instrumentation",name:"CoreEnvelope",pbjsSchema:{nested:{sf:{nested:{instrumentation:{nested:{MessageBundle:{fields:{messages:{rule:"repeated",id:2,type:"LogMessage"},schemaName:{id:1,type:"string"}}},Metrics:{fields:{globalMetricTags:{rule:"repeated",id:4,type:"MetricTag"},bucketHistograms:{rule:"repeated",id:3,type:"BucketHistogram"},valueRecorders:{rule:"repeated",id:2,type:"ValueRecorder"},upCounters:{rule:"repeated",id:1,type:"UpCounter"}}},CoreEnvelopeDiagnostics:{fields:{schemaVersion:{id:6,type:"string"},generatedTimestamp:{id:2,type:"double"},bundleCount:{id:3,type:"uint32"},upCounterCount:{id:4,type:"uint32"},valueRecorderCount:{id:5,type:"uint32"},key:{id:1,type:"string"},bucketHistogramCount:{id:7,type:"uint32"}}},LogMessage:{fields:{data:{id:2,type:"bytes"},rootId:{id:4,type:"string"},csId:{id:12,type:"string"},recCsId:{id:13,type:"string"},pagePayload:{id:7,type:"Payload"},connectionType:{id:9,type:"string"},appPayload:{id:10,type:"Payload"},loggerAppName:{id:8,type:"string"},sseq:{id:11,type:"uint32"},recRootId:{id:14,type:"string"},loggerName:{id:6,type:"string"},age:{id:3,type:"double"},seq:{id:5,type:"uint32"},timestamp:{id:1,type:"double"}}},CoreEnvelope:{fields:{diagnostics:{id:1,type:"CoreEnvelopeDiagnostics"},bundles:{rule:"repeated",id:2,type:"MessageBundle"},metrics:{id:3,type:"Metrics"},staticAttributes:{id:4,type:"StaticAttributes"}}},MetricTag:{fields:{name:{id:1,type:"string"},value:{id:2,type:"string"}}},BucketHistogram:{fields:{lastUpdatedTimestamp:{id:3,type:"double"},ownerName:{id:7,type:"string"},ownerAppName:{id:8,type:"string"},createdTimestamp:{id:2,type:"double"},values:{rule:"repeated",id:4,type:"double"},buckets:{rule:"repeated",id:5,type:"uint32"},name:{id:1,type:"string"},tags:{rule:"repeated",id:6,type:"MetricTag"}}},ValueRecorder:{fields:{lastUpdatedTimestamp:{id:3,type:"double"},ownerName:{id:6,type:"string"},ownerAppName:{id:7,type:"string"},createdTimestamp:{id:2,type:"double"},values:{rule:"repeated",id:4,type:"double"},name:{id:1,type:"string"},tags:{rule:"repeated",id:5,type:"MetricTag"}}},StaticAttributes:{fields:{appVersion:{id:2,type:"string"},appName:{id:1,type:"string"},deviceModel:{id:5,type:"string"},sdkVersion:{id:6,type:"string"},deviceId:{id:4,type:"string"},appExperience:{id:3,type:"string"}}},Payload:{fields:{payload:{id:2,type:"bytes"},schemaName:{id:1,type:"string"}}},UpCounter:{fields:{lastUpdatedTimestamp:{id:3,type:"double"},ownerName:{id:6,type:"string"},ownerAppName:{id:7,type:"string"},createdTimestamp:{id:2,type:"double"},name:{id:1,type:"string"},value:{id:4,type:"uint32"},tags:{rule:"repeated",id:5,type:"MetricTag"}}}}}}}}}},O={namespace:"sf.instrumentation",name:"BasicPage",pbjsSchema:{nested:{sf:{nested:{instrumentation:{nested:{BasicPage:{fields:{entityType:{id:3,type:"string"},entityId:{id:2,type:"string"},url:{id:1,type:"string"}}}}}}}}}},T={namespace:"sf.instrumentation",name:"PayloadDiags",pbjsSchema:{nested:{sf:{nested:{instrumentation:{nested:{PayloadDiags:{fields:{extras:{rule:"repeated",id:1,type:"string"}}}}}}}}}},H={namespace:"sf.instrumentation",name:"InstrumentedEvent",pbjsSchema:{nested:{sf:{nested:{instrumentation:{nested:{MouseEvent:{reserved:[[6,6],[7,7],[15,15],[16,16],[17,17],[18,18],[19,19],[20,20],[21,21],[22,22]],fields:{cancelable:{id:5,type:"bool"},ctrlKey:{id:9,type:"bool"},type:{id:25,type:"string"},button:{id:3,type:"uint32"},offsetX:{id:30,type:"double"},eventPhase:{id:12,type:"uint32"},shiftKey:{id:23,type:"bool"},offsetY:{id:31,type:"double"},composed:{id:8,type:"bool"},altKey:{id:1,type:"bool"},isTrusted:{id:13,type:"bool"},buttons:{id:4,type:"uint32"},movementY:{id:29,type:"double"},clientY:{id:27,type:"double"},clientX:{id:26,type:"double"},movementX:{id:28,type:"double"},defaultPrevented:{id:10,type:"bool"},metaKey:{id:14,type:"bool"},timeStamp:{id:24,type:"double"},bubbles:{id:2,type:"bool"},detail:{id:11,type:"int64"},pageY:{id:33,type:"double"},pageX:{id:32,type:"double"},screenX:{id:34,type:"double"},screenY:{id:35,type:"double"}}},Event:{fields:{type:{id:1,type:"string"}}},InstrumentedEvent:{oneofs:{event:{oneof:["mouseEvent","baseEvent"]}},reserved:[[4,4],"xpath",[6,6],[8,8]],fields:{mouseEvent:{id:7,type:"MouseEvent"},auto:{id:3,type:"bool"},parentComponent:{id:2,type:"string"},baseEvent:{id:10,type:"Event"},ownerComponent:{id:1,type:"string"},userPayload:{id:5,type:"Payload"},simplePath:{id:9,type:"string"}}},Payload:{fields:{payload:{id:2,type:"bytes"},schemaName:{id:1,type:"string"}}}}}}}}}},D={namespace:"sf.instrumentation",name:"Payload",pbjsSchema:{nested:{sf:{nested:{instrumentation:{nested:{Payload:{fields:{payload:{id:2,type:"bytes"},schemaName:{id:1,type:"string"}}}}}}}}}},R={namespace:"sf.instrumentation",name:"Network",pbjsSchema:{nested:{sf:{nested:{instrumentation:{nested:{Network:{fields:{mtd:{id:1,type:"string"},url:{id:2,type:"string"}}}}}}}}}},m={namespace:"sf.instrumentation",name:"Error",pbjsSchema:{nested:{sf:{nested:{instrumentation:{nested:{Error:{reserved:[[5,5],[7,7]],fields:{activityId:{id:6,type:"string"},stack:{id:3,type:"string"},name:{id:1,type:"string"},message:{options:{"(meta.max_length)":200},id:2,type:"string"},userPayload:{id:4,type:"Payload"}}},Payload:{fields:{payload:{id:2,type:"bytes"},schemaName:{id:1,type:"string"}}}}}}}}}},p={namespace:"sf.instrumentation",name:"MouseEvent",pbjsSchema:{nested:{sf:{nested:{instrumentation:{nested:{MouseEvent:{reserved:[[6,6],[7,7],[15,15],[16,16],[17,17],[18,18],[19,19],[20,20],[21,21],[22,22]],fields:{cancelable:{id:5,type:"bool"},ctrlKey:{id:9,type:"bool"},type:{id:25,type:"string"},button:{id:3,type:"uint32"},offsetX:{id:30,type:"double"},eventPhase:{id:12,type:"uint32"},shiftKey:{id:23,type:"bool"},offsetY:{id:31,type:"double"},composed:{id:8,type:"bool"},altKey:{id:1,type:"bool"},isTrusted:{id:13,type:"bool"},buttons:{id:4,type:"uint32"},movementY:{id:29,type:"double"},clientY:{id:27,type:"double"},clientX:{id:26,type:"double"},movementX:{id:28,type:"double"},defaultPrevented:{id:10,type:"bool"},metaKey:{id:14,type:"bool"},timeStamp:{id:24,type:"double"},bubbles:{id:2,type:"bool"},detail:{id:11,type:"int64"},pageY:{id:33,type:"double"},pageX:{id:32,type:"double"},screenX:{id:34,type:"double"},screenY:{id:35,type:"double"}}}}}}}}}},u={namespace:"sf.instrumentation",name:"Simple",pbjsSchema:{nested:{sf:{nested:{instrumentation:{nested:{Simple:{fields:{text:{options:{"(meta.max_length)":25},id:1,type:"string"}}}}}}}}}},f={namespace:"sf.instrumentation",name:"WebVitals",pbjsSchema:{nested:{sf:{nested:{instrumentation:{nested:{WebVitals:{fields:{navType:{id:5,type:"string"},name:{id:1,type:"string"},delta:{id:3,type:"double"},id:{id:4,type:"string"},value:{id:2,type:"double"},wvVersion:{id:6,type:"string"}}}}}}}}}},d={namespace:"sf.instrumentation",name:"Activity",pbjsSchema:{nested:{sf:{nested:{instrumentation:{nested:{Activity:{reserved:[[5,5],[7,7]],fields:{stopReason:{id:6,type:"string"},externalParentId:{id:17,type:"string"},isRoot:{id:8,type:"bool"},isExternal:{id:16,type:"bool"},isSampled:{id:11,type:"bool"},preRootId:{id:9,type:"string"},parentId:{id:13,type:"string"},duration:{id:3,type:"double"},timerOverridden:{id:12,type:"uint32"},isRerooted:{id:15,type:"bool"},name:{options:{"(meta.max_length)":25},id:2,type:"string"},traceIdSource:{id:14,type:"string"},id:{id:1,type:"string"},userPayload:{id:4,type:"Payload"},errorCount:{id:10,type:"uint32"}}},Payload:{fields:{payload:{id:2,type:"bytes"},schemaName:{id:1,type:"string"}}}}}}}}}},_={namespace:"sf.instrumentation",name:"IdleDetectorReport",pbjsSchema:{nested:{sf:{nested:{instrumentation:{nested:{IdleDetectorReport:{fields:{listenerCount:{id:3,type:"uint32"},busyTasks:{rule:"repeated",id:5,type:"string"},busyDurations:{rule:"repeated",id:6,type:"double"},pollableCount:{id:4,type:"uint32"},pollCounts:{rule:"repeated",id:8,type:"double"},logThreshold:{id:2,type:"double"},maxDuration:{id:1,type:"double"},pollables:{rule:"repeated",id:7,type:"string"}}}}}}}}}};r.activitySchema=d,r.basicPageSchema=O,r.coreEnvelopeSchema=e,r.errorSchema=m,r.eventSchema=t,r.idleDetectorReportSchema=_,r.instrumentedEventSchema=H,r.mouseEventSchema=p,r.networkSchema=R,r.payloadDiagsSchema=T,r.payloadSchema=D,r.simpleSchema=u,r.webVitalsSchema=f,Object.defineProperty(r,"__esModule",{value:!0})}),LWR.define("o11y_schema/sf_instrumentation",["exports","o11y_schema/sf_instrumentation/v/260_63_0"],function(r,t){r.default=t&&typeof t=="object"&&"default"in t?t.default:t,Object.keys(t).forEach(function(e){e==="default"||r.hasOwnProperty(e)||Object.defineProperty(r,e,{enumerable:!0,get:function(){return t[e]}})})}),LWR.define("o11y/client/v/262_6_0",["exports","o11y_schema/sf_instrumentation/v/260_63_0","o11y/shared/v/262_6_0"],function(r,t,e){"use strict";class O{get isBusy(){return this._isOk?this._busyCount>0:void 0}constructor(n,i,a,l){this.name=n,this._doneCallback=a,this._overDoneCallback=l,this._busyCount=0,this._isOk=!0,this._busyCount=i}add(){this._isOk&&(this._busyCount+=1)}done(){this._isOk&&(this._busyCount>0?(this._busyCount-=1,this._busyCount||this._doneCallback()):(this._isOk=!1,this._overDoneCallback()))}}const T=300;class H{constructor(n){this._taskers=new Map,this._listeners=new Set,this._busyCheckers=new Map,this._logThreshold=T,this._endedTasks=new Array,this._pollableReport=new Array,e.utility.requireArgumentIfDefined(n==null?void 0:n.logThreshold,"options.logThreshold","number")&&(this._logThreshold=n.logThreshold),e.utility.requireArgumentIfDefined(n==null?void 0:n.reportListener,"options.reportListener","function")&&(this._reportListener=n.reportListener),e.utility.requireArgumentIfDefined(n==null?void 0:n.errorListener,"options.errorListener","function")&&(this._errorListener=n.errorListener)}requestIdleDetectedCallback(n){e.utility.requireArgument(n,"callback","function"),this._listeners.size===0&&(this._firstCallbackTime=e.utility.time().perfNow),this._listeners.add(n),this._checkIfLoaded()}_reportTaskEnded(n){if(this._listeners.size){const i=Object.assign({},this._taskers.get(n));this._endedTasks.push(i)}}declareNotifierTaskSingle(n){e.utility.requireArgument(n,"name","string");const i=this._addTasker(n,1);return{get isBusy(){return i.isBusy},done:()=>{i.done(),this._taskers.delete(i)}}}declareNotifierTaskMulti(n,i=0){if(e.utility.requireArgument(n,"name","string"),i!==void 0&&(e.utility.requireArgument(i,"existingBusyCount","number"),!Number.isInteger(i)||i<0))throw new Error("existingBusyCount accepts only non-negative integers");const a=this._addTasker(n,i);return{get isBusy(){return a.isBusy},add:()=>{if(!a.isBusy){const y=this._taskers.get(a);y.start=e.utility.time().perfNow,y.end=void 0}a.add()},done:a.done.bind(a)}}declarePollableTaskMulti(n,i){e.utility.requireArgument(n,"name","string"),e.utility.requireArgument(i,"isBusyChecker","function"),this._busyCheckers.set(i,n)}_addTasker(n,i){const a=new O(n,i,()=>{this._taskers.get(a).end=e.utility.time().perfNow,this._reportTaskEnded(a),this._checkIfLoaded()},()=>{var l;(l=this._errorListener)===null||l===void 0||l.call(this,`Overdone: ${a.name}`),e.utility.noProdThrow(`Tasker '${a.name}' is done too many times.`)});return this._taskers.set(a,{name:n,start:i>0?e.utility.time().perfNow:void 0,end:void 0}),a}_areAllNotifiersIdle(){return!Array.from(this._taskers.keys()).some(n=>n.isBusy)}_getFirstBusyPollable(){const n=Array.from(this._busyCheckers).find(i=>{var a;const l=i[0],y=i[1];try{return l()}catch(g){return(a=this._errorListener)===null||a===void 0||a.call(this,g,`BusyChecker ${y}`),e.utility.noProdThrow(g),!1}});return n?n[1]:void 0}_checkIfLoaded(){!this._listeners.size||(this._timerCheckQueued&&clearTimeout(this._timerCheckQueued),this._areAllNotifiersIdle()&&(this._timerCheckQueued=setTimeout(()=>{this._timerCheckQueued=setTimeout(()=>{this._doubleCheck()},40)},0)))}_doubleCheck(){if(this._timerCheckQueued=void 0,this._areAllNotifiersIdle()){const n=this._getFirstBusyPollable();if(n!==void 0)this._addToPollableReport(n),this._timerCheckQueued=setTimeout(()=>{this._doubleCheck()},15);else{const i=e.utility.time().perfNow-this._firstCallbackTime,a=Array.from(this._listeners.values());this._listeners.clear(),this._firstCallbackTime=void 0;const l=this._endedTasks.splice(0),y=this._pollableReport.splice(0);this._notify(a,i,l,y)}}}_addToPollableReport(n){const i=this._pollableReport.length?this._pollableReport[this._pollableReport.length-1]:void 0;(i==null?void 0:i.name)===n?i.count+=1:this._pollableReport.push({name:n,count:1})}_notify(n,i,a,l){var y;if(i>=this._logThreshold&&this._reportListener){const q=this._getReport(i,n.length,a,l);this._reportListener(q)}n.reverse();const g=e.utility.time().tsNow;for(const[q,ge]of n.entries())try{ge(g)}catch(he){(y=this._errorListener)===null||y===void 0||y.call(this,he,`Listener #${n.length-1-q}`),e.utility.noProdThrow(he)}}getReport(){const n=e.utility.time().perfNow,i=this._firstCallbackTime>0?n-this._firstCallbackTime:void 0,a=Array.from(this._taskers.entries()).filter(l=>l[0].isBusy).map(l=>({name:l[1].name,start:l[1].start,end:n}));return this._getReport(i,this._listeners.size,this._endedTasks.concat(a),this._pollableReport)}_getReport(n,i,a,l){const y=a.map(g=>({name:g.name,duration:g.end-g.start})).sort((g,q)=>q.duration-g.duration);return{logThreshold:this._logThreshold,maxDuration:n,listenerCount:i,pollableCount:this._busyCheckers.size,busyTasks:y.map(g=>g.name),busyDurations:y.map(g=>g.duration),pollables:l.map(g=>g.name),pollCounts:l.map(g=>g.count)}}}const D={namespace:"sfcore.performance",name:"NavigationTiming",pbjsSchema:{nested:{sfcore:{nested:{performance:{nested:{NavigationTiming:{oneofs:{_xhrDelay:{oneof:["xhrDelay"]},_renderBlockingStatus:{oneof:["renderBlockingStatus"]},_firstInterimResponseStart:{oneof:["firstInterimResponseStart"]},_srvDuration:{oneof:["srvDuration"]},_isCdnCached:{oneof:["isCdnCached"]},_responseStatus:{oneof:["responseStatus"]},_dbDuration:{oneof:["dbDuration"]},_reqBatchCount:{oneof:["reqBatchCount"]}},fields:{redirectCount:{id:37,type:"uint32"},encodedBodySize:{id:21,type:"uint32"},reqActionNames:{rule:"repeated",id:28,type:"string"},unloadEventEnd:{id:40,type:"double"},responseEnd:{id:19,type:"double"},domainLookupEnd:{id:12,type:"double"},unloadEventStart:{id:39,type:"double"},domContentLoadedEventStart:{id:32,type:"double"},type:{id:38,type:"string"},firstInterimResponseStart:{options:{proto3_optional:!0},id:18,type:"double"},duration:{id:3,type:"double"},decodedBodySize:{id:22,type:"uint32"},redirectStart:{id:8,type:"double"},connectEnd:{id:15,type:"double"},isCdnCached:{options:{proto3_optional:!0},id:24,type:"bool"},requestStart:{id:16,type:"double"},startTime:{id:2,type:"double"},fetchStart:{id:10,type:"double"},domContentLoadedEventEnd:{id:33,type:"double"},srvReqId:{id:29,type:"string"},reqBatchCount:{options:{proto3_optional:!0},id:27,type:"uint32"},renderBlockingStatus:{options:{proto3_optional:!0},id:6,type:"string"},workerStart:{id:7,type:"double"},responseStart:{id:17,type:"double"},xhrDelay:{options:{proto3_optional:!0},id:30,type:"double"},domInteractive:{id:34,type:"double"},domComplete:{id:31,type:"double"},domainLookupStart:{id:11,type:"double"},responseStatus:{options:{proto3_optional:!0},id:23,type:"uint32"},redirectEnd:{id:9,type:"double"},logEvent:{id:41,type:"string"},transferSize:{id:20,type:"uint32"},srvDuration:{options:{proto3_optional:!0},id:26,type:"double"},dbDuration:{options:{proto3_optional:!0},id:25,type:"double"},connectStart:{id:13,type:"double"},loadEventStart:{id:35,type:"double"},secureConnectionStart:{id:14,type:"double"},name:{id:1,type:"string"},nextHopProtocol:{id:5,type:"string"},initiatorType:{id:4,type:"string"},loadEventEnd:{id:36,type:"double"}}}}}}}}}},R={namespace:"sfcore.performance",name:"ResourceTiming",pbjsSchema:{nested:{sfcore:{nested:{performance:{nested:{ResourceTiming:{oneofs:{_xhrDelay:{oneof:["xhrDelay"]},_renderBlockingStatus:{oneof:["renderBlockingStatus"]},_firstInterimResponseStart:{oneof:["firstInterimResponseStart"]},_srvDuration:{oneof:["srvDuration"]},_isCdnCached:{oneof:["isCdnCached"]},_responseStatus:{oneof:["responseStatus"]},_dbDuration:{oneof:["dbDuration"]},_reqBatchCount:{oneof:["reqBatchCount"]}},fields:{encodedBodySize:{id:21,type:"uint32"},reqActionNames:{rule:"repeated",id:28,type:"string"},responseEnd:{id:19,type:"double"},domainLookupEnd:{id:12,type:"double"},firstInterimResponseStart:{options:{proto3_optional:!0},id:18,type:"double"},duration:{id:3,type:"double"},decodedBodySize:{id:22,type:"uint32"},redirectStart:{id:8,type:"double"},connectEnd:{id:15,type:"double"},isCdnCached:{options:{proto3_optional:!0},id:24,type:"bool"},requestStart:{id:16,type:"double"},startTime:{id:2,type:"double"},fetchStart:{id:10,type:"double"},srvReqId:{id:29,type:"string"},reqBatchCount:{options:{proto3_optional:!0},id:27,type:"uint32"},renderBlockingStatus:{options:{proto3_optional:!0},id:6,type:"string"},workerStart:{id:7,type:"double"},responseStart:{id:17,type:"double"},xhrDelay:{options:{proto3_optional:!0},id:30,type:"double"},domainLookupStart:{id:11,type:"double"},responseStatus:{options:{proto3_optional:!0},id:23,type:"uint32"},redirectEnd:{id:9,type:"double"},transferSize:{id:20,type:"uint32"},srvDuration:{options:{proto3_optional:!0},id:26,type:"double"},dbDuration:{options:{proto3_optional:!0},id:25,type:"double"},connectStart:{id:13,type:"double"},secureConnectionStart:{id:14,type:"double"},name:{id:1,type:"string"},nextHopProtocol:{id:5,type:"string"},initiatorType:{id:4,type:"string"}}}}}}}}}};class m{constructor(n){this._fuzzyKeyRange=n,this._map=new Map,e.utility.requireArgument(n,"_fuzzyKeyRange","number")}add(n,i,a){const l=this._map.get(n);l?l.push({fuzzyKey:i,value:a}):this._map.set(n,[{fuzzyKey:i,value:a}])}pop(n,i){const a=this._map.get(n);if((a==null?void 0:a.length)>=1){let l=Number.POSITIVE_INFINITY,y=-1;for(let g=0;g<a.length;g++){const{fuzzyKey:q}=a[g],ge=Math.abs(q-i);ge<=this._fuzzyKeyRange&&ge<l&&(l=ge,y=g)}if(y>=0){const{value:g}=a.splice(y,1)[0];return a.length===0&&this._map.delete(n),g}}}clear(){this._map.clear()}}const p=["fetch","xmlhttprequest"];class u{constructor(n,i,a,l,y){if(this._instr=n,this._skipUrls=a,this._logPerformanceActivityName=l,this._boundObserverCallback=this._logPerformanceEntries.bind(this),this._boundNavigationTimingEventCallback=g=>{this._logNavigationEntries(g)},this._setTimeoutNavigationCallback=g=>{setTimeout(()=>{this._boundNavigationTimingEventCallback(g)},0)},this._visibilityChangeNavigationCallback=g=>{document.visibilityState==="hidden"&&this._boundNavigationTimingEventCallback(g)},this._isStarted=!1,this._processedNavigationTiming=!1,e.utility.requireArgument(n,"_instr","object"),e.utility.requireArgument(i,"fuzzyMapRange","number"),e.utility.requireArgumentIfDefined(a,"_skipUrls",Array),e.utility.requireArgumentIfDefined(l,"_logPerformanceActivityName","string"),e.utility.requireArgumentIfDefined(y,"logLevel","string"),this._hasPerf=typeof performance!="undefined"&&typeof PerformanceObserver=="function",this._hasWindow=typeof window!="undefined",!y||y.toLowerCase()==="full")this._logLevel=1;else if((y==null?void 0:y.toLowerCase())==="basic")this._logLevel=0;else throw new Error(`Invalid log level: ${y}`);this._fuzzyMapper=new m(i)}get isStarted(){return this._isStarted}get logLevel(){return this._logLevel}start(){!this._hasPerf||this._isStarted||(this._isStarted=!0,this._resourceObserver=new PerformanceObserver(this._boundObserverCallback),this._resourceObserver.observe({type:"resource",buffered:!0}),this._addNavigationListeners())}stop(){this._resourceObserver&&(this._resourceObserver.disconnect(),this._resourceObserver=void 0),this._removeNavigationListeners(),this._fuzzyMapper.clear(),this._isStarted=!1}_addNavigationListeners(){!this._hasWindow||(window.addEventListener("load",this._setTimeoutNavigationCallback),window.addEventListener("pagehide",this._boundNavigationTimingEventCallback),document.addEventListener("visibilitychange",this._visibilityChangeNavigationCallback))}_removeNavigationListeners(){!this._hasWindow||(window.removeEventListener("load",this._setTimeoutNavigationCallback),window.removeEventListener("pagehide",this._boundNavigationTimingEventCallback),document.removeEventListener("visibilitychange",this._visibilityChangeNavigationCallback))}addEntry(n,i,a){this._fuzzyMapper.add(n,i,a)}_resourceEntryToResourceTiming(n){var i,a;const l={name:n.name,startTime:n.startTime,duration:n.duration,initiatorType:n.initiatorType,nextHopProtocol:n.nextHopProtocol,renderBlockingStatus:n.renderBlockingStatus,workerStart:n.workerStart,redirectStart:n.redirectStart,redirectEnd:n.redirectEnd,fetchStart:n.fetchStart,domainLookupStart:n.domainLookupStart,domainLookupEnd:n.domainLookupEnd,connectStart:n.connectStart,secureConnectionStart:n.secureConnectionStart,connectEnd:n.connectEnd,requestStart:n.requestStart,responseStart:n.responseStart,firstInterimResponseStart:n.firstInterimResponseStart,responseEnd:n.responseEnd,transferSize:n.transferSize,encodedBodySize:n.encodedBodySize,decodedBodySize:n.decodedBodySize,responseStatus:n.responseStatus},y=n.serverTiming;return Array.isArray(y)&&(l.dbDuration=(i=y.find(g=>g.name==="db"))===null||i===void 0?void 0:i.duration,l.srvDuration=(a=y.find(g=>g.name==="Total"))===null||a===void 0?void 0:a.duration),l}_shouldInclude(n){var i;return((i=this._skipUrls)===null||i===void 0?void 0:i.some(l=>l instanceof RegExp?l.test(n.name):n.name===l))?!1:this._logLevel===1?!0:p.indexOf(n.initiatorType)>=0||n.entryType==="navigation"}_calculateXhrDelay(n,i){if(!!i){if(n.initiatorType==="fetch"){if(n.responseStart===0)return-1;if(i.activityDuration!==void 0){const a=n.responseStart-n.startTime;return i.activityDuration-a}return}if(i.activityDuration!==void 0)return i.activityDuration-n.duration}}_logActivity(n,i,a,l){const y={id:a},g={perfStartOverride:i.startTime,perfStopOverride:i.startTime+i.duration,errorCount:l};this._instr.startActivity(this._logPerformanceActivityName,y).stop(n,i,g)}_logNavigationEntries(n){if(!this._processedNavigationTiming)for(const i of performance.getEntriesByType("navigation")){const a=i;if(this._shouldInclude(a)){this._processedNavigationTiming=!0;const l=this._resourceEntryToResourceTiming(a),y={domComplete:a.domComplete,domContentLoadedEventStart:a.domContentLoadedEventStart,domContentLoadedEventEnd:a.domContentLoadedEventEnd,domInteractive:a.domInteractive,loadEventStart:a.loadEventStart,loadEventEnd:a.loadEventEnd,redirectCount:a.redirectCount,type:a.type,unloadEventStart:a.unloadEventStart,unloadEventEnd:a.unloadEventEnd,logEvent:n.type};this._logActivity(D,Object.assign(l,y))}break}}_logPerformanceEntries(n){for(const i of n.getEntriesByType("resource")){const a=i,l=this._fuzzyMapper.pop(a.name,a.startTime);if(this._shouldInclude(a)){const y=this._resourceEntryToResourceTiming(a);Object.assign(y,{srvReqId:l==null?void 0:l.requestId,xhrDelay:this._calculateXhrDelay(a,l)}),y.responseStatus===void 0&&(y.responseStatus=l==null?void 0:l.responseStatus),this._logActivity(R,y,l==null?void 0:l.activityId,l==null?void 0:l.errorCount)}}}}const f=32,d=16,_=16,P="traceparent",A="b3",L="X-B3-TraceId",S="X-B3-SpanId",G="X-B3-Sampled",U="X-B3-ParentSpanId",Y="X-SFDC-Request-Id",Q="baggage",I="fetch",k="xhr_send",ne="perf-timing",ae=50,ke=[Q,L,S,U,G],te=new WeakMap;class W{constructor(n,i){this._instr=n,this._idleDetector=i,e.utility.requireArgument(n,"_instr","object"),e.utility.requireArgument(i,"_idleDetector","object")}static _getB3CompactFormat(n,i,a,l){let y=`${n}-${i}`;return(a!==void 0||l!==void 0)&&(y+=a?"-1":"-0",l!==void 0&&(y+=`-${l}`)),y}static _getW3CompactFormat(n,i,a){return`00-${n}-${i}-${a?"01":"00"}`}static _conformTextAsId(n,i){n=n.toLowerCase();const a=n.length;for(let l=0;l<a;l+=1){const y=n[l];if(!(y>="a"&&y<="f")&&!(y>="0"&&y<="9"))throw new Error(`The text '${n}' has an invalid character at index #${l}`)}return a>i?n.substr(a-i):a<i?n.padStart(i,"0"):n}static setHeaders(n){if(n===void 0){W._userHeaders={};return}Object.entries(n).forEach(([i])=>{ke.includes(i)||delete n[i]}),W._userHeaders=n}static getHeaders(n,i,a,l){e.utility.requireArgument(i,"spanId","string");const y=l==null?void 0:l.useB3Headers,g={};if(n===void 0)return g;n=this._conformTextAsId(n,(l==null?void 0:l.traceIdEffectiveLength)!==void 0?l.traceIdEffectiveLength:y?d:f),i=this._conformTextAsId(i,_);const q=l&&l.parentSpanId!==void 0&&this._conformTextAsId(l.parentSpanId,_)||void 0;return y?(l==null?void 0:l.useCompactHeader)?g[A]=this._getB3CompactFormat(n,i,a,q):(g[L]=n,g[S]=i,q!==void 0&&(g[U]=q),a!==void 0&&(g[G]=a?"1":"0")):g[P]=this._getW3CompactFormat(n,i,a),g}_disableNetworkInstrumentation(){W._isNetworkInstrumentationEnabled&&(W._originalFetch&&(W._global.fetch=W._originalFetch,W._originalFetch=void 0),W._originalXhr&&(W._global.XMLHttpRequest=W._originalXhr,W._originalXhr=void 0),W._originalXhrOpen&&(W._global.XMLHttpRequest.prototype.open=W._originalXhrOpen,W._originalXhrOpen=void 0),W._originalXhrSetRequestHeader&&(W._global.XMLHttpRequest.prototype.setRequestHeader=W._originalXhrSetRequestHeader,W._originalXhrSetRequestHeader=void 0),W._originalXhrSend&&(W._global.XMLHttpRequest.prototype.send=W._originalXhrSend,W._originalXhrSend=void 0),W._performanceObservability&&(W._performanceObservability.stop(),W._performanceObservability=void 0),W._isNetworkInstrumentationEnabled=!1)}_enableNetworkInstrumentation(n,i,a,l,y,g,q,ge,he,ve){typeof W._global.fetch=="function"&&(this._overrideFetch(n,i,a,l,y,g,he),W._isNetworkInstrumentationEnabled=!0),typeof W._global.XMLHttpRequest=="function"&&(this._overrideXhr(n,i,a,l,y,g,he),W._isNetworkInstrumentationEnabled=!0),q&&(W._performanceObservability=new u(n,ve,he,ge,q===!0?"full":q),W._performanceObservability.start(),W._isNetworkInstrumentationEnabled=!0)}static _getTraceHeaders(n,i,a,l,y){let g;if(n)g=n.getTraceHeaders(a)||{};else{const q=i.internalInstrumentationContext;(q==null?void 0:q.rootId)?g=W.getHeaders(q.rootId,e.utility.generateUniqueId(),q.isRootActivitySampled,a):g={}}if(typeof(a==null?void 0:a.headerProcessor)=="function")g=a.headerProcessor({method:l,url:y,defaultHeaders:g});else if(typeof window=="object"){let q;try{q=new URL(y)}catch(ge){}q&&q.host!==window.location.host&&(g=void 0)}return W._userHeaders&&Object.keys(W._userHeaders).length>0&&(g={...g},Object.entries(W._userHeaders).forEach(([q,ge])=>{g[q]=ge}),W._userHeaders=void 0),g||{}}static _extractHeader(n,i,a){if((a==null?void 0:a.headers)instanceof Headers)return a.headers.get(n);if(Array.isArray(a==null?void 0:a.headers)){const l=a.headers.find(y=>y[0]===n);return l==null?void 0:l[1]}if(typeof(a==null?void 0:a.headers)=="object")return a.headers[n];if(i instanceof Request)return i.headers.get(n)}_overrideFetch(n,i,a,l,y,g,q){W._originalFetch=W._global.fetch;const ge=async(he,ve,...Ie)=>{var Ce;let ce,Le,Be,tt,ct,_t=!1,st;try{g==null||g.add(),tt=ve==null?void 0:ve.method;const at=ve==null?void 0:ve.o11y,Et=at==null?void 0:at.skipInstr;if(_t=Et||W._shouldSkipUrl(q,he),!_t)ce=n.startActivity(a||I);else if(Et){W._reqIndex+=1;try{if(he instanceof URL)he.searchParams.append("o11y",W._reqIndex.toString());else if(typeof he=="string"){const lt=new URL(he),Ut=`o11y=${W._reqIndex}`;lt.search+=lt.search.startsWith("?")?`&${Ut}`:Ut,he=lt.toString()}}catch(lt){}}if(ve==null||delete ve.o11y,Le=he==null?void 0:he.toString(),Be=e.utility.tryGetAbsoluteUrl(Le),l){he instanceof Request&&(tt||(tt=he.method),Le=he.url,Be=e.utility.tryGetAbsoluteUrl(Le));const lt=W._getTraceHeaders(ce,n,y,tt,Be);!this._applyTraceHeaders(he,ve,lt)&&ve===void 0&&(ve={headers:lt})}return ct=e.utility.perfNow(),st=await W._originalFetch.call(W._global,he,ve,...Ie),st}catch(at){throw i&&!_t&&(ce?ce.error(at):n.error(at)),at}finally{try{const at=W._endActivity(ce,Le,tt);if((Ce=W._performanceObservability)===null||Ce===void 0?void 0:Ce.isStarted){const lt={requestId:W._extractHeader(Y,he,ve),activityDuration:at,activityId:ce==null?void 0:ce.getId(),errorCount:ce==null?void 0:ce.getErrorCount(),responseStatus:st==null?void 0:st.status};W._performanceObservability.addEntry(Be,ct,lt)}}finally{g==null||g.done()}}};W._global.fetch=ge}static _endActivity(n,i,a){var l;if(n)return((l=W._performanceObservability)===null||l===void 0?void 0:l.isStarted)?n.discard():n.stop(t.networkSchema,{mtd:a,url:i}),n.getStopPerfTime()-n.getStartPerfTime()}_overrideXhr(n,i,a,l,y,g,q){W._originalXhr=W._global.XMLHttpRequest,W._originalXhrOpen=W._originalXhr.prototype.open,W._originalXhrSetRequestHeader=W._originalXhr.prototype.setRequestHeader,W._originalXhrSend=W._originalXhr.prototype.send;function ge(ve,Ie){var Ce;const ce=te.get(ve);if(ce){const Le=ce.activity,Be=W._endActivity(Le,ce.url,ce.method);!Ie&&((Ce=W._performanceObservability)===null||Ce===void 0?void 0:Ce.isStarted)&&W._performanceObservability.addEntry(ce.absoluteUrl,ce.sendTime,{requestId:ce.requestId,activityDuration:Be,activityId:Le==null?void 0:Le.getId(),errorCount:Le==null?void 0:Le.getErrorCount(),responseStatus:ve.status})}}W._originalXhr.prototype.open=function(ve,Ie,Ce,ce,Le){const Be={method:ve,url:Ie==null?void 0:Ie.toString()};te.set(this,Be),Be.absoluteUrl=e.utility.tryGetAbsoluteUrl(Be.url),Be.suspendInstrumentation=W._shouldSkipUrl(q,Be.absoluteUrl),W._originalXhrOpen.apply(this,arguments)},W._originalXhr.prototype.setRequestHeader=function(ve,Ie){var Ce;if(((Ce=ve==null?void 0:ve.toLowerCase)===null||Ce===void 0?void 0:Ce.call(ve))===Y.toLowerCase()){const ce=te.get(this);ce&&(ce.requestId=Ie)}W._originalXhrSetRequestHeader.apply(this,arguments)},W._originalXhr.prototype.send=function(...ve){let Ie;const Ce=this;let ce=te.get(Ce);ce||(ce={},te.set(Ce,ce));try{if(g==null||g.add(),ce.suspendInstrumentation||(ce.activity=Ie=n.startActivity(a||k)),l){const Le=W._getTraceHeaders(Ie,n,y,ce.method,ce.absoluteUrl);Object.entries(Le).forEach(Be=>{Ce.setRequestHeader(Be[0],Be[1])})}ce.sendTime=e.utility.perfNow(),W._originalXhrSend.call(this,...ve)}catch(Le){throw i&&!(ce==null?void 0:ce.suspendInstrumentation)&&(Ie?Ie.error(Le):n.error(Le)),ge(Ce,!0),g==null||g.done(),Le}};const he=new Proxy(W._originalXhr,{construct(ve){const Ie=new ve;return Ie.addEventListener("load",()=>{ge(Ie),g==null||g.done()}),Ie.addEventListener("error",Ce=>{const ce=te.get(Ie)||{};try{if(i&&!(ce==null?void 0:ce.suspendInstrumentation)){const Le=new Error("XHR Network-Level Error"),Be=ce==null?void 0:ce.activity;Be?Be.error(Le):n.error(Le)}ge(Ie)}finally{g==null||g.done()}}),Ie.addEventListener("abort",()=>{var Ce;const ce=te.get(Ie)||{};(Ce=ce==null?void 0:ce.activity)===null||Ce===void 0||Ce.discard(),g==null||g.done()}),Ie}});W._global.XMLHttpRequest=he}networkInstrumentation(n){var i;if(e.utility.requireArgument(n,"options",["boolean","object"]),this._disableNetworkInstrumentation(),n){const a=typeof n=="object"?n:{};let l;e.utility.definedValueOrDefault(a.useTasker,!0)&&(l=(i=this._idleDetector)===null||i===void 0?void 0:i.declareNotifierTaskMulti("o11y network")),this._enableNetworkInstrumentation(e.utility.definedValueOrDefault(a.instrumentation,this._instr),e.utility.definedValueOrDefault(a.logErrors,!0),a.activityName,e.utility.definedValueOrDefault(a.useTracing,!0),a.tracingHeadersOptions,l,e.utility.definedValueOrDefault(a.logPerformance,!0),e.utility.definedValueOrDefault(a.logPerformanceActivityName,ne),e.utility.definedValueOrDefault(a.skipUrls,[]),e.utility.definedValueOrDefault(a.fuzzyMapRange,ae))}}resetRequestCounter(){W._reqIndex=0}_applyTraceHeaders(n,i,a){if((i==null?void 0:i.headers)!==void 0){if(i.headers instanceof Headers&&typeof i.headers.set=="function")return Object.entries(a).forEach(([l,y])=>{i.headers.set(l,y)}),!0;if(Array.isArray(i.headers))return Object.entries(a).forEach(l=>{i.headers.push(l)}),!0;if(typeof i.headers=="object")return i.headers=Object.assign(i.headers,a),!0}else{if(n instanceof Request&&n.headers instanceof Headers)return Object.entries(a).forEach(([l,y])=>{n.headers.set(l,y)}),!0;if(i)return i.headers=Object.assign({},a),!0}return!1}static _shouldSkipUrl(n,i){var a;let l=i;return i instanceof URL?l=(a=i.toString)===null||a===void 0?void 0:a.call(i):i instanceof Request&&(l=i.url),n==null?void 0:n.some(y=>y instanceof RegExp?y.test(l):l===y)}}W._global=e.utility.getGlobal(),W._isNetworkInstrumentationEnabled=!1,W._reqIndex=0;var Oe;(function(Ee){Ee[Ee.none=0]="none",Ee[Ee.start=1]="start",Ee[Ee.stop=2]="stop",Ee[Ee.both=3]="both"})(Oe||(Oe={}));const Fe="timedout",o="terminated",h="discarded",c={timedout:Fe,terminated:o,discarded:h};class ${constructor(n,i,a,l,y,g,q,ge,he,ve,Ie){var Ce,ce;this._name=n,this._rootId=i,this._onStopped=a,this._onError=l,this._isSampled=q,this._noRerooting=he,this._isExternal=ve,this._parentActivity=Ie,this._isRoot=!1,this._errorCount=0,this._timerOverridden=Oe.none;const{tsNow:Le,perfNow:Be}=e.utility.time();if($._count+=1,this._id=g||e.utility.generateUniqueId(),this._usePerf=typeof performance!="undefined"&&typeof performance.mark=="function"&&typeof performance.measure=="function",this._usePerf){this._perfName=`${this._name}__${$._count}`,this._perfId=`${this._name}__${this.id}`;try{performance.mark(this._perfId)}catch(tt){this._usePerf=!1}}this._startTimestamp=Le,this._startPerfTime=Be,this._overrideTimer(ge),y>0&&(this._timer=setTimeout(()=>{this._stopReason=this._stopReason||c.timedout,this.stop()},y)),this._safety=new e.PublicSafety,this._externalParentActivity=((Ce=this._parentActivity)===null||Ce===void 0?void 0:Ce.isExternal())?this._parentActivity:(ce=this._parentActivity)===null||ce===void 0?void 0:ce.getExternalParentActivity()}get id(){return this._id}getId(){return this.id}getRootId(){return this._rootId}get stopReason(){return this._stopReason}getParentActivity(){return this._parentActivity}isExternal(){var n;return(n=this._isExternal)!==null&&n!==void 0?n:!1}getExternalParentActivity(){return this._externalParentActivity}error(n,i,a){this._safety.tryCatch(()=>{this._errorCount+=1,typeof n=="string"&&(n=new Error(n)),this._onError(n,this._getDetail(i,a))},{op:"activity.error"})}stop(n,i,a){this._safety.tryCatch(()=>{if(e.utility.requireArgumentIfDefined(n,"userSchemaOrText",["object","string"]),e.utility.requireArgumentIfDefined(i,"userData","object"),a){const l=a.perfStartOverride,y=e.utility.requireArgumentIfDefined(l,"options.perfStartOverride","number"),g=a.perfStopOverride,q=e.utility.requireArgumentIfDefined(g,"options.perfStopOverride","number"),ge=a.errorCount;if(e.utility.requireArgumentIfDefined(ge,"options.errorCount","number")&&(this._errorCount=ge),y&&l<0)throw new Error("perfStartOverride, if defined, must be >= 0");if(q&&(g<0||g<(y?l:this._startPerfTime)||g>e.utility.time().perfNow+100))throw new Error("perfStopOverride, if defined, must be >= 0 and >= startTime and <= now")}this._stopInternal(n,i,a)},{op:"activity.stop"})}_overrideTimer(n,i){n!==void 0&&(this._startTimestamp=Math.round(this._startTimestamp-(this._startPerfTime-n)),this._startPerfTime=n,this._setTimerOverride(Oe.start)),i!==void 0&&(this._stopPerfTime=i,this._setTimerOverride(Oe.stop))}_setTimerOverride(n){this._timerOverridden===Oe.both||this._timerOverridden===n||n===Oe.none||(this._timerOverridden=this._timerOverridden===Oe.none?n:Oe.both)}_stopInternal(n,i,a){const l=e.utility.perfNow();if(this._usePerf)try{this._stopReason!==c.discarded&&performance.measure(this._perfName,this._perfId),performance.clearMarks(this._perfId),performance.clearMeasures(this._perfName)}catch(g){}if(this._timer&&(clearTimeout(this._timer),this._timer=void 0),this.isStopped)return;a&&this._overrideTimer(a.perfStartOverride,a.perfStopOverride),this._stopPerfTime=this._timerOverridden===Oe.none||this._timerOverridden===Oe.start?l:this._stopPerfTime;const y=this._getDetail(n,i);this._onStopped(y)}get isStopped(){return this._stopPerfTime!==void 0}discard(){this._safety.tryCatch(()=>{this._stopReason=this._stopReason||c.discarded,this.stop()},{op:"activity.discard"})}terminate(n,i,a){this._safety.tryCatch(()=>{this._stopReason=this._stopReason||c.terminated,this.stop(n,i,a)},{op:"activity.terminate"})}getIsSampled(){return this._isSampled||!1}_getDetail(n,i){return{id:this._id,rootId:this._rootId,name:this._name,userSchemaOrText:n,userData:i,stopReason:this._stopReason,startTimestamp:this._startTimestamp,startPerfTime:this._startPerfTime,stopPerfTime:this._stopPerfTime,errorCount:this._errorCount,isSampled:this.getIsSampled(),timerOverridden:this._timerOverridden,noRerooting:this._noRerooting,isExternal:this._isExternal,parentActivity:this._parentActivity,externalParentActivity:this._externalParentActivity}}getTraceHeaders(n){const i=this.id,a=this._isRoot?this.id:this._rootId;return W.getHeaders(a,i,this.getIsSampled(),n)}getStartTimestamp(){return this._startTimestamp}getStartPerfTime(){return this._startPerfTime}getStopPerfTime(){return this._stopPerfTime}getErrorCount(){return this._errorCount}}$._count=0;const z=new Array(16).fill(0).join("");class de{getId(){return z}getRootId(){}error(){}stop(){}discard(){}terminate(){}getIsSampled(){return!1}getTraceHeaders(n){return{}}getStartTimestamp(){}getStartPerfTime(){}getStopPerfTime(){}getErrorCount(){return 0}getParentActivity(){}isExternal(){return!1}getExternalParentActivity(){}}const Te=Object.freeze(new de);class Ve{getInstrumentedEventData(n,i,a,l){var y;const g={ownerComponent:a.tagName,parentComponent:((y=a.parentElement)===null||y===void 0?void 0:y.tagName)||void 0,simplePath:e.utility.getXpath(a)};switch(n){case 0:g.baseEvent=i;break;case 1:g.mouseEvent=i;break}return l&&(g.userPayload=e.schemaUtil.makePayload(l.schema,l.payload,!0)),g}getEventData(n){return{type:n.type}}getMouseEventData(n){return{altKey:n.altKey,bubbles:n.bubbles,button:n.button,buttons:n.buttons,cancelable:n.cancelable,clientX:n.clientX,clientY:n.clientY,composed:n.composed,defaultPrevented:n.defaultPrevented,detail:n.detail,eventPhase:n.eventPhase,isTrusted:n.isTrusted,timeStamp:n.timeStamp,type:n.type,ctrlKey:n.ctrlKey,metaKey:n.metaKey,movementX:n.movementX,movementY:n.movementY,offsetX:n.offsetX,offsetY:n.offsetY,pageX:n.pageX,pageY:n.pageY,screenX:n.screenX,screenY:n.screenY,shiftKey:n.shiftKey}}}const xe=new Ve;class $e{constructor(n,i,a,l,y,g,q,ge){this._name=n,this._ownerName=i,this._ownerAppName=a,this._tags=l,this._buckets=y,this._values=new Array,this._createdOn=g===void 0?e.utility.time().tsNow:g,q!==void 0&&(this._lastUpdatedOn=q),ge!==void 0&&(this._values=ge)}getName(){return this._name}getCreatedOn(){return this._createdOn}getLastUpdatedOn(){return this._lastUpdatedOn}getData(){return this.values}getBuckets(){return this.buckets}get buckets(){return this._buckets.slice(0,this._buckets.length)}get values(){return this._values.slice(0,this._values.length)}record(n){if(typeof n=="number"){this._values.push(n),this._lastUpdatedOn=e.utility.time().tsNow;return}throw new Error("BucketHistogram can only record numbers.")}reset(){this._lastUpdatedOn=void 0,this._values=[]}getOwnerName(){return this._ownerName}getOwnerAppName(){return this._ownerAppName}getTags(){return this._tags}}class We{constructor(n,i,a,l,y,g,q){this._name=n,this._ownerName=i,this._ownerAppName=a,this._tags=l,this._values=new Array,this._createdOn=y===void 0?e.utility.time().tsNow:y,g!==void 0&&(this._lastUpdatedOn=g),q!==void 0&&(this._values=q)}getName(){return this._name}getCreatedOn(){return this._createdOn}getLastUpdatedOn(){return this._lastUpdatedOn}getData(){return this.values}get values(){return this._values.slice(0,this._values.length)}record(n){if(typeof n=="number"){this._values.push(n),this._lastUpdatedOn=e.utility.time().tsNow;return}throw new Error("ValueRecorder can only record numbers.")}reset(){this._lastUpdatedOn=void 0,this._values=[]}getOwnerName(){return this._ownerName}getOwnerAppName(){return this._ownerAppName}getTags(){return this._tags}}class Ze{constructor(n){if(this._map=new Map,typeof n=="number"&&n>0){this._maxSize=Math.ceil(n);return}throw new Error("maxSize must be a positive number")}get maxSize(){return this._maxSize}get(n){return this._map.get(n)}has(n){return this._map.has(n)}set(n,i){return this.has(n)||this._map.size<this.maxSize?(this._map.set(n,i),!0):!1}getElements(){return Array.from(this._map.values())}clear(){this._map.clear()}}const B=1e3,se=500,K=500;var ye;(function(Ee){Ee[Ee.Counter=0]="Counter",Ee[Ee.Percentile=1]="Percentile",Ee[Ee.BucketHistogram=2]="BucketHistogram"})(ye||(ye={}));class Ae{constructor(n,i){this._ownerName=n,this._getOwnerAppName=i,this._upCounters=new Ze(B),this._valueRecorders=new Ze(se),this._bucketHistograms=new Ze(K)}incrementCounter(n,i,a=!1,l={}){this._tagError(l,a),this._upCounter(n,l).increment(i)}trackValue(n,i,a=!1,l={}){this._tagError(l,a),this._valueRecorder(n,l).record(i)}bucketValue(n,i,a,l=!1,y={}){this._tagError(y,l),this._bucketHistogram(n,y,a).record(i)}_bucketHistogram(n,i,a){const{key:l,sortedTags:y}=this._getKeyAndSortedTags(n,i,ye.BucketHistogram);let g=this._bucketHistograms.get(l);if(!g&&(g=new $e(n,this._ownerName,this._getOwnerAppName(),y,a),!this._bucketHistograms.set(l,g)))throw new Error(`Max size of ${K} exceeded for BucketHistograms`);return g}_upCounter(n,i){const{key:a,sortedTags:l}=this._getKeyAndSortedTags(n,i,ye.Counter);let y=this._upCounters.get(a);if(!y&&(y=new e.UpCounterImpl(n,this._ownerName,this._getOwnerAppName(),l),!this._upCounters.set(a,y)))throw new Error(`Max size of ${B} exceeded for UpCounters`);return y}_valueRecorder(n,i){const{key:a,sortedTags:l}=this._getKeyAndSortedTags(n,i,ye.Percentile);let y=this._valueRecorders.get(a);if(!y&&(y=new We(n,this._ownerName,this._getOwnerAppName(),l),!this._valueRecorders.set(a,y)))throw new Error(`Max size of ${se} exceeded for ValueRecorders`);return y}getUpCounters(){return this._upCounters.getElements()}getValueRecorders(){return this._valueRecorders.getElements()}getBucketHistograms(){return this._bucketHistograms.getElements()}_tagError(n,i){n.status=i===!0?"error":"success"}_getKeyAndSortedTags(n,i,a){const l=Object.keys(i).sort().reduce((g,q)=>(g[q]=i[q],g),{});return{key:`${ye[a]}:${n}${JSON.stringify(l)}`,sortedTags:l}}}class qe{constructor(){this.isMock=!0}}const Me=void 0,Re=["`"],Xe={internalError:"o11y-error"},Je=Object.freeze(Array.from(Object.values(Xe)));class nt{constructor(n,i){this._nextGen=n,this._name=i,this._onActivityStoppedCallback=this._handleActivityStop.bind(this),this._onActivityErrorCallback=this._handleActivityError.bind(this);for(const l of Re)if(this._name.indexOf(l)>=0)throw new Error(`Name cannot include the reserved character "${l}"`);this._safety=new e.PublicSafety({increment:l=>this._incrementError(l)}),this._metrics=this._initMetrics();const a=e.schemaUtil.getOptions(t.simpleSchema,"Simple","text");this._simpleTextMaxLength=a?a["(meta.max_length)"]:e.maxStringLengthAppLimit}_initMetrics(){return new Ae(this.name,()=>this._nextGen.appName||nt.defaultAppName)}_incrementError(n=1){this._metrics.incrementCounter(Xe.internalError,n,!0)}get name(){return this._name}_wrapUserPayload(n,i,a=!1){let l;return typeof n=="string"?(l=t.simpleSchema,n?i={text:n.substring(0,this._simpleTextMaxLength)}:i=void 0):l=n,e.schemaUtil.makePayload(l,i,a)}_getEffectiveRootId(n){var i,a;return(a=(i=n==null?void 0:n.instrumentationContext)===null||i===void 0?void 0:i.rootId)!==null&&a!==void 0?a:this._nextGen.getDefaultInstrumentationContext().rootId}get internalInstrumentationContext(){return this._nextGen.getDefaultInstrumentationContext()}log(n,i,a){this._safety.tryCatch(()=>{const l=e.utility.time().tsNow;e.utility.requireArgument(n,"userSchemaOrText",["object","string"]),e.utility.requireArgumentIfDefined(i,"userData","object"),e.utility.requireArgumentIfDefined(a,"options","object");const y=this._wrapUserPayload(n,i);(y==null?void 0:y.payload)&&this._logInternal(this.name,y.schema,y.payload,l,this._getEffectiveRootId(a))},{op:"log"})}_logInternal(n,i,a,l,y){const g=this._nextGen.addLog(n,i,a,l,y);if(!e.utility.isProduction){const q=e.payloadUtility.getExtraFields(i,a);!e.utility.isProduction&&q.length>0&&this.error("Extra fields",t.payloadDiagsSchema,{extras:q})}return g}error(n,i,a,l){return this._safety.tryCatch(()=>{e.utility.requireArgumentIfDefined(i,"userSchemaOrText",["object","string"]),e.utility.requireArgumentIfDefined(a,"userData","object"),e.utility.requireArgumentIfDefined(l,"options","object");const y=this._getEffectiveRootId(l);this._errorInternal(n,i,a,void 0,y)},{op:"error"})}_errorInternal(n,i,a,l,y){const g=e.utility.time().tsNow;let q;if(n instanceof Error)q=n;else{let ve;n==null||typeof n.toString!="function"?ve="UNKNOWN":ve=n.toString(),q=new Error(ve)}const ge=this._wrapUserPayload(i,a,!0),he={name:q.name,message:q.message,stack:q.stack,userPayload:ge,activityId:l};return this._logInternal(this.name,t.errorSchema,he,g,y)}startActivity(n,i){return this._safety.tryCatchReturn(()=>{var a;e.utility.requireArgument(n,"name"),e.utility.requireArgumentIfDefined(i,"options","object");const l=e.utility.validateParentActivityType(i==null?void 0:i.isExternal,i==null?void 0:i.parentActivity);let y,g=(i==null?void 0:i.perfStartOverride)!==void 0;const q=(a=i==null?void 0:i.instrumentationContext)===null||a===void 0?void 0:a.rootId;q?(g=!0,y={rootId:q,isRootActivitySampled:i.instrumentationContext.isRootActivitySampled,isRootActivityExternalSampled:i.instrumentationContext.isRootActivityExternalSampled}):y=this._nextGen.getDefaultInstrumentationContext();const ge=(i==null?void 0:i.isExternal)?y.isRootActivityExternalSampled:y.isRootActivitySampled;return new $(n,y.rootId,this._onActivityStoppedCallback,this._onActivityErrorCallback,Me,i==null?void 0:i.id,ge,i==null?void 0:i.perfStartOverride,g,i==null?void 0:i.isExternal,l)},Te,{op:"startActivity"})}_getActivityData(n){var i,a;const l=this._wrapUserPayload(n.userSchemaOrText,n.userData,!0);return{id:n.id,name:n.name,duration:n.stopPerfTime-n.startPerfTime,stopReason:n.stopReason,userPayload:l,errorCount:n.errorCount,isSampled:n.isSampled,timerOverridden:n.timerOverridden,isRerooted:n.isRerooted,isExternal:n.isExternal,parentId:(i=n.parentActivity)===null||i===void 0?void 0:i.getId(),externalParentId:(a=n.externalParentActivity)===null||a===void 0?void 0:a.getId()}}_handleActivityStop(n){if(n.stopReason===h)return;if(!n.isRoot&&!n.noRerooting){const a=this._nextGen.getRootActivityHistoryEntryByTime(n.startPerfTime);(!a&&n.rootId!==void 0||a&&n.rootId!==a.id)&&(n.rootId=a==null?void 0:a.id,n.isSampled=(a==null?void 0:a.isSampled)||!1,n.isRerooted=!0)}const i=this._getActivityData(n);this._logActivity(i,n.startTimestamp,n.rootId)}_logActivity(n,i,a){this._logInternal(this.name,t.activitySchema,n,i,a)}_handleActivityError(n,i){this._errorInternal(n,i.userSchemaOrText,i.userData,i.id,i.rootId)}domEvent(n,i,a,l,y){this._safety.tryCatch(()=>{var g;const q=e.utility.time().tsNow;e.utility.requireArgument(n,"event",[Event,qe]),e.utility.requireArgument(i,"handledBy",[HTMLElement,"object"]);let ge;i instanceof HTMLElement?ge=i:(i=i,((g=i.template)===null||g===void 0?void 0:g.host)instanceof HTMLElement?ge=i.template.host:e.utility.requireArgument(void 0,"handledBy"));const he=this._wrapUserPayload(a,l,!0),ve=this._getEffectiveRootId(y);switch(n.type){case"click":{const Ie=n,Ce=this._nextGen.getClickTracker();Ce&&Ce.markEventHandled(Ie);const ce=y==null?void 0:y.captureMouseData,Le=xe.getInstrumentedEventData(ce?1:0,ce?xe.getMouseEventData(Ie):xe.getEventData(Ie),ge,he);Le.auto=y==null?void 0:y._auto,this._logInternal(this.name,t.instrumentedEventSchema,Le,q,ve);break}default:throw new Error(e.utility.notImplemented)}},{op:"domEvent"})}_siftTags(n){const i=Object.assign({},n);return Object.entries(i).forEach(([a,l])=>{if(l===null)i[a]="null";else if(l==="")i[a]="empty";else if(Number.isNaN(l))i[a]="NaN";else{const y=typeof l;["number","string","boolean"].indexOf(y)===-1&&(i[a]=y)}}),i}incrementCounter(n,i=1,a=!1,l={}){this._safety.tryCatch(()=>{e.utility.requireArgument(n,"operation","string"),e.utility.checkForDenyListedValues(n,"operation",Je),e.utility.checkForReservedCharacters(n,"operation",Re),e.utility.requireArgument(i,"increment","number"),e.utility.requireArgument(a,"hasError","boolean"),e.utility.requireArgument(l,"tags","object"),this._metrics.incrementCounter(n,i,a,this._siftTags(l))},{op:"incrementCounter"})}trackValue(n,i,a=!1,l={}){this._safety.tryCatch(()=>{e.utility.requireArgument(n,"operation","string"),e.utility.checkForDenyListedValues(n,"operation",Je),e.utility.checkForReservedCharacters(n,"operation",Re),e.utility.requireArgument(i,"value","number"),e.utility.requireArgument(a,"hasError","boolean"),e.utility.requireArgument(l,"tags","object"),this._metrics.trackValue(n,i,a,this._siftTags(l))},{op:"trackValue"})}bucketValue(n,i,a=[],l=!1,y={}){this._safety.tryCatch(()=>{e.utility.requireArgument(n,"operation","string"),e.utility.checkForDenyListedValues(n,"operation",Je),e.utility.checkForReservedCharacters(n,"operation",Re),e.utility.requireArgument(i,"value","number"),e.utility.requireArgument(a,"buckets",Array),Object.entries(a).forEach(([g,q])=>{e.utility.requireArgument(q,`Bucket value for '${g}'`,"number")}),e.utility.requireArgument(l,"hasError","boolean"),e.utility.requireArgument(y,"tags","object"),this._metrics.bucketValue(n,i,a,l,this._siftTags(y))},{op:"bucketValue"})}getUpCounters(){return this._metrics.getUpCounters().filter(n=>n.getLastUpdatedOn())}getValueRecorders(){return this._metrics.getValueRecorders().filter(n=>n.getLastUpdatedOn())}getBucketHistograms(){return this._metrics.getBucketHistograms().filter(n=>n.getLastUpdatedOn())}registerForLogPrompt(n){e.utility.requireArgument(n,"listener","function"),this._nextGen.registerForLogPrompt(n)}_getAsaOptions(n){return n?Object.assign({instrumentationContext:n==null?void 0:n.instrumentationContext},n.startOptions):void 0}activity(n,i,a){var l,y,g,q;const ge=this._getAsaOptions(a),he=this.startActivity(n,ge);try{return i(he)}catch(ve){throw he.error(ve,(l=a==null?void 0:a.errorPayload)===null||l===void 0?void 0:l.schema,(y=a==null?void 0:a.errorPayload)===null||y===void 0?void 0:y.payload),ve}finally{he.stop((g=a==null?void 0:a.stopPayload)===null||g===void 0?void 0:g.schema,(q=a==null?void 0:a.stopPayload)===null||q===void 0?void 0:q.payload,a==null?void 0:a.stopOptions)}}async activityAsync(n,i,a){var l,y,g,q;const ge=this._getAsaOptions(a),he=this.startActivity(n,ge);try{return await i(he)}catch(ve){throw he.error(ve,(l=a==null?void 0:a.errorPayload)===null||l===void 0?void 0:l.schema,(y=a==null?void 0:a.errorPayload)===null||y===void 0?void 0:y.payload),ve}finally{he.stop((g=a==null?void 0:a.stopPayload)===null||g===void 0?void 0:g.schema,(q=a==null?void 0:a.stopPayload)===null||q===void 0?void 0:q.payload,a==null?void 0:a.stopOptions)}}invokeNetworkCallWithHeaders(n,i,a){return W.setHeaders(a),n(...i)}}nt.defaultAppName="APP_NOT_REGISTERED";const ut=.1,Se=20;class ht{constructor(n){if(this._historyMap=new Map,this._historyList=new Array,e.utility.requireArgumentIfDefined(n,"limit","number")){if(n=Math.ceil(n),n<=0)throw new Error("Limit must be a positive number")}else n=Se;this._graceCount=Math.max(1,Math.floor(n*ut)),this._realLimit=1+n+this._graceCount}add(n){if(this._historyMap.has(n.id))throw new Error(`RootActivityHistoryImpl.add: entry already exists for rootId: ${n.id}`);this._historyMap.set(n.id,n),this._historyList.push(n),this._historyList.length===this._realLimit&&this._historyList.splice(1,this._graceCount).forEach(a=>this._historyMap.delete(a.id))}get count(){return this._historyList.length}findById(n){return this._historyMap.get(n)}findByTime(n){let i,a=Number.MAX_VALUE;for(const l of this._historyList){const y=n-l.startPerfTime;y>=0&&(l.stopPerfTime===void 0||n<l.stopPerfTime)&&y<a&&(i=l,a=y)}return i}}class v extends ${constructor(n,i,a,l,y,g,q,ge){super(n,void 0,i,a,void 0,l||e.utility.generateUniqueId(q??32),y,g);this._isRoot=!0,this._isExternalSampled=ge}get isExternalSampled(){var n;return(n=this._isExternalSampled)!==null&&n!==void 0?n:!1}set isExternalSampled(n){this._isExternalSampled=n}get preRootId(){return this._preRootId}set preRootId(n){this._preRootId=n}_getDetail(n,i){const a=super._getDetail(n,i);return a.isRoot=!0,a.preRootId=this.preRootId,a}}const x=new Array(32).fill(0).join("");class E{getId(){return x}getRootId(){}error(){}stop(){}discard(){}terminate(){}getIsSampled(){return!1}getTraceHeaders(n){return{}}getStartTimestamp(){}getStartPerfTime(){}getStopPerfTime(){}getErrorCount(){return 0}getParentActivity(){}isExternal(){return!1}getExternalParentActivity(){}}const C=Object.freeze(new E);class F extends nt{constructor(n,i,a){super(n,i);this._allowMulti=a,this._rootActivityHistory=new ht,this._onRootActivityStoppedCallback=this._handleRootActivityStop.bind(this)}startRootActivity(n,i,a,l,y){return this._safety.tryCatchReturn(()=>{if(e.utility.requireArgument(n,"name"),(l==null?void 0:l.id)!==void 0)throw new Error("Cannot specify id for root activity, use rootId argument instead");const g=new v(n,this._onRootActivityStoppedCallback,this._onActivityErrorCallback,i,a,l==null?void 0:l.perfStartOverride,this._nextGen.preferredRootIdLength,y);if(!this._allowMulti){const q={id:g.getId(),name:n,startPerfTime:g.getStartPerfTime(),isSampled:g.getIsSampled()};if(this._rootActivityHistory.add(q),this._singleRootActivity&&!this._singleRootActivity.isStopped){const ge=this._singleRootActivity.getId();this._singleRootActivity.terminate(),g.preRootId=ge}this._singleRootActivity=g}return g},C,{op:"startRootActivity"})}_handleRootActivityStop(n){const i=this._rootActivityHistory.findById(n.id);if(i&&(i.stopPerfTime=n.stopPerfTime,i.startPerfTime=n.startPerfTime),n.stopReason===h)return;const a=this._getActivityData(n);this._logActivity(a,n.startTimestamp),this._singleRootActivity=void 0}_getActivityData(n){const i=super._getActivityData(n);return i.isRoot=n.isRoot,i.preRootId=n.preRootId,i}getSingleRootActivityId(){var n;return(n=this._singleRootActivity)===null||n===void 0?void 0:n.getId()}isSingleRootActivitySampled(){var n;return(n=this._singleRootActivity)===null||n===void 0?void 0:n.getIsSampled()}isSingleRootActivityExternalSampled(){var n,i;return(i=(n=this._singleRootActivity)===null||n===void 0?void 0:n.isExternalSampled)!==null&&i!==void 0?i:!1}_initMetrics(){return new Ae(this.name,()=>this.name)}getRootActivityHistoryEntry(n){return this._rootActivityHistory.findByTime(n)}}const j=5;class V{constructor(n,i){this._instr=n,this._doc=i,this._isActive=!1,this._boundClickListener=this._clickListener.bind(this),e.utility.requireArgument(n,"_instr"),e.utility.requireArgument(i,"_doc")}activate(){this._isActive||(this._doc.addEventListener("click",this._boundClickListener,!0),this._isActive=!0)}deactivate(){this._isActive&&(this._doc.removeEventListener("click",this._boundClickListener,!0),this._isActive=!1)}markEventHandled(n){this._ignoredEvent=n}_clickListener(n){var i;let a=(i=n.composedPath)===null||i===void 0?void 0:i.call(n);(!a||!a.length)&&(a=n.path);const l=this._getClickableElement(a);l&&setTimeout(()=>{n!==this._ignoredEvent&&this._instr.domEvent(n,l,void 0,void 0,{_auto:!0})})}_getClickableElement(n){var i,a;const l=n?Math.min(n.length,j):0;for(let y=0;y<l;y+=1){const g=n[y],q=(i=g.tagName)===null||i===void 0?void 0:i.toLowerCase();if(q==="a"||q==="button")return g;if(q==="input"){const ge=g;if(((a=ge.type)===null||a===void 0?void 0:a.toLowerCase())==="button")return ge}}}}const J="o11y:receiver";var re;(function(Ee){Ee[Ee.Unknown=0]="Unknown",Ee[Ee.Opening=1]="Opening"})(re||(re={}));class ee{constructor(n,i,a){this._logCallback=n,this._metricsCallback=i,this._commErrorCallback=a,this._senders=new Map,e.utility.requireArgument(this._logCallback,"_logCallback","function"),e.utility.requireArgument(this._metricsCallback,"_metricsCallback","function"),e.utility.requireArgument(this._commErrorCallback,"_commErrorCallback","function")}openComms(n){if(e.utility.requireArgument(n,"sender","object"),!this._senders.has(n)){const i=new MessageChannel,a={state:re.Opening,port:i.port1};this._senders.set(n,a),a.port.onmessage=this._messagePortEventHandler.bind(this),a.port.onmessageerror=this._messagePortErrorHandler.bind(this),n.postMessage({from:J,type:oe},"*",[i.port2])}}closeComms(n){const i=this._senders.get(n);i&&(i.port.onmessage=void 0,i.port.onmessageerror=void 0,this._senders.delete(n))}_messagePortEventHandler(n){n.data.type===_e?this._logCallback(n.data.data):n.data.type===we&&this._metricsCallback(n.data.data)}_messagePortErrorHandler(){this._commErrorCallback()}}const oe="handshake",_e="log",we="metrics";class De{constructor(n,i){this._self=n,this._allowedOrigins=i,this._messageEventHandlerFunc=this._messageEventHandler.bind(this),this._handshakeComplete=!1,this._logBuffer=[],this._metricsBuffer=[],e.utility.requireArgument(this._self,"_self","object"),e.utility.requireArgumentIfDefined(i,"allowedOrigins",Array),this._self.addEventListener("message",this._messageEventHandlerFunc)}_messageEventHandler(n){n.data.from===J&&n.data.type===oe&&n.ports[0]instanceof MessagePort&&e.utility.isAllowedOrigin(n.origin,this._allowedOrigins)&&(this._handshakeComplete=!0,this._self.removeEventListener("message",this._messageEventHandlerFunc),this._otherPort=n.ports[0],this._emptyBuffers())}sendLog(n){this._handshakeComplete?this._otherPort.postMessage({type:_e,data:n}):this._logBuffer.push(n)}sendMetrics(n){this._handshakeComplete?this._otherPort.postMessage({type:we,data:n}):this._metricsBuffer.push(n)}_emptyBuffers(){this._logBuffer.forEach(n=>this.sendLog(n)),this._metricsBuffer.forEach(n=>this.sendMetrics(n)),this._logBuffer=void 0,this._metricsBuffer=void 0}}class Ne{constructor(){this._upCounters=[],this._valueRecorders=[],this._bucketHistograms=[]}add(n){var i,a,l;((i=n.upCounters)===null||i===void 0?void 0:i.length)&&this._upCounters.push(...n.upCounters.map(y=>new e.UpCounterImpl(y.name,y.ownerName,y.ownerAppName,e.metricsUtility.getMetricsTags(y.tags),y.createdTimestamp,y.lastUpdatedTimestamp,y.value))),((a=n.valueRecorders)===null||a===void 0?void 0:a.length)&&this._valueRecorders.push(...n.valueRecorders.map(y=>new We(y.name,y.ownerName,y.ownerAppName,e.metricsUtility.getMetricsTags(y.tags),y.createdTimestamp,y.lastUpdatedTimestamp,y.values))),((l=n.bucketHistograms)===null||l===void 0?void 0:l.length)&&this._bucketHistograms.push(...n.bucketHistograms.map(y=>new $e(y.name,y.ownerName,y.ownerAppName,e.metricsUtility.getMetricsTags(y.tags),y.buckets,y.createdTimestamp,y.lastUpdatedTimestamp,y.values)))}getUpCounters(){return this._upCounters=this._upCounters.filter(n=>n.getLastUpdatedOn()!==void 0),this._upCounters}getValueRecorders(){return this._valueRecorders=this._valueRecorders.filter(n=>n.getLastUpdatedOn()!==void 0),this._valueRecorders}getBucketHistograms(){return this._bucketHistograms=this._bucketHistograms.filter(n=>n.getLastUpdatedOn()!==void 0),this._bucketHistograms}}const Ge=1e3;class He{constructor(n,i){this._connector=n,this._pollInterval=Ge,e.utility.requireArgument(n,"_connector","object"),e.utility.requireArgumentIfDefined(i,"_pollInterval","number")&&i>0&&(this._pollInterval=i)}collect(n,i,a){const l={schema:n,data:i,logMeta:a};this._connector.sendLog(l)}receiveMetricsExtractors(n){this._metricsExtractors=n,this._collectAndSendMetrics(),setInterval(this._collectAndSendMetrics.bind(this),this._pollInterval)}_collectAndSendMetrics(){const n={upCounters:e.metricsUtility.getUpCounters(this._metricsExtractors.getAllUpCounters()),valueRecorders:e.metricsUtility.getValueRecorders(this._metricsExtractors.getAllValueRecorders()),bucketHistograms:e.metricsUtility.getBucketHistograms(this._metricsExtractors.getAllBucketHistograms())};(n.upCounters.length||n.valueRecorders.length||n.bucketHistograms.length)&&this._connector.sendMetrics(n)}}const N=80,ie=32,pe="_CUT",me=N-pe.length;function Ke(){}class ze{get preferredRootIdLength(){return this._preferredRootIdLength}get pagePayloadProvider(){return this._pagePayloadProvider}set pagePayloadProvider(n){this._pagePayloadProvider=n}get appPayloadProvider(){return this._appPayloadProvider}set appPayloadProvider(n){this._appPayloadProvider=n}constructor(n){this._idleDetector=n,this._logCollectors=new Set,this._instruments=new Map,this._seqBySchema=new Map,this._sequence=0,this._forceDisabledLogCollectors=new Set,this._logCollectorFailures=new Map,this._isBufferingEnabled=!1,this._buffer=[],this._logCollectionListeners=new Set,this._opMode="default",this._isSender=!1,this._isReceiver=!1,this._decimalPoints=2}registerApp(n,i){var a,l;if(e.utility.requireArgument(n,"name","string"),this._appInstr)throw new Error("An app has already been registered with instrumentation.");if(this._instruments.get(n))throw new Error(`The instrumentation name ${n} is already taken`);if(e.co11y.setOwnerAppName(n),this._initOpMode(i==null?void 0:i.operationMode),this._isSender=this._opMode==="sender",this._isReceiver=this._opMode==="receiver",(i==null?void 0:i.decimalPoints)!==void 0&&(this._decimalPoints=i.decimalPoints),this._preferredRootIdLength=(a=i==null?void 0:i.preferredRootIdLength)!==null&&a!==void 0?a:ie,this._clientSessionId=((l=i==null?void 0:i.clientSessionId)===null||l===void 0?void 0:l.toString())||e.utility.generateUniqueId(),this._appInstr=new F(this,n,i==null?void 0:i.allowMultipleRootActivities),this._instruments.set(n,this._appInstr),this._isSender){const q=new He(new De(window,i==null?void 0:i.allowedReceiverOrigins),i==null?void 0:i.senderMetricsPollingInterval);this.registerLogCollector(q),this.registerMetricsCollector(q)}else this._isReceiver&&(this._metricsStore=new Ne,this._receiverConnector=new ee(q=>{q.logMeta.receiverClientSessionId=this._clientSessionId,q.logMeta.receiverRootId=this._appInstr.getSingleRootActivityId(),this._multiplex(q.schema,q.data,q.logMeta)},q=>{this._metricsStore.add(q)},()=>{this._appInstr.incrementCounter("o11y-error-receiver",1,!0)}));this._isBufferingEnabled=!this._isSender&&(i==null?void 0:i.enableBuffering);const g=new W(this.getInstrumentation("Network"),this._idleDetector);return{log:this._appInstr.log.bind(this._appInstr),error:this._appInstr.error.bind(this._appInstr),startActivity:this._appInstr.startActivity.bind(this._appInstr),domEvent:this._appInstr.domEvent.bind(this._appInstr),incrementCounter:this._appInstr.incrementCounter.bind(this._appInstr),trackValue:this._appInstr.trackValue.bind(this._appInstr),bucketValue:this._appInstr.bucketValue.bind(this._appInstr),networkInstrumentation:g.networkInstrumentation.bind(g),registerForLogPrompt:this._appInstr.registerForLogPrompt.bind(this._appInstr),activity:this._appInstr.activity.bind(this._appInstr),activityAsync:this._appInstr.activityAsync.bind(this._appInstr),invokeNetworkCallWithHeaders:this._appInstr.invokeNetworkCallWithHeaders.bind(this._appInstr),startRootActivity:this._appInstr.startRootActivity.bind(this._appInstr),registerLogCollector:this._isSender?Ke:this.registerLogCollector.bind(this),registerMetricsCollector:this._isSender?Ke:this.registerMetricsCollector.bind(this),activateClickTracker:this.activateClickTracker.bind(this),deactivateClickTracker:this.deactivateClickTracker.bind(this),disableBuffering:this.disableBuffering.bind(this),promptLogCollection:this.promptLogCollection.bind(this),getClientSessionId:this.getClientSessionId.bind(this),getOperationMode:this.getOperationMode.bind(this),startReceiving:this._isReceiver?this._receiverConnector.openComms.bind(this._receiverConnector):Ke,stopReceiving:this._isReceiver?this._receiverConnector.closeComms.bind(this._receiverConnector):Ke}}getInstrumentation(n){e.utility.requireArgument(n,"name","string"),n.length>N&&(n=n.substring(0,me)+pe);let i=this._instruments.get(n);if(!i)i=new nt(this,n),this._instruments.set(n,i);else if(i===this._appInstr)throw new Error(`The instrumentation name ${n} is being used by the app.`);return i}get appName(){var n;return(n=this._appInstr)===null||n===void 0?void 0:n.name}getRootActivityHistoryEntryByTime(n){var i;return(i=this._appInstr)===null||i===void 0?void 0:i.getRootActivityHistoryEntry(n)}addLog(n,i,a,l,y){var g,q,ge;e.payloadUtility.checkInputs(i,a),this._sequence+=1;const he=e.schemaUtil.isInternal(i),ve=he&&(a==null?void 0:a.userPayload)?a.userPayload.schema:i,Ie=e.schemaUtil.getSchemaId(ve);let Ce=this._seqBySchema.get(Ie)||0;Ce+=1,this._seqBySchema.set(Ie,Ce);const ce={timestamp:l,rootId:y,sequence:this._sequence,schemaSequence:Ce,loggerName:n,pagePayload:void 0,appPayload:void 0,loggerAppName:this.appName,connectionType:e.utility.getConnectionType(),clientSessionId:this._clientSessionId,age:e.utility.getAge(l)},Le={schema:i,data:a,logMeta:ce};if(ce.pagePayload=e.payloadUtility.getPayloadFromProvider(this.pagePayloadProvider,Le),ce.appPayload=e.payloadUtility.getPayloadFromProvider(this.appPayloadProvider,Le),this._isSender||(a=e.utility.clone(a)),typeof this._decimalPoints=="number"&&(e.utility.roundNumbersInObject(a,this._decimalPoints),he&&e.utility.roundNumbersInObject((g=a.userPayload)===null||g===void 0?void 0:g.payload,this._decimalPoints),e.utility.roundNumbersInObject((q=ce.pagePayload)===null||q===void 0?void 0:q.payload,this._decimalPoints),e.utility.roundNumbersInObject((ge=ce.appPayload)===null||ge===void 0?void 0:ge.payload,this._decimalPoints)),this._isBufferingEnabled){const Be={schema:i,data:a,logMeta:ce};this._buffer.push(Be)}return this._multiplex(i,a,ce),this._sequence}_multiplex(n,i,a){const l=Array.from(this._logCollectors).filter(y=>{var g;return!this._forceDisabledLogCollectors.has(y)&&!((g=y.getIsCollectDisabled)===null||g===void 0?void 0:g.call(y))});if(l.length>0)for(const y of l){let g=this._logCollectorFailures.get(y)||0;try{y.collect(n,i,a),g>0&&this._logCollectorFailures.set(y,g-1)}catch(q){g+=1,g>=ze._collectorFailureLimit?(this._forceDisabledLogCollectors.add(y),this._appInstr&&(typeof q=="string"||q instanceof Error)&&this._appInstr.error(q)):this._logCollectorFailures.set(y,g)}}}getBuffer(){return this._buffer}disableBuffering(){this._isBufferingEnabled=!1,this._buffer=[]}getClickTracker(){return this._autoClickTracker}getDefaultInstrumentationContext(){var n,i,a;return{rootId:(n=this._appInstr)===null||n===void 0?void 0:n.getSingleRootActivityId(),isRootActivitySampled:(i=this._appInstr)===null||i===void 0?void 0:i.isSingleRootActivitySampled(),isRootActivityExternalSampled:(a=this._appInstr)===null||a===void 0?void 0:a.isSingleRootActivityExternalSampled()}}activateClickTracker(){typeof document!="undefined"&&(this._autoClickTracker||(this._autoClickTracker=new V(this._appInstr,document)),this._autoClickTracker.activate())}deactivateClickTracker(){this._autoClickTracker&&(this._autoClickTracker.deactivate(),this._autoClickTracker=void 0)}registerLogCollector(n,i){if(e.utility.requireArgument(n,"collector"),!this._logCollectors.has(n)&&(this._logCollectors.add(n),this._logCollectorFailures.set(n,0),(!n.getIsCollectDisabled||!n.getIsCollectDisabled())&&(i==null?void 0:i.retroactive)))for(const a of this._buffer)n.collect(a.schema,a.data,a.logMeta)}registerMetricsCollector(n){if(e.utility.requireArgument(n,"collector"),this._metricsCollector)throw new Error("A metrics Collector is already registered.");this._metricsCollector=n,this._metricsCollector.receiveMetricsExtractors({getAllUpCounters:this._getAllUpCounters.bind(this),getAllValueRecorders:this._getAllValueRecorders.bind(this),getAllBucketHistograms:this._getAllBucketHistograms.bind(this)})}_getAllUpCounters(){var n;return(((n=this._metricsStore)===null||n===void 0?void 0:n.getUpCounters())||[]).concat(Array.from(this._instruments.values()).map(i=>i.getUpCounters()).flat()).concat(e.co11y.getUpCounters())}_getAllValueRecorders(){var n;return(((n=this._metricsStore)===null||n===void 0?void 0:n.getValueRecorders())||[]).concat(Array.from(this._instruments.values()).map(i=>i.getValueRecorders()).flat()).concat(e.co11y.getValueRecorders())}_getAllBucketHistograms(){var n;return(((n=this._metricsStore)===null||n===void 0?void 0:n.getBucketHistograms())||[]).concat(Array.from(this._instruments.values()).map(i=>i.getBucketHistograms()).flat()).concat(e.co11y.getBucketHistograms())}registerForLogPrompt(n){this._logCollectionListeners.add(n)}promptLogCollection(n){for(const i of this._logCollectionListeners.keys())try{i(n)}catch(a){if(!e.utility.isProduction)throw a}}getClientSessionId(){return this._clientSessionId}_initOpMode(n){if(typeof n=="function"&&(n=n()),(n===void 0||typeof window!="object")&&(n="default"),["default","receiver","sender"].indexOf(n)>=0)this._opMode=n;else throw new Error(`Invalid operation mode: ${n}`)}getOperationMode(){return this._opMode}}ze._collectorFailureLimit=5;class mt{get _lazyNextGen(){return this._nextgen||(this._nextgen=new ze(this._idleDetector)),this._nextgen}constructor(n){this._idleDetector=n,e.utility.requireArgument(n,"_idleDetector")}registerInstrumentedApp(n,i){const a=this._lazyNextGen.registerApp(n,i);return i&&(e.utility.markProduction(i.isProduction),this._nextgen.appPayloadProvider=i.appPayloadProvider,this._nextgen.pagePayloadProvider=i.pagePayloadProvider),a}getInstrumentation(n){return this._lazyNextGen.getInstrumentation(n)}}const pt=e.utility.time.bind(e.utility),ft="sfcore.customCmp.CustomComponentLog",Rt={Error:"Crimson",Activity:"CadetBlue",InstrumentedEvent:"DarkOliveGreen",O11ySample:"BlueViolet"},jt={Error:"white",Activity:"white",InstrumentedEvent:"white",O11ySample:"white"},wt="black",Ye="Gainsboro";class Tt{constructor(n){this._simpleFilters=new Set,this._regexFilters=[],n&&this._log("ConsoleCollector",n)}collect(n,i,a){const l=e.schemaUtil.getSchemaId(n);if(!this._shouldLog(l))return;if(l===ft){this._logCustom(i);return}let y,g,q;e.schemaUtil.isInternal(n)?(y=n.name,g=jt[n.name]||wt,q=Rt[n.name]||Ye):y=l,this._log(y,i,a,g,q)}_shouldLog(n){return this._simpleFilters.size==0&&this._regexFilters.length==0?!0:this._simpleFilters.has(n)||this._regexFilters.some(i=>i.test(n))}addFilter(n){n instanceof RegExp?this._regexFilters.push(n):this._simpleFilters.add(n)}removeFilter(n){if(n instanceof RegExp){const i=this._regexFilters.findIndex(a=>a.source===n.source);i>=0&&this._regexFilters.splice(i,1)}else this._simpleFilters.delete(n)}clearFilters(){this._simpleFilters.clear(),this._regexFilters.splice(0,this._regexFilters.length)}getFilters(){return Array.from(this._simpleFilters).concat(this._regexFilters).sort()}_log(n,i,a,l=wt,y=Ye){const g=`color:${l};background-color:${y}`;console.log(`%cO11Y%c ${n}`,"color:white;background-color:#FF6600;font-weight:bold",g,i||"",a||"")}_logCustom(n){console.log("%clightning/logger","color:white;background-color:#00a1e0;font-weight:bold",n||"")}}const At="260.0.0",St=new H({logThreshold:300,reportListener:Ee=>{bt==null||bt.log(t.idleDetectorReportSchema,Ee)},errorListener:(Ee,n)=>{bt==null||bt.error(Ee,n)}}),Lt=new mt(St),zt=Lt.registerInstrumentedApp.bind(Lt),Ht=Lt.getInstrumentation.bind(Lt),bt=Ht("IdleDetector");r.ConsoleCollector=Tt,r._version=At,r.getInstrumentation=Ht,r.idleDetector=St,r.registerInstrumentedApp=zt,r.time=pt,Object.defineProperty(r,"__esModule",{value:!0})}),LWR.define("o11y/client",["exports","o11y/client/v/262_6_0"],function(r,t){r.default=t&&typeof t=="object"&&"default"in t?t.default:t,Object.keys(t).forEach(function(e){e==="default"||r.hasOwnProperty(e)||Object.defineProperty(r,e,{enumerable:!0,get:function(){return t[e]}})})}),LWR.define("webruntime/o11y/v/1_66_1200-262_0",["exports"],function(r){"use strict";const t={};r._o11y=t,Object.defineProperty(r,"__esModule",{value:!0})}),LWR.define("webruntime/o11y",["exports","webruntime/o11y/v/1_66_1200-262_0"],function(r,t){r.default=t&&typeof t=="object"&&"default"in t?t.default:t,Object.keys(t).forEach(function(e){e==="default"||r.hasOwnProperty(e)||Object.defineProperty(r,e,{enumerable:!0,get:function(){return t[e]}})})}),LWR.define("webruntime/expressions/v/1_66_1200-262_0",["exports"],function(r){"use strict";let t;const e="1970-01-01T",O="T00:00:00",T="provider",H="providers";function D(I){return I!==null&&typeof I=="object"}function R(I){return I==="LWR"||I==="CLWR"}function m(I){try{const k=I?.indexOf(":")>-1,ne=I?.indexOf("-")>-1;return I===""||!k&&!ne?null:(typeof I=="string"&&(ne||(I=e+I),k||(I=I+O),I=I.trim().replace(" ","T"),I.endsWith("Z")||(I+="Z")),new Date(I))}catch(k){return null}}function p(I){try{const k=I(),ne=Reflect.get(this,H);for(const ae of ne)if(!ae?.hasData?.())throw new Error;return k??null}catch(k){return}}function u(I){return D(this)&&(Reflect.set(this,T,I),Reflect.get(this,H).push(I)),I?.getData?.()}function f(I={},k){if(!!I&&Object.prototype.hasOwnProperty.call(I,k))return R(k)?void 0:I[k]}function d(I,k){Array.isArray(I)||(I=[I]);const ne=I.filter(k);if(!!ne.length)return ne.length===1?ne[0]:ne}function _(I,k){if(D(this)&&Reflect.has(this,T)){const ne=Reflect.get(this,T);if(Reflect.deleteProperty(this,T),!ne?.hasData?.(k))throw new Error;const ae=Reflect.get(this,H);ae.indexOf(ne)>=0&&ae.splice(ae.indexOf(ne),1)}return typeof k=="string"&&Array.isArray(I)?(I=I.map(ne=>ne[k]).filter(ne=>ne!==void 0),I.length===0?void 0:I.length===1?I[0]:I):I?.[k]}function P(){}const A={toDate(I){if(I!=null){const k=m(I)?.setUTCHours(0,0,0,0);if(k!==void 0&&!isNaN(k))return new Date(k)}return null},toTime(I){if(I!=null){const k=m(I)?.setUTCFullYear(1970,0,1);if(k!==void 0&&!isNaN(k))return new Date(k)}return null},toDatetime(I){return I!=null?m(I):null},isBlank(I){return!I&&typeof I!="number"},contains(I,k){return I!=null?I.includes(k):!1},begins(I,k){return k==null?!0:I!=null?I.toString().startsWith(k.toString()):!1}},L=(...I)=>(t={[H]:[],[T]:null},p.apply(t,I)),S=(...I)=>u.apply(t,I),G=(...I)=>_.apply(t,I),U=(...I)=>f.apply(t,I),Y=(...I)=>d.apply(t,I),Q=(...I)=>P.apply(t,I);r.EXPR_CLOSURE=L,r.EXPR_FILTER=Y,r.EXPR_FUNCTION=Q,r.EXPR_GLOBAL=U,r.EXPR_MEMBER=G,r.EXPR_PROVIDER=S,r.EXPR_RUNTIME=A,Object.defineProperty(r,"__esModule",{value:!0})}),LWR.define("webruntime/expressions",["exports","webruntime/expressions/v/1_66_1200-262_0"],function(r,t){r.default=t&&typeof t=="object"&&"default"in t?t.default:t,Object.keys(t).forEach(function(e){e==="default"||r.hasOwnProperty(e)||Object.defineProperty(r,e,{enumerable:!0,get:function(){return t[e]}})})}),LWR.define("webruntime/routerContainer/v/1_66_1200-262_0",["exports","lwc/v/9_1_2","webruntime/errors/v/1_66_1200-262_0","lwr/navigation/v/0_22_21","webruntime/routingService/v/1_66_1200-262_0","webruntime/defaultView/v/1_66_1200-262_0"],function(r,t,e,O,T,H){"use strict";function D(f){return f&&typeof f=="object"&&"default"in f?f:{default:f}}var R=D(H),m=void 0;class p extends t.LightningElement{constructor(...d){super(...d);this.view=void 0,this._routeParams=void 0,this.generatedTemplateHtml=void 0,this.previousRouteParams={},this.requiredParameters=["contentTypeName","name","objectApiName","recordId","relationshipApiName","term","urlAlias"],this.attributes={},this.route={}}get routeParams(){return this._routeParams||{}}set routeParams(d){this._routeParams=d}render(){return this.generatedTemplateHtml}connectedCallback(){const d=this.view||R.default;this.generatedTemplateHtml=d.html,this.attributes=d.attributes(this,this.routeParams),this.subscription=T.subscribe(this.routeChange.bind(this))}viewChange(d){T.handleExtraRouteParams(this.route),this.generatedTemplateHtml=d.html;const{state:_,attributes:P}=this.route;this._routeParams={..._,...P},this.attributes=d.attributes(this,this.routeParams)}routeChange(d){this.route=d.route||null}disconnectedCallback(){this.subscription&&this.subscription.unsubscribe()}errorCallback(d,_){e.reportError({subject:"router level error",error:d,wcstack:_})}}p.renderMode="light",t.registerDecorators(p,{publicProps:{view:{config:0},routeParams:{config:3}},wire:{viewChange:{adapter:O.CurrentView,method:1,config:function(f){return{}}}},fields:["_routeParams","generatedTemplateHtml","previousRouteParams","requiredParameters","attributes","route"]});const u=t.registerComponent(p,{tmpl:m,sel:"webruntime-router-container",apiVersion:66,enableSyntheticElementInternals:!0});r.default=u,Object.defineProperty(r,"__esModule",{value:!0})}),LWR.define("webruntime/routerContainer",["exports","webruntime/routerContainer/v/1_66_1200-262_0"],function(r,t){r.default=t&&typeof t=="object"&&"default"in t?t.default:t,Object.keys(t).forEach(function(e){e==="default"||r.hasOwnProperty(e)||Object.defineProperty(r,e,{enumerable:!0,get:function(){return t[e]}})})}),LWR.define("webruntime/componentContainer/v/1_66_1200-262_0",["exports","lwc/v/9_1_2"],function(r,t){"use strict";function e(u,f,d){var _=u?"."+u+"-host":"";return(f?":host {":_+" {")+"display: flow-root;}"}e.$scoped$=!0;var O=[e];const T={key:0},H=[];function D(u,f,d,_){const{s:P}=u;return[P("",T,H,d)]}var R=t.registerTemplate(D);D.slots=[""],D.renderMode="light",D.stylesheets=[],D.stylesheetToken="lwc-4k1qbp7cls1",D.legacyStylesheetToken="webruntime-componentContainer_componentContainer",O&&D.stylesheets.push.apply(D.stylesheets,O),t.freezeTemplate(D);class m extends t.LightningElement{}m.renderMode="light";const p=t.registerComponent(m,{tmpl:R,sel:"webruntime-component-container",apiVersion:66,enableSyntheticElementInternals:!0});r.default=p,Object.defineProperty(r,"__esModule",{value:!0})}),LWR.define("webruntime/componentContainer",["exports","webruntime/componentContainer/v/1_66_1200-262_0"],function(r,t){r.default=t&&typeof t=="object"&&"default"in t?t.default:t,Object.keys(t).forEach(function(e){e==="default"||r.hasOwnProperty(e)||Object.defineProperty(r,e,{enumerable:!0,get:function(){return t[e]}})})}),LWR.define("webruntime/slotContainer/v/1_66_1200-262_0",["exports","lwc/v/9_1_2"],function(r,t){"use strict";const e=[];function O(R,m,p,u){const{s:f,fr:d}=R;return[m.isVisible?d(0,[f("",{key:1,slotData:m.variations},e,p)],0):null]}var T=t.registerTemplate(O);O.slots=[""],O.renderMode="light",O.stylesheets=[],O.stylesheetToken="lwc-769n4j124ma",O.legacyStylesheetToken="webruntime-slotContainer_slotContainer",t.freezeTemplate(O);class H extends t.LightningElement{constructor(...m){super(...m);this.visibilityExpression=void 0,this.hidden=void 0,this.variationExpressions=void 0}get isVisible(){return this.hidden?!this.visibilityExpression:this.visibilityExpression}get variations(){const m={},p=!!this.variationExpressions?.find(d=>d===!0),u=this.variationExpressions?.findIndex(d=>d===!0),f=this.variationExpressions?.findIndex(d=>typeof d=="undefined")!==-1;return this.variationExpressions?.forEach(function(d,_){const P=`variation${_+1}`;f||p&&u!==_?m[P]=!1:d===!0?m[P]=!0:(typeof d=="undefined",m[P]=!1)}),m.variation0=!p&&!f,m}}H.renderMode="light",t.registerDecorators(H,{publicProps:{visibilityExpression:{config:0},hidden:{config:0},variationExpressions:{config:0}}});const D=t.registerComponent(H,{tmpl:T,sel:"webruntime-slot-container",apiVersion:66,enableSyntheticElementInternals:!0});r.default=D,Object.defineProperty(r,"__esModule",{value:!0})}),LWR.define("webruntime/slotContainer",["exports","webruntime/slotContainer/v/1_66_1200-262_0"],function(r,t){r.default=t&&typeof t=="object"&&"default"in t?t.default:t,Object.keys(t).forEach(function(e){e==="default"||r.hasOwnProperty(e)||Object.defineProperty(r,e,{enumerable:!0,get:function(){return t[e]}})})}),LWR.define("webruntime/visibilityContainer/v/1_66_1200-262_0",["exports","lwr/loaderLegacy/v/0_22_21","lwc/v/9_1_2","@app/isDesignMode/v/1"],function(r,t,e,O){"use strict";function T(P){return P&&typeof P=="object"&&"default"in P?P:{default:P}}var H=T(O);function D(P,A,L){var S=P?"."+P+"-host":"";return"@media only screen and (max-width: 47.9375em) {"+(A?":host.webruntime-visibility-container.dxp-sm-hide {":S+".webruntime-visibility-container.dxp-sm-hide {")+"display: none;}}@media only screen and (min-width: 48em) and (max-width: 64em) {"+(A?":host.webruntime-visibility-container.dxp-md-hide {":S+".webruntime-visibility-container.dxp-md-hide {")+"display: none;}}@media only screen and (min-width: 64.0625em) {"+(A?":host.webruntime-visibility-container.dxp-lg-hide {":S+".webruntime-visibility-container.dxp-lg-hide {")+"display: none;}}"}D.$scoped$=!0;var R=[D];const m=[],p={key:1};function u(P,A,L,S){const{fr:G,s:U}=P;return[A.hidden?G(0,m,0):G(0,[U("",p,m,L)],0)]}var f=e.registerTemplate(u);u.slots=[""],u.renderMode="light",u.stylesheets=[],u.stylesheetToken="lwc-7ethp7o0ig8",u.legacyStylesheetToken="webruntime-visibilityContainer_visibilityContainer",R&&u.stylesheets.push.apply(u.stylesheets,R),e.freezeTemplate(u);class d extends e.LightningElement{constructor(...A){super(...A);this.hiddenInDesktop=!1,this.hiddenInTablet=!1,this.hiddenInMobile=!1,this.hidden=!0}connectedCallback(){const A={Small:{isHidden:this.hiddenInMobile,mediaQuery:"only screen and (max-width: 47.9375em)",class:"dxp-sm-hide"},Medium:{isHidden:this.hiddenInTablet,mediaQuery:"only screen and (min-width: 48em) and (max-width: 64em)",class:"dxp-md-hide"},Large:{isHidden:this.hiddenInDesktop,mediaQuery:"only screen and (min-width: 64.0625em)",class:"dxp-lg-hide"}};let L="";Object.values(A).forEach(S=>{S.isHidden?this.classList.add(S.class):L+=L?`, ${S.mediaQuery}`:S.mediaQuery}),H.default?this.classList.add("interactions-element","webruntime-design-visibility-container"):this.classList.add("webruntime-visibility-container"),t.load("webruntime/formFactor/v/1_66_1200-262_0").then(({getFormFactor:S})=>{if(typeof window!="undefined"&&!H.default&&A[S()].isHidden){if(L){const G=window.matchMedia(L),U=Y=>{Y.matches&&(this.hidden=!1,G.removeEventListener("change",U))};G.addEventListener("change",U)}}else this.hidden=!1})}}d.renderMode="light",d.validationOptOut=["class"],e.registerDecorators(d,{publicProps:{hiddenInDesktop:{config:0},hiddenInTablet:{config:0},hiddenInMobile:{config:0}},track:{hidden:1}});const _=e.registerComponent(d,{tmpl:f,sel:"webruntime-visibility-container",apiVersion:66,enableSyntheticElementInternals:!0});r.default=_,Object.defineProperty(r,"__esModule",{value:!0})}),LWR.define("webruntime/visibilityContainer",["exports","webruntime/visibilityContainer/v/1_66_1200-262_0"],function(r,t){r.default=t&&typeof t=="object"&&"default"in t?t.default:t,Object.keys(t).forEach(function(e){e==="default"||r.hasOwnProperty(e)||Object.defineProperty(r,e,{enumerable:!0,get:function(){return t[e]}})})}),LWR.define("webruntime/viewchangeNotifier/v/1_66_1200-262_0",["exports","lwc/v/9_1_2","lwr/navigation/v/0_22_21","@app/deployTarget/v/1","webruntime/routingService/v/1_66_1200-262_0"],function(r,t,e,O,T){"use strict";function H(A){return A&&typeof A=="object"&&"default"in A?A:{default:A}}var D=H(O);const R=t.parseFragment`<div hidden${"a0:data-route"}${3}></div>`;function m(A,L,S,G){const{sp:U,st:Y}=A;return[Y(R,1,[U(0,{attrs:{"data-route":L.routeParamString}},null)])]}var p=t.registerTemplate(m);m.renderMode="light",m.stylesheets=[],m.stylesheetToken="lwc-1j18phjg883",m.legacyStylesheetToken="webruntime-viewchangeNotifier_viewchangeNotifier",t.freezeTemplate(m);const u=["contentTypeName","name","objectApiName","recordId","relationshipApiName","term","urlAlias"];function f(A){return Object.keys(A).reduce((L,S)=>(u.includes(S)&&(L[S]=A[S]),L),{})}function d(A,L){return A===L?!0:!A||!L?!1:Object.keys(A).length===Object.keys(L).length&&Object.entries(L).every(([S,G])=>A[S]===G)}class _ extends t.LightningElement{constructor(...L){super(...L);this.routeChangeSubscription=void 0,this.route=void 0,this.routeParams=void 0,this.previousRouteParams=void 0}connectedCallback(){D.default==="MRT"&&requestAnimationFrame(()=>{this.route=T.getCurrentRoute().route,this.updateRouteParams()}),this.routeChangeSubscription=T.subscribe(this.routeChange.bind(this))}routeChange(L){this.route=L.route}viewChange(){this.updateRouteParams()}updateRouteParams(){const{state:L,attributes:S}=this.route||{};this.routeParams=f({...L,...S})}renderedCallback(){!this.routeParams||(d(this.previousRouteParams,this.routeParams)||(T.isCurrentRouteCanonicallyRedirected()||this.dispatchEvent(new CustomEvent("viewchange",{bubbles:!0,composed:!0,detail:{route:this.route}})),window?.scrollTo(0,0)),this.previousRouteParams=this.routeParams)}disconnectedCallback(){this.routeChangeSubscription?.unsubscribe()}get routeParamString(){return window.btoa(encodeURIComponent(JSON.stringify(this.routeParams)))}}_.renderMode="light",t.registerDecorators(_,{wire:{viewChange:{adapter:e.CurrentView,method:1,config:function(A){return{}}}},fields:["routeChangeSubscription","route","routeParams","previousRouteParams"]});const P=t.registerComponent(_,{tmpl:p,sel:"webruntime-viewchange-notifier",apiVersion:66,enableSyntheticElementInternals:!0});r.default=P,Object.defineProperty(r,"__esModule",{value:!0})}),LWR.define("webruntime/viewchangeNotifier",["exports","webruntime/viewchangeNotifier/v/1_66_1200-262_0"],function(r,t){r.default=t&&typeof t=="object"&&"default"in t?t.default:t,Object.keys(t).forEach(function(e){e==="default"||r.hasOwnProperty(e)||Object.defineProperty(r,e,{enumerable:!0,get:function(){return t[e]}})})}),LWR.define("webruntime/analyticsEvents/v/1_66_1200-262_0",["exports"],function(r){"use strict";class t{constructor(){this.hasTriggered=!1,this.hasAddedListener=!1,this.trigger=()=>this._trigger()}_trigger(){if(!this.hasTriggered){const O=document.documentElement.scrollTop||document.body.scrollTop,T=document.documentElement.scrollHeight||document.body.scrollHeight;O/(T-document.documentElement.clientHeight)*100>=90&&(document.dispatchEvent(new CustomEvent("experience_interaction",{bubbles:!0,composed:!0,detail:{name:"page-scroll-to-bottom"}})),this.hasTriggered=!0)}}addListener(){this.hasAddedListener||document.addEventListener("scroll",this.trigger),this.hasAddedListener=!0,this.hasTriggered=!1}removeListener(){document.removeEventListener("scroll",this.trigger),this.hasAddedListener=!1}}r.ScrollToBottomEvent=t,Object.defineProperty(r,"__esModule",{value:!0})}),LWR.define("webruntime/analyticsEvents",["exports","webruntime/analyticsEvents/v/1_66_1200-262_0"],function(r,t){r.default=t&&typeof t=="object"&&"default"in t?t.default:t,Object.keys(t).forEach(function(e){e==="default"||r.hasOwnProperty(e)||Object.defineProperty(r,e,{enumerable:!0,get:function(){return t[e]}})})}),LWR.define("webruntime/pageDataLayerObject/v/1_66_1200-262_0",["exports","lwc/v/9_1_2","experience/dataLayerObject/v/256_8_0","webruntime/analyticsEvents/v/1_66_1200-262_0"],function(r,t,e,O){"use strict";function T(u){return u&&typeof u=="object"&&"default"in u?u:{default:u}}var H=T(e);function D(u,f,d,_){const{c:P}=u;return[P("experience-data-layer-object",H.default,{props:{scriptDataAttributes:f.pageDataForDataLayer.scriptDataAttributes,customObject:f.pageDataForDataLayer.customObject},key:0})]}var R=t.registerTemplate(D);D.renderMode="light",D.stylesheets=[],D.stylesheetToken="lwc-1k5dp68c4pi",D.legacyStylesheetToken="webruntime-pageDataLayerObject_pageDataLayerObject",t.freezeTemplate(D);class m extends t.LightningElement{constructor(...f){super(...f);this.handleViewChanged=d=>this._handleViewChanged(d),this.pageDataForDataLayer={scriptDataAttributes:{providerType:"page"}},this.scrollToBottomEvent=new O.ScrollToBottomEvent}connectedCallback(){document.addEventListener("viewchange",this.handleViewChanged)}disconnectedCallback(){document.removeEventListener("viewchange",this.handleViewChanged),this.scrollToBottomEvent.removeListener()}renderedCallback(){this.pageDataForDataLayer?.customObject&&this.dispatchEvent(new CustomEvent("experience_interaction",{bubbles:!0,composed:!0,detail:{name:"page-view"}}))}_handleViewChanged(f){const d=f.detail?.route?.attributes?.recordId,_=f.detail?.route?.attributes?.contentTypeName,P=f.detail?.route?.attributes?.webUrlId,A=f.detail?.route?.attributes?.contentKey,L=f.detail?.route?.attributes?.dataSpaceId,S=f.detail?.route?.attributes?.businessUnitId,G={type:f.detail?.route?.pageReference?.type,url:window.location.href,urlReferrer:this.pageDataForDataLayer?.customObject?.url||document.referrer,...d?{recordId:d}:{},..._?{contentTypeName:_}:{},...P?{urlAlias:P}:{},...A?{contentKey:A}:{},...L?{dataSpaceId:L}:{},...S?{businessUnitId:S}:{}};this.pageDataForDataLayer={...this.pageDataForDataLayer,customObject:G},this.scrollToBottomEvent.addListener()}}m.renderMode="light",t.registerDecorators(m,{fields:["handleViewChanged","pageDataForDataLayer","scrollToBottomEvent"]});const p=t.registerComponent(m,{tmpl:R,sel:"webruntime-page-data-layer-object",apiVersion:66,enableSyntheticElementInternals:!0});r.default=p,Object.defineProperty(r,"__esModule",{value:!0})}),LWR.define("webruntime/pageDataLayerObject",["exports","webruntime/pageDataLayerObject/v/1_66_1200-262_0"],function(r,t){r.default=t&&typeof t=="object"&&"default"in t?t.default:t,Object.keys(t).forEach(function(e){e==="default"||r.hasOwnProperty(e)||Object.defineProperty(r,e,{enumerable:!0,get:function(){return t[e]}})})}),LWR.define("lwr/serverRouter/v/0_22_21",["exports","lwr/contextProvider/v/0_22_21","lwr/metrics/v/0_22_21","lwr/navigation/v/0_22_21","lwr/navigationMixinHacks/v/0_22_21","lwr/profiler/v/0_22_21","lwr/router/v/0_22_21","lwr/routerErrors/v/0_22_21","lwr/routerUtils/v/0_22_21"],function(r,t,e,O,T,H,D,R,m){"use strict";class p{constructor(d,_,P){this.contextId=Object.freeze(()=>{}),this.router=_,this.target=P,this.handleNavHook=d.handleNavigation,this.preNavHook=d.preNavigate,this.errorNavHook=d.errorNavigate,this.initWires(d.url)}async navigate(d,_,P){if(m.hasDocument){if(this.handleNavHook&&!this.handleNavHook(d))return;const A=await this.getValidatedUrl(d,P);A&&(document.location.href=A)}}generateUrl(d,_){return this.router.generateUrl(d,_)}generateUrlAsync(d,_){return this.router.generateUrlAsync(d,_)}initWires(d){if(!d&&m.hasDocument&&(d=document.location.href),!d){this.processError(R.generateMessageObject(R.messages.NO_INIT_URL));return}d=this.getRelativeUrl(d),this.currentRoute=this.router.matchRoute(d,{})||void 0,O.registerNavigationHelm(this.contextId,{navigate:(_,P,A)=>this.navigate(_,P,A),generateUrl:(_,P)=>this.generateUrl(_,P),generateUrlAsync:(_,P)=>this.generateUrlAsync(_,P),subscribe:()=>{throw new Error("The server router does not support the subscribe API")}}),t.provideContext(this.contextId,this.target,t.navigationContextContextualizer,O.NavigationContext),t.provideContext(this.currentRoute?.route.pageReference,this.target,t.currentPageReferenceContextualizer,O.CurrentPageReference),m.hasDocument&&this.target.addEventListener(T.CONTEXT_ID_BACKDOOR,_=>{const P=_;P.detail.callback&&P.detail.callback(this.contextId)})}getRelativeUrl(d){if(d.startsWith("http")){const _=new URL(d);return`${_.pathname}${_.search}`}return d}async getValidatedUrl(d,_){const P=this.router.matchRoute(d,{});if(!P){this.processError(R.generateMessageObject(R.messages.NO_ROUTE_MATCH,[JSON.stringify(d)]));return}if(!(this.preNavHook&&await this.preNavHook({current:this.currentRoute,next:P}))){this.processError(R.generateMessageObject(R.messages.PRENAV_FAILED,[JSON.stringify(d)]));return}return this.router.generateUrl(d,_)}processError(d){H.logOperationStart({id:e.ROUTER_ERROR}),this.errorNavHook&&this.errorNavHook(d)}}function u(f,d){new p(f,D.createRouter(f),d)}r.ServerRouter=p,r.createServerRouter=u,Object.defineProperty(r,"__esModule",{value:!0})}),LWR.define("lwr/serverRouter",["exports","lwr/serverRouter/v/0_22_21"],function(r,t){r.default=t&&typeof t=="object"&&"default"in t?t.default:t,Object.keys(t).forEach(function(e){e==="default"||r.hasOwnProperty(e)||Object.defineProperty(r,e,{enumerable:!0,get:function(){return t[e]}})})}),LWR.define("lwr/router/v/0_22_21",["exports","lwr/routerUtils/v/0_22_21","lwr/routerErrors/v/0_22_21","lwr/observable/v/0_22_21"],function(r,t,e,O){"use strict";class T{constructor(R){this.deprecatedConfig={},this.routeHandlerId=0,this.compiledRoutes=[],this.routeObservable=O.createObservable(),this.basePath=R.basePath||"",this.config={basePath:this.basePath,i18n:R.i18n||t.DEFAULT_I18N_ROUTER_CONFIG,caseSensitive:Boolean(R.caseSensitive),routes:R.routes||[],generateUrl:(f,d)=>t.getUrlFromPageReference(f,this.compiledRoutes,this.config.basePath,this.config.i18n,d),parseUrl:f=>t.getPageReferenceFromUrl(f,this.compiledRoutes,this.config.basePath,this.config.i18n)};const{generateUrlFilter:m,DEPRECATED_getRouteFromUrl:p,DEPRECATED_getUrlFromRoute:u}=R;m&&(this.config.generateUrlFilter=m),p&&(this.deprecatedConfig.DEPRECATED_getRouteFromUrl=p),u&&(this.deprecatedConfig.DEPRECATED_getUrlFromRoute=u),this.compiledRoutes=t.parseRoutes(this.config)}generateUrl(R,m){const{DEPRECATED_getUrlFromRoute:p}=this.deprecatedConfig;return p?p(R,this.config.generateUrl,m):this.config.generateUrl(R,m)}generateUrlAsync(R,m){const{generateUrlFilter:p}=this.config;return p?p(R,this.config.generateUrl,m):Promise.resolve(this.generateUrl(R,m))}parseUrl(R){const{DEPRECATED_getRouteFromUrl:m}=this.deprecatedConfig;return m?m(R,this.config.parseUrl):this.config.parseUrl(R)}matchRoute(R,m){const p=typeof R=="string"?R:this.generateUrl(R,m);if(p===null)return null;const u=t.matchRouteByUrl(p,this.compiledRoutes,this.config.basePath,this.config.i18n,m),f=u&&t.getUrlFromPageReferenceAndRouteDef(u.route.pageReference,u.routeDefinition,this.config.basePath,this.config.i18n,m);return!u||!f?null:{pathMatch:f,route:u.route,routeDefinition:u.routeDefinition.original}}async resolveView(R,m){return new Promise((p,u)=>{const f=this.matchRoute(R,m);return f?f.routeDefinition.handler?.().then(d=>{const _=d.default;if(!_)return u(e.generateMessage(e.messages.INVALID_ROUTE_HANDLER,[f.routeDefinition.id]));const P=new _(p);P&&P.update(f.route)}):u(e.generateMessage(e.messages.NO_ROUTE_MATCH,[JSON.stringify(R)]))})}navigate(R,m){const p=this.matchRoute(R,m);if(!p)throw new Error(e.generateMessage(e.messages.MISSING_ROUTE,[JSON.stringify(R)]));this.pendingRoute={...p},this._mapView(this.pendingRoute)}subscribe(R,m){return this.routeObservable.subscribe({next:R,error:()=>{},complete:()=>{}},Boolean(m))}async _mapView(R){const m=Math.random();this.routeHandlerId=m;const u=(await R.routeDefinition.handler?.())?.default;if(!u)throw new Error(e.generateMessage(e.messages.INVALID_ROUTE_HANDLER,[R.routeDefinition.id]));return this.routeHandler=new u(f=>{this._updateView(m,f)}),this.routeHandler&&this.routeHandler.update(R.route),!0}_updateView(R,m){if(!m||R!==this.routeHandlerId)return;if(!this.pendingRoute)throw new Error("Trying to commit route state without a route");const p=t.freeze(m.viewset);this.routeObservable.next({...this.pendingRoute,...m,viewset:p})}}function H(D={}){return new T(D)}r.createRouter=H,Object.defineProperty(r,"__esModule",{value:!0})}),LWR.define("lwr/router",["exports","lwr/router/v/0_22_21"],function(r,t){r.default=t&&typeof t=="object"&&"default"in t?t.default:t,Object.keys(t).forEach(function(e){e==="default"||r.hasOwnProperty(e)||Object.defineProperty(r,e,{enumerable:!0,get:function(){return t[e]}})})}),LWR.define("webruntime/a11yService/v/1_66_1200-262_0",["exports"],function(r){"use strict";const t="tabindex",{document:e}=globalThis;let O,T=null;function H(u){if(!e||!e.head)return;const f=e.head.querySelector("title");if(!f)return;T&&(T.disconnect(),T=null),T=new MutationObserver(_=>{_.forEach(P=>{(P.type==="childList"||P.type==="characterData")&&u(e.title)})});const d={childList:!0};T.observe(f,d)}function D(u){if(!e||!u?.routeDefinition)return;const{routeDefinition:f}=u,d=f?.label;d!=null&&R(O,u)&&(f.metadata.title=d),O=u,H(_=>{m(_),f.metadata.title=_})}function R(u,f){if(!u||u.routeDefinition.id!==f.routeDefinition.id)return!0;const d=u.route,_=f.route;for(const P in d.attributes)if(d.attributes[P]!==_.attributes[P])return!0;return!1}function m(u){const f=e.body.querySelector(".router-title");!f||f.textContent!==u&&(f.textContent=u)}function p(u){if(!e)return;const f=e.createTreeWalker(e.body,NodeFilter.SHOW_ELEMENT,{acceptNode:_=>_.matches("webruntime-router-container")?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP}),d=u?e.body:f.nextNode();d&&(d.setAttribute(t,"-1"),d.focus({preventScroll:!0}),d.removeAttribute(t))}r.TAB_INDEX_ATTR_NAME=t,r.handleTitleUpdate=D,r.updateFocus=p,Object.defineProperty(r,"__esModule",{value:!0})}),LWR.define("webruntime/a11yService",["exports","webruntime/a11yService/v/1_66_1200-262_0"],function(r,t){r.default=t&&typeof t=="object"&&"default"in t?t.default:t,Object.keys(t).forEach(function(e){e==="default"||r.hasOwnProperty(e)||Object.defineProperty(r,e,{enumerable:!0,get:function(){return t[e]}})})}),LWR.define("webruntime/routingService/v/1_66_1200-262_0",["exports","lwr/loaderLegacy/v/0_22_21","@communities-webruntime/common/v/1_66_1200-262_0","@salesforce/i18n/lang/v/1","@app/deployTarget/v/1","@app/basePath/v/1","@app/uiBasePath/v/1","@app/routes/v/1","@app/viewToThemeLayoutMap/v/1","webruntime/views/v/1_66_1200-262_0","webruntime/a11yService/v/1_66_1200-262_0","webruntime/overrides/v/1_66_1200-262_0","webruntime/logger/v/1_66_1200-262_0","webruntime/persistentQueryParams/v/1_66_1200-262_0","webruntime/utils/v/1_66_1200-262_0","webruntime/o11y/v/1_66_1200-262_0","lwr/router/v/0_22_21","lwr/serverRouter/v/0_22_21","lwr/routerErrors/v/0_22_21","lwr/navigation/v/0_22_21","webruntime/transport/v/1_66_1200-262_0","@app/isDesignMode/v/1","@app/extraRouteParams/v/1"],function(r,t,e,O,T,H,D,R,m,p,u,f,d,_,P,A,L,S,G,U,Y,Q,I){"use strict";function k(s){return s&&typeof s=="object"&&"default"in s?s:{default:s}}var ne=k(O),ae=k(T),ke=k(H),te=k(D),W=k(R),Oe=k(m),Fe=k(p),o=k(Q),h=k(I);const c={WEB_PAGE:"standard__webPage",RECORD_PAGE:"standard__recordPage",RECORD_RELATIONSHIP_PAGE:"standard__recordRelationshipPage",OBJECT_PAGE:"standard__objectPage",SEARCH_PAGE:"standard__search",KNOWLEDGE_ARTICLE_PAGE:"standard__knowledgeArticlePage",MANAGED_CONTENT_PAGE:"standard__managedContentPage",LOGIN_PAGE:"comm__loginPage"},$={LANDING_PAGE:"sfdc_cms__landingPage"};function z(s){const w=[],M=[];return s.forEach(X=>{const{type:ue,attributes:le={},state:be={}}=X.page||{};if(ue===c.OBJECT_PAGE)if(de(le.actionName))w.push(X);else{let Ue;le.actionName==="list"?(Ue={...X,page:{...X.page,attributes:{...le},state:{...be}}},Ue.page.attributes.actionName="home"):le.actionName==="home"?(Ue={...X,page:{...X.page,attributes:{...le},state:{...be}}},Ue.page.attributes.actionName="list"):le.actionName||(X.page.attributes.actionName="home",Ue={...X,page:{...X.page,attributes:{...le},state:{...be}}},Ue.page.attributes.actionName="list"),w.push(X,Ue)}else M.push(X)}),[...w,...M]}function de(s){return s&&s.length>1?s.startsWith(":"):!1}const Te=new Map;let Ve=!1,je=null;function xe(s){s?je||(je=w=>{w.preventDefault(),w.returnValue=""},window.addEventListener("beforeunload",je)):je&&(window.removeEventListener("beforeunload",je),je=null)}function $e(s){const{isDirty:w,instanceId:M,label:X}=s.detail||{};if(typeof w!="boolean"){d.logError(`handleTrackDirtyState() - invalid or missing isDirty. isDirty: ${w}`);return}if(typeof M!="string"||!M){d.logError(`handleTrackDirtyState() - invalid or missing instanceId. instanceId: ${M}`);return}if(X!==void 0&&typeof X!="string"){d.logError(`handleTrackDirtyState() - invalid label type, expected string. label: ${X}`);return}w?Te.set(M,X):Te.delete(M),xe(Te.size>0)}function We(){Te.clear(),xe(!1)}async function Ze(s){const w=Array.from(Te.values()),M=s?.currentTarget instanceof EventTarget?s.currentTarget:s?.target instanceof EventTarget?s.target:void 0;if(M instanceof EventTarget){const X={labels:w};if(M.dispatchEvent(new CustomEvent("fireDirtyStateModal",{detail:X,bubbles:!0,composed:!0})),X.resultPromise)return await X.resultPromise===!0}return!1}function B(s,w,M,X){if(Ve)return w(),!0;let ue=!1;try{if(s.current?.routeDefinition&&Te.size>0){const le=s.next?.route?.pageReference;return le?(w(),ue=!0,Ve=!0,Ze(X).then(be=>{Ve=!1,be&&(Te.clear(),xe(!1),M(le))}).catch(()=>{Ve=!1}),!0):!1}}catch(le){if(d.logError(`Dirty state check error: ${le}`),Te.clear(),xe(!1),ue){try{const be=s.next?.route?.pageReference;be&&M(be)}catch(be){d.logError(`Failed to recover navigation after dirty state error: ${be}`)}return!0}}return!1}const se={};let K=null;function ye(s){const{pathname:w,search:M,hash:X}=new URL(s,window.location.origin);return{pathname:w,search:M,hash:X}}async function Ae(s){const{pathname:w,search:M,hash:X}=ye(s);if(se[w])return se[w]+M+X;if(Object.values(se).includes(w))return s;try{const{redirected:ue,url:le}=await Y.fetch(s,{basePath:"",method:"HEAD",isNonApiRequest:!0});if(ue){const be=ye(le).pathname;return se[w]=be,be+M+X}}catch(ue){d.logError(`Unable to fetch canonical URL for ${s}`,`error:
`,ue)}return null}let qe;async function Me(s,w){const{route:M,routeDefinition:X}=w;if(K=M,X?.metadata?.hasVanityURL){const ue=s.generateUrl(M.pageReference),le=await Ae(ue);if(le&&le!==ue&&K===M){const Ue={type:c.WEB_PAGE,attributes:{url:le}};return U.navigate(s.contextId,Ue,!0),qe=!0,!0}}return qe=!1,!1}function Re(){return qe}const Xe={};let Je=null;function nt(s){const{pathname:w,search:M,hash:X}=new URL(s,window.location.origin);return{pathname:w,search:M,hash:X}}async function ut(s){const{pathname:w,search:M,hash:X}=nt(s);if(Xe[w])return{canonicalUrl:Xe[w]+M+X};if(Object.values(Xe).includes(w))return{canonicalUrl:s};try{const{redirected:ue,url:le,status:be}=await Y.fetch(s,{basePath:"",method:"HEAD",isNonApiRequest:!0});if(be===403||be===404)return{isError:!0};if(ue){const Ue=nt(le).pathname;return Xe[w]=Ue,{canonicalUrl:Ue+M+X}}}catch(ue){d.logError(`Unable to validate and/or fetch canonical URL for ${s}`,`error:
`,ue)}return{}}let Se;async function ht(s,w,M){if(o.default)return!1;const{route:X,routeDefinition:ue}=w;Je=X;const le=ue?.page?.type===c.RECORD_PAGE;if(ue?.metadata?.hasVanityURL||le){const be=s.generateUrl(X.pageReference),{canonicalUrl:Ue,isError:yt}=await ut(be);if(Je===X){if(yt&&le)return U.navigate(s.contextId,M),!0;if(Ue&&Ue!==be){const vt={type:c.WEB_PAGE,attributes:{url:Ue}};return U.navigate(s.contextId,vt,!0),Se=!0,!0}}}return Se=!1,!1}function v(){return Se}const x=["webUrlId","dataSpaceId","businessUnitId"];let E=!0;const C={};function F(s){const w=s?.attributes||{};let M=w.urlName||w.urlPath;if(!M&&s?.type===c.MANAGED_CONTENT_PAGE&&w.contentTypeName===$.LANDING_PAGE&&(M=w.urlAlias),M){const X=w.objectApiName||"";return`${M}:${X}`}return null}function j(s){s.extraRouteParams&&(V(s,s.extraRouteParams),delete s.extraRouteParams)}function V(s,w){const M=F(s);!w||!M||(C[M]=w)}function J(s){const w=F(s);if(w&&w in C){const M=C[w];return!(M&&Object.keys(M).length>0)}return!!w}function re(s={}){const{current:w,next:{pathMatch:M,route:{pageReference:X}={}}}=s;return w&&J(X)?(window.location.assign(M),!0):!1}function ee(s){if(E){const w=_e();oe(s,w),V(s.pageReference,w),E=!1}else{const w=F(s?.pageReference),M=C[w];oe(s,M)}}function oe(s,w){De(w)&&(De(s?.attributes)&&(s.attributes={...s.attributes,...w}),De(s?.pageReference?.attributes)&&(s.pageReference.attributes={...s.pageReference.attributes,...we(w,x)}))}function _e(){if(typeof h.default=="string")try{return JSON.parse(h.default)}catch(s){return{}}return h.default}function we(s,w){return Object.keys(s||{}).filter(M=>!w.includes(M)).reduce((M,X)=>({...M,[X]:s[X]}),{})}function De(s){return s&&typeof s=="object"}const Ne="redirectPageContext";function Ge(s){return s?.state?.[Ne]||null}function He(s){return s?.includes(`?${Ne}=`)}function N(s,w,M={}){const{current:X,next:{route:ue,url:le}={}}=M,be=He(le)?le:Ge(ue)?ie(ue):null;return be?(X?window.location.assign(be):U.navigate(s,w.page,!0),!0):!1}function ie(s){if(!s)return null;const w=Ge(s)||window.btoa(window.encodeURIComponent(JSON.stringify(s)));return`${te.default}/?${Ne}=${w}`}const pe="KnowledgeArticleVersion",me=["OrderSummary","User"],Ke=[{type:c.OBJECT_PAGE,params:[{name:"filterName",type:"state",value:"Default"}]},{type:c.SEARCH_PAGE,params:[{name:"term",type:"state",value:" "}]},{type:c.RECORD_PAGE,params:[{name:"recordName",type:"state",value:"detail"},{name:"categoryPath",type:"state",value:"detail"}],match:(s,{name:w})=>{const{attributes:M={}}=s;return M.urlName||M.urlPath?!1:M.objectApiName==="ProductCategory"?w==="categoryPath":me.includes(M.objectApiName)?!1:w==="recordName"}}],ze=c.MANAGED_CONTENT_PAGE;function mt(s){return Ke.find(w=>s.type===w.type)}function pt(s,w=[]){if(s?.type===ze){let M=s.attributes?.contentTypeName;!w.find(ue=>ue.page.type===ze&&ue.page?.attributes?.contentTypeName===M)&&["news","cms_image","cms_document"].indexOf(M)!==-1&&(M=M.startsWith("cms_")?M.substring(4):M,s.attributes.contentTypeName=`sfdc_cms__${M}`),s.attributes&&s.attributes.contentKey&&(s.attributes.urlAlias=s.attributes.contentKey,delete s.attributes.contentKey)}return s}let ft;function Rt(s,w){s.attributes?.objectApiName===pe&&(ft===void 0&&(ft=w.find(X=>X.page.attributes?.objectApiName?.endsWith("__kav"))?.page?.attributes?.objectApiName||null),ft&&(s.attributes.objectApiName=ft))}function jt(s){return!s.attributes?.urlName&&!s.attributes?.urlPath||(s.type===c.RECORD_PAGE&&(wt(s),delete s.attributes.recordId,delete s.state?.recordName,delete s.state?.categoryPath),s.type===c.RECORD_RELATIONSHIP_PAGE&&(wt(s),delete s.attributes.recordId)),s}function wt(s){s.attributes.recordId&&(s.extraRouteParams={recordId:s.attributes.recordId})}function Ye(s,w){return s.type===c.KNOWLEDGE_ARTICLE_PAGE&&(s.type=c.RECORD_PAGE,s.attributes.actionName="view",s.attributes.objectApiName=pe,delete s.attributes.articleType),Rt(s,w),s}function Tt(s,w){const{params:M,match:X}=w;M.forEach(ue=>{const{type:le,name:be,value:Ue}=ue;X&&!X(s,ue)||s?.[le]?.[be]||(s[le]||(s[le]={}),s[le][be]=Ue)})}function At(s={}){const w=mt(s);w&&Tt(s,w)}function St(s,w){if(s.state?.categoryPath?.includes("/")||s.attributes?.urlPath?.includes("/")){let[M,X]=w.split("?");return M=M.replace(/%2F/g,"/"),X=X?`?${X}`:"",M+X}return w}function Lt(s){return Object.entries(s?.attributes||{}).filter(([,w])=>w===null).forEach(([w])=>delete s.attributes[w]),s}const zt="lightningroutingservicegetlinkinfo";function Ht(s,w){for(const[M,X]of Object.entries(w))if(X.test(s))return M;return null}const bt=typeof window!="undefined"?window.location?.origin+(typeof te.default!="undefined"?te.default:""):"";function Ee(s){let w;try{w=new URL(s,window.location.href)}catch{return!1}return w?.protocol==="http:"||w?.protocol==="https:"}function n(s,w){if(w?.type===c.WEB_PAGE){const M=w.attributes?.url||"";if(!Ee(M))return M}return s.generateUrl(w)}function i(s,w){if(s=s||{},!(!(s.button>0)&&!(s.altKey||s.ctrlKey||s.shiftKey||s.metaKey)))return!1;if(w?.type!==c.WEB_PAGE)return!0;const X=w.attributes?.url||"";if(X.includes("#")||!Ee(X))return!1;const ue=P.isAbsoluteURL(X)&&!X.startsWith(bt),le=s.currentTarget?.getAttribute("target");return!!((!le&&!ue||le==="_self"||window.name&&le===window.name||le==="_top"&&window.top===window||le==="_parent"&&window.parent===window)^ue)}function a(s,w,M){const{detail:{callback:X,stateRef:ue}}=M;try{const le=ue.stateType==="standard_webPage"?c.WEB_PAGE:ue.stateType,be={...ue.attributes};if((le===c.RECORD_PAGE||le===c.RECORD_RELATIONSHIP_PAGE)&&(be.objectApiName||(be.objectApiName=Ht(be.recordId,w)),!be.objectApiName)){X(new Error("Cannot infer objectApiName from record ID based on available object pages"));return}const Ue={type:le,attributes:be,state:{}};X(null,{url:n(s,Ue),dispatcher:yt=>{if(i(yt,Ue)){if(yt.preventDefault(),yt.stopPropagation(),Ue.type===c.WEB_PAGE){const{url:Gt}=Ue.attributes;P.isAbsoluteURL(Gt)&&Gt.startsWith(window?.location.origin+te.default)&&yt.currentTarget?.getAttribute("target")==="_self"&&(Ue.attributes.url=Gt.substring(window.location.origin.length))}U.navigate(s.contextId,Ue)}}})}catch(le){X(le)}}function l(s,w){document.body.addEventListener(zt,M=>a(s,w,M))}class y{constructor(w){this.callback=w}dispose(){}update(w){const M=Ie.find(X=>X.id===w.id)?.view;this.callback({viewset:{default:()=>Fe.default(M)}})}}const{window:g,performance:q}=globalThis,ge=`${e.WEBRUNTIME_PREFIX}-framework-router`;let he=ae.default==="MRT";globalThis.CLWR=globalThis.CLWR||{},globalThis.CLWR.registeredPersistentParamNames=globalThis.CLWR.registeredPersistentParamNames||new Set;let ve;r.router=void 0;let Ie=[],Ce,ce;const Le={};function Be(s,w){q?.mark?.(ge),Ie=z(e.splitOptionalParameters(e.parseRoutes(s))),Ie.forEach(M=>{M.handler=()=>new Promise(X=>{X({default:y})}),M.page.type===c.RECORD_PAGE&&M.patterns?.recordId&&(Le[M.page.attributes.objectApiName]=new RegExp(M.patterns.recordId))}),Ce=Ie.find(M=>M.metadata.isDefault),w?.isMRT!=null&&(he=w.isMRT),ce=!he&&Ie.every(M=>M.metadata.isPublic!==!1),ve={basePath:te.default,caseSensitive:!0,routes:Ie,i18n:{locale:ne.default,defaultLocale:ne.default},DEPRECATED_getRouteFromUrl:at,DEPRECATED_getUrlFromRoute:Et},r.router=L.createRouter(ve),q?.measure?.(ge,ge)}Be(W.default);let tt,ct;function _t(){return ct?.contextId||r.router.contextId}function st(s){if(!s)return"";if(Object.keys(_.persistentQueryParams).length===0)return s;const w=new URL(s,g.location.origin);return Object.entries(_.persistentQueryParams).forEach(([M,X])=>{w.searchParams.has(M)||w.searchParams.set(M,X)}),w.pathname+w.search}function at(s,w){const M=w(s);return M?(At(M),Object.entries(M.state).forEach(([X,ue])=>{globalThis.CLWR?.registeredPersistentParamNames?.has(X)&&(_.persistentQueryParams[X]=ue)}),M):Ce?.page?Ce.page:null}function Et(s={type:"",attributes:{},state:{}},w){const{type:M,attributes:X={},state:ue={}}=s;let le;const be=JSON.parse(JSON.stringify(s));if(M===c.WEB_PAGE)return le=X.url,le==null?"":P.isAbsoluteURL(le)?le:(le=It(le,te.default),st(le));if(M===c.LOGIN_PAGE){const Ue=ue.startUrl!=null?`?startURL=${encodeURIComponent(ue.startUrl)}`:"";if(X.actionName==="login")return It(`${e.WEBRUNTIME_LOGIN_PATH}${Ue}`,ke.default);if(X.actionName==="logout")return It(`${e.WEBRUNTIME_LOGOUT_PATH}${Ue}`,ke.default)}return M===c.MANAGED_CONTENT_PAGE&&pt(be,Ie),be.state||(be.state={}),Object.entries(_.persistentQueryParams).forEach(([Ue,yt])=>{be.state[Ue]?_.persistentQueryParams[Ue]=be.state[Ue]:be.state[Ue]=yt}),Ye(be,Ie),jt(be),At(be),Lt(be),le=w(be),M===c.RECORD_PAGE&&(le=St(be,le)),!le&&ce&&(le=ie(be)),j(be),le}async function lt(s){const{route:w,routeDefinition:M}=s.next;return Ut(M,w?.pageReference)}async function Ut(s,w){if(s?.metadata?.isPublic!==!1)return!1;const{default:M}=await t.load("@app/user/v/1");if(M.isGuest){const X=typeof w=="string"?w:kt(w);if(X&&g)if(he){const{default:ue}=await t.load("@app/loginPath/v/1");Jt(ue,X)}else g.location.href=X;return!0}return!1}function Jt(s,w){const M=new URL(s,g.location.href);w&&M.searchParams.set("startURL",w),g.location.assign(M.href)}function Xt(s,w){const M=new URL(s,g.location.href);w&&M.searchParams.set("startURL",w),g.location.assign(M.href)}function xt(s){return N(_t(),Ce,s)}function Mt(s){const{current:w,next:M}=s;if(w&&M&&(w.routeDefinition.ssr!==M.routeDefinition.ssr||he)){const X=kt(M.route.pageReference);if(X)return g.location.assign(X),!0}return!1}function gt(s){const{current:w,next:{pathMatch:M,route:X={}}}=s;if(!w)return!1;const{pageReference:{type:ue,attributes:le={}}}=X;if(ue===c.MANAGED_CONTENT_PAGE){const{contentTypeName:be}=le;if(be===$.LANDING_PAGE)return g.location.assign(M),!0}return!1}async function Kt(s){Yt(s.detail)}async function Yt(s){try{if(!g?.location)return;const{address:w,message:M,code:X}=s;if(X===G.messages.PRENAV_FAILED.code)return;if(X===G.messages.MISSING_ROUTE.code&&!Ce&&He(w)){g.location.assign(w);return}if(d.logError(`Routing error: ${M}`),Ce?.metadata?.isPublic===!1){const{default:le}=await t.load("@app/user/v/1");if(le.isGuest)return}const ue=te.default?g.location.pathname.replace(te.default,""):g.location.pathname;Ce&&ue!==Ce.uri&&Dt(Ce.page)}finally{tt?.errorNavigate(s)}}function Zt(s){Vt(s.detail.address)||s.preventDefault()}function Vt(s){if(!f.NavigationOverrides.runSync(s))return!1;const{type:w,attributes:M={},state:X={}}=s;if(w===c.WEB_PAGE){const{url:ue}=M;if(ue==null)return!0;if(P.isAbsoluteURL(ue)||P.isSfdcCoreURL(ue))return g?.open(ue),!1;const le=r.router.parseUrl(ue),be=!le||le===Ce?.page;if(ce&&be)return g?.location.assign(st(It(ue,te.default))),!1}else if(w===c.LOGIN_PAGE){const{actionName:ue}=M;if(ue==="login")return Jt(It(e.WEBRUNTIME_LOGIN_PATH,ke.default),X.startUrl||""),!1;if(ue==="logout")return Xt(It(e.WEBRUNTIME_LOGOUT_PATH,ke.default),X.startUrl||""),!1}return!0}function It(s,w){return P.isAbsoluteURL(s)?s:w&&s!==w&&s.indexOf(`${w}/`)!==0?`${w}${s}`:s}function Dt(s){U.navigate(_t(),s)}function kt(s){return ct?ct.generateUrl(s):r.router.generateUrl(s)}function Pt(s,w=!0){return typeof g!="undefined"?r.router.subscribe(s,w):null}async function Ct(s,w){if(tt?.preNavigate(s),f.PreNavigateOverrides.run(s),ct){if(await lt(s))return!1}else lt(s);return gt(s)||!he&&xt(s)||!he&&re(s)||Mt(s)?(w?.preventDefault(),!1):!0}let $t;async function Qt(s){const w=s.detail;if(et()&&B(w,()=>s.preventDefault(),Dt,s))return;const M=w.current?.routeDefinition.view;M?$t=Oe.default[M]:$t=null,await Ct(w,s)}async function er(s){f.PostNavigateOverrides.run(s);const w=s.routeDefinition?.view,M=$t!==Oe.default[w];try{he||(u.updateFocus(M),u.handleTitleUpdate(s),Ot()?ht(r.router,s,Ce?.page):Me(r.router,s))}finally{tt?.postNavigate(s)}}async function Bt(s){const w=s.detail;er(w)}function Wt(s){tt=A._o11y.routingSupport,et()&&(We(),s.addEventListener("trackdirtystate",$e)),s.addEventListener("prenavigate",Qt),s.addEventListener("handlenavigation",Zt),s.addEventListener("postnavigate",Bt),s.addEventListener("errornavigate",Kt)}function tr(){let s,w;if(g?.location&&(w=g.location.href.substring(g.location.origin.length),s=r.router.matchRoute(w)),!s&&Ce&&(s=r.router.matchRoute(Ce.uri)),s){const{route:M,routeDefinition:X}=s;return ct&&ee(M),{route:M,routeDefinition:X,url:w}}return{}}function Ft(s,w){if(!he||ct&&typeof g!="undefined")return;const M=tr(),{routeDefinition:X}=M;if(X&&!X.ssr)return;const ue={...ve,url:w,handleNavigation:Vt,preNavigate:Ct,errorNavigate:Yt};ct=new S.ServerRouter(ue,r.router,s),tt=A._o11y.routingSupport,Ct({next:M}),er(M)}function nr(s,w){const M=w?`?startURL=${encodeURIComponent(w)}`:"";return`${s}${e.WEBRUNTIME_LOGIN_PATH}${M}`}function ir(){ar()&&l(r.router,Le)}function et(){return Boolean(globalThis?.CLWR?.gates?.enableDirtyStateCheck)}function Ot(){return Boolean(globalThis?.CLWR?.gates?.enableLwrRouteValidation)}function ar(){return Boolean(globalThis?.CLWR?.gates?.enableLwrLinkInfoProvider)}function rr(){return Ot()?v():Re()}r.generateUrl=kt,r.getCurrentRoute=tr,r.getLoginUrl=nr,r.handleExtraRouteParams=ee,r.initializeLinkInfoProvider=ir,r.initializeRouter=Be,r.initializeRouterContainer=Wt,r.initializeServerRouter=Ft,r.isCurrentRouteCanonicallyRedirected=rr,r.navigate=Dt,r.subscribe=Pt,Object.defineProperty(r,"__esModule",{value:!0})}),LWR.define("webruntime/routingService",["exports","webruntime/routingService/v/1_66_1200-262_0"],function(r,t){r.default=t&&typeof t=="object"&&"default"in t?t.default:t,Object.keys(t).forEach(function(e){e==="default"||r.hasOwnProperty(e)||Object.defineProperty(r,e,{enumerable:!0,get:function(){return t[e]}})})}),LWR.define("webruntime/overrides/v/1_66_1200-262_0",["exports"],function(r){"use strict";class t{constructor(){this.overrides=[]}add(m){this.overrides.push(m)}run(...m){return this.overrides.length===0?Promise.resolve(!0):this.overrides.reduce((p,u)=>p.then(f=>f===!1?Promise.resolve(!1):Promise.resolve(u(...m))),Promise.resolve(!0)).then(p=>Promise.resolve(p))}runSync(...m){return this.overrides.length===0?!0:this.overrides.reduce((p,u)=>p===!0?u(...m):!1,!0)}}const e=new t,O=new t,T=new t,H=new t,D=new t;r.NavigationOverrides=T,r.Overrides=t,r.PageNavigationFailureOverrides=D,r.PostNavigateOverrides=O,r.PreNavigateOverrides=e,r.SessionTimeoutOverrides=H,Object.defineProperty(r,"__esModule",{value:!0})}),LWR.define("webruntime/overrides",["exports","webruntime/overrides/v/1_66_1200-262_0"],function(r,t){r.default=t&&typeof t=="object"&&"default"in t?t.default:t,Object.keys(t).forEach(function(e){e==="default"||r.hasOwnProperty(e)||Object.defineProperty(r,e,{enumerable:!0,get:function(){return t[e]}})})}),LWR.define("webruntime/views/v/1_66_1200-262_0",["exports","lwr/loaderLegacy/v/0_22_21","@communities-webruntime/common/v/1_66_1200-262_0"],function(r,t,e){"use strict";function O(T){return t.load(e.getViewModuleSpecifier(T),"webruntime/views/v/1_66_1200-262_0")}r.default=O,Object.defineProperty(r,"__esModule",{value:!0})}),LWR.define("webruntime/views",["exports","webruntime/views/v/1_66_1200-262_0"],function(r,t){r.default=t&&typeof t=="object"&&"default"in t?t.default:t,Object.keys(t).forEach(function(e){e==="default"||r.hasOwnProperty(e)||Object.defineProperty(r,e,{enumerable:!0,get:function(){return t[e]}})})}),LWR.define("webruntime/formFactor/v/1_66_1200-262_0",["exports"],function(r){"use strict";function t(){return typeof window!="undefined"&&window.matchMedia("only screen and (min-width: 48em) and (max-width: 64em)").matches}function e(){return typeof window!="undefined"&&window.matchMedia("only screen and (max-width: 47.9375em)").matches}function O(){return t()?"Medium":e()?"Small":"Large"}const T=O();r.default=T,r.getFormFactor=O,Object.defineProperty(r,"__esModule",{value:!0})}),LWR.define("webruntime/formFactor",["exports","webruntime/formFactor/v/1_66_1200-262_0"],function(r,t){r.default=t&&typeof t=="object"&&"default"in t?t.default:t,Object.keys(t).forEach(function(e){e==="default"||r.hasOwnProperty(e)||Object.defineProperty(r,e,{enumerable:!0,get:function(){return t[e]}})})}),LWR.define("wire-service/v/9_1_2",["exports"],function(r){"use strict";function t(I){return I===void 0}const e="ValueChangedEvent";class O{constructor(k){this.type=e,this.value=k}}const{freeze:T,defineProperty:H,isExtensible:D}=Object,R="$$DeprecatedWiredElementHostKey$$",m="$$DeprecatedWiredParamsMetaKey$$";function p(I,k){if(I==null||!D(I))throw new TypeError("adapter id must be extensible");if(typeof k!="function")throw new TypeError("adapter factory must be a callable");if("adapter"in I)throw new TypeError("adapter id is already associated to an adapter factory");const ne=class extends Q{constructor(ae){super(ae);k(this.eventTarget)}};T(ne),T(ne.prototype),H(I,"adapter",{writable:!1,configurable:!1,value:ne})}function u(){}const{forEach:f,splice:d,indexOf:_}=Array.prototype,P="connect",A="disconnect",L="config";function S(I,k){const ne=_.call(I,k);ne>-1&&d.call(I,ne,1)}function G(I){return Object.keys(I).length===0}function U(I,k){return k.length===0||k.some(ne=>!t(I[ne]))}function Y(I,k,ne){return ne.some(ae=>I[ae]!==k[ae])}class Q{constructor(k){this.connecting=[],this.disconnecting=[],this.configuring=[],this.isFirstUpdate=!0,this.callback=k,this.wiredElementHost=k[R],this.dynamicParamsNames=k[m],this.eventTarget={addEventListener:(ne,ae)=>{switch(ne){case P:{this.connecting.push(ae);break}case A:{this.disconnecting.push(ae);break}case L:{this.configuring.push(ae),this.currentConfig!==void 0&&ae.call(void 0,this.currentConfig);break}default:throw new Error(`Invalid event type ${ne}.`)}},removeEventListener:(ne,ae)=>{switch(ne){case P:{S(this.connecting,ae);break}case A:{S(this.disconnecting,ae);break}case L:{S(this.configuring,ae);break}default:throw new Error(`Invalid event type ${ne}.`)}},dispatchEvent:ne=>{if(ne instanceof O){const ae=ne.value;this.callback(ae)}else{if(ne.type==="wirecontextevent")return this.wiredElementHost.dispatchEvent(ne);throw new Error(`Invalid event type ${ne.type}.`)}return!1}}}update(k){this.isFirstUpdate&&(this.isFirstUpdate=!1,!G(k)&&!U(k,this.dynamicParamsNames))||(t(this.currentConfig)||Y(k,this.currentConfig,this.dynamicParamsNames))&&(this.currentConfig=k,f.call(this.configuring,ne=>{ne.call(void 0,k)}))}connect(){f.call(this.connecting,k=>k.call(void 0))}disconnect(){f.call(this.disconnecting,k=>k.call(void 0))}}r.ValueChangedEvent=O,r.register=p,r.registerWireService=u,Object.defineProperty(r,"__esModule",{value:!0})}),LWR.define("wire-service",["exports","wire-service/v/9_1_2"],function(r,t){r.default=t&&typeof t=="object"&&"default"in t?t.default:t,Object.keys(t).forEach(function(e){e==="default"||r.hasOwnProperty(e)||Object.defineProperty(r,e,{enumerable:!0,get:function(){return t[e]}})})}),LWR.define("@salesforce/client/formFactor/v/1_66_1200-262_0",["exports"],function(r){"use strict";function t(){return typeof window!="undefined"&&window.matchMedia("only screen and (min-width: 48em) and (max-width: 64em)").matches}function e(){return typeof window!="undefined"&&window.matchMedia("only screen and (max-width: 47.9375em)").matches}function O(){return t()?"Medium":e()?"Small":"Large"}const T=O();r.default=T,r.getFormFactor=O,Object.defineProperty(r,"__esModule",{value:!0})}),LWR.define("@salesforce/client/formFactor",["exports","@salesforce/client/formFactor/v/1_66_1200-262_0"],function(r,t){r.default=t&&typeof t=="object"&&"default"in t?t.default:t,Object.keys(t).forEach(function(e){e==="default"||r.hasOwnProperty(e)||Object.defineProperty(r,e,{enumerable:!0,get:function(){return t[e]}})})}),LWR.define("@communities-webruntime/common/v/1_66_1200-262_0",["exports"],function(r){"use strict";var t=!0,e="src/labels",O=["@app","@branding","@design","@luvio","@lwrjs","@o11y","@perm","@salesforce","@udd","@view","assert","aura-instrumentation","aura-storage","aura","b2c_lite_commerce","community_builder","community_case","community_layout","community_login","community_runtime","community_user","dxp_action","dxp_base","dxp_content_layout","dxp_crm_search","dxp_data_provider","dxp_flow","dxp_flowruntime","dxp_form","dxp_icon","dxp_layout","dxp_page_layout","dxp_records","dxp_search","dxp_service","dxp_styling","dxp_util","dxp","embeddedMessaging","es_actions","es_base_components","es_block_builder","es_brand","es_data_field","es_design","es_property_editors","es_shared","experience_marketing_landing","experience_messaging","experience","flowruntime","force","forceContent","fragment","industries_common","instrumentation","interop","lightning","logger","lwc","lwr","mobileruntime","o11y","regrello","runtime_hybrid_capabilities","runtime_omnistudio","runtime_omnistudio_common","runtime_omnistudio_flexcards","runtime_omnistudio_omniscript","runtime_service_concierge","tableau","transport","trustedDesign","wave","webruntime","webruntimedesign","wire-service","analytics_agent","analytics_business_user","analytics_common","analytics_dashboard","analytics_dependencies","analytics_embedding","analytics_filter","analytics_metadata","analytics_metadata_copy","analytics_platform","analytics_sentry","analytics_test_utils","analytics_utils","analytics_visualization","analytics_visualization_builder","analytics_visualization_internal","analytics_workspace"],T="webruntime";function H(B){return`/${T}${B}`}var D=H("/api"),R=H("/log/metrics"),m=H("/log/errors"),p={APEX_ACTION_ERROR:"APEX_ACTION_ERROR",FAILED_TO_LOAD_RESOURCE:"FAILED_TO_LOAD_RESOURCE",TOO_MANY_REQUESTS:"TOO_MANY_REQUESTS",UNKNOWN_ERROR:"UNKNOWN_ERROR"},u={PUBLISHER:"CommunityHybridContainer/",PLAYGROUND:"playgroundcommunity"},f=8e3,d="/webruntime/login",_="/webruntime/logout",P="no-cache,must-revalidate,max-age=0,no-store,private",A="@design";function L(B){return`${A}/${B}`}function S(B){return B.replace(/(?!^)([A-Z])/g,"-$1").toLowerCase()}var G=new RegExp(/^[a-z-A-Z_\d]+[/:]{1}[a-zA-Z_\d]+$/),U=new RegExp(/^([a-z][a-z\d]*)(-[a-z\d]+)*$/);function Y(B,se){if(!B)throw new Error(se)}function Q(B){if(U.test(B))return B;Y(G.test(B),`${B} is an invalid module specifier.`);const se=B.split(/[/:]/),[K,ye]=se;return Y(!K.includes("-"),`${B}'s namespace cannot contain hyphens.`),[K.toLowerCase(),S(ye)].join("-")}var I="webruntime",k="js",ne="latest",ae={FRAMEWORK:"framework",DESIGN:"design",COMPONENT:"component",VIEW:"view",DESIGNCOMPONENT:"designcomponent"};function ke(B,se){if(!B)throw new Error(se)}function te(B){const[se,K=""]=B.split("://"),[ye,Ae]=K.indexOf("@")>0?K.split("@"):[K];return{type:se,name:ye,locale:Ae}}function W(B={type:"",name:""},se,K,ye=!0){const{name:Ae}=typeof B=="string"?te(B):B;ke(Ae,"Name not specified");const qe=Oe(B,se,K),Me=ye?`.${k}`:"";return`${qe}${Ae}${Me}`}function Oe(B={type:"",name:""},se,K){const{type:ye,locale:Ae}=typeof B=="string"?te(B):B,qe=ye===ae.COMPONENT;return ke(ye,"Type not specified"),ke(se,"Mode not specified"),ke(Ae||!qe,"Component locale not specified"),`/${I}/${ye}/${K||ne}/${se}${Ae?`/${Ae}`:""}/`}var Fe="@view";function o(B){return`${Fe}/${B}`}var h=["hasVanityURL","isDefault","isPublic","isRoot"],c=[{type:"standard__search",params:[{name:"term",type:"state"}]},{type:"standard__objectPage",params:[{name:"filterName",type:"state"}]},{type:"standard__recordPage",params:[{name:"recordName",type:"state"},{name:"categoryPath",type:"state"}],match:({attributes:B},{name:se})=>B?.objectApiName==="ProductCategory"?se==="categoryPath":se!=="categoryPath"}];function $(B,se){const{match:K,params:ye}=se;ye.forEach(Ae=>{if(K&&!K(B.page,Ae))return;const{type:qe,name:Me}=Ae,Re=qe,Xe=Re==="state"?"attributes":"state";!B.page?.[Xe]?.[Me]||(B.page[Re]||(B.page[Re]={}),B.page[Re][Me]=B.page[Xe][Me],delete B.page[Xe][Me])})}function z(B){let se=B;return["categoryPath","urlPath"].forEach(K=>{se=se.replace(new RegExp(`:${K}\\+?`),`:${K}+`)}),se}function de(B){return B.startsWith(":")?B.substring(1).replace(/[?+]/g,""):null}var Te=/\(.*\)/;function Ve(B){return B.split("/").map(se=>se.replace(Te,"")).join("/")}function je(B,se){return B.split("/").map(K=>{const ye=de(K);return ye&&se[ye]?K.replace(ye,`${ye}(${se[ye]})`):K}).join("/")}function xe(B){!B.uri.includes(":")||!B.page?.type||(B.page.attributes=B.page.attributes||{},B.uri.split("/").forEach(se=>{const K=de(se);if(K){const ye=`:${K}`;B.page.attributes[K]||(B.page.attributes[K]=ye)}}))}function $e(B,se=!1){return B.map(K=>{K.uri||(K.uri=K.path),K.metadata||(K.metadata={}),h.forEach(Re=>{Re in K&&(K.metadata[Re]=K[Re],delete K[Re])}),K.uri&&(K.uri=Ve(K.uri),xe(K)),K.patternMap&&(K.patterns=K.patternMap,delete K.patternMap);const ye=K.page?.attributes?.objectApiName;ye&&!ye.startsWith(":")&&(K.uri=K.uri.replace(":objectApiName",ye),K.patterns?.objectApiName&&delete K.patterns.objectApiName);const Ae=c.find(Re=>K.page?.type===Re.type);Ae&&$(K,Ae);const qe=K.page?.type;return!se&&qe==="standard__recordPage"&&["ProductCategory","NetworkDataCategory"].includes(K.page.attributes?.objectApiName)&&(K.uri=z(K.uri)),["standard__recordPage","standard__recordRelationshipPage"].includes(qe)&&!K.page?.attributes?.actionName&&(K.page.attributes.actionName="view"),se&&K.patterns&&(K.uri=je(K.uri,K.patterns)),K})}function We(B){const se=[];let K="",ye=0,Ae=!1;for(let Me=0;Me<B.length;Me++){const Re=B[Me];if(Ae){K+=Re,Ae=!1;continue}if(Re==="\\"){K+=Re,Ae=!0;continue}Re==="("?ye++:Re===")"&&(ye=Math.max(ye-1,0)),Re==="/"&&ye===0?(K.length>0&&se.push({raw:K,isParam:!1,isOptional:!1}),K=""):K+=Re}K.length>0&&se.push({raw:K,isParam:!1,isOptional:!1});const qe=/^:([A-Za-z0-9_]+)(\(.+\))?(\?)?$/;return se.map(Me=>{if(Me.raw.startsWith(":")){const Re=Me.raw.match(qe);return Re?{raw:Me.raw,isParam:!0,paramName:Re[1],regexPart:Re[2]||void 0,isOptional:!!Re[3]}:{raw:Me.raw,isParam:!0,paramName:Me.raw.slice(1),isOptional:!1}}return{raw:Me.raw,isParam:!1,isOptional:!1}})}function Ze(B,se){const K=Array.isArray(B)?B:[B],ye=[];return K.forEach(Ae=>{const qe=We(Ae.uri);if(!qe.some(Se=>Se.isParam&&Se.isOptional)){ye.push(Ae);return}const Me=[];let Re,Xe="";qe.forEach(Se=>{if(Se.isOptional){const ht=Se.raw.substring(0,Se.raw.length-1);Me.push({value:ht,isOptional:!0}),Re=Se.paramName,Xe=Ae.page.attributes?.[Re]?"attributes":"state"}else Me.push({value:Se.raw,isOptional:!1})});const Je={...Ae,uri:(Se=>Se.startsWith("/")?Se:`/${Se}`)(Me.map(Se=>Se.value).join("/"))};se&&typeof se=="function"&&(Je.id=se());const nt={};Object.keys(Ae.page[Xe]).forEach(Se=>{Se!==Re&&(nt[Se]=Ae.page[Xe][Se])});const ut={...Ae,uri:(Se=>Se.startsWith("/")?Se:`/${Se}`)(Me.filter(Se=>!Se.isOptional).map(Se=>Se.value).join("/")),page:{...Ae.page,[Xe]:nt}};ut.patterns&&(ut.patterns=Object.fromEntries(Object.entries(ut.patterns).filter(([Se])=>Se!==Re))),ye.push(Je),ye.push(ut)}),ye}r.API_PATH_PREFIX=D,r.CACHE_CONTROL_HEADER_NO_CACHE=P,r.CLIENT_ERROR_TYPES=p,r.ERRORS_PATH_PREFIX=m,r.LABELS_DEFAULT_DIR=e,r.LOCKER_DEFAULT_ENABLED=t,r.MAX_URL_LENGTH=f,r.METRICS_PATH_PREFIX=R,r.MOBILE_APP_USER_AGENTS=u,r.RESOURCE_TYPES=ae,r.TRUSTED_COMPONENTS=O,r.WEBRUNTIME_LOGIN_PATH=d,r.WEBRUNTIME_LOGOUT_PATH=_,r.WEBRUNTIME_PREFIX=T,r.convertToKebabCase=S,r.getDesignComponentModuleSpecifier=L,r.getResourceUrl=W,r.getViewModuleSpecifier=o,r.moduleSpecifierToElementName=Q,r.parseResourceDescriptor=te,r.parseRoutes=$e,r.splitOptionalParameters=Ze,Object.defineProperty(r,"__esModule",{value:!0})}),LWR.define("@communities-webruntime/common",["exports","@communities-webruntime/common/v/1_66_1200-262_0"],function(r,t){r.default=t&&typeof t=="object"&&"default"in t?t.default:t,Object.keys(t).forEach(function(e){e==="default"||r.hasOwnProperty(e)||Object.defineProperty(r,e,{enumerable:!0,get:function(){return t[e]}})})});