LWR.define("lwr/domRouterUtils/v/0_15_9",["exports","lwr/routerUtils/v/0_15_9"],function(r,e){"use strict";function t(j=""){if(j=j||"",j.indexOf("://")<0){const s=window.location.port?`:${window.location.port}`:"",l=`${window.location.protocol}//${window.location.hostname}${s}`,g=j.charAt(0)==="/"?"":"/";j=l+g+j}const O={},c=document.createElement("a");c.href=j;const h=c.search.substring(1);return h&&h.split("&").forEach(s=>{const[l,g=""]=s.split("=");O[e.decode(l)]=e.decode(g)}),{href:c.href,origin:`${c.protocol}//${c.hostname}${c.port?`:${c.port}`:""}`,pathname:c.pathname.replace(/(\/)?/,"/"),searchParams:O}}function P(j){const O=t(j),c=O.href.replace(/:\d+/,""),h=O.origin.replace(/:\d+/,"");return c.replace(h,"")}function E(j,O){const c=O||{};window.history.pushState(c,"",j)}function H(j,O){const c=O||{};window.history.replaceState(c,"",j)}r.getRelativeUrl=P,r.replace=H,r.set=E,Object.defineProperty(r,"__esModule",{value:!0})}),LWR.define("lwr/domRouterUtils",["exports","lwr/domRouterUtils/v/0_15_9"],function(r,e){r.default=e&&typeof e=="object"&&"default"in e?e.default:e,Object.keys(e).forEach(function(t){t==="default"||r.hasOwnProperty(t)||Object.defineProperty(r,t,{enumerable:!0,get:function(){return e[t]}})})}),LWR.define("lwr/metrics/v/0_15_9",["exports"],function(r){"use strict";const e="lwr.bootstrap.",t=`${e}end`,P=`${e}error`,E=`${P}.count`,H=`${e}duration`,j="lwr.bootstrap.init",O=`${j}.duration`,c="lwr.bootstrap.init.module",h=`${c}.duration`,s=`${c}.count`,l="lwr.loader.",g=`${l}module.define`,L=`${g}.count`,_=`${l}module.dynamicLoad`,T=`${_}.count`,C=`${l}module.fetch`,k=`${C}.count`,N=`${C}.duration`,U=`${l}module.error`,K=`${U}.count`,A=`${l}mappings.fetch`,x=`${A}.count`,z=`${A}.duration`,le=`${l}mappings.error`,S=`${le}.count`,we="lwr.router.",oe=`${we}navigate`,je=`${oe}.count`,ce=`${oe}.duration`,ee=`${we}view`,a=`${ee}.duration`,m=`${we}error`,p=`${m}.count`;r.BOOTSTRAP_DURATION=H,r.BOOTSTRAP_END=t,r.BOOTSTRAP_ERROR=P,r.BOOTSTRAP_ERROR_COUNT=E,r.BOOTSTRAP_PREFIX=e,r.INIT=j,r.INIT_DURATION=O,r.INIT_MODULE=c,r.INIT_MODULE_COUNT=s,r.INIT_MODULE_DURATION=h,r.LOADER_PREFIX=l,r.MAPPINGS_ERROR=le,r.MAPPINGS_ERROR_COUNT=S,r.MAPPINGS_FETCH=A,r.MAPPINGS_FETCH_COUNT=x,r.MAPPINGS_FETCH_DURATION=z,r.MODULE_DEFINE=g,r.MODULE_DEFINE_COUNT=L,r.MODULE_DYNAMIC_LOAD=_,r.MODULE_DYNAMIC_LOAD_COUNT=T,r.MODULE_ERROR=U,r.MODULE_ERROR_COUNT=K,r.MODULE_FETCH=C,r.MODULE_FETCH_COUNT=k,r.MODULE_FETCH_DURATION=N,r.ROUTER_ERROR=m,r.ROUTER_ERROR_COUNT=p,r.ROUTER_NAV=oe,r.ROUTER_NAV_COUNT=je,r.ROUTER_NAV_DURATION=ce,r.ROUTER_PREFIX=we,r.ROUTER_VIEW=ee,r.ROUTER_VIEW_DURATION=a,Object.defineProperty(r,"__esModule",{value:!0})}),LWR.define("lwr/metrics",["exports","lwr/metrics/v/0_15_9"],function(r,e){r.default=e&&typeof e=="object"&&"default"in e?e.default:e,Object.keys(e).forEach(function(t){t==="default"||r.hasOwnProperty(t)||Object.defineProperty(r,t,{enumerable:!0,get:function(){return e[t]}})})}),LWR.define("lwr/observable/v/0_15_9",["exports"],function(r){"use strict";function e(){let t,P,E=[];const H=l=>{E.push(l)},j=l=>{E=[...E.slice(0,l),...E.slice(l+1)]},O=l=>{E.filter(g=>g!==null).forEach(g=>g.next&&g.next(l)),t=l,P=void 0},c=l=>{E.filter(g=>g!==null).forEach(g=>g.error&&g.error(l)),t=void 0,P=l};return{next:O,error:c,complete:()=>{E.filter(l=>l!==null).forEach(l=>l.complete&&l.complete()),E=[],t=void 0,P=void 0},subscribe:(l,g=!0)=>{H(l),t&&g&&l.next(t),P&&c(P);const L=E.length-1;return{unsubscribe:()=>j(L)}}}}r.createObservable=e,Object.defineProperty(r,"__esModule",{value:!0})}),LWR.define("lwr/observable",["exports","lwr/observable/v/0_15_9"],function(r,e){r.default=e&&typeof e=="object"&&"default"in e?e.default:e,Object.keys(e).forEach(function(t){t==="default"||r.hasOwnProperty(t)||Object.defineProperty(r,t,{enumerable:!0,get:function(){return e[t]}})})}),LWR.define("lwr/contextProvider/v/0_15_9",["exports","lwc/v/8_10_3","lwr/routerUtils/v/0_15_9","lwr/navigation/v/0_15_9"],function(r,e,t,P){"use strict";const E=e.createContextProvider(P.CurrentPageReference),H=t.hasDocument?e.createContextProvider(P.CurrentView):void 0,j=e.createContextProvider(P.NavigationContext);function O(c,h,s,l){s&&l&&(l.setContext(h,c),s(h,{consumerConnectedCallback:l.subscribeContext.bind(l,h),consumerDisconnectedCallback:l.unsubscribeContext.bind(l,h)}))}r.currentPageReferenceContextualizer=E,r.currentViewContextualizer=H,r.navigationContextContextualizer=j,r.provideContext=O,Object.defineProperty(r,"__esModule",{value:!0})}),LWR.define("lwr/contextProvider",["exports","lwr/contextProvider/v/0_15_9"],function(r,e){r.default=e&&typeof e=="object"&&"default"in e?e.default:e,Object.keys(e).forEach(function(t){t==="default"||r.hasOwnProperty(t)||Object.defineProperty(r,t,{enumerable:!0,get:function(){return e[t]}})})}),LWR.define("lwr/routerUtils/v/0_15_9",["exports","lwr/routerErrors/v/0_15_9"],function(r,e){"use strict";function t(){const b=[],I=()=>b.length===0,y=q=>{typeof q=="function"&&b.push(q)};return{add:(q=[])=>{Array.isArray(q)?q.forEach(X=>y(X)):y(q)},compile:q=>b.length===0?Promise.resolve(!0):b.reduce((X,te)=>X.then(ie=>ie===!1?Promise.reject():Promise.resolve(te(q))),Promise.resolve(!0)).then(X=>X!==!1).catch(X=>{if(X instanceof Error)throw X;return!1}),empty:I}}function P(b=""){return b=b||"",encodeURIComponent(b)}function E(b=""){return b=b||"",decodeURIComponent(b)}function H(b){b=b||"/",b.charAt(0)!=="/"&&(b="/"+b);const I=b.match(/^[^#?]+/);if(I!==null){const y=I[0];return y==="/"?"/":y.replace(/\/$/,"")}return"/"}function j(b){b=b||"";const I=b.indexOf("#");I>=0&&(b=b.substring(0,I));const y=b.indexOf("?"),D=y>=0?b.substr(y+1):null,V={};return D&&D.split("&").forEach(q=>{if(q.indexOf("=")>=0){const[X,te=""]=q.split("=");V[E(X)]=E(te)}else V[E(q)]=null}),V}function O(b={}){const I=Object.keys(b);return I.length?`?${I.map(y=>{const D=b[y];return D===null?y:`${y}=${P(D)}`}).join("&")}`:""}function c(b){return b&&b.length>1?b.startsWith(":"):!1}function h(b){return b&&c(b)?b.substr(1):!1}function s(b){return Object.values(b).reduce((I,{routeParamName:y})=>{const D=h(y);return D&&I.push(D),I},[])}function l(b,I){if(!b)return null;const{type:y,attributes:D={},state:V={}}=b;if(y){const[q]=I.filter(X=>{const{original:{page:{type:te=null,attributes:ie={},state:Q={}}={}}}=X,se=te===y,Re=Object.keys(ie).every(xe=>Object.keys(D).indexOf(xe)>=0),Te=Object.keys(ie).length===Object.keys(D).length,De=Object.keys(Q).every(xe=>Object.keys(V).indexOf(xe)>=0),fe=Object.keys(ie).filter(xe=>{const w=ie[xe];return!w||!c(w)}).every(xe=>ie[xe]===D[xe]),ke=Object.keys(Q).filter(xe=>{const w=Q[xe];return w===null||!c(w)}).every(xe=>Q[xe]===V[xe]);return se&&Re&&Te&&fe&&De&&ke});return q||null}return null}function g(b,I){const{regex:y,params:D}=I,V=y.exec(b);if(V){const[,...q]=V,X={};return D.forEach((te,ie)=>{const{name:Q}=te,se=q[ie];X[Q]=se&&E(se)}),X}return null}function L(b,I){if(b&&I){const{queryMatcher:y}=I,D=y(b);if(D){const V={};return Object.keys(D).forEach(q=>{const X=D[q],{value:te,routeParamName:ie}=X,Q=ie?ie.substr(1):q;V[Q]=te&&E(te)}),V}}return null}function _(b,I){const{compiledQuery:y}=I,D=Object.keys(y).filter(q=>{const{literalValue:X}=y[q];return!X}),V={};return Object.keys(b).forEach(q=>{const X=b[q];D.indexOf(q)<0&&(V[q]=X)}),V}function T(b,I){if(I){const{original:{page:{type:y="",attributes:D={},state:V={}}={}}={}}=I,q=H(b),X=j(b),te=g(q,I),ie=L(X,I);if(te&&ie){const Q={...te,...ie},se={};Object.keys(D).forEach(De=>{const fe=D[De];let ke;if(fe&&c(fe)){const xe=fe.substr(1);ke=Q[xe]}else ke=fe;se[De]=ke});const Re={};Object.keys(V).forEach(De=>{const fe=V[De];let ke;if(fe&&c(fe)){const xe=fe.substr(1);ke=Q[xe]}else ke=fe;Re[De]=ke});const Te=_(X,I);return{type:y,attributes:{...se},state:{...Te,...Re}}}}return null}const C={locale:"en-US",defaultLocale:"en-US"};function k(b,I,y){const{original:{patterns:D=null}={}}=y||{};if(D){const V=g(b,y),q=L(I,y),X={...V,...q};return Object.keys(D).every(te=>{const ie=D[te],Q=new RegExp(ie),se=X[te]||"";return Q.test(se)})}return!0}function N(b,I){const y=H(b),D=j(b),V=I?I.filter(X=>X.regex.test(y)):[],[q]=V.filter(X=>{const{queryMatcher:te}=X;return te(D)&&k(y,D,X)});return q||null}function U(b,I,y="",D=C,V){if(y&&(b===y||b?.search(new RegExp(`^${y}[/?#]`))===0)&&(b=b.replace(y,"")),V?.locale||D?.locale){const te=`/${V?.locale||D.locale}`;(b===te||b?.search(new RegExp(`^${te}[/?#]`))===0)&&(b=b.replace(te,""))}const q=N(b,I);let X;if(q){const te=T(b,q);if(te)return X={route:{id:q.original.id,attributes:{...te.attributes},state:{...te.state},pageReference:{type:te.type,attributes:{...te.attributes},state:{...te.state}}},routeDefinition:q},X}else return null;return null}function K(b,I,y="",D=C,V){const q=l(b,I);return q?x(b,q,y,D,V):null}function A(b,I,y){const{attributeBindings:D,stateBindings:V}=y,{attributes:q,state:X}=I,te={};return b.forEach(ie=>{const[Q]=Object.keys(D).filter(se=>h(D[se])===ie);if(Q)te[ie]=q[Q];else{const[se]=Object.keys(V).filter(Re=>h(V[Re])===ie);se&&(te[ie]=X[se])}}),te}function x(b,I,y="",D=C,V){const{params:q,original:{page:X={}}={},toPath:te,compiledQuery:ie}=I,{attributes:Q={},state:se={}}=X,Re=q.filter(({name:J})=>typeof J=="string").map(({name:J})=>J),Te=A(Re,b,{attributeBindings:Q,stateBindings:se}),De=te(Te),fe=s(ie),ke=A(fe,b,{attributeBindings:Q,stateBindings:se}),xe=z(b,ke,I),w=O(xe),re=V?.locale||D&&D.locale,ue=re!==D.defaultLocale?`/${re}`:"";return`${y}${ue}${De}${w}`}function z(b,I,y){const{compiledQuery:D,original:{page:{state:V={}}}}=y,{state:q={}}=b||{},X={};Object.keys(q).filter(ie=>{const Q=V[ie];return!c(Q)}).forEach(ie=>X[ie]=q[ie]);const te={};return Object.keys(I).forEach(ie=>{const Q=I[ie],[se]=Object.keys(D).filter(Re=>{const Te=D[Re],{routeParamName:De}=Te;return h(De)===ie});if(se){const Re=se;te[Re]=Q}}),{...X,...te}}function le(b,I,y="",D=C){const V=U(b,I,y,D);return V&&V.route&&V.route.pageReference?V.route.pageReference:null}function S(b){return typeof b=="object"&&b!==null&&!Array.isArray(b)}function we(b){return typeof b=="string"}function oe(b,I){return I in b}function je(b,I=2){if(S(b))try{Object.freeze(b),I>0&&Object.keys(b).forEach(y=>{if(oe(b,y)){const D=b[y];D&&typeof D=="object"&&je(D,I-1)}})}catch(y){}return b}function ce(){return Math.floor((1+Math.random())*65536).toString(16).substring(1)}function ee(b){const I=["id","attributes","state","pageReference"],{pageReference:y=null}=b||{};return S(b)&&p(b,I)&&a(y)}function a(b){const I=["type","state","attributes"],{type:y,state:D,attributes:V}=b||{},q=S(b)&&we(y)&&S(D)&&m(D)&&S(V)&&m(V);return p(b,I)&&q}function m(b){return Object.keys(b).every(I=>{const y=b[I];return typeof I=="string"&&(typeof y=="string"||y===null)})}function p(b,I){if(S(b)){const y=I.every(q=>oe(b,q)),V=Object.keys(I).length===I.length;return y&&V}return!1}function $(b){const I=[];let y=0;for(;y<b.length;){const D=b[y];if(D==="*"||D==="+"||D==="?"){I.push({type:"MODIFIER",index:y,value:b[y++]});continue}if(D==="\\"){I.push({type:"ESCAPED_CHAR",index:y++,value:b[y++]});continue}if(D==="{"){I.push({type:"OPEN",index:y,value:b[y++]});continue}if(D==="}"){I.push({type:"CLOSE",index:y,value:b[y++]});continue}if(D===":"){let V="",q=y+1;for(;q<b.length;){const X=b.charCodeAt(q);if(X>=48&&X<=57||X>=65&&X<=90||X>=97&&X<=122||X===95){V+=b[q++];continue}break}if(!V)throw new TypeError(`Missing parameter name at ${y}`);I.push({type:"NAME",index:y,value:V}),y=q;continue}if(D==="("){let V=1,q="",X=y+1;if(b[X]==="?")throw new TypeError(`Pattern cannot start with "?" at ${X}`);for(;X<b.length;){if(b[X]==="\\"){q+=b[X++]+b[X++];continue}if(b[X]===")"){if(V--,V===0){X++;break}}else if(b[X]==="("&&(V++,b[X+1]!=="?"))throw new TypeError(`Capturing groups are not allowed at ${X}`);q+=b[X++]}if(V)throw new TypeError(`Unbalanced pattern at ${y}`);if(!q)throw new TypeError(`Missing pattern at ${y}`);I.push({type:"PATTERN",index:y,value:q}),y=X;continue}I.push({type:"CHAR",index:y,value:b[y++]})}return I.push({type:"END",index:y,value:""}),I}function G(b){return b.replace(/([.+*?=^!:${}()[\]|/\\])/g,"\\$1")}function ae(b){return b&&b.sensitive?"":"i"}function _e(b,I={}){const y=$(b),{prefixes:D="./"}=I,V=`[^${G(I.delimiter||"/#?")}]+?`,q=[];let X=0,te=0,ie="";const Q=Te=>{if(te<y.length&&y[te].type===Te)return y[te++].value},se=Te=>{const De=Q(Te);if(De!==void 0)return De;const{type:fe,index:ke}=y[te];throw new TypeError(`Unexpected ${fe} at ${ke}, expected ${Te}`)},Re=()=>{let Te="",De;for(;De=Q("CHAR")||Q("ESCAPED_CHAR");)Te+=De;return Te};for(;te<y.length;){const Te=Q("CHAR"),De=Q("NAME"),fe=Q("PATTERN");if(De||fe){let w=Te||"";D.indexOf(w)===-1&&(ie+=w,w=""),ie&&(q.push(ie),ie=""),q.push({name:De||X++,prefix:w,suffix:"",pattern:fe||V,modifier:Q("MODIFIER")||""});continue}const ke=Te||Q("ESCAPED_CHAR");if(ke){ie+=ke;continue}if(ie&&(q.push(ie),ie=""),Q("OPEN")){const w=Re(),re=Q("NAME")||"",ue=Q("PATTERN")||"",J=Re();se("CLOSE"),q.push({name:re||(ue?X++:""),pattern:re&&!ue?V:ue,prefix:w,suffix:J,modifier:Q("MODIFIER")||""});continue}se("END")}return q}function Le(b,I={}){const y=ae(I),{encode:D=X=>X,validate:V=!0}=I,q=b.map(X=>{if(typeof X=="object")return new RegExp(`^(?:${X.pattern})$`,y)});return X=>{let te="";for(let ie=0;ie<b.length;ie++){const Q=b[ie];if(typeof Q=="string"){te+=Q;continue}const se=X?X[Q.name]:void 0,Re=Q.modifier==="?"||Q.modifier==="*",Te=Q.modifier==="*"||Q.modifier==="+";if(Array.isArray(se)){if(!Te)throw new TypeError(`Expected "${Q.name}" to not repeat, but got an array`);if(se.length===0){if(Re)continue;throw new TypeError(`Expected "${Q.name}" to not be empty`)}for(let fe=0;fe<se.length;fe++){const ke=D(se[fe],Q);if(V&&!q[ie].test(ke))throw new TypeError(`Expected all "${Q.name}" to match "${Q.pattern}", but got "${ke}"`);te+=Q.prefix+ke+Q.suffix}continue}if(typeof se=="string"||typeof se=="number"){const fe=D(String(se),Q);if(V&&!q[ie].test(fe))throw new TypeError(`Expected "${Q.name}" to match "${Q.pattern}", but got "${fe}"`);te+=Q.prefix+fe+Q.suffix;continue}if(Re)continue;const De=Te?"an array":"a string";throw new TypeError(`Expected "${Q.name}" to be ${De}`)}return te}}function Oe(b,I){return Le(_e(b,I),I)}function Se(b,I){if(!I)return b;const y=b.source.match(/\((?!\?)/g);if(y)for(let D=0;D<y.length;D++)I.push({name:D,prefix:"",suffix:"",modifier:"",pattern:""});return b}function Y(b,I,y={}){const{strict:D=!1,start:V=!0,end:q=!0,encode:X=se=>se}=y,te=`[${G(y.endsWith||"")}]|$`,ie=`[${G(y.delimiter||"/#?")}]`;let Q=V?"^":"";for(const se of b)if(typeof se=="string")Q+=G(X(se));else{const Re=G(X(se.prefix)),Te=G(X(se.suffix));if(se.pattern)if(I&&I.push(se),Re||Te)if(se.modifier==="+"||se.modifier==="*"){const De=se.modifier==="*"?"?":"";Q+=`(?:${Re}((?:${se.pattern})(?:${Te}${Re}(?:${se.pattern}))*)${Te})${De}`}else Q+=`(?:${Re}(${se.pattern})${Te})${se.modifier}`;else Q+=`(${se.pattern})${se.modifier}`;else Q+=`(?:${Re}${Te})${se.modifier}`}if(q)D||(Q+=`${ie}?`),Q+=y.endsWith?`(?=${te})`:"$";else{const se=b[b.length-1],Re=typeof se=="string"?ie.indexOf(se[se.length-1])>-1:se===void 0;D||(Q+=`(?:${ie}(?=${te}))?`),Re||(Q+=`(?=${ie}|${te})`)}return new RegExp(Q,ae(y))}function he(b,I,y){return Y(_e(b,y),I,y)}function W(b,I,y){return b instanceof RegExp?Se(b,I):Array.isArray(b)?me(b,I,y):he(b,I,y)}function me(b,I,y){const D=b.map(V=>W(V,I,y).source);return new RegExp(`(?:${D.join("|")})`,ae(y))}const{INVALID_ROUTE_QUERY:Ie,MISSING_ROUTE_TEMPLATE:Ge,MISSING_PAGE_BINDING:Be,INVALID_PAGE_BINDING:$e,INVALID_URI_SYNTAX:qe}=e.messages;function Xe(b){const{routes:I,caseSensitive:y}=b;return I.map(D=>Ke(D,y))}function Ke(b,I=!1){const y=[],{id:D,uri:V,page:q}=b;e.invariant(!!V,e.generateMessageObject(Ge,[D])),e.invariant(it(V),e.generateMessageObject(qe,[D])),e.invariant(!!q,e.generateMessageObject(Be,[D]));const X=H(V),te=j(V),ie=W(X,y,{sensitive:I,end:b.exact!==!1}),Q=Oe(X,{encode:encodeURIComponent}),se=ht(te),Re=dt(se,I),Te={original:b,regex:ie,params:y,toPath:Q,compiledQuery:se,queryMatcher:Re};return e.invariant(bt(Te),e.generateMessageObject($e,[D])),Te}function it(b=""){return!["*","(",")",";"].some(D=>b.indexOf(D)>=0)}function bt(b){const{original:{page:I}={},params:y,compiledQuery:D}=b,V=I&&I.type,q=I&&I.attributes||{},X=I&&I.state||{};if(typeof V!="string"||typeof q!="object"||typeof X!="object")return!1;const te=Object.values(y).map(({name:fe})=>fe),ie=s(D),Q=[...te,...ie],se=Object.values(q).filter(c).map(h),Re=Object.values(X).filter(c).map(h),Te=Q.every(fe=>typeof fe!="string"?!1:se.indexOf(fe)>=0||Re.indexOf(fe)>=0),De=Q.length===se.length+Re.length;return!!(I&&V&&q&&X&&Te&&De)}function ht(b){const I={};return Object.keys(b).forEach(y=>{const D=b[y];e.invariant(c(y)?D===null:!0,Ie),c(y)?I[y.substr(1)]={routeParamName:y}:D&&c(D)?I[y]={routeParamName:D}:I[y]={literalValue:D===null?null:D}}),I}function dt(b,I=!1){return D=>{const V=Object.keys(D),q=Object.keys(b);return q.every(te=>V.indexOf(te)>=0)?q.reduce((te,ie)=>{if(te===null)return null;const{literalValue:Q,routeParamName:se}=b[ie],Re=D[ie];let Te=!0;return typeof Q=="string"?Te=I?Q===Re:Q.toUpperCase()===(Re==null?Re:Re.toUpperCase()):Q===null&&(Te=Re===Q),Te?te={...te,[ie]:{value:Re,routeParamName:se}}:te=null,te},{}):null}}const vt=typeof document!="undefined",mt={pathToRegexp:W,compile:Oe};r.DEFAULT_I18N_ROUTER_CONFIG=C,r.createFilterChain=t,r.decode=E,r.encode=P,r.freeze=je,r.getPageReferenceFromUriAndRouteDef=T,r.getPageReferenceFromUrl=le,r.getPathFromUrl=H,r.getQueryFromUrl=j,r.getQueryString=O,r.getUrlFromPageReference=K,r.getUrlFromPageReferenceAndRouteDef=x,r.guid=ce,r.hasDocument=vt,r.isObject=S,r.isValidRoute=ee,r.matchRouteByUrl=U,r.parseRoutes=Xe,r.pathToRegexp=mt,Object.defineProperty(r,"__esModule",{value:!0})}),LWR.define("lwr/routerUtils",["exports","lwr/routerUtils/v/0_15_9"],function(r,e){r.default=e&&typeof e=="object"&&"default"in e?e.default:e,Object.keys(e).forEach(function(t){t==="default"||r.hasOwnProperty(t)||Object.defineProperty(r,t,{enumerable:!0,get:function(){return e[t]}})})}),LWR.define("lwr/navigationMixinHacks/v/0_15_9",["exports","lwr/routerUtils/v/0_15_9"],function(r,e){"use strict";const t=`universalcontainergetnavigationcontext${e.guid()}`;r.CONTEXT_ID_BACKDOOR=t,Object.defineProperty(r,"__esModule",{value:!0})}),LWR.define("lwr/navigationMixinHacks",["exports","lwr/navigationMixinHacks/v/0_15_9"],function(r,e){r.default=e&&typeof e=="object"&&"default"in e?e.default:e,Object.keys(e).forEach(function(t){t==="default"||r.hasOwnProperty(t)||Object.defineProperty(r,t,{enumerable:!0,get:function(){return e[t]}})})}),LWR.define("lwr/currentView/v/0_15_9",["exports","lwr/contextUtils/v/0_15_9","lwr/routerErrors/v/0_15_9"],function(r,e,t){"use strict";const P=new e.ContextInfo(void 0),E=class extends e.generateContextualWireAdapter(P){async update(j,O){if(O){const c=j&&j.viewName?j.viewName:"default",h=O.viewset[c],s=h,l=s&&s.module||h;let g;if(l)try{const L=await l(),_=L&&L.default;if(_&&_.constructor!==void 0)this._callback(_);else throw new Error("error occurred with view import")}catch(L){const _=L;s.specifier?g=t.generateMessageObject(t.messages.VIEW_IMPORT_FAILED_WITH_SPECIFIER,[s.specifier,c,_.message,_.stack||""]):g=t.generateMessageObject(t.messages.VIEW_IMPORT_FAILED,[c,_.message,_.stack||""])}else g=t.generateMessageObject(t.messages.VIEW_MISSING,[c]);O.onComplete&&O.onComplete(g)}}};r.CurrentView=E,Object.defineProperty(r,"__esModule",{value:!0})}),LWR.define("lwr/currentView",["exports","lwr/currentView/v/0_15_9"],function(r,e){r.default=e&&typeof e=="object"&&"default"in e?e.default:e,Object.keys(e).forEach(function(t){t==="default"||r.hasOwnProperty(t)||Object.defineProperty(r,t,{enumerable:!0,get:function(){return e[t]}})})}),LWR.define("lwr/currentPageReference/v/0_15_9",["exports","lwr/contextUtils/v/0_15_9"],function(r,e){"use strict";const t=new e.ContextInfo(void 0),P=e.generateContextualWireAdapter(t);r.CurrentPageReference=P,Object.defineProperty(r,"__esModule",{value:!0})}),LWR.define("lwr/currentPageReference",["exports","lwr/currentPageReference/v/0_15_9"],function(r,e){r.default=e&&typeof e=="object"&&"default"in e?e.default:e,Object.keys(e).forEach(function(t){t==="default"||r.hasOwnProperty(t)||Object.defineProperty(r,t,{enumerable:!0,get:function(){return e[t]}})})}),LWR.define("lwr/routerErrors/v/0_15_9",["exports"],function(r){"use strict";const e="LWR",t={Fatal:0,Error:1,Warning:2,Log:3};function P(c,h){return Array.isArray(h)?c.replace(/\{([0-9]+)\}/g,(s,l)=>h[l]):c}function E(c,h){return`${c.code}: ${P(c.message,h)}`}function H(c,h){const s={...c,message:P(c.message,h)};return c.address&&(s.address=P(c.address,h)),c.stack&&(s.stack=P(c.stack,h)),s}function j(c,h,s){if(!c)throw new Error(E(h,s))}const O={INVALID_MIXIN_CMP:{code:`${e}4001`,message:"{0} must be an Element type",level:t.Error},MISSING_CONTEXT:{code:`${e}4002`,message:"Could not find context to perform navigation action.",level:t.Error},INVALID_CONTEXT:{code:`${e}4003`,message:"Cannot register navigation context; it must have this shape: { navigate, generateUrl, subscribe }",level:t.Error},MULTIPLE_ROOTS:{code:`${e}4004`,message:"Router connection failed. There can only be one root router.",level:t.Error},MULTIPLE_CHILDREN:{code:`${e}4005`,message:"Could not add to the navigation hierarchy. There can only be one child per navigation node.",level:t.Error},MISSING_ROUTE:{code:`${e}4006`,message:'A route cannot be created to navigate to URL "{0}"',level:t.Error,address:"{0}"},MISSING_URL:{code:`${e}4007`,message:'A URL cannot be created to navigate to route "{0}"',level:t.Error,address:"{0}"},PRENAV_FAILED:{code:`${e}4008`,message:'A preNavigate hook listener blocked routing to "{0}"',level:t.Warning,address:"{0}"},MISSING_ROUTE_TEMPLATE:{code:`${e}4009`,message:'Route definition with id "{0}" is missing a "uri" property.',level:t.Error,address:"{0}"},MISSING_ROUTE_CMP:{code:`${e}4016`,message:"Expected a route view component with a default export.",level:t.Error},MISSING_DATA_CONTEXT:{code:`${e}4018`,message:"Could not find context to retrieve navigation data.",level:t.Error},INVALID_ROUTE_QUERY:{code:`${e}4019`,message:"Invalid query param in route definition.",level:t.Error},MISSING_PAGE_BINDING:{code:`${e}4020`,message:'Route definition with id "{0}" is missing a "page" binding.',level:t.Error,address:"{0}"},INVALID_PAGE_BINDING:{code:`${e}4021`,message:'Route definition with id "{0}" has an invalid "page" binding.',level:t.Error,address:"{0}"},INVALID_URI_SYNTAX:{code:`${e}4022`,message:'Route definition with id "{0}" has invalid "uri" syntax. URI cannot contain *, +, (, ), ',level:t.Error,address:"{0}"},VIEW_IMPORT_FAILED:{code:`${e}4023`,message:'Error importing view with name "{0}", failure was: {1}',level:t.Error,stack:"{2}"},VIEW_MISSING:{code:`${e}4024`,message:'Expected a view with name "{0}" in the viewset',level:t.Error},VIEW_IMPORT_FAILED_WITH_SPECIFIER:{code:`${e}4025`,message:'Error importing module "{0}" from view with name "{1}", failure was: {2}',level:t.Error,stack:"{3}"},NO_ROUTE_MATCH:{code:`${e}4026`,message:"A routing match cannot be found for: {0}",level:t.Error},INVALID_ROUTE_HANDLER:{code:`${e}4027`,message:'Route definition "{0}" does not have a valid route handler module',level:t.Error},DESTINATION_NOT_FOUND:{code:`${e}4028`,message:"Route handler returned 404: Not Found",level:t.Error},DESTINATION_ERROR:{code:`${e}4029`,message:"Route handler returned error status {0}: {1}",level:t.Error,stack:"{2}"},NO_INIT_URL:{code:`${e}4030`,message:'Cannot initialize a server router without a "url"',level:t.Error}};r.generateMessage=E,r.generateMessageObject=H,r.invariant=j,r.messages=O,Object.defineProperty(r,"__esModule",{value:!0})}),LWR.define("lwr/routerErrors",["exports","lwr/routerErrors/v/0_15_9"],function(r,e){r.default=e&&typeof e=="object"&&"default"in e?e.default:e,Object.keys(e).forEach(function(t){t==="default"||r.hasOwnProperty(t)||Object.defineProperty(r,t,{enumerable:!0,get:function(){return e[t]}})})}),LWR.define("lwr/contextUtils/v/0_15_9",["exports","lwr/routerErrors/v/0_15_9"],function(r,e){"use strict";function t(c){if(c==null)throw new TypeError("Provider must be defined.")}class P{constructor(h){this.infoMap=new WeakMap,this.defaultValue=h}getInfo(h){let s=this.infoMap.get(h);return s===void 0&&(s={consumers:new Set},this.infoMap.set(h,s)),s}setContext(h,s){t(h);const l=s,g=this.getInfo(h);g.contextValue=s,g.consumers.forEach(L=>L.provide(l)),g.consumers.size===0&&l?.onComplete&&l.onComplete()}getContext(h){t(h);const{contextValue:s}=this.getInfo(h);return s!==void 0?s:this.defaultValue}clearContext(h){t(h),this.infoMap.delete(h)}subscribeContext(h,s){t(h);const{consumers:l,contextValue:g}=this.getInfo(h);l.has(s)||(l.add(s),s.provide(g))}unsubscribeContext(h,s){t(h),this.getInfo(h).consumers.delete(s)}}const E=new WeakMap;function H(c){const h=E.get(c);if(!h||!h.value)throw new Error(e.generateMessage(e.messages.MISSING_CONTEXT));return h.value}function j(c,h){const s={id:c,value:h,update:l=>{s.value=l}};return E.set(s.id,s),s}function O(c){var h;return h=class{constructor(g){this._callback=g}connect(){}disconnect(){}update(g,L){L&&this._callback(L)}static setContext(g,L){c.setContext(g,L)}static getContext(g){return c.getContext(g)}static clearContext(g){c.clearContext(g)}static subscribeContext(g,L){c.subscribeContext(g,L)}static unsubscribeContext(g,L){c.unsubscribeContext(g,L)}},h.contextSchema={value:"required"},h}r.ContextInfo=P,r.generateContextualWireAdapter=O,r.getNavigationHelm=H,r.registerNavigationHelm=j,Object.defineProperty(r,"__esModule",{value:!0})}),LWR.define("lwr/contextUtils",["exports","lwr/contextUtils/v/0_15_9"],function(r,e){r.default=e&&typeof e=="object"&&"default"in e?e.default:e,Object.keys(e).forEach(function(t){t==="default"||r.hasOwnProperty(t)||Object.defineProperty(r,t,{enumerable:!0,get:function(){return e[t]}})})}),LWR.define("lwr/navigationContext/v/0_15_9",["exports","lwr/contextUtils/v/0_15_9"],function(r,e){"use strict";const t=new e.ContextInfo(void 0),P=e.generateContextualWireAdapter(t);r.NavigationContext=P,Object.defineProperty(r,"__esModule",{value:!0})}),LWR.define("lwr/navigationContext",["exports","lwr/navigationContext/v/0_15_9"],function(r,e){r.default=e&&typeof e=="object"&&"default"in e?e.default:e,Object.keys(e).forEach(function(t){t==="default"||r.hasOwnProperty(t)||Object.defineProperty(r,t,{enumerable:!0,get:function(){return e[t]}})})}),LWR.define("lwr/navigation/v/0_15_9",["exports","lwr/navigationContext/v/0_15_9","lwr/currentPageReference/v/0_15_9","lwr/currentView/v/0_15_9","lwr/contextUtils/v/0_15_9","lwr/routerErrors/v/0_15_9","lwr/navigationMixinHacks/v/0_15_9"],function(r,e,t,P,E,H,j){"use strict";function O(T,C,k,N){E.getNavigationHelm(T).navigate(C,k,N)}function c(T,C,k){return E.getNavigationHelm(T).generateUrl(C,k)}const h=typeof window=="undefined",s=Symbol("Navigate"),l=Symbol("GenerateUrl"),g=Symbol("NavContext"),L=Symbol("NavContext");function _(T){H.invariant(typeof T.prototype.dispatchEvent=="function",H.messages.INVALID_MIXIN_CMP,[T.toString()]);class C extends T{[L](){if(!this[g]&&(this.dispatchEvent(new CustomEvent(j.CONTEXT_ID_BACKDOOR,{bubbles:!0,composed:!0,detail:{callback:N=>{this[g]=N}}})),!this[g]))throw new Error(H.generateMessage(H.messages.MISSING_CONTEXT))}[s](N,U,K){h||(this[L](),O(this[g],N,U,K))}async[l](N,U){return h?null:(this[L](),c(this[g],N,U))}}return C}_.Navigate=s,_.GenerateUrl=l,_.NavContext=g,Object.defineProperty(r,"NavigationContext",{enumerable:!0,get:function(){return e.NavigationContext}}),Object.defineProperty(r,"CurrentPageReference",{enumerable:!0,get:function(){return t.CurrentPageReference}}),Object.defineProperty(r,"CurrentView",{enumerable:!0,get:function(){return P.CurrentView}}),Object.defineProperty(r,"ContextInfo",{enumerable:!0,get:function(){return E.ContextInfo}}),Object.defineProperty(r,"generateContextualWireAdapter",{enumerable:!0,get:function(){return E.generateContextualWireAdapter}}),Object.defineProperty(r,"getNavigationHelm",{enumerable:!0,get:function(){return E.getNavigationHelm}}),Object.defineProperty(r,"registerNavigationHelm",{enumerable:!0,get:function(){return E.registerNavigationHelm}}),r.NavigationMixin=_,r.generateUrl=c,r.navigate=O,Object.defineProperty(r,"__esModule",{value:!0})}),LWR.define("lwr/navigation",["exports","lwr/navigation/v/0_15_9"],function(r,e){r.default=e&&typeof e=="object"&&"default"in e?e.default:e,Object.keys(e).forEach(function(t){t==="default"||r.hasOwnProperty(t)||Object.defineProperty(r,t,{enumerable:!0,get:function(){return e[t]}})})}),LWR.define("lwr/domRouter/v/0_15_9",["exports","lwr/navigation/v/0_15_9","lwr/contextProvider/v/0_15_9","lwr/routerErrors/v/0_15_9","lwr/routerUtils/v/0_15_9","lwr/observable/v/0_15_9","lwr/metrics/v/0_15_9","lwr/profiler/v/0_15_9","lwr/navigationMixinHacks/v/0_15_9"],function(r,e,t,P,E,H,j,O,c){"use strict";const h=`universalcontainernavigationevent${E.guid()}`,s=`universalcontainerparentevent${E.guid()}`;class l{constructor(_,T,C){this.pendingRoute=null,this.committedRoute=null,this.contextId=Object.freeze(()=>{}),this.connected=!1,this.preNavFilters=E.createFilterChain(),this.errorNavFilters=E.createFilterChain(),this._handleNavigationEvent=k=>{const N=k;if(N.detail&&typeof N.detail=="object"){const{url:U,replace:K,address:A}=N.detail;this.config.handleNavigation(A,K)?this.root&&!U?this.root.processError(P.generateMessageObject(P.messages.MISSING_URL,[JSON.stringify(A)])):this.parent||this.process(U,K):N.stopPropagation()}},this._handleParentEvent=k=>{k.stopImmediatePropagation();const N=k;N&&N.detail&&typeof N.detail=="function"&&N.detail(this)},this.config={handleNavigation:_.handleNavigation||(()=>!0)},this.target=C||window,this.router=T,this.router.contextId=this.contextId,this.routeObservable=H.createObservable()}get root(){if(!this.parent)return this;let _=this.parent;for(;_;){if(!_.parent)return _;_=_.parent}throw new Error("No root router could be found")}updateWires(_,T,C){if(C)this.processError(C);else{if(this.committedRoute&&_.route===this.committedRoute.route)return;O.logOperationEnd({id:j.ROUTER_VIEW,specifier:this.eventId}),this.pendingRoute=this.pendingRoute||{..._,url:T},this.committedRoute={...this.pendingRoute,..._},e.CurrentPageReference.setContext(this.target,_.route.pageReference),this.routeObservable.next({...this.committedRoute,viewset:_.viewset}),O.logOperationEnd({id:j.ROUTER_NAV,specifier:this.eventId}),this.child&&this.child.process(this._stripUrlForChild(this.committedRoute.url))}}connect(){this._sendEvent(s,T=>{this.parent=T,T.addChild(this)});const _={navigate:(T,C)=>this.navigate(T,C),generateUrl:(T,C)=>this.generateUrl(T,C),subscribe:(T,C)=>this.subscribe(T,C)};e.registerNavigationHelm(this.contextId,_),t.provideContext(this.contextId,this.target,t.navigationContextContextualizer,e.NavigationContext),t.provideContext(void 0,this.target,t.currentPageReferenceContextualizer,e.CurrentPageReference),t.provideContext(void 0,this.target,t.currentViewContextualizer,e.CurrentView),this.router.subscribe(T=>{if(T.status===404){this.processError(P.generateMessageObject(P.messages.DESTINATION_NOT_FOUND));return}if(T.status&&T.status>=400){const N=T.error||new Error;this.processError(P.generateMessageObject(P.messages.DESTINATION_ERROR,[T.status.toString(),N.message,N.stack||""]));return}const C=T.route.pageReference||{},k=this.router.generateUrl(C)||"";if(O.logOperationStart({id:j.ROUTER_VIEW,specifier:this.eventId}),T.viewset){const N={viewset:T.viewset,onComplete:this.updateWires.bind(this,T,k)};e.CurrentView.setContext(this.target,N)}else T.route.pageReference&&this.updateWires(T,k)},!0),E.hasDocument&&(this.target.addEventListener(h,this._handleNavigationEvent),this.target.addEventListener(s,this._handleParentEvent),this.target.addEventListener(c.CONTEXT_ID_BACKDOOR,T=>{const C=T;C.detail.callback&&C.detail.callback(this.contextId)})),this.connected=!0}disconnect(){this.target.removeEventListener(h,this._handleNavigationEvent),this.target.removeEventListener(s,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(_){this.preNavFilters.add(_)}addErrorNavigate(_){this.errorNavFilters.add(_)}async addChild(_){if(await new Promise(T=>{setTimeout(()=>{P.invariant(!this.child,P.messages.MULTIPLE_CHILDREN),this.child=_,T()},0)}),this.child&&this.committedRoute){const T=this._stripUrlForChild(this.committedRoute.url);await this.child.preProcess(T)&&this.child.process(T)}}async process(_,T,C,k){this.eventId=new Date().getTime().toString(),O.logOperationStart({id:j.ROUTER_NAV,specifier:this.eventId});try{this.parent||await this.preProcess(_,C)}catch(U){if(U.code)return this.processError(U),!1;throw U}const N=this.router.parseUrl(_);return N&&this.router.navigate(N,C),!0}preProcess(_,T){const C=this.router.parseUrl(_),k=C&&this.router.matchRoute(C,T);return k?(this.pendingRoute={url:_,...k},(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(_)):U).then(U=>U||Promise.reject(P.generateMessageObject(P.messages.PRENAV_FAILED,[_])))):Promise.reject(P.generateMessageObject(P.messages.MISSING_ROUTE,[_]))}processError(_){O.logOperationStart({id:j.ROUTER_ERROR}),this.errorNavFilters.compile(_),this.child&&this.child.processError(_)}navigate(_,T,C){const k=this.filterNavigateOptions(C);let N=this.router.generateUrl(_,k);N&&(N=(this.parent&&this.parent.committedRoute&&this.parent.committedRoute.pathMatch||"").concat(N)),this._sendEvent(h,{url:N,replace:T,address:_})}generateUrl(_,T){const C=this.filterNavigateOptions(T),k=this.router.generateUrl(_,C);return k?`${this.parent&&this.parent.committedRoute&&this.parent.committedRoute.pathMatch||""}${k}`:null}subscribe(_,T){return this.routeObservable.subscribe({next:_,error:()=>{},complete:()=>{}},Boolean(T))}_sendEvent(_,T){E.hasDocument&&this.target.dispatchEvent(new CustomEvent(_,{bubbles:!0,composed:!0,detail:T}))}_stripUrlForChild(_){return this.pendingRoute&&_.indexOf(this.pendingRoute.pathMatch)===0?_.replace(this.pendingRoute.pathMatch,""):_}filterNavigateOptions(_){const T=!this.parent;return{..._,locale:T?_?.locale:void 0}}}function g(L,_,T){return new l(L,_,T)}r.DomRouterImpl=l,r.NAV_EVENT=h,r.PARENT_EVENT=s,r.createDomRouter=g,Object.defineProperty(r,"__esModule",{value:!0})}),LWR.define("lwr/domRouter",["exports","lwr/domRouter/v/0_15_9"],function(r,e){r.default=e&&typeof e=="object"&&"default"in e?e.default:e,Object.keys(e).forEach(function(t){t==="default"||r.hasOwnProperty(t)||Object.defineProperty(r,t,{enumerable:!0,get:function(){return e[t]}})})}),LWR.define("lwr/historyRouter/v/0_15_9",["exports","lwc/v/8_10_3","lwr/domRouter/v/0_15_9","lwr/domRouterUtils/v/0_15_9","lwr/routerUtils/v/0_15_9"],function(r,e,t,P,E){"use strict";class H extends t.DomRouterImpl{constructor(...c){super(...c);this.historyDisabled=!1}connect(){super.connect(),this.historyDisabled||(E.hasDocument&&window.addEventListener("popstate",this.onpopstate.bind(this)),this.onpopstate())}onpopstate(){!this.parent&&E.hasDocument&&this.catchBrowserUpdate(P.getRelativeUrl(window.location.href))}disconnect(){super.disconnect(),E.hasDocument&&window.removeEventListener("popstate",this.onpopstate)}async process(c,h,s,l=!0){const g=await super.process(c,h,s,l);return g&&!this.historyDisabled&&l&&this.connected&&!this.parent&&(h?P.replace(c):P.set(c)),g}catchBrowserUpdate(c){this.process(c,!1,{},!1)}}e.registerDecorators(H,{fields:["historyDisabled"]});function j(O,c,h){return new H(O,c,h)}r.HistoryRouter=H,r.createHistoryRouter=j,Object.defineProperty(r,"__esModule",{value:!0})}),LWR.define("lwr/historyRouter",["exports","lwr/historyRouter/v/0_15_9"],function(r,e){r.default=e&&typeof e=="object"&&"default"in e?e.default:e,Object.keys(e).forEach(function(t){t==="default"||r.hasOwnProperty(t)||Object.defineProperty(r,t,{enumerable:!0,get:function(){return e[t]}})})}),LWR.define("lwr/routerContainer/v/0_15_9",["exports","lwc/v/8_10_3","lwr/historyRouter/v/0_15_9","lwr/routerErrors/v/0_15_9","lwr/domRouter/v/0_15_9","lwr/routerUtils/v/0_15_9"],function(r,e,t,P,E,H){"use strict";function j(k,N,U){var K=k?"["+k+"]":"";return"span.router-title"+K+" {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;}"}var O=[j];const c=e.parseFragment`<span class="router-title${0}" aria-live="polite" aria-atomic="true"${2}></span>`,h={key:0},s=[];function l(k,N,U,K){const{s:A,st:x}=k;return[A("",h,s,U),x(c,2)]}var g=e.registerTemplate(l);l.slots=[""],l.renderMode="light",l.stylesheets=[],l.stylesheetToken="lwc-7bis3qj4jjc",l.legacyStylesheetToken="lwr-routerContainer_routerContainer",O&&l.stylesheets.push.apply(l.stylesheets,O),e.freezeTemplate(l);let L=!1;function _(k,N={},U){const K=N.historyDisabled?new E.DomRouterImpl(N,U,k):new t.HistoryRouter(N,U,k),A={addPreNavigate:x=>(K.addPreNavigate(x),A),addPostNavigate:x=>(K.subscribe(x),A),addErrorNavigate:x=>(K.addErrorNavigate(x),A),connect:()=>{K.connect(),P.invariant(!L||!!K.parent,P.messages.MULTIPLE_ROOTS),L=L||!K.parent,A.id=K.contextId},disconnect:()=>{L=L&&!!K.parent,K.disconnect()}};return A}class T extends e.LightningElement{constructor(){super();this.router=void 0,this.historyDisabled=!1,this.currentTitle=H.hasDocument?document.title:""}connectedCallback(){const N={historyDisabled:this.historyDisabled,handleNavigation:this.handleNavigation.bind(this)};H.hasDocument&&this.router&&(this.routerApi=_(this,N,this.router),this.routerApi.addPreNavigate(this.preNavigate.bind(this)).addPostNavigate(this.postNavigate.bind(this)).addErrorNavigate(this.errorNavigate.bind(this)).connect())}preNavigate(N){const U=this._createEvent("prenavigate",N,!0);return this.dispatchEvent(U),!U.defaultPrevented}postNavigate(N){this.dispatchEvent(this._createEvent("postnavigate",N));const U=N.routeDefinition.metadata&&N.routeDefinition.metadata.title;U&&(this.currentTitle=U,document.title=U);const K=this.querySelector("span.router-title");K&&(K.innerHTML=this.currentTitle)}errorNavigate(N){return this.dispatchEvent(this._createEvent("errornavigate",N)),!0}handleNavigation(N,U){const K=this._createEvent("handlenavigation",{address:N,replace:U},!0);return this.dispatchEvent(K),!K.defaultPrevented}disconnectedCallback(){this.routerApi&&this.routerApi.disconnect()}_createEvent(N,U,K){return new CustomEvent(N,{detail:U,bubbles:!1,composed:!1,cancelable:K})}}T.renderMode="light",e.registerDecorators(T,{publicProps:{router:{config:0},historyDisabled:{config:0}}});const C=e.registerComponent(T,{tmpl:g,sel:"lwr-router-container",apiVersion:63});r.default=C,Object.defineProperty(r,"__esModule",{value:!0})}),LWR.define("lwr/routerContainer",["exports","lwr/routerContainer/v/0_15_9"],function(r,e){r.default=e&&typeof e=="object"&&"default"in e?e.default:e,Object.keys(e).forEach(function(t){t==="default"||r.hasOwnProperty(t)||Object.defineProperty(r,t,{enumerable:!0,get:function(){return e[t]}})})}),LWR.define("webruntime/defaultView/v/1_66_902-254_0",["exports","lwc/v/8_10_3"],function(r,e){"use strict";const t=[];function P(j,O,c,h){return t}var E=e.registerTemplate(P);P.renderMode="light",P.stylesheets=[],P.stylesheetToken="lwc-15jgd3dq0rl",P.legacyStylesheetToken="webruntime-defaultView_defaultView",e.freezeTemplate(P);var H={html:E,attributes(){}};r.default=H,Object.defineProperty(r,"__esModule",{value:!0})}),LWR.define("webruntime/defaultView",["exports","webruntime/defaultView/v/1_66_902-254_0"],function(r,e){r.default=e&&typeof e=="object"&&"default"in e?e.default:e,Object.keys(e).forEach(function(t){t==="default"||r.hasOwnProperty(t)||Object.defineProperty(r,t,{enumerable:!0,get:function(){return e[t]}})})}),LWR.define("webruntime/designmodeInit/v/1_66_902-254_0",["exports","lwr/loaderLegacy/v/0_15_9","@app/isDesignMode/v/1","@app/isPreviewMode/v/1"],function(r,e,t,P){"use strict";function E(h){return h&&typeof h=="object"&&"default"in h?h:{default:h}}var H=E(t),j=E(P);const{info:O}=console;async function c(){if(H.default||j.default){const{start:h,startPreview:s}=await e.load("webruntimedesign/designmode/v/1");H.default&&(/interactive|complete/.test(document.readyState)?h():document.addEventListener("DOMContentLoaded",h,!1)),j.default&&(s?s():O("startPreview() does not exist in this environment!"))}}r.designmodeInit=c,Object.defineProperty(r,"__esModule",{value:!0})}),LWR.define("webruntime/designmodeInit",["exports","webruntime/designmodeInit/v/1_66_902-254_0"],function(r,e){r.default=e&&typeof e=="object"&&"default"in e?e.default:e,Object.keys(e).forEach(function(t){t==="default"||r.hasOwnProperty(t)||Object.defineProperty(r,t,{enumerable:!0,get:function(){return e[t]}})})}),LWR.define("webruntime/utils/v/1_66_902-254_0",["exports"],function(r){"use strict";function e(s,l){if(!s)throw new Error(l)}function t(s){return typeof s=="object"&&s!==null&&!Array.isArray(s)}function P(){return([1e7]+-1e3+-4e3+-8e3+-1e11).replace(/[018]/g,s=>(s^window.crypto.getRandomValues(new Uint8Array(1))[0]&15>>s/4).toString(16))}function E(s){return typeof s=="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(s)}const H=new RegExp("^([a-z]+://|//)","i");function j(s){return s?H.test(s):!1}const O=new RegExp("/sfsites/c/.+","i");function c(s){return s?O.test(s):!1}function h(s,l){const g=JSON.stringify(l);if(!(window&&window.navigator&&window.navigator.sendBeacon&&window.navigator.sendBeacon(s,g))){const _=new XMLHttpRequest;_.open("POST",s,!0),_.setRequestHeader("Content-Type","text/plain;charset=UTF-8"),_.send(g)}}r.assert=e,r.isAbsoluteURL=j,r.isObject=t,r.isSfdcCoreURL=c,r.sendPayloadToServer=h,r.uuidValidate=E,r.uuidv4=P,Object.defineProperty(r,"__esModule",{value:!0})}),LWR.define("webruntime/utils",["exports","webruntime/utils/v/1_66_902-254_0"],function(r,e){r.default=e&&typeof e=="object"&&"default"in e?e.default:e,Object.keys(e).forEach(function(t){t==="default"||r.hasOwnProperty(t)||Object.defineProperty(r,t,{enumerable:!0,get:function(){return e[t]}})})}),LWR.define("webruntime/logger/v/1_66_902-254_0",["exports"],function(r){"use strict";function e(...P){console.log(...P)}function t(...P){console.error(...P)}r.log=e,r.logError=t,Object.defineProperty(r,"__esModule",{value:!0})}),LWR.define("webruntime/logger",["exports","webruntime/logger/v/1_66_902-254_0"],function(r,e){r.default=e&&typeof e=="object"&&"default"in e?e.default:e,Object.keys(e).forEach(function(t){t==="default"||r.hasOwnProperty(t)||Object.defineProperty(r,t,{enumerable:!0,get:function(){return e[t]}})})}),LWR.define("webruntime/errors/v/1_66_902-254_0",["exports","webruntime/logger/v/1_66_902-254_0","@communities-webruntime/common/v/1_66_902-254_0","webruntime/transport/v/1"],function(r,e,t,P){"use strict";function E(O){P.sendBeacon({path:t.ERRORS_PATH_PREFIX,payload:JSON.stringify(O),contentType:"text/plain;charset=UTF-8"})}function H(O,c){document.dispatchEvent(new CustomEvent("client-error",{detail:{error:O,type:c}}))}function j({subject:O,error:c,wcstack:h,type:s=t.CLIENT_ERROR_TYPES.UNKNOWN_ERROR}){h=h||c.wcstack;const{message:l,stack:g}=c,{hostname:L,pathname:_}=globalThis.location||{},C={subject:O,message:l,stack:g,wcstack:h,location:{hostname:L,pathname:_}};e.logError(g||C),typeof document!="undefined"&&(H(C,s),E(C))}r.reportError=j,Object.defineProperty(r,"__esModule",{value:!0})}),LWR.define("webruntime/errors",["exports","webruntime/errors/v/1_66_902-254_0"],function(r,e){r.default=e&&typeof e=="object"&&"default"in e?e.default:e,Object.keys(e).forEach(function(t){t==="default"||r.hasOwnProperty(t)||Object.defineProperty(r,t,{enumerable:!0,get:function(){return e[t]}})})}),LWR.define("webruntime/innerApp/v/1_66_902-254_0",["exports","lwc/v/8_10_3","@communities-webruntime/common/v/1_66_902-254_0","webruntime/overrides/v/1","webruntime/errors/v/1_66_902-254_0","webruntime/utils/v/1_66_902-254_0","webruntime/views/v/1","webruntime/routingService/v/1","@app/viewToThemeLayoutMap/v/1","webruntime/designmodeInit/v/1_66_902-254_0","webruntime/defaultView/v/1_66_902-254_0"],function(r,e,t,P,E,H,j,O,c,h,s){"use strict";function l(N){return N&&typeof N=="object"&&"default"in N?N:{default:N}}var g=l(j),L=l(c),_=l(s),T=void 0;class C extends e.LightningElement{constructor(...U){super(...U);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(U){this._routeParams=U}async connectedCallback(){const U=this.view||_.default;this.generatedTemplateHtml=U.html,this.attributes=U.attributes(this,this.routeParams)||{},await h.designmodeInit(),this.subscription=O.subscribe(this.loadThemeLayout.bind(this))}render(){return this.generatedTemplateHtml}disconnectedCallback(){this.subscription&&this.subscription.unsubscribe()}updateTemplate(U){this.generatedTemplateHtml=U.html}updateRoute(U,K){O.handleExtraRouteParams(K);const{state:A,attributes:x}=K;this.previousRouteId=this.route?.id||null,this._routeParams={...A,...x},this.attributes=U.attributes(this,this.routeParams)||{},this.route=K}restoreDefaultTemplate(){this.generatedTemplateHtml=_.default.html}async loadThemeLayout(U){let K=!1;const A=U.routeDefinition.view,x=L.default[A];setTimeout(async()=>{!K&&this.themeLayout!==x&&this.restoreDefaultTemplate()},10);let z;try{z=await g.default(x)}catch(le){await this.handleFetchViewFailed(le,U.routeDefinition.metadata?.isPublic)}if(!!z)try{K=!0,window?.scrollTo(0,0),this.themeLayout!==x&&(this.themeLayout=x,this.updateTemplate(z.default)),this.updateRoute(z.default,U.route)}catch(le){E.reportError({subject:"InnerApp.loadThemeLayout error",type:t.CLIENT_ERROR_TYPES.FAILED_TO_LOAD_RESOURCE,error:le})}}async handleFetchViewFailed(U,K){await P.PageNavigationFailureOverrides.run({error:U,isPublic:K})&&E.reportError({subject:"InnerApp.loadThemeLayout#getViewModule error",type:t.CLIENT_ERROR_TYPES.FAILED_TO_LOAD_RESOURCE,error:U})}}C.renderMode="light",e.registerDecorators(C,{publicProps:{view:{config:0},routerContainerView:{config:0},routeParams:{config:3}},publicMethods:["updateTemplate","updateRoute","restoreDefaultTemplate"],fields:["_routeParams","generatedTemplateHtml","attributes","previousRouteId","route"]});const k=e.registerComponent(C,{tmpl:T,sel:"webruntime-inner-app",apiVersion:63});r.default=k,Object.defineProperty(r,"__esModule",{value:!0})}),LWR.define("webruntime/innerApp",["exports","webruntime/innerApp/v/1_66_902-254_0"],function(r,e){r.default=e&&typeof e=="object"&&"default"in e?e.default:e,Object.keys(e).forEach(function(t){t==="default"||r.hasOwnProperty(t)||Object.defineProperty(r,t,{enumerable:!0,get:function(){return e[t]}})})}),LWR.define("lightning/purifyLib/v/1_24_3-alpha",["exports","lwc/v/8_10_3"],function(r,e){"use strict";var t=void 0;/*! @license DOMPurify 3.0.11 | (c) Cure53 and other contributors | Released under the Apache license 2.0 and Mozilla Public License 2.0 | github.com/cure53/DOMPurify/blob/3.0.11/LICENSE */const{entries:P,setPrototypeOf:E,isFrozen:H,getPrototypeOf:j,getOwnPropertyDescriptor:O}=Object;let{freeze:c,seal:h,create:s}=Object,{apply:l,construct:g}=typeof Reflect!="undefined"&&Reflect;c||(c=function(y){return y}),h||(h=function(y){return y}),l||(l=function(y,D,V){return y.apply(D,V)}),g||(g=function(y,D){return new y(...D)});const L=S(Array.prototype.forEach),_=S(Array.prototype.pop),T=S(Array.prototype.push),C=S(String.prototype.toLowerCase),k=S(String.prototype.toString),N=S(String.prototype.match),U=S(String.prototype.replace),K=S(String.prototype.indexOf),A=S(String.prototype.trim),x=S(Object.prototype.hasOwnProperty),z=S(RegExp.prototype.test),le=we(TypeError);function S(I){return function(y){for(var D=arguments.length,V=new Array(D>1?D-1:0),q=1;q<D;q++)V[q-1]=arguments[q];return l(I,y,V)}}function we(I){return function(){for(var y=arguments.length,D=new Array(y),V=0;V<y;V++)D[V]=arguments[V];return g(I,D)}}function oe(I,y){let D=arguments.length>2&&arguments[2]!==void 0?arguments[2]:C;E&&E(I,null);let V=y.length;for(;V--;){let q=y[V];if(typeof q=="string"){const X=D(q);X!==q&&(H(y)||(y[V]=X),q=X)}I[q]=!0}return I}function je(I){for(let y=0;y<I.length;y++)x(I,y)||(I[y]=null);return I}function ce(I){const y=s(null);for(const[D,V]of P(I))x(I,D)&&(Array.isArray(V)?y[D]=je(V):V&&typeof V=="object"&&V.constructor===Object?y[D]=ce(V):y[D]=V);return y}function ee(I,y){for(;I!==null;){const V=O(I,y);if(V){if(V.get)return S(V.get);if(typeof V.value=="function")return S(V.value)}I=j(I)}function D(){return null}return D}const a=c(["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","section","select","shadow","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"]),m=c(["svg","a","altglyph","altglyphdef","altglyphitem","animatecolor","animatemotion","animatetransform","circle","clippath","defs","desc","ellipse","filter","font","g","glyph","glyphref","hkern","image","line","lineargradient","marker","mask","metadata","mpath","path","pattern","polygon","polyline","radialgradient","rect","stop","style","switch","symbol","text","textpath","title","tref","tspan","view","vkern"]),p=c(["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"]),$=c(["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"]),G=c(["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"]),ae=c(["maction","maligngroup","malignmark","mlongdiv","mscarries","mscarry","msgroup","mstack","msline","msrow","semantics","annotation","annotation-xml","mprescripts","none"]),_e=c(["#text"]),Le=c(["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","face","for","headers","height","hidden","high","href","hreflang","id","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","pattern","placeholder","playsinline","poster","preload","pubdate","radiogroup","readonly","rel","required","rev","reversed","role","rows","rowspan","spellcheck","scope","selected","shape","size","sizes","span","srclang","start","src","srcset","step","style","summary","tabindex","title","translate","type","usemap","valign","value","width","xmlns","slot"]),Oe=c(["accent-height","accumulate","additive","alignment-baseline","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","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","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","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","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","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"]),Se=c(["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"]),Y=c(["xlink:href","xml:id","xlink:title","xml:space","xmlns:xlink"]),he=h(/\{\{[\w\W]*|[\w\W]*\}\}/gm),W=h(/<%[\w\W]*|[\w\W]*%>/gm),me=h(/\${[\w\W]*}/gm),Ie=h(/^data-[\-\w.\u00B7-\uFFFF]/),Ge=h(/^aria-[\-\w]+$/),Be=h(/^(?:(?:(?:f|ht)tps?|mailto|tel|callto|sms|cid|xmpp):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i),$e=h(/^(?:\w+script|data):/i),qe=h(/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g),Xe=h(/^html$/i),Ke=h(/^[a-z][.\w]*(-[.\w]+)+$/i);var it=Object.freeze({__proto__:null,MUSTACHE_EXPR:he,ERB_EXPR:W,TMPLIT_EXPR:me,DATA_ATTR:Ie,ARIA_ATTR:Ge,IS_ALLOWED_URI:Be,IS_SCRIPT_OR_DATA:$e,ATTR_WHITESPACE:qe,DOCTYPE_NAME:Xe,CUSTOM_ELEMENT:Ke});const bt=function(){return typeof window=="undefined"?null:window},ht=function(y,D){if(typeof y!="object"||typeof y.createPolicy!="function")return null;let V=null;const q="data-tt-policy-suffix";D&&D.hasAttribute(q)&&(V=D.getAttribute(q));const X="dompurify"+(V?"#"+V:"");try{return y.createPolicy(X,{createHTML(te){return te},createScriptURL(te){return te}})}catch(te){return console.warn("TrustedTypes policy "+X+" could not be created."),null}};function dt(){let I=arguments.length>0&&arguments[0]!==void 0?arguments[0]:bt();const y=be=>dt(be);if(y.version="3.0.11",y.removed=[],!I||!I.document||I.document.nodeType!==9)return y.isSupported=!1,y;let{document:D}=I;const V=D,q=V.currentScript,{DocumentFragment:X,HTMLTemplateElement:te,Node:ie,Element:Q,NodeFilter:se,NamedNodeMap:Re=I.NamedNodeMap||I.MozNamedAttrMap,HTMLFormElement:Te,DOMParser:De,trustedTypes:fe}=I,ke=Q.prototype,xe=ee(ke,"cloneNode"),w=ee(ke,"nextSibling"),re=ee(ke,"childNodes"),ue=ee(ke,"parentNode");if(typeof te=="function"){const be=D.createElement("template");be.content&&be.content.ownerDocument&&(D=be.content.ownerDocument)}let J,Fe="";const{implementation:ot,createNodeIterator:st,createDocumentFragment:et,getElementsByTagName:lt}=D,{importNode:pt}=V;let Qe={};y.isSupported=typeof P=="function"&&typeof ue=="function"&&ot&&ot.createHTMLDocument!==void 0;const{MUSTACHE_EXPR:gt,ERB_EXPR:ct,TMPLIT_EXPR:at,DATA_ATTR:At,ARIA_ATTR:It,IS_SCRIPT_OR_DATA:yt,ATTR_WHITESPACE:Pe,CUSTOM_ELEMENT:n}=it;let{IS_ALLOWED_URI:i}=it,o=null;const u=oe({},[...a,...m,...p,...G,..._e]);let d=null;const R=oe({},[...Le,...Oe,...Se,...Y]);let F=Object.seal(s(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}})),Ce=null,Ee=null,ge=!0,Ae=!0,Me=!1,ve=!0,Ue=!1,We=!1,tt=!1,Et=!1,ut=!1,f=!1,M=!1,B=!0,ne=!1;const de="user-content-";let ye=!0,Ne=!1,Ve={},ft=null;const Rt=oe({},["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 Dt=null;const St=oe({},["audio","video","img","source","image","track"]);let Ct=null;const ze=oe({},["alt","class","for","id","label","name","pattern","placeholder","role","summary","title","value","style","xmlns"]),jt="http://www.w3.org/1998/Math/MathML",kt="http://www.w3.org/2000/svg",_t="http://www.w3.org/1999/xhtml";let Ot=_t,Ut=!1,xt=null;const tr=oe({},[jt,kt,_t],k);let Lt=null;const rr=["application/xhtml+xml","text/html"],nr="text/html";let Ye=null,Nt=null;const ir=D.createElement("form"),Ht=function(v){return v instanceof RegExp||v instanceof Function},$t=function(){let v=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};if(!(Nt&&Nt===v)){if((!v||typeof v!="object")&&(v={}),v=ce(v),Lt=rr.indexOf(v.PARSER_MEDIA_TYPE)===-1?nr:v.PARSER_MEDIA_TYPE,Ye=Lt==="application/xhtml+xml"?k:C,o=x(v,"ALLOWED_TAGS")?oe({},v.ALLOWED_TAGS,Ye):u,d=x(v,"ALLOWED_ATTR")?oe({},v.ALLOWED_ATTR,Ye):R,xt=x(v,"ALLOWED_NAMESPACES")?oe({},v.ALLOWED_NAMESPACES,k):tr,Ct=x(v,"ADD_URI_SAFE_ATTR")?oe(ce(ze),v.ADD_URI_SAFE_ATTR,Ye):ze,Dt=x(v,"ADD_DATA_URI_TAGS")?oe(ce(St),v.ADD_DATA_URI_TAGS,Ye):St,ft=x(v,"FORBID_CONTENTS")?oe({},v.FORBID_CONTENTS,Ye):Rt,Ce=x(v,"FORBID_TAGS")?oe({},v.FORBID_TAGS,Ye):{},Ee=x(v,"FORBID_ATTR")?oe({},v.FORBID_ATTR,Ye):{},Ve=x(v,"USE_PROFILES")?v.USE_PROFILES:!1,ge=v.ALLOW_ARIA_ATTR!==!1,Ae=v.ALLOW_DATA_ATTR!==!1,Me=v.ALLOW_UNKNOWN_PROTOCOLS||!1,ve=v.ALLOW_SELF_CLOSE_IN_ATTR!==!1,Ue=v.SAFE_FOR_TEMPLATES||!1,We=v.WHOLE_DOCUMENT||!1,ut=v.RETURN_DOM||!1,f=v.RETURN_DOM_FRAGMENT||!1,M=v.RETURN_TRUSTED_TYPE||!1,Et=v.FORCE_BODY||!1,B=v.SANITIZE_DOM!==!1,ne=v.SANITIZE_NAMED_PROPS||!1,ye=v.KEEP_CONTENT!==!1,Ne=v.IN_PLACE||!1,i=v.ALLOWED_URI_REGEXP||Be,Ot=v.NAMESPACE||_t,F=v.CUSTOM_ELEMENT_HANDLING||{},v.CUSTOM_ELEMENT_HANDLING&&Ht(v.CUSTOM_ELEMENT_HANDLING.tagNameCheck)&&(F.tagNameCheck=v.CUSTOM_ELEMENT_HANDLING.tagNameCheck),v.CUSTOM_ELEMENT_HANDLING&&Ht(v.CUSTOM_ELEMENT_HANDLING.attributeNameCheck)&&(F.attributeNameCheck=v.CUSTOM_ELEMENT_HANDLING.attributeNameCheck),v.CUSTOM_ELEMENT_HANDLING&&typeof v.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements=="boolean"&&(F.allowCustomizedBuiltInElements=v.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements),Ue&&(Ae=!1),f&&(ut=!0),Ve&&(o=oe({},_e),d=[],Ve.html===!0&&(oe(o,a),oe(d,Le)),Ve.svg===!0&&(oe(o,m),oe(d,Oe),oe(d,Y)),Ve.svgFilters===!0&&(oe(o,p),oe(d,Oe),oe(d,Y)),Ve.mathMl===!0&&(oe(o,G),oe(d,Se),oe(d,Y))),v.ADD_TAGS&&(o===u&&(o=ce(o)),oe(o,v.ADD_TAGS,Ye)),v.ADD_ATTR&&(d===R&&(d=ce(d)),oe(d,v.ADD_ATTR,Ye)),v.ADD_URI_SAFE_ATTR&&oe(Ct,v.ADD_URI_SAFE_ATTR,Ye),v.FORBID_CONTENTS&&(ft===Rt&&(ft=ce(ft)),oe(ft,v.FORBID_CONTENTS,Ye)),ye&&(o["#text"]=!0),We&&oe(o,["html","head","body"]),o.table&&(oe(o,["tbody"]),delete Ce.tbody),v.TRUSTED_TYPES_POLICY){if(typeof v.TRUSTED_TYPES_POLICY.createHTML!="function")throw le('TRUSTED_TYPES_POLICY configuration option must provide a "createHTML" hook.');if(typeof v.TRUSTED_TYPES_POLICY.createScriptURL!="function")throw le('TRUSTED_TYPES_POLICY configuration option must provide a "createScriptURL" hook.');J=v.TRUSTED_TYPES_POLICY,Fe=J.createHTML("")}else J===void 0&&(J=ht(fe,q)),J!==null&&typeof Fe=="string"&&(Fe=J.createHTML(""));c&&c(v),Nt=v}},Vt=oe({},["mi","mo","mn","ms","mtext"]),Gt=oe({},["foreignobject","desc","title","annotation-xml"]),or=oe({},["title","style","font","a","script"]),Wt=oe({},[...m,...p,...$]),Bt=oe({},[...G,...ae]),ar=function(v){let Z=ue(v);(!Z||!Z.tagName)&&(Z={namespaceURI:Ot,tagName:"template"});const pe=C(v.tagName),He=C(Z.tagName);return xt[v.namespaceURI]?v.namespaceURI===kt?Z.namespaceURI===_t?pe==="svg":Z.namespaceURI===jt?pe==="svg"&&(He==="annotation-xml"||Vt[He]):Boolean(Wt[pe]):v.namespaceURI===jt?Z.namespaceURI===_t?pe==="math":Z.namespaceURI===kt?pe==="math"&&Gt[He]:Boolean(Bt[pe]):v.namespaceURI===_t?Z.namespaceURI===kt&&!Gt[He]||Z.namespaceURI===jt&&!Vt[He]?!1:!Bt[pe]&&(or[pe]||!Wt[pe]):!!(Lt==="application/xhtml+xml"&&xt[v.namespaceURI]):!1},wt=function(v){T(y.removed,{element:v});try{v.parentNode.removeChild(v)}catch(Z){v.remove()}},Ft=function(v,Z){try{T(y.removed,{attribute:Z.getAttributeNode(v),from:Z})}catch(pe){T(y.removed,{attribute:null,from:Z})}if(Z.removeAttribute(v),v==="is"&&!d[v])if(ut||f)try{wt(Z)}catch(pe){}else try{Z.setAttribute(v,"")}catch(pe){}},qt=function(v){let Z=null,pe=null;if(Et)v="<remove></remove>"+v;else{const Ze=N(v,/^[\r\n\t ]+/);pe=Ze&&Ze[0]}Lt==="application/xhtml+xml"&&Ot===_t&&(v='<html xmlns="http://www.w3.org/1999/xhtml"><head></head><body>'+v+"</body></html>");const He=J?J.createHTML(v):v;if(Ot===_t)try{Z=new De().parseFromString(He,Lt)}catch(Ze){}if(!Z||!Z.documentElement){Z=ot.createDocument(Ot,"template",null);try{Z.documentElement.innerHTML=Ut?Fe:He}catch(Ze){}}const Je=Z.body||Z.documentElement;return v&&pe&&Je.insertBefore(D.createTextNode(pe),Je.childNodes[0]||null),Ot===_t?lt.call(Z,We?"html":"body")[0]:We?Z.documentElement:Je},zt=function(v){return st.call(v.ownerDocument||v,v,se.SHOW_ELEMENT|se.SHOW_COMMENT|se.SHOW_TEXT|se.SHOW_PROCESSING_INSTRUCTION|se.SHOW_CDATA_SECTION,null)},sr=function(v){return v instanceof Te&&(typeof v.nodeName!="string"||typeof v.textContent!="string"||typeof v.removeChild!="function"||!(v.attributes instanceof Re)||typeof v.removeAttribute!="function"||typeof v.setAttribute!="function"||typeof v.namespaceURI!="string"||typeof v.insertBefore!="function"||typeof v.hasChildNodes!="function")},Xt=function(v){return typeof ie=="function"&&v instanceof ie},Pt=function(v,Z,pe){!Qe[v]||L(Qe[v],He=>{He.call(y,Z,pe,Nt)})},Kt=function(v){let Z=null;if(Pt("beforeSanitizeElements",v,null),sr(v))return wt(v),!0;const pe=Ye(v.nodeName);if(Pt("uponSanitizeElement",v,{tagName:pe,allowedTags:o}),v.hasChildNodes()&&!Xt(v.firstElementChild)&&z(/<[/\w]/g,v.innerHTML)&&z(/<[/\w]/g,v.textContent)||v.nodeType===7)return wt(v),!0;if(!o[pe]||Ce[pe]){if(!Ce[pe]&&Qt(pe)&&(F.tagNameCheck instanceof RegExp&&z(F.tagNameCheck,pe)||F.tagNameCheck instanceof Function&&F.tagNameCheck(pe)))return!1;if(ye&&!ft[pe]){const He=ue(v)||v.parentNode,Je=re(v)||v.childNodes;if(Je&&He){const Ze=Je.length;for(let rt=Ze-1;rt>=0;--rt)He.insertBefore(xe(Je[rt],!0),w(v))}}return wt(v),!0}return v instanceof Q&&!ar(v)||(pe==="noscript"||pe==="noembed"||pe==="noframes")&&z(/<\/no(script|embed|frames)/i,v.innerHTML)?(wt(v),!0):(Ue&&v.nodeType===3&&(Z=v.textContent,L([gt,ct,at],He=>{Z=U(Z,He," ")}),v.textContent!==Z&&(T(y.removed,{element:v.cloneNode()}),v.textContent=Z)),Pt("afterSanitizeElements",v,null),!1)},Yt=function(v,Z,pe){if(B&&(Z==="id"||Z==="name")&&(pe in D||pe in ir))return!1;if(!(Ae&&!Ee[Z]&&z(At,Z))){if(!(ge&&z(It,Z))){if(!d[Z]||Ee[Z]){if(!(Qt(v)&&(F.tagNameCheck instanceof RegExp&&z(F.tagNameCheck,v)||F.tagNameCheck instanceof Function&&F.tagNameCheck(v))&&(F.attributeNameCheck instanceof RegExp&&z(F.attributeNameCheck,Z)||F.attributeNameCheck instanceof Function&&F.attributeNameCheck(Z))||Z==="is"&&F.allowCustomizedBuiltInElements&&(F.tagNameCheck instanceof RegExp&&z(F.tagNameCheck,pe)||F.tagNameCheck instanceof Function&&F.tagNameCheck(pe))))return!1}else if(!Ct[Z]){if(!z(i,U(pe,Pe,""))){if(!((Z==="src"||Z==="xlink:href"||Z==="href")&&v!=="script"&&K(pe,"data:")===0&&Dt[v])){if(!(Me&&!z(yt,U(pe,Pe,"")))){if(pe)return!1}}}}}}return!0},Qt=function(v){return v!=="annotation-xml"&&N(v,n)},Jt=function(v){Pt("beforeSanitizeAttributes",v,null);const{attributes:Z}=v;if(!Z)return;const pe={attrName:"",attrValue:"",keepAttr:!0,allowedAttributes:d};let He=Z.length;for(;He--;){const Je=Z[He],{name:Ze,namespaceURI:rt,value:Tt}=Je,Mt=Ye(Ze);let nt=Ze==="value"?Tt:A(Tt);if(pe.attrName=Mt,pe.attrValue=nt,pe.keepAttr=!0,pe.forceKeepAttr=void 0,Pt("uponSanitizeAttribute",v,pe),nt=pe.attrValue,pe.forceKeepAttr||(Ft(Ze,v),!pe.keepAttr))continue;if(!ve&&z(/\/>/i,nt)){Ft(Ze,v);continue}Ue&&L([gt,ct,at],er=>{nt=U(nt,er," ")});const Zt=Ye(v.nodeName);if(!!Yt(Zt,Mt,nt)){if(ne&&(Mt==="id"||Mt==="name")&&(Ft(Ze,v),nt=de+nt),J&&typeof fe=="object"&&typeof fe.getAttributeType=="function"&&!rt)switch(fe.getAttributeType(Zt,Mt)){case"TrustedHTML":{nt=J.createHTML(nt);break}case"TrustedScriptURL":{nt=J.createScriptURL(nt);break}}try{rt?v.setAttributeNS(rt,Ze,nt):v.setAttribute(Ze,nt),_(y.removed)}catch(er){}}}Pt("afterSanitizeAttributes",v,null)},lr=function be(v){let Z=null;const pe=zt(v);for(Pt("beforeSanitizeShadowDOM",v,null);Z=pe.nextNode();)Pt("uponSanitizeShadowNode",Z,null),!Kt(Z)&&(Z.content instanceof X&&be(Z.content),Jt(Z));Pt("afterSanitizeShadowDOM",v,null)};return y.sanitize=function(be){let v=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},Z=null,pe=null,He=null,Je=null;if(Ut=!be,Ut&&(be="<!-->"),typeof be!="string"&&!Xt(be))if(typeof be.toString=="function"){if(be=be.toString(),typeof be!="string")throw le("dirty is not a string, aborting")}else throw le("toString is not a function");if(!y.isSupported)return be;if(tt||$t(v),y.removed=[],typeof be=="string"&&(Ne=!1),Ne){if(be.nodeName){const Tt=Ye(be.nodeName);if(!o[Tt]||Ce[Tt])throw le("root node is forbidden and cannot be sanitized in-place")}}else if(be instanceof ie)Z=qt("<!---->"),pe=Z.ownerDocument.importNode(be,!0),pe.nodeType===1&&pe.nodeName==="BODY"||pe.nodeName==="HTML"?Z=pe:Z.appendChild(pe);else{if(!ut&&!Ue&&!We&&be.indexOf("<")===-1)return J&&M?J.createHTML(be):be;if(Z=qt(be),!Z)return ut?null:M?Fe:""}Z&&Et&&wt(Z.firstChild);const Ze=zt(Ne?be:Z);for(;He=Ze.nextNode();)Kt(He)||(He.content instanceof X&&lr(He.content),Jt(He));if(Ne)return be;if(ut){if(f)for(Je=et.call(Z.ownerDocument);Z.firstChild;)Je.appendChild(Z.firstChild);else Je=Z;return(d.shadowroot||d.shadowrootmode)&&(Je=pt.call(V,Je,!0)),Je}let rt=We?Z.outerHTML:Z.innerHTML;return We&&o["!doctype"]&&Z.ownerDocument&&Z.ownerDocument.doctype&&Z.ownerDocument.doctype.name&&z(Xe,Z.ownerDocument.doctype.name)&&(rt="<!DOCTYPE "+Z.ownerDocument.doctype.name+`> `+rt),Ue&&L([gt,ct,at],Tt=>{rt=U(rt,Tt," ")}),J&&M?J.createHTML(rt):rt},y.setConfig=function(){let be=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};$t(be),tt=!0},y.clearConfig=function(){Nt=null,tt=!1},y.isValidAttribute=function(be,v,Z){Nt||$t({});const pe=Ye(be),He=Ye(v);return Yt(pe,He,Z)},y.addHook=function(be,v){typeof v=="function"&&(Qe[be]=Qe[be]||[],T(Qe[be],v))},y.removeHook=function(be){if(Qe[be])return _(Qe[be])},y.removeHooks=function(be){Qe[be]&&(Qe[be]=[])},y.removeAllHooks=function(){Qe={}},y}var vt=dt();const mt=e.registerComponent(vt,{tmpl:t,sel:"lightning-purify-lib",apiVersion:63});function b(I,y){return mt.sanitize(I,y)}r.default=b,Object.defineProperty(r,"__esModule",{value:!0})}),LWR.define("lightning/purifyLib",["exports","lightning/purifyLib/v/1_24_3-alpha"],function(r,e){r.default=e&&typeof e=="object"&&"default"in e?e.default:e,Object.keys(e).forEach(function(t){t==="default"||r.hasOwnProperty(t)||Object.defineProperty(r,t,{enumerable:!0,get:function(){return e[t]}})})}),LWR.define("experience/dataLayerObject/v/250_25_0",["exports","lwc/v/8_10_3","lightning/purifyLib/v/1_24_3-alpha"],function(r,e,t){"use strict";function P(T){return T&&typeof T=="object"&&"default"in T?T:{default:T}}var E=P(t);const H={hidden:""},j={lwc:{dom:"manual"}};function O(T,C,k,N){const{shc:U,h:K}=T;return[K("div",{attrs:H,props:{innerHTML:N._rawHtml$0!==(N._rawHtml$0=C.scriptElement)?N._sanitizedHtml$0=U(C.scriptElement):N._sanitizedHtml$0},context:j,key:0})]}var c=e.registerTemplate(O);O.renderMode="light",O.stylesheets=[],O.stylesheetToken="lwc-64pqse1e4gn",O.legacyStylesheetToken="experience-dataLayerObject_dataLayerObject",e.freezeTemplate(O);const l=Object.freeze({ALLOWED_TAGS:[],ALLOWED_ATTR:[]});function g(T){return typeof window=="undefined"?T:E.default(T,l)}class L extends e.LightningElement{constructor(...C){super(...C);this._scriptDataAttributes={},this._catalogObjectId=void 0,this._catalogObjectType=void 0,this._catalogObjectAttributes=void 0,this._relatedCatalogObjects=void 0,this._customObject=void 0}set scriptDataAttributes(C){this._scriptDataAttributes=C}get scriptDataAttributes(){return this._scriptDataAttributes}set catalogObjectId(C){this._catalogObjectId=C}get catalogObjectId(){return this._catalogObjectId}set catalogObjectType(C){this._catalogObjectType=C}get catalogObjectType(){return this._catalogObjectType}set catalogObjectAttributes(C){this._catalogObjectAttributes=C}get catalogObjectAttributes(){return this._catalogObjectAttributes}set relatedCatalogObjects(C){this._relatedCatalogObjects=C}get relatedCatalogObjects(){return this._relatedCatalogObjects}set customObject(C){this._customObject=C}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}">${g(this.scriptElementContent())}</script>`:""}scriptElementContent(){const C=this.isCustomObject()?this.customObject:this.buildCatalogObject();return JSON.stringify(C)}isCustomObject(){return!!this.customObject}isCatalogObject(){return!!(this.catalogObjectId&&this.catalogObjectType)}buildCatalogObject(){return{id:this.catalogObjectId,type:this.catalogObjectType,attributes:this.catalogObjectAttributes,relatedCatalogObjects:this.relatedCatalogObjects}}}L.renderMode="light",e.registerDecorators(L,{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 _=e.registerComponent(L,{tmpl:c,sel:"experience-data-layer-object",apiVersion:63});r.default=_,Object.defineProperty(r,"__esModule",{value:!0})}),LWR.define("experience/dataLayerObject",["exports","experience/dataLayerObject/v/250_25_0"],function(r,e){r.default=e&&typeof e=="object"&&"default"in e?e.default:e,Object.keys(e).forEach(function(t){t==="default"||r.hasOwnProperty(t)||Object.defineProperty(r,t,{enumerable:!0,get:function(){return e[t]}})})}),LWR.define("webruntime/app/v/1",["exports","lwc/v/8_10_3","experience/dataLayerObject/v/250_25_0","webruntime/innerApp/v/1_66_902-254_0","lwr/routerContainer/v/0_15_9","@salesforce/site/Id/v/1","@salesforce/webstore/Id/v/1","@app/templateDevName/v/1","webruntime/routingService/v/1","webruntime/errors/v/1_66_902-254_0"],function(r,e,t,P,E,H,j,O,c,h){"use strict";function s(A){return A&&typeof A=="object"&&"default"in A?A:{default:A}}var l=s(t),g=s(P),L=s(E),_=s(H),T=s(j),C=s(O);function k(A,x,z,le){const{c:S}=A;return[S("lwr-router-container",L.default,{props:{router:x.router},key:0},[S("experience-data-layer-object",l.default,{props:{scriptDataAttributes:x.siteDataForDataLayer.scriptDataAttributes,customObject:x.siteDataForDataLayer.customObject},key:1}),S("webruntime-inner-app",g.default,{props:{view:x.view,routerContainerView:x.routerContainerView,routeParams:x.routeParams},key:2})])]}var N=e.registerTemplate(k);k.renderMode="light",k.stylesheets=[],k.stylesheetToken="lwc-ag6063mqi2",k.legacyStylesheetToken="webruntime-app_app",e.freezeTemplate(k);class U extends e.LightningElement{constructor(x,z){super();this.routeParams=void 0,this.themeLayout=void 0,this.isInitialized=void 0,this.router=c.router,this.view=x,this.routerContainerView=z,this.siteDataForDataLayer={scriptDataAttributes:{providerType:"site"},customObject:{siteId:_.default,templateDevName:C.default,...T.default?{webstore:{id:T.default}}:{}}}}renderedCallback(){if(this.isInitialized)return;const x=this.querySelector("lwr-router-container");c.initializeRouterContainer(x),this.isInitialized=!0}errorCallback(x,z){if(h.reportError({subject:"app level error",error:x,wcstack:z}),process.env.SSR)throw x}disconnectedCallback(){this.isInitialized=!1}render(){return N}}U.renderMode="light",e.registerDecorators(U,{publicProps:{routeParams:{config:0}},fields:["themeLayout","isInitialized","router"]});const K=e.registerComponent(U,{tmpl:N,sel:"webruntime-app",apiVersion:63});r.default=K,Object.defineProperty(r,"__esModule",{value:!0})}),LWR.define("webruntime/app",["exports","webruntime/app/v/1"],function(r,e){r.default=e&&typeof e=="object"&&"default"in e?e.default:e,Object.keys(e).forEach(function(t){t==="default"||r.hasOwnProperty(t)||Object.defineProperty(r,t,{enumerable:!0,get:function(){return e[t]}})})}),LWR.define("@salesforce/loader/v/1",["exports","lwr/loaderLegacy/v/0_15_9"],function(r,e){"use strict";Object.defineProperty(r,"load",{enumerable:!0,get:function(){return e.load}}),Object.defineProperty(r,"__esModule",{value:!0})}),LWR.define("@salesforce/loader",["exports","@salesforce/loader/v/1"],function(r,e){r.default=e&&typeof e=="object"&&"default"in e?e.default:e,Object.keys(e).forEach(function(t){t==="default"||r.hasOwnProperty(t)||Object.defineProperty(r,t,{enumerable:!0,get:function(){return e[t]}})})}),LWR.define("webruntime/assert/v/1_66_902-254_0",["exports","webruntime/utils/v/1_66_902-254_0"],function(r,e){"use strict";Object.defineProperty(r,"default",{enumerable:!0,get:function(){return e.assert}}),Object.defineProperty(r,"__esModule",{value:!0})}),LWR.define("webruntime/assert",["exports","webruntime/assert/v/1_66_902-254_0"],function(r,e){r.default=e&&typeof e=="object"&&"default"in e?e.default:e,Object.keys(e).forEach(function(t){t==="default"||r.hasOwnProperty(t)||Object.defineProperty(r,t,{enumerable:!0,get:function(){return e[t]}})})}),LWR.define("aura-instrumentation/v/1",["exports","webruntime/logger/v/1_66_902-254_0","@communities-webruntime/common/v/1_66_902-254_0","webruntime/assert/v/1_66_902-254_0"],function(r,e,t,P){"use strict";function E(a){return a&&typeof a=="object"&&"default"in a?a:{default:a}}var H=E(P);function j(a,m){return`${t.WEBRUNTIME_PREFIX}-${[a,m].filter(Boolean).join(":")}`}const{performance:O}=globalThis;function c(a){const m=JSON.stringify(a);return m&&JSON.parse(m)}function h(a,m,p){const $=j(a,m);O.mark($,{detail:{ctx:c(p)}})}function s(a,m,p){h(a,m,p)}function l(a,m,p){h(a,m,p)}function g(a,m,p){const $=j(a,m);try{O.measure($,{detail:{ctx:c(p)},start:$})}catch(G){e.logError(`[instrumentation] no startMark named ${$} found`,G.stack)}}function L(){return Date.now()}function _(a,m,p){}function T(a,m,p){}function C(a,m,p,$,G){}function k(a){}function N(a,m){}function U(a){return{logHits(m){},logMisses(m){},unRegister(){}}}function K(a,m,p){}function A(a){}function x(a){}function z(a){}function le(a,m,p){}function S(a){return{increment(m){},decrement(m){},getValue(){return 0},reset(){}}}function we(a){return{setValue(m){},getValue(){return 0},reset(){}}}function oe(a){return{update(m){},getValue(){return[]},reset(){}}}function je(a){return{addDuration(){},time(){},getValue(){return[]},reset(){},get(){}}}class ce{constructor(){this._registry={eptMarked:[],navToPage:[],navFromPage:[],windowUnload:[]}}get knownEvents(){return Object.keys(this._registry)}_checkEventName(m){if(!this._registry[m])throw new Error(`eventName ${m} isn't valid`)}register(m,p,$){return H.default(m&&typeof m=="string","eventName must be a valid string"),this._checkEventName(m),H.default(p&&typeof p=="string","listenerName must be a valid string"),H.default(typeof $=="function","callback must be provided"),this._registry[m].push({name:p,func:$})}unregister(m,p){this._checkEventName(m);const $=p-1;H.default(this._registry[m][$],`No listener found for ${m} with registration ID ${p}`),delete this._registry[m][$]}notify(m,p){this._checkEventName(m),this._registry[m].forEach($=>$.func(p))}}const ee=new ce;r.counter=S,r.disablePlugin=z,r.enablePlugin=x,r.error=K,r.gauge=we,r.interaction=C,r.mark=s,r.markEnd=g,r.markStart=l,r.notifications=ee,r.percentileHistogram=oe,r.perfEnd=T,r.perfStart=_,r.registerCacheStats=U,r.registerPeriodicLogger=N,r.registerPlugin=k,r.removePeriodicLogger=A,r.time=L,r.timer=je,r.trackScenario=le,Object.defineProperty(r,"__esModule",{value:!0})}),LWR.define("aura-instrumentation",["exports","aura-instrumentation/v/1"],function(r,e){r.default=e&&typeof e=="object"&&"default"in e?e.default:e,Object.keys(e).forEach(function(t){t==="default"||r.hasOwnProperty(t)||Object.defineProperty(r,t,{enumerable:!0,get:function(){return e[t]}})})}),LWR.define("aura-storage/v/1",["exports"],function(r){"use strict";var e={};r.default=e,Object.defineProperty(r,"__esModule",{value:!0})}),LWR.define("aura-storage",["exports","aura-storage/v/1"],function(r,e){r.default=e&&typeof e=="object"&&"default"in e?e.default:e,Object.keys(e).forEach(function(t){t==="default"||r.hasOwnProperty(t)||Object.defineProperty(r,t,{enumerable:!0,get:function(){return e[t]}})})}),LWR.define("webruntime/auraMethodToResourceReferenceMapping/v/1_66_902-254_0",["exports"],function(r){"use strict";const e="/services/data/v63.0",t={"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"},"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"},"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"}};function P(E){return t[E]}r.getResourceReferenceFromAuraMethod=P,Object.defineProperty(r,"__esModule",{value:!0})}),LWR.define("webruntime/auraMethodToResourceReferenceMapping",["exports","webruntime/auraMethodToResourceReferenceMapping/v/1_66_902-254_0"],function(r,e){r.default=e&&typeof e=="object"&&"default"in e?e.default:e,Object.keys(e).forEach(function(t){t==="default"||r.hasOwnProperty(t)||Object.defineProperty(r,t,{enumerable:!0,get:function(){return e[t]}})})}),LWR.define("webruntime/apiCall/v/1_66_902-254_0",["exports","webruntime/auraMethodToResourceReferenceMapping/v/1_66_902-254_0","webruntime/transport/v/1","webruntime/errors/v/1_66_902-254_0","@app/apexApiBasePath/v/1","webruntime/overrides/v/1","@communities-webruntime/common/v/1_66_902-254_0"],function(r,e,t,P,E,H,j){"use strict";function O(k){return k&&typeof k=="object"&&"default"in k?k:{default:k}}var c=O(E);async function h(k,N){const[U,K]=k.split(".");if(U==="ApexActionController")return l(K,N);const A=e.getResourceReferenceFromAuraMethod(k);if(A)return s(A,N);throw new Error(`Unsupported controller action: ${U}.${K}`)}async function s({urlPath:k,urlPathParamNames:N,method:U,inputRepresentation:K},A){const x=A&&{...A}||{};let z=N.reduce((oe,je)=>{const ce=x[je];return delete x[je],oe.replace(`\${${je}}`,encodeURIComponent(ce))},k),le;(U==="POST"||U==="PATCH"||U==="PUT")&&x[K]&&(le=JSON.stringify(x[K]),delete x[K]),Object.keys(x).length&&(z+=`?${Object.entries(x).filter(([,oe])=>oe!=null&&(!Array.isArray(oe)||oe.length)).map(([oe,je])=>`${encodeURIComponent(oe)}=${encodeURIComponent(je)}`).join("&")}`);const S=await t.fetch(z,{method:U,body:le});let we;if(S.status===401&&_(),S.status!==204&&(we=await S.json()),we instanceof Array&&(we=we[0]),!S.ok){const oe={status:S.status,data:{...we,statusCode:S.status}};throw C([oe])}return T(we)}async function l(k,N){if(k==="execute"){const{url:U,httpRequestOptions:K}=g(k,N);return t.fetch(U,K).then(A=>(A.status===401&&_(),A.status!==204?A.json():void 0)).then(A=>{if(A&&A.error&&A.error.length>0)throw C(A.error);return T(A)})}throw new Error(`Unsupported Apex action: ${k}`)}function g(k,N){if((!N||typeof N!="object"||Object.keys(N).length===0)&&P.reportError({subject:"Apex API action error - invalid params",type:j.CLIENT_ERROR_TYPES.APEX_ACTION_ERROR,error:new Error(`Apex ${k} action called with invalid params: '${JSON.stringify(N)}'.`)}),N&&N.cacheable===!0){const U=`/apex/${k}?${L(N)}`;if(U.length<=j.MAX_URL_LENGTH)return{url:U,httpRequestOptions:{method:"GET",basePath:c.default}}}return{url:`/apex/${k}`,httpRequestOptions:{method:"POST",body:JSON.stringify(N),basePath:c.default}}}function L(k){const N={...k},U=N.params;if(U&&typeof U=="object"){const K=Object.keys(U).sort().reduce((A,x)=>(A[x]=U[x],A),{});N.params=JSON.stringify(K)}return Object.keys(N).filter(K=>N[K]!==void 0&&N[K]!=null).sort().map(K=>`${K}=${encodeURIComponent(N[K])}`).join("&")}function _(){H.SessionTimeoutOverrides.runSync()}function T(k){return{getReturnValue:()=>k}}function C(k){return{getError:()=>k}}r.apiCallRawResponse=h,r.formatApexRequest=g,Object.defineProperty(r,"__esModule",{value:!0})}),LWR.define("webruntime/apiCall",["exports","webruntime/apiCall/v/1_66_902-254_0"],function(r,e){r.default=e&&typeof e=="object"&&"default"in e?e.default:e,Object.keys(e).forEach(function(t){t==="default"||r.hasOwnProperty(t)||Object.defineProperty(r,t,{enumerable:!0,get:function(){return e[t]}})})}),LWR.define("aura/v/1",["exports","webruntime/apiCall/v/1_66_902-254_0","webruntime/logger/v/1_66_902-254_0"],function(r,e,t){"use strict";function P(c){if(c&&c.__esModule)return c;var h=Object.create(null);return c&&Object.keys(c).forEach(function(s){if(s!=="default"){var l=Object.getOwnPropertyDescriptor(c,s);Object.defineProperty(h,s,l.get?l:{enumerable:!0,get:function(){return c[s]}})}}),h.default=c,Object.freeze(h)}var E=P(t);const H=null,j=null,O=null;Object.defineProperty(r,"executeGlobalControllerRawResponse",{enumerable:!0,get:function(){return e.apiCallRawResponse}}),r.logger=E,r.createComponent=H,r.getDefinition=O,r.renderComponent=j,Object.defineProperty(r,"__esModule",{value:!0})}),LWR.define("aura",["exports","aura/v/1"],function(r,e){r.default=e&&typeof e=="object"&&"default"in e?e.default:e,Object.keys(e).forEach(function(t){t==="default"||r.hasOwnProperty(t)||Object.defineProperty(r,t,{enumerable:!0,get:function(){return e[t]}})})}),LWR.define("instrumentation/service/v/1",["exports","aura-instrumentation/v/1"],function(r,e){"use strict";Object.keys(e).forEach(function(t){t!=="default"&&!r.hasOwnProperty(t)&&Object.defineProperty(r,t,{enumerable:!0,get:function(){return e[t]}})}),Object.defineProperty(r,"__esModule",{value:!0})}),LWR.define("instrumentation/service",["exports","instrumentation/service/v/1"],function(r,e){r.default=e&&typeof e=="object"&&"default"in e?e.default:e,Object.keys(e).forEach(function(t){t==="default"||r.hasOwnProperty(t)||Object.defineProperty(r,t,{enumerable:!0,get:function(){return e[t]}})})}),LWR.define("instrumentation/utility/v/1",["exports","aura-instrumentation/v/1"],function(r,e){"use strict";Object.keys(e).forEach(function(t){t!=="default"&&!r.hasOwnProperty(t)&&Object.defineProperty(r,t,{enumerable:!0,get:function(){return e[t]}})}),Object.defineProperty(r,"__esModule",{value:!0})}),LWR.define("instrumentation/utility",["exports","instrumentation/utility/v/1"],function(r,e){r.default=e&&typeof e=="object"&&"default"in e?e.default:e,Object.keys(e).forEach(function(t){t==="default"||r.hasOwnProperty(t)||Object.defineProperty(r,t,{enumerable:!0,get:function(){return e[t]}})})}),LWR.define("lightning/configProvider/v/1",["exports","@app/basePath/v/1","lwc/v/8_10_3"],function(r,e,t){"use strict";function P(w){return w&&typeof w=="object"&&"default"in w?w:{default:w}}var E=P(e);const H=/^\d{4}(-\d\d(-\d\d(T\d\d:\d\d(:\d\d)?(\.\d+)?(([+-]\d\d:\d\d)|Z){1})?)?)?$/i,j=/^\d\d:\d\d(:\d\d)?(\.\d+)?(([+-]\d\d:\d\d)|Z)?$/i,O="HH:mm:ss.SSS",c="YYYY-MM-DD",h="T",s=/(Z|([+-])(\d{2}):(\d{2}))$/;function l(w){return _(w)&&C(w)}function g(w){if(!T(w))return!1;const re=L(w);return C(`2018-09-09T${re}Z`)}function L(w){return typeof w=="string"?w.split(s)[0]:w}function _(w){return typeof w!="string"?!1:H.test(w)}function T(w){return typeof w!="string"?!1:j.test(w)}function C(w){const re=Date.parse(w);return isFinite(re)}var k=void 0;const N="in a few seconds",U="a few seconds ago",K="in {0} {1}",A="{0} {1} ago",x="s",z={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"}},le=1e3,S=6e4,we=36e5,oe=864e5;class je{constructor(re){if(this.milliseconds=0,typeof re!="number"){this.isValid=!1,console.warn(`The value of milliseconds passed into Duration must be of type number, but we are getting the ${typeof re} value "${re}" instead. `);return}this.isValid=!0,this.milliseconds=re}humanize(re){if(!this.isValid)return"";const ue=a(this);return ue===z.SECONDS?this.milliseconds>0?N:U:m(re,this.asIn(ue),ue.name)}asIn(re){switch(re){case z.SECONDS:return Math.round(this.milliseconds/le);case z.MINUTES:return Math.round(this.milliseconds/S);case z.HOURS:return Math.round(this.milliseconds/we);case z.DAYS:return Math.round(this.milliseconds/oe);case z.MONTHS:return Math.round(ee(this.milliseconds/oe));case z.YEARS:default:return Math.round(ee(this.milliseconds/oe)/12)}}}const ce=t.registerComponent(je,{tmpl:k,sel:"lightning-config-provider",apiVersion:63});function ee(w){const re=4800/146097;return w*re}function a(w){const re=Object.keys(z).find(ue=>{const J=z[ue];return J===z.YEARS||Math.abs(w.asIn(J))<J.threshold});return z[re]}function m(w,re,ue){return"Intl"in window&&Intl.RelativeTimeFormat?new Intl.RelativeTimeFormat(w,{style:"long",numeric:"always"}).format(re,ue):p(re,ue)}function p(w,re){console.warn("The current environment does not support formatters for relative time.");const ue=Math.abs(w),J=ue!==1?re+x:re,Fe=w>0?K:A;return $(Fe,ue,J)}function $(w,...re){return w.replace(/{(\d+)}/g,(ue,J)=>re[J])}const G=["January","February","March","April","May","June","July","August","September","October","November","December"],ae={short:"M/d/yyyy",medium:"MMM d, yyyy",long:"MMMM d, yyyy"},_e={short:"h:mm a",medium:"h:mm:ss a",long:"h:mm:ss a"},Le={short:"h:m a",medium:"h:m:s a",long:"h:m:s a"};function Oe(w,re){let ue=!1,J=w;return typeof w=="string"&&(J=w.split(h)[0],ue=!0),I(J,re,ue)}function Se(w,re){return I(w,re,!0)}function Y(w,re){if(!D(w))return new Date("");const ue=(w.getHours()+11)%12+1,J=w.getHours()>=12?"PM":"AM";switch(re){case O:return`${ie(w.getHours())}:${ie(w.getMinutes())}:${ie(w.getSeconds())}.${Q(w.getMilliseconds())}`;case _e.short:return`${ue}:${ie(w.getMinutes())} ${J}`;case _e.medium:case _e.long:default:return`${ue}:${ie(w.getMinutes())}:${ie(w.getSeconds())} ${J}`}}function he(w){if(!D(w))return new Date("");const re=new Date(w.getTime());return`${Se(re)}, ${Y(q(re))}`}function W(w){let re=null,ue=!0;if(g(w)?re=`2014-03-20T${V(w)}`:l(w)&&(w.indexOf(h)>0?(re=V(w),ue=!1):re=`${w}T00:00:00.000Z`),re){const J=new Date(re);return ue&&q(J),J}return null}function me(w,re){return re===c&&l(w)?W(w):Object.values(ae).includes(re)?b(w,re):Object.values(Le).includes(re)?mt(w):null}function Ie(w){return W(V(w))}function Ge(w,re,ue){const J=te(w),Fe=te(re);return!J||!Fe?!1:y(J,ue).getTime()<y(Fe,ue).getTime()}function Be(w,re,ue){const J=te(w),Fe=te(re);return!J||!Fe?!1:y(J,ue).getTime()>y(Fe,ue).getTime()}function $e(w,re,ue){const J=new Date(w.getTime());ue(X(J))}function qe(w,re,ue){const J=new Date(w.getTime());ue(q(J))}function Xe(w){return w}function Ke(w){return w}function it(w){return w}function bt(w){return w}function ht(){return{format:w=>(console.warn(`The current environment does not support large numbers and the original value of ${w} will be returned.`),w)}}function dt(w){return new ce(w*60*1e3)}function vt(w){return w.humanize("en")}function mt(w){const re=w.trim().split(/[:.\s*]/),ue=re.length;if(!re||ue<2||ue>5)return null;const J=re[ue-1],Fe=J.toLowerCase()==="am",ot=J.toLowerCase()==="pm";re.splice(-1,1);const st=re.every(at=>!isNaN(at));if(!ot&&!Fe||!st)return null;const et=re[0],lt=ie(ot?et%12+12:et%12),pt=ue>=3&&re[1]||"0",Qe=ue>=4&&re[2]||"0",gt=ue===5&&re[3]||"0",ct=new Date("2014-03-20");return ct.setHours(lt,pt,Qe,gt),D(ct)?ct:null}function b(w,re){let ue=/^([a-zA-Z]{3})\s*(\d{1,2}),\s*(\d{4})$/;switch(re){case ae.short:ue=/^(\d{1,2})\/(\d{1,2})\/(\d{4})$/;break;case ae.long:ue=/^([a-zA-Z]+)\s*(\d{1,2}),\s*(\d{4})$/;break}const J=ue.exec(w.trim());if(!J)return null;let Fe=J[1];const ot=J[2],st=J[3];re!==ae.short&&(Fe=G.findIndex(pt=>pt.toLowerCase().includes(Fe.toLowerCase())),Fe+=1);const et=`${st}-${ie(Fe)}-${ie(ot)}`,lt=new Date(`${et}T00:00:00.000Z`);return D(lt)?q(lt):null}function I(w,re,ue){const J=te(w);if(!J)return new Date("");switch(ue&&D(w)&&q(J),re){case c:return`${J.getFullYear()}-${ie(J.getMonth()+1)}-${ie(J.getDate())}`;case ae.short:return`${J.getMonth()+1}/${J.getDate()}/${J.getFullYear()}`;case ae.long:return`${G[J.getMonth()]} ${J.getDate()}, ${J.getFullYear()}`;case ae.medium:default:return`${G[J.getMonth()].substring(0,3)} ${J.getDate()}, ${J.getFullYear()}`}}function y(w,re){switch(re){case"day":w.setHours(0),w.setMinutes(0);case"minute":w.setSeconds(0),w.setMilliseconds(0);break}return w}function D(w){return Object.prototype.toString.call(w)==="[object Date]"&&!isNaN(w.getTime())}function V(w){return`${L(w)}Z`}function q(w){return w.setMinutes(w.getMinutes()+w.getTimezoneOffset()),w}function X(w){return w.setMinutes(w.getMinutes()-w.getTimezoneOffset()),w}function te(w){return w?D(w)?new Date(w.getTime()):isFinite(w)&&(typeof w=="number"||typeof w=="string")?new Date(parseInt(w,10)):typeof w=="string"?W(w):null:null}function ie(w){return Number(w)<10?`0${w}`:w}function Q(w){return Number(w)<10?`00${w}`:Number(w)<100?`0${w}`:w}var se={formatDate:Oe,formatDateUTC:Se,formatTime:Y,formatDateTimeUTC:he,parseDateTimeISO8601:W,parseDateTime:me,parseDateTimeUTC:Ie,isBefore:Ge,isAfter:Be,UTCToWallTime:$e,WallTimeToUTC:qe,translateToOtherCalendar:Xe,translateFromOtherCalendar:Ke,translateToLocalizedDigits:it,translateFromLocalizedDigits:bt,getNumberFormat:ht,duration:dt,displayDuration:vt};function Re(){return se}function Te(){return E.default}function De(){return null}function fe(){return null}function ke(){return{densitySetting:""}}var xe={getOneConfig:ke,getIconSvgTemplates:fe,getToken:De,getPathPrefix:Te,getLocalizationService:Re};r.default=xe,r.getIconSvgTemplates=fe,r.getLocalizationService=Re,r.getOneConfig=ke,r.getPathPrefix=Te,r.getToken=De,Object.defineProperty(r,"__esModule",{value:!0})}),LWR.define("lightning/configProvider",["exports","lightning/configProvider/v/1"],function(r,e){r.default=e&&typeof e=="object"&&"default"in e?e.default:e,Object.keys(e).forEach(function(t){t==="default"||r.hasOwnProperty(t)||Object.defineProperty(r,t,{enumerable:!0,get:function(){return e[t]}})})}),LWR.define("lightning/navigation/v/1",["exports","lwr/navigationContext/v/0_15_9","lwr/currentPageReference/v/0_15_9","lwr/currentView/v/0_15_9","lwr/contextUtils/v/0_15_9","lwr/routerErrors/v/0_15_9","lwr/navigationMixinHacks/v/0_15_9"],function(r,e,t,P,E,H,j){"use strict";function O(T,C,k,N){E.getNavigationHelm(T).navigate(C,k,N)}function c(T,C,k){return E.getNavigationHelm(T).generateUrl(C,k)}const h=typeof window=="undefined",s=Symbol("Navigate"),l=Symbol("GenerateUrl"),g=Symbol("NavContext"),L=Symbol("NavContext");function _(T){H.invariant(typeof T.prototype.dispatchEvent=="function",H.messages.INVALID_MIXIN_CMP,[T.toString()]);class C extends T{[L](){if(!this[g]&&(this.dispatchEvent(new CustomEvent(j.CONTEXT_ID_BACKDOOR,{bubbles:!0,composed:!0,detail:{callback:N=>{this[g]=N}}})),!this[g]))throw new Error(H.generateMessage(H.messages.MISSING_CONTEXT))}[s](N,U,K){h||(this[L](),O(this[g],N,U,K))}async[l](N,U){return h?null:(this[L](),c(this[g],N,U))}}return C}_.Navigate=s,_.GenerateUrl=l,_.NavContext=g,Object.defineProperty(r,"NavigationContext",{enumerable:!0,get:function(){return e.NavigationContext}}),Object.defineProperty(r,"CurrentPageReference",{enumerable:!0,get:function(){return t.CurrentPageReference}}),Object.defineProperty(r,"CurrentView",{enumerable:!0,get:function(){return P.CurrentView}}),Object.defineProperty(r,"ContextInfo",{enumerable:!0,get:function(){return E.ContextInfo}}),Object.defineProperty(r,"generateContextualWireAdapter",{enumerable:!0,get:function(){return E.generateContextualWireAdapter}}),Object.defineProperty(r,"getNavigationHelm",{enumerable:!0,get:function(){return E.getNavigationHelm}}),Object.defineProperty(r,"registerNavigationHelm",{enumerable:!0,get:function(){return E.registerNavigationHelm}}),r.NavigationMixin=_,r.generateUrl=c,r.navigate=O,Object.defineProperty(r,"__esModule",{value:!0})}),LWR.define("lightning/navigation",["exports","lightning/navigation/v/1"],function(r,e){r.default=e&&typeof e=="object"&&"default"in e?e.default:e,Object.keys(e).forEach(function(t){t==="default"||r.hasOwnProperty(t)||Object.defineProperty(r,t,{enumerable:!0,get:function(){return e[t]}})})}),LWR.define("webruntime/f6Controller/v/1_66_902-254_0",["exports"],function(r){"use strict";const e=300,{document:t}=globalThis,P={navKey:"F6",f6RegionAttribute:"data-f6-region",f6RegionHighlightClass:"f6-highlight"},E=h=>h&&(h.shadowRoot?h.shadowRoot.activeElement?E(h.shadowRoot.activeElement):h:h.activeElement?E(h.activeElement):h);class H{constructor(s={}){this.regions=[],this.config=P,this.handleClick=()=>{this.clearRegionHighlights()},this.handleKeyDown=l=>{this.clearRegionHighlights();const{key:g,ctrlKey:L,metaKey:_}=l;g===this.config.navKey&&(L||_)&&(this.populateRegions(),this.handleNavigation(l))},this.elementFilter=l=>l.parentElement&&l.parentElement.matches(`*[${this.config.f6RegionAttribute}]`)?NodeFilter.FILTER_REJECT:l.matches(`*[${this.config.f6RegionAttribute}]`)&&this.isVisible(l)&&!this.isEmpty(l)?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP,this._debounceKeyDownHandler=this.debounce(this.handleKeyDown.bind(this),e),this.initialize(s)}debounce(s,l,g){const L=g||{};let _=L.leading,T;return function(){const k=Array.prototype.slice.apply(arguments);_&&(s.apply(this,k),_=!1),clearTimeout(T),T=setTimeout(function(){s.apply(this,k),_=L.leading},l)}}appendStyleElement(){this._styleElement=t.createElement("style");const s=`[${this.config.f6RegionAttribute}].${this.config.f6RegionHighlightClass}`;this._styleElement.innerText=`${s} { position: relative; } ${s}::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"),t.head.appendChild(this._styleElement)}clearRegionHighlights(){!this.regions||!this.regions.length||this.regions.forEach(s=>{s.classList.remove(this.config.f6RegionHighlightClass)})}addRegionHighlight(s){s.classList.add(this.config.f6RegionHighlightClass)}focusIn(s){const l=s.querySelector('a[href],button:not([disabled]),input:not([type="hidden"]):not([disabled]),select:not([type="hidden"]):not([disabled]),textarea:not([type="hidden"]):not([disabled])');l?l.focus():(s.tabIndex="-1",s.focus())}handleNavigation(s){if(s.preventDefault(),!this.regions.length)return;const l=s.shiftKey,g=this.getElementRegionIndex(E(s.target)),L=this.getNextRegionIndex(g,l);if(L===-1)return;const _=this.regions[L];this.focusIn(_),this.addRegionHighlight(_)}shadowContains(s,l){return s===l||s.contains(l)||s.shadowRoot&&this.isElementInContainerElements(s.shadowRoot.children,l)||s.tagName==="SLOT"&&this.isElementInContainerElements(s.assignedElements(),l)?!0:this.isElementInContainerElements(s.children,l)}isElementInContainerElements(s,l){if(!s||!s.length)return!1;const g=s.length;for(let L=0;L<g;L++)if(this.shadowContains(s[L],l))return!0;return!1}getElementRegionIndex(s){return!this.regions||!this.regions.length?-1:this.regions.findIndex(l=>this.shadowContains(l,s))}getNextRegionIndex(s,l){const g=this.regions.length-1;return g<0?-1:l?s<=0?g:s-1:s===g?0:s+1}isVisible(s){if(s===t.body||!(s instanceof Element))return!0;try{const l=window.getComputedStyle(s)||s.style;if(!l)return!1;const{display:g,visibility:L}=l;return g&&g.toLowerCase()==="none"||L&&L.toLowerCase()==="hidden"?!1:this.isVisible(s.parentNode)}catch(l){return!1}}isEmpty(s){if(s.tagName==="SLOT"&&!this.isEmptyChildren(s.assignedElements()))return!1;let l=s.children;return(!l||!l.length)&&s.shadowRoot&&(l=s.shadowRoot.children),this.isEmptyChildren(l)}isEmptyChildren(s){if(!s||!s.length)return!0;const l=s.length;for(let g=0;g<l;g++){const L=s[g];if(L.tagName!=="SLOT"||!this.isEmpty(L))return!1}return!0}populateRegions(){if(!t)return;this.regions=[];const s=t.createTreeWalker(t.body,NodeFilter.SHOW_ELEMENT,this.elementFilter,!1);for(;s.nextNode();)this.regions.push(s.currentNode)}initialize(s={}){!t||(t.addEventListener("keydown",this._debounceKeyDownHandler),this.regions=[],this.config={...this.config,...s},this.appendStyleElement())}cleanUp(){!t||(t.removeEventListener("keydown",this._debounceKeyDownHandler),this._regions=[],this._config=P,this._debounceKeyDownHandler=null,this._styleElement&&(t.head.removeChild(this._styleElement),this._styleElement=null))}getConfig(){return Object.freeze(this.config)}}let j;const O=h=>(j||(j=new H(h)),j),c=()=>{if(j){const h=j.getConfig();if(h)return h.f6RegionAttribute}};r.DEFAULT_CONFIG=P,r.F6Controller=H,r.createF6Controller=O,r.getActiveElem=E,r.getCurrentRegionAttributeName=c,Object.defineProperty(r,"__esModule",{value:!0})}),LWR.define("webruntime/f6Controller",["exports","webruntime/f6Controller/v/1_66_902-254_0"],function(r,e){r.default=e&&typeof e=="object"&&"default"in e?e.default:e,Object.keys(e).forEach(function(t){t==="default"||r.hasOwnProperty(t)||Object.defineProperty(r,t,{enumerable:!0,get:function(){return e[t]}})})}),LWR.define("lightning/f6Controller/v/1",["exports","webruntime/f6Controller/v/1_66_902-254_0"],function(r,e){"use strict";Object.keys(e).forEach(function(t){t!=="default"&&!r.hasOwnProperty(t)&&Object.defineProperty(r,t,{enumerable:!0,get:function(){return e[t]}})}),Object.defineProperty(r,"__esModule",{value:!0})}),LWR.define("lightning/f6Controller",["exports","lightning/f6Controller/v/1"],function(r,e){r.default=e&&typeof e=="object"&&"default"in e?e.default:e,Object.keys(e).forEach(function(t){t==="default"||r.hasOwnProperty(t)||Object.defineProperty(r,t,{enumerable:!0,get:function(){return e[t]}})})}),LWR.define("lwr/environment/v/1",["exports"],function(r){"use strict";const e=globalThis?.LWR?.env||{},t=e&&(e.SSR==="true"||e.SSR===!0),P=e&&e.basePath,E=e&&e.locale,H=e&&e.assetBasePath,j=e&&e.uiBasePath;r.assetBasePath=H,r.basePath=P,r.isServer=t,r.locale=E,r.uiBasePath=j,Object.defineProperty(r,"__esModule",{value:!0})}),LWR.define("lwr/environment",["exports","lwr/environment/v/1"],function(r,e){r.default=e&&typeof e=="object"&&"default"in e?e.default:e,Object.keys(e).forEach(function(t){t==="default"||r.hasOwnProperty(t)||Object.defineProperty(r,t,{enumerable:!0,get:function(){return e[t]}})})}),LWR.define("transport/v/1",["exports","webruntime/transport/v/1"],function(r,e){"use strict";Object.keys(e).forEach(function(t){t!=="default"&&!r.hasOwnProperty(t)&&Object.defineProperty(r,t,{enumerable:!0,get:function(){return e[t]}})}),Object.defineProperty(r,"__esModule",{value:!0})}),LWR.define("transport",["exports","transport/v/1"],function(r,e){r.default=e&&typeof e=="object"&&"default"in e?e.default:e,Object.keys(e).forEach(function(t){t==="default"||r.hasOwnProperty(t)||Object.defineProperty(r,t,{enumerable:!0,get:function(){return e[t]}})})}),LWR.define("webruntime/cookieStore/v/1_66_902-254_0",["exports","@app/authenticationCookieName/v/1"],function(r,e){"use strict";function t(l){return l&&typeof l=="object"&&"default"in l?l:{default:l}}var P=t(e);let E;function H(l){l&&typeof l=="object"&&(E=l)}function j(l){E=s(l)}function O(){return!!h(P.default)}function c(){return E}function h(l){return l?(typeof document!="undefined"&&j(document?.cookie),E&&E[l]):null}function s(l){return l&&typeof l=="string"?l.split(";").reduce((L,_)=>{const[T,C]=_.trim().split("=").map(decodeURIComponent);return L[T]=C,L},{}):null}r.getAllCookies=c,r.getCookie=h,r.hasSidCookie=O,r.setCookiesFromObject=H,r.setCookiesFromString=j,Object.defineProperty(r,"__esModule",{value:!0})}),LWR.define("webruntime/cookieStore",["exports","webruntime/cookieStore/v/1_66_902-254_0"],function(r,e){r.default=e&&typeof e=="object"&&"default"in e?e.default:e,Object.keys(e).forEach(function(t){t==="default"||r.hasOwnProperty(t)||Object.defineProperty(r,t,{enumerable:!0,get:function(){return e[t]}})})}),LWR.define("webruntime/transport/v/1",["exports","lwr/loaderLegacy/v/0_15_9","@app/basePath/v/1","@app/apiBasePath/v/1","@salesforce/i18n/lang/v/1","webruntime/utils/v/1_66_902-254_0","@communities-webruntime/common/v/1_66_902-254_0","webruntime/cookieStore/v/1_66_902-254_0","@app/isDesignMode/v/1","@app/isPreviewMode/v/1","lwc/v/8_10_3"],function(r,e,t,P,E,H,j,O,c,h,s){"use strict";function l(W){return W&&typeof W=="object"&&"default"in W?W:{default:W}}var g=l(t),L=l(P),_=l(E),T=l(c),C=l(h),k=void 0;class N{constructor(me){const[Ie,Ge]=me.split("?");this.path=Ie,this.searchParams=new URLSearchParams(Ge)}setParamDefaultValue(me,Ie){return this.searchParams.has(me)||this.searchParams.append(me,Ie),this}build(){const me=this.searchParams.toString();return this.path+(me?`?${me}`:"")}}const U=s.registerComponent(N,{tmpl:k,sel:"webruntime-transport",apiVersion:63}),K=["POST","PATCH","PUT","DELETE"],A="X-SFDC-Request-Id",x="X-Salesforce-Too-Many-Requests",z="X-CSP",le="asGuest",S="language",we="htmlEncode",{location:oe,navigator:je}=globalThis,ce=new Set;function ee(W){typeof W=="function"&&ce.add(W)}function a(W){ce.delete(W)}async function m(W,me={}){H.assert(typeof W=="string","Valid path not provided for fetch request");const Ie={...me,headers:{...me.headers},credentials:me.credentials||"same-origin"};me.credentials===null&&delete Ie.credentials;const Ge=Ie.isNonApiRequest===!0,Be=Ie.asGuest===!0||he(),$e=Ie.basePath!==void 0?Ie.basePath:L.default,qe=new U(oe?new URL($e+W,oe).toString():$e+W);Ge||qe.setParamDefaultValue(S,_.default).setParamDefaultValue(le,Be).setParamDefaultValue(we,!1);const Xe=Ie.headers["Content-Type"];Xe===null?delete Ie.headers["Content-Type"]:Xe?Ie.headers["Content-Type"]=Xe:me.body&&(Ie.headers["Content-Type"]="application/json; charset=utf-8"),Ie.headers[A]=Oe(),await _e(Ie);const Ke=await globalThis.fetch(qe.build(),Ie);return ce.forEach(it=>it(Ke)),G(Ke)&&p(),Ke}function p(){typeof document!="undefined"&&document.dispatchEvent(new CustomEvent("client-error",{detail:{type:j.CLIENT_ERROR_TYPES.TOO_MANY_REQUESTS}}))}function $(W){return!!(W.headers.get(x)||(W.headers.get(z)||"").toLowerCase()==="rejected")}function G(W){return!!((W.status===503||W.status===429)&&$(W))}function ae(W){return W.status===503&&!$(W)}async function _e(W){if(!K.includes(W.method))return;const{csrfToken:me}=await Y();me&&(W.headers["CSRF-Token"]=me)}async function Le({path:W,payload:me,contentType:Ie}){const Ge=g.default+W;je&&je.sendBeacon&&je.sendBeacon(Ge,me)||await globalThis.fetch(W,{headers:{"Content-Type":Ie},basePath:g.default,body:me,method:"POST",isNonApiRequest:!0})}function Oe(){return(Date.now()+Se()+Math.round(Math.random()*1e8)).substring(0,18)}function Se(){function W(){return Math.floor((1+Math.random())*65536).toString(16).substring(1)}return W()+W()}async function Y(){if(typeof window=="undefined")return{isGuest:!0,id:null,csrfToken:null};const{default:W}=await e.load("@app/user/v/1");return W}function he(){return T.default||C.default?!1:!O.hasSidCookie()}r.addFetchObserver=ee,r.fetch=m,r.isDownForMaintenanceResponse=ae,r.isTooManyRequestsResponse=G,r.removeFetchObserver=a,r.sendBeacon=Le,Object.defineProperty(r,"__esModule",{value:!0})}),LWR.define("webruntime/transport",["exports","webruntime/transport/v/1"],function(r,e){r.default=e&&typeof e=="object"&&"default"in e?e.default:e,Object.keys(e).forEach(function(t){t==="default"||r.hasOwnProperty(t)||Object.defineProperty(r,t,{enumerable:!0,get:function(){return e[t]}})})}),LWR.define("logger/v/1",["exports"],function(r){"use strict";function e(...P){console.log(...P)}function t(...P){console.error(...P)}r.log=e,r.logError=t,Object.defineProperty(r,"__esModule",{value:!0})}),LWR.define("logger",["exports","logger/v/1"],function(r,e){r.default=e&&typeof e=="object"&&"default"in e?e.default:e,Object.keys(e).forEach(function(t){t==="default"||r.hasOwnProperty(t)||Object.defineProperty(r,t,{enumerable:!0,get:function(){return e[t]}})})}),LWR.define("assert/v/1",["exports","webruntime/utils/v/1_66_902-254_0"],function(r,e){"use strict";Object.defineProperty(r,"default",{enumerable:!0,get:function(){return e.assert}}),Object.defineProperty(r,"__esModule",{value:!0})}),LWR.define("assert",["exports","assert/v/1"],function(r,e){r.default=e&&typeof e=="object"&&"default"in e?e.default:e,Object.keys(e).forEach(function(t){t==="default"||r.hasOwnProperty(t)||Object.defineProperty(r,t,{enumerable:!0,get:function(){return e[t]}})})}),LWR.define("o11y/shared/v/1",["exports"],function(r){"use strict";class e{constructor(){this.notImplemented="Method not implemented.";const a=typeof performance!="undefined";a?performance.timeOrigin?this._timeOrigin=performance.timeOrigin:this._timeOrigin=Date.now():this._timeOrigin=Date.now();const m=this._timeOrigin;a&&typeof performance.now=="function"?(this.perfNow=performance.now.bind(performance),this.time=()=>{const p=this.perfNow();return{tsNow:m+p,perfNow:p,timeOrigin:m}}):(this.perfNow=()=>Date.now()-m,this.time=()=>{const p=this.perfNow();return{tsNow:Date.now(),perfNow:p,timeOrigin:m}})}get isProduction(){return e._isProduction}markProduction(a){e._isProduction=a??!0}_checkArgument(a,m){if(typeof m=="string")return typeof a===m;if(typeof m=="function")return a instanceof m;if(Array.isArray(m))return m.some(p=>this._checkArgument(a,p));throw new Error(`Invalid argKind ${m}`)}requireArgument(a,m,p){let $=a==null||a==="";const G=p!==void 0;if(!$&&G&&($=!this._checkArgument(a,p)),$)throw new Error(`${m} argument is required${G?" and must be of a supported type.":"."}`)}requireArgumentIfDefined(a,m,p){if(a===void 0)return!1;if(a===null||a===""||!this._checkArgument(a,p))throw new Error(`${m} argument, if defined, must be of a supported type.`);return!0}checkForDenyListedValues(a,m,p){if(p.some($=>a===$))throw new Error(`The value ${a} isn't allowed for ${m} argument.`)}checkForReservedCharacters(a,m,p){if(a&&p.some($=>a.indexOf($)>=0))throw new Error(`The argument ${m} isn't allowed to contain characters from ['${p.join(", ")}']. Received: ${a}.`)}generateUniqueId(a=16){const m=[],p="0123456789abcdef";if(!(a===void 0||a>0))throw new Error('If specified, the argument "length" must be a positive integer');for(let $=0;$<a;$++){const G=Math.floor(Math.random()*16);m.push(p[G])}return m.join("")}getXpath(a){function m(G){const ae=G.localName;for(;G.nextElementSibling;)if(G=G.nextElementSibling,G.localName===ae)return!0;return!1}function p(G,ae){return G?p(G.previousElementSibling,ae||G.localName)+(G.localName===ae?1:0):1}function $(G){if(!G||G.nodeType!==1)return[""];const ae=p(G)>1||m(G)?`${G.localName.toLowerCase()}[${p(G)}]`:G.localName.toLowerCase();return[...$(G.parentNode),ae]}return $(a).join("/")}getAge(a){return a-this._timeOrigin}getConnectionType(){var a;let m;if(typeof navigator!="undefined"){const p=navigator;m=(a=p==null?void 0:p.connection)===null||a===void 0?void 0:a.effectiveType}return m}clone(a){return JSON.parse(JSON.stringify(a))}definedValueOrDefault(a,m){return a!==void 0?a:m}getGlobal(){if(typeof globalThis=="object")return globalThis;if(typeof self=="object")return self;throw new Error("Unable to locate globalThis or self")}getIsBeaconSupported(){var a;const m=this.getGlobal();return typeof((a=m.navigator)===null||a===void 0?void 0:a.sendBeacon)=="function"&&typeof m.Blob=="function"}estimateObjectSize(a){const m=new Set,p=[a];let $=0;for(;p.length;){const G=p.pop();if(typeof G=="boolean")$+=4;else if(typeof G=="string")$+=G.length*2;else if(typeof G=="number")$+=8;else if(G instanceof Uint8Array||G instanceof Uint8ClampedArray||G instanceof Uint16Array||G instanceof Uint32Array||G instanceof Int8Array||G instanceof Int16Array||G instanceof Int32Array||G instanceof Float32Array||G instanceof Float64Array)$+=G.byteLength;else if(typeof G=="object"){const ae=G;if(!m.has(ae)){m.add(ae);for(const _e in ae)p.push(ae[_e])}}}return $}noProdThrow(a){if(!E.isProduction)throw a}isAllowedOrigin(a,m){return Array.isArray(m)&&m.some(p=>p==="*"||a===p||p instanceof RegExp&&p.test(a))}roundNumber(a,m){const p=Math.pow(10,m);return Math.round(a*p)/p}roundNumbersInObject(a,m){a&&Object.entries(a).forEach(([p,$])=>{typeof $=="number"&&(a[p]=this.roundNumber($,m))})}tryGetAbsoluteUrl(a){var m;return(a==null?void 0:a.startsWith("/"))&&typeof window=="object"?((m=window.location.origin)!==null&&m!==void 0?m:"")+a:a}}e._isProduction=!0;const t=new e,P=t.getGlobal();t.markProduction(P==null?void 0:P.__O11Y_IS_PROD__);const E=Object.freeze(t);class H{constructor(a,m,p,$,G,ae,_e){this._name=a,this._ownerName=m,this._ownerAppName=p,this._tags=$,this._value=0,this._createdOn=G===void 0?E.time().tsNow:G,ae!==void 0&&(this._lastUpdatedOn=ae),_e!==void 0&&(this._value=_e)}getName(){return this._name}getCreatedOn(){return this._createdOn}getLastUpdatedOn(){return this._lastUpdatedOn}getData(){return this._value}increment(a=1){if(typeof a=="number"&&a>0){this._value+=Math.round(a),this._lastUpdatedOn=E.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 j="co11y";class O{constructor(){this._upCounters=new Map,this._ownerAppName=j}_addOrUpdateCounter(a,m,p){if(!a)return;const $={status:p},G=`${this._ownerAppName}:${m}:${a}${JSON.stringify($)}`;let ae=this._upCounters.get(G);ae||(ae=new H(a,m,this._ownerAppName,$),this._upCounters.set(G,ae)),ae.increment()}success(a,m){this._addOrUpdateCounter(a,m,"success")}exception(a,m){this._addOrUpdateCounter(a,m,"error")}getBucketHistograms(){return[]}getUpCounters(){return Array.from(this._upCounters.values()).filter(a=>a.getLastUpdatedOn())}getValueRecorders(){return[]}setOwnerAppName(a){this._ownerAppName=a}}const c=new O;class h{constructor(a){if(this._lazyMap=new Map,a!==void 0){if(typeof a=="number"&&a>0){this._maxSize=Math.ceil(a);return}throw new Error("maxSize must be a positive number")}}get maxSize(){return this._maxSize}get size(){return this._lazyMap.size}push(a,m){let p=this._lazyMap.get(a);if(!p){if(this.maxSize!==void 0&&this.size===this.maxSize)return!1;p=new Array,this._lazyMap.set(a,p)}return p.push(m),!0}getMessages(a,m){const p=this._lazyMap.get(a);return m&&this._lazyMap.has(a)&&this._lazyMap.set(a,[]),p||[]}getAllMessages(a){const m=new Map;for(const[p,$]of this._lazyMap.entries())$.length&&m.set(p,this.getMessages(p,a));return m}extractMessages(a){return this.getMessages(a,!0)}extractAllMessages(){return this.getAllMessages(!0)}get totalItemCount(){let a=0;for(const m of this._lazyMap.values())a+=m.length;return a}}class s{getSchemaId(a){return`${a.namespace}.${a.name}`}isInternal(a){return(a==null?void 0:a.namespace)==="sf.instrumentation"}makePayload(a,m,p=!0){if(!p||a!==void 0&&m!==void 0)return{schema:a,payload:m}}checkSchema(a){return E.requireArgument(a,"schema","object"),E.requireArgument(a.namespace,"schema.namespace","string"),E.requireArgument(a.name,"schema.name","string"),E.requireArgument(a.pbjsSchema,"schema.pbjsSchema","object"),this._getTokens(a)}_getTokens(a){const m=a.namespace.split(".");if(m.length!==2)throw new Error(`Schema "${this.getSchemaId(a)}" must have a namespace of the form "domain.feature".`);return{domain:m[0],feature:m[1],message:a.name}}_getAnyNestedObject(a,m){return m.reduce((p,$)=>{const G=p.nested;if(G){const ae=G[$];if(ae)return ae}throw new Error(`Cannot locate ${m.join(".")} in schema with ID ${this.getSchemaId(a)}`)},a.pbjsSchema)}getTypes(a){const m=this.checkSchema(a),$=this._getAnyNestedObject(a,[m.domain,m.feature]).nested;if(!$)throw new Error(`Cannot parse schema with ID ${this.getSchemaId(a)}`);return $}getType(a,m){E.requireArgument(m,"messageName","string");const $=this.getTypes(a)[m];if(!$)throw new Error(`Cannot locate message ${m} in schema with ID ${this.getSchemaId(a)}`);return $}getOptions(a,m,p){p&&E.requireArgument(m,"messageName","string");const $=this.checkSchema(a);if(!m)return this._getAnyNestedObject(a,[$.domain,$.feature]).options;const G=this.getType(a,m);if(!p)return G.options;const ae=G.fields[p];if(!ae){const _e=this.getSchemaId(a);throw new Error(`Cannot locate field ${p} in message ${m} in schema with ID ${_e}`)}return ae.options}getExtraFields(a,m){const{message:p}=this._getTokens(a),G=this.getTypes(a)[p].fields,ae=new Set(Object.keys(G));return m!=null?Object.keys(m).filter(Le=>!ae.has(Le)):[]}}const l=new s,g=1e4,L=1e4,_=0,T=2147483647,C=-2147483648,k=4294967295,N=9223372036854776e3,U=-9223372036854776e3,K=18446744073709552e3;class A{constructor(a,m,p,$){this.errorCode=a,this.fields=m,this.expected=p,this.received=$}asMessage(a){const m=this.fields[0]+this.fields.slice(1).reduce(($,G)=>Number(G)>=0?`${$}[${G}]`:`${$}.${G}`,"");let p;switch(this.errorCode){case 1:p="Repeated field must be an array";break;case 2:p=`Expected type ${this.expected} but received type ${this.received}`;break;case 3:p="Value must be finite";break;case 4:p="Value is out of range for its type";break;case 5:p="Bytes array is malformed";break;case 6:p="Exceeded app limit for maximum string length";break;case 7:p="Exceeded app limit for item count";break;case 12:p="Value must be an integer";break;case 13:p="Values like null or undefined are not allowed for items in repeated fields";break;default:p=`Unknown error code: ${this.errorCode}`;break}return`Schema ${a} on field "${m}": ${p}`}}class x{validate(a,m,p=!1){const $=l.checkSchema(a);E.requireArgument(m,"data","object");const G=l.getSchemaId(a),ae=new Array,_e=l.getTypes(a);if(this._validateFields(ae,[],m,_e[$.message],_e,G),ae.length&&!p)throw new Error(ae[0].asMessage(G));return ae}_validateFields(a,m,p,$,G,ae){const _e=$.oneofs||{},Le=$.fields||{};for(const Oe in p){const Se=p[Oe];if(Se!=null){const Y=(he,W,me)=>this._matchFieldTypes(a,[...m,Oe],Se,he,G,ae,Oe,W,me);_e[Oe]?Y(Le[_e[Oe].oneof[0]].type):Le[Oe]&&Y(Le[Oe].type,Le[Oe].rule==="repeated")}}}_matchFieldTypes(a,m,p,$,G,ae,_e,Le,Oe){let Se;if(Le)Array.isArray(p)?(p.length>L&&(Se=7),p.forEach((Y,he)=>{this._matchFieldTypes(a,[...m,he.toString()],Y,$,G,ae,_e,void 0,!0)})):Se=1;else if(p==null||p===void 0)Oe&&(Se=13);else{let Y,he;switch($){case"string":he="string",p.length>g&&(Se=6);break;case"bytes":he="object",p instanceof Uint8Array||(Se=5);break;case"bool":he="boolean";break;case"uint32":he="number",Y={min:_,max:k,isInt:!0,isItem:Oe};break;case"int32":case"sint32":case"fixed32":case"sfixed32":he="number",Y={min:C,max:T,isInt:!0,isItem:Oe};break;case"uint64":he="number",Y={min:_,max:K,isInt:!0,isItem:Oe};break;case"fixed64":case"sfixed64":case"int64":case"sint64":he="number",Y={min:U,max:N,isInt:!0,isItem:Oe};break;case"double":case"float":he="number",Y={min:Number.NEGATIVE_INFINITY,max:Number.POSITIVE_INFINITY,isInt:!1,isItem:Oe};break;default:new Set(Object.keys(G)).has($)&&(this._validateFields(a,m,p,G[$],G,ae),he="object");break}typeof p!==he?a.push(new A(2,m,$,typeof p)):Y&&(Y.isInt&&!Number.isFinite(p)?Se=3:Y.isInt&&!Number.isInteger(p)?Se=12:!(!Y.isInt&&Number.isNaN(p))&&!(p>=Y.min&&p<=Y.max)&&(Se=4))}Se&&a.push(new A(Se,m))}}const z=new x;class le{_getMetricTags(a){const m=a.getTags();if(m)return Object.entries(m).map(p=>({name:p[0],value:p[1].toString()}))}getUpCounters(a,m=!0){return a.map(p=>{const $={name:p.getName(),createdTimestamp:p.getCreatedOn(),lastUpdatedTimestamp:p.getLastUpdatedOn(),value:p.getData(),ownerName:p.getOwnerName(),ownerAppName:p.getOwnerAppName(),tags:this._getMetricTags(p)};return m&&p.reset(),$})}getValueRecorders(a,m=!0){return a.map(p=>{const $={name:p.getName(),createdTimestamp:p.getCreatedOn(),lastUpdatedTimestamp:p.getLastUpdatedOn(),values:p.getData(),ownerName:p.getOwnerName(),ownerAppName:p.getOwnerAppName(),tags:this._getMetricTags(p)};return m&&p.reset(),$})}getBucketHistograms(a,m=!0){return a.map(p=>{const $={name:p.getName(),createdTimestamp:p.getCreatedOn(),lastUpdatedTimestamp:p.getLastUpdatedOn(),values:p.getData(),buckets:p.getBuckets(),ownerName:p.getOwnerName(),ownerAppName:p.getOwnerAppName(),tags:this._getMetricTags(p)};return m&&p.reset(),$})}getMetricsTags(a){const m={};return a.forEach(p=>{m[p.name]=p.value}),m}}const S=Object.freeze(new le);class we{checkInputs(a,m){l.checkSchema(a),E.requireArgument(m,"data","object");let p,$;m.userPayload!==void 0&&l.isInternal(a)&&($=m.userPayload,p=z.validate($.schema,$.payload,!0),this._processValidationResults(l.getSchemaId($.schema),$.payload,p),m.userPayload=void 0),p=z.validate(a,m,!0),this._processValidationResults(l.getSchemaId(a),m,p),$!==void 0&&(m.userPayload=$)}getExtraFields(a,m){E.requireArgument(m,"data","object");const p=[],$=m.userPayload;return $!==void 0&&l.isInternal(a)&&p.push(...l.getExtraFields($.schema,$.payload)),p.push(...l.getExtraFields(a,m)),p}getPayloadFromProvider(a,m){const p=(a==null?void 0:a.getPayload(m))||void 0;return p&&this.checkInputs(p.schema,p.payload),p}_processValidationResults(a,m,p){for(let $=0;$<p.length;$+=1){const G=p[$];if(G.errorCode==6||G.errorCode==7){const ae=G.fields.length-1,_e=this._traverseFields(m,G.fields.slice(0,ae)),Le=G.fields[ae];G.errorCode==6?_e[Le]=_e[Le].substring(0,g):_e[Le].splice(L)}else throw new Error(G.asMessage(a))}}_traverseFields(a,m){return m.length?this._traverseFields(a[m[0]],m.slice(1)):a}}const oe=Object.freeze(new we),je="o11y";class ce{constructor(a){this._errorCounter=a,this._safeCatchMode=!1}_callCo11y(a,m){m?c.exception(a==null?void 0:a.op,je):c.success(a==null?void 0:a.op,je)}tryCatch(a,m){let p;try{a()}catch($){p=!0,this._prodSafeCatch($)}finally{this._callCo11y(m,p)}}tryCatchReturn(a,m,p){let $;try{return E.requireArgument(m,"noopValue"),a()}catch(G){return $=!0,this._prodSafeCatch(G),m}finally{this._callCo11y(p,$)}}_prodSafeCatch(a){let m;try{if(m=!E.isProduction,m)throw a;if(this._safeCatchMode)throw this._safeCatchMode=!1,new Error("Internal error in prodSafeCatch.");if(this._safeCatchMode=!0,this._errorCounter&&this._errorCounter.increment(),!(a instanceof Error)){const p=a&&a.message||(typeof a.toString=="function"?a.toString():"");a=new Error(p)}this._safeCatchMode=!1}catch(p){if(m)throw p;if(p&&console&&typeof console.error=="function")try{console.error(p)}catch($){}this._safeCatchMode=!1}}}r.Co11yImpl=O,r.LazyMapToList=h,r.MetricsUtility=le,r.PublicSafety=ce,r.UpCounterImpl=H,r.ValidationEntry=A,r.co11y=c,r.logValidator=z,r.maxItemCountAppLimit=L,r.maxStringLengthAppLimit=g,r.metricsUtility=S,r.payloadUtility=oe,r.schemaUtil=l,r.utility=E,Object.defineProperty(r,"__esModule",{value:!0})}),LWR.define("o11y/shared",["exports","o11y/shared/v/1"],function(r,e){r.default=e&&typeof e=="object"&&"default"in e?e.default:e,Object.keys(e).forEach(function(t){t==="default"||r.hasOwnProperty(t)||Object.defineProperty(r,t,{enumerable:!0,get:function(){return e[t]}})})}),LWR.define("o11y_schema/sf_instrumentation/v/254_59_0",["exports"],function(r){"use strict";var e={namespace:"sf.instrumentation",name:"Activity",pbjsSchema:{nested:{sf:{nested:{instrumentation:{nested:{Activity:{reserved:[[5,5],[7,7]],fields:{stopReason:{id:6,type:"string"},isRoot:{id:8,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"}}}}}}}}}},t={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"}}}}}}}}}},P={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"}}}}}}}}}},E={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"}}}}}}}}}},H={namespace:"sf.instrumentation",name:"Event",pbjsSchema:{nested:{sf:{nested:{instrumentation:{nested:{Event:{fields:{type:{id:1,type:"string"}}}}}}}}}},j={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"}}}}}}}}}},O={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"}}}}}}}}}},c={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"}}}}}}}}}},h={namespace:"sf.instrumentation",name:"Network",pbjsSchema:{nested:{sf:{nested:{instrumentation:{nested:{Network:{fields:{mtd:{id:1,type:"string"},url:{id:2,type:"string"}}}}}}}}}},s={namespace:"sf.instrumentation",name:"Payload",pbjsSchema:{nested:{sf:{nested:{instrumentation:{nested:{Payload:{fields:{payload:{id:2,type:"bytes"},schemaName:{id:1,type:"string"}}}}}}}}}},l={namespace:"sf.instrumentation",name:"PayloadDiags",pbjsSchema:{nested:{sf:{nested:{instrumentation:{nested:{PayloadDiags:{fields:{extras:{rule:"repeated",id:1,type:"string"}}}}}}}}}},g={namespace:"sf.instrumentation",name:"Simple",pbjsSchema:{nested:{sf:{nested:{instrumentation:{nested:{Simple:{fields:{text:{options:{"(meta.max_length)":25},id:1,type:"string"}}}}}}}}}},L={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"}}}}}}}}}};r.activitySchema=e,r.basicPageSchema=t,r.coreEnvelopeSchema=P,r.errorSchema=E,r.eventSchema=H,r.idleDetectorReportSchema=j,r.instrumentedEventSchema=O,r.mouseEventSchema=c,r.networkSchema=h,r.payloadDiagsSchema=l,r.payloadSchema=s,r.simpleSchema=g,r.webVitalsSchema=L,Object.defineProperty(r,"__esModule",{value:!0})}),LWR.define("o11y_schema/sf_instrumentation",["exports","o11y_schema/sf_instrumentation/v/254_59_0"],function(r,e){r.default=e&&typeof e=="object"&&"default"in e?e.default:e,Object.keys(e).forEach(function(t){t==="default"||r.hasOwnProperty(t)||Object.defineProperty(r,t,{enumerable:!0,get:function(){return e[t]}})})}),LWR.define("o11y/client/v/1",["exports","o11y_schema/sf_instrumentation/v/254_59_0","o11y/shared/v/1"],function(r,e,t){"use strict";class P{get isBusy(){return this._isOk?this._busyCount>0:void 0}constructor(n,i,o,u){this.name=n,this._doneCallback=o,this._overDoneCallback=u,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 E=300;class H{constructor(n){this._taskers=new Map,this._listeners=new Set,this._busyCheckers=new Map,this._logThreshold=E,this._endedTasks=new Array,this._pollableReport=new Array,t.utility.requireArgumentIfDefined(n==null?void 0:n.logThreshold,"options.logThreshold","number")&&(this._logThreshold=n.logThreshold),t.utility.requireArgumentIfDefined(n==null?void 0:n.reportListener,"options.reportListener","function")&&(this._reportListener=n.reportListener),t.utility.requireArgumentIfDefined(n==null?void 0:n.errorListener,"options.errorListener","function")&&(this._errorListener=n.errorListener)}requestIdleDetectedCallback(n){t.utility.requireArgument(n,"callback","function"),this._listeners.size===0&&(this._firstCallbackTime=t.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){t.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(t.utility.requireArgument(n,"name","string"),i!==void 0&&(t.utility.requireArgument(i,"existingBusyCount","number"),!Number.isInteger(i)||i<0))throw new Error("existingBusyCount accepts only non-negative integers");const o=this._addTasker(n,i);return{get isBusy(){return o.isBusy},add:()=>{if(!o.isBusy){const d=this._taskers.get(o);d.start=t.utility.time().perfNow,d.end=void 0}o.add()},done:o.done.bind(o)}}declarePollableTaskMulti(n,i){t.utility.requireArgument(n,"name","string"),t.utility.requireArgument(i,"isBusyChecker","function"),this._busyCheckers.set(i,n)}_addTasker(n,i){const o=new P(n,i,()=>{this._taskers.get(o).end=t.utility.time().perfNow,this._reportTaskEnded(o),this._checkIfLoaded()},()=>{var u;(u=this._errorListener)===null||u===void 0||u.call(this,`Overdone: ${o.name}`),t.utility.noProdThrow(`Tasker '${o.name}' is done too many times.`)});return this._taskers.set(o,{name:n,start:i>0?t.utility.time().perfNow:void 0,end:void 0}),o}_areAllNotifiersIdle(){return!Array.from(this._taskers.keys()).some(n=>n.isBusy)}_getFirstBusyPollable(){const n=Array.from(this._busyCheckers).find(i=>{var o;const u=i[0],d=i[1];try{return u()}catch(R){return(o=this._errorListener)===null||o===void 0||o.call(this,R,`BusyChecker ${d}`),t.utility.noProdThrow(R),!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=t.utility.time().perfNow-this._firstCallbackTime,o=Array.from(this._listeners.values());this._listeners.clear(),this._firstCallbackTime=void 0;const u=this._endedTasks.splice(0),d=this._pollableReport.splice(0);this._notify(o,i,u,d)}}}_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,o,u){var d;if(i>=this._logThreshold&&this._reportListener){const F=this._getReport(i,n.length,o,u);this._reportListener(F)}n.reverse();const R=t.utility.time().tsNow;for(const[F,Ce]of n.entries())try{Ce(R)}catch(Ee){(d=this._errorListener)===null||d===void 0||d.call(this,Ee,`Listener #${n.length-1-F}`),t.utility.noProdThrow(Ee)}}getReport(){const n=t.utility.time().perfNow,i=this._firstCallbackTime>0?n-this._firstCallbackTime:void 0,o=Array.from(this._taskers.entries()).filter(u=>u[0].isBusy).map(u=>({name:u[1].name,start:u[1].start,end:n}));return this._getReport(i,this._listeners.size,this._endedTasks.concat(o),this._pollableReport)}_getReport(n,i,o,u){const d=o.map(R=>({name:R.name,duration:R.end-R.start})).sort((R,F)=>F.duration-R.duration);return{logThreshold:this._logThreshold,maxDuration:n,listenerCount:i,pollableCount:this._busyCheckers.size,busyTasks:d.map(R=>R.name),busyDurations:d.map(R=>R.duration),pollables:u.map(R=>R.name),pollCounts:u.map(R=>R.count)}}}const j={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"}}}}}}}}}},O={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 c{constructor(n){this._fuzzyKeyRange=n,this._map=new Map,t.utility.requireArgument(n,"_fuzzyKeyRange","number")}add(n,i,o){const u=this._map.get(n);u?u.push({fuzzyKey:i,value:o}):this._map.set(n,[{fuzzyKey:i,value:o}])}pop(n,i){const o=this._map.get(n);if((o==null?void 0:o.length)>=1){let u=Number.POSITIVE_INFINITY,d=-1;for(let R=0;R<o.length;R++){const{fuzzyKey:F}=o[R],Ce=Math.abs(F-i);Ce<=this._fuzzyKeyRange&&Ce<u&&(u=Ce,d=R)}if(d>=0){const{value:R}=o.splice(d,1)[0];return o.length===0&&this._map.delete(n),R}}}clear(){this._map.clear()}}const h=["fetch","xmlhttprequest"];class s{constructor(n,i,o,u,d){if(this._instr=n,this._skipUrls=o,this._logPerformanceActivityName=u,this._boundObserverCallback=this._logPerformanceEntries.bind(this),this._boundNavigationTimingEventCallback=R=>{this._logNavigationEntries(R)},this._setTimeoutNavigationCallback=R=>{setTimeout(()=>{this._boundNavigationTimingEventCallback(R)},0)},this._visibilityChangeNavigationCallback=R=>{document.visibilityState==="hidden"&&this._boundNavigationTimingEventCallback(R)},this._isStarted=!1,this._processedNavigationTiming=!1,t.utility.requireArgument(n,"_instr","object"),t.utility.requireArgument(i,"fuzzyMapRange","number"),t.utility.requireArgumentIfDefined(o,"_skipUrls",Array),t.utility.requireArgumentIfDefined(u,"_logPerformanceActivityName","string"),t.utility.requireArgumentIfDefined(d,"logLevel","string"),this._hasPerf=typeof performance!="undefined"&&typeof PerformanceObserver=="function",this._hasWindow=typeof window!="undefined",!d||d.toLowerCase()==="full")this._logLevel=1;else if((d==null?void 0:d.toLowerCase())==="basic")this._logLevel=0;else throw new Error(`Invalid log level: ${d}`);this._fuzzyMapper=new c(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,o){this._fuzzyMapper.add(n,i,o)}_resourceEntryToResourceTiming(n){var i,o;const u={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},d=n.serverTiming;return Array.isArray(d)&&(u.dbDuration=(i=d.find(R=>R.name==="db"))===null||i===void 0?void 0:i.duration,u.srvDuration=(o=d.find(R=>R.name==="Total"))===null||o===void 0?void 0:o.duration),u}_shouldInclude(n){var i;return((i=this._skipUrls)===null||i===void 0?void 0:i.some(u=>u instanceof RegExp?u.test(n.name):n.name===u))?!1:this._logLevel===1?!0:h.indexOf(n.initiatorType)>=0||n.entryType==="navigation"}_logActivity(n,i,o,u){const d={id:o},R={perfStartOverride:i.startTime,perfStopOverride:i.startTime+i.duration,errorCount:u};this._instr.startActivity(this._logPerformanceActivityName,d).stop(n,i,R)}_logNavigationEntries(n){if(!this._processedNavigationTiming)for(const i of performance.getEntriesByType("navigation")){const o=i;if(this._shouldInclude(o)){this._processedNavigationTiming=!0;const u=this._resourceEntryToResourceTiming(o),d={domComplete:o.domComplete,domContentLoadedEventStart:o.domContentLoadedEventStart,domContentLoadedEventEnd:o.domContentLoadedEventEnd,domInteractive:o.domInteractive,loadEventStart:o.loadEventStart,loadEventEnd:o.loadEventEnd,redirectCount:o.redirectCount,type:o.type,unloadEventStart:o.unloadEventStart,unloadEventEnd:o.unloadEventEnd,logEvent:n.type};this._logActivity(j,Object.assign(u,d))}break}}_logPerformanceEntries(n){for(const i of n.getEntriesByType("resource")){const o=i,u=this._fuzzyMapper.pop(o.name,o.startTime);if(this._shouldInclude(o)){const d=this._resourceEntryToResourceTiming(o);Object.assign(d,{srvReqId:u==null?void 0:u.requestId,xhrDelay:u?u.activityDuration-o.duration:void 0}),d.responseStatus===void 0&&(d.responseStatus=u==null?void 0:u.responseStatus),this._logActivity(O,d,u==null?void 0:u.activityId,u==null?void 0:u.errorCount)}}}}const l=32,g=16,L=16,_="traceparent",T="b3",C="X-B3-TraceId",k="X-B3-SpanId",N="X-B3-Sampled",U="X-B3-ParentSpanId",K="X-SFDC-Request-Id",A="fetch",x="xhr_send",z="perf-timing",le=50;class S{constructor(n,i){this._instr=n,this._idleDetector=i,t.utility.requireArgument(n,"_instr","object"),t.utility.requireArgument(i,"_idleDetector","object")}static _getB3CompactFormat(n,i,o,u){let d=`${n}-${i}`;return(o!==void 0||u!==void 0)&&(d+=o?"-1":"-0",u!==void 0&&(d+=`-${u}`)),d}static _getW3CompactFormat(n,i,o){return`00-${n}-${i}-${o?"01":"00"}`}static _conformTextAsId(n,i){n=n.toLowerCase();const o=n.length;for(let u=0;u<o;u+=1){const d=n[u];if(!(d>="a"&&d<="f")&&!(d>="0"&&d<="9"))throw new Error(`The text '${n}' has an invalid character at index #${u}`)}return o>i?n.substr(o-i):o<i?n.padStart(i,"0"):n}static getHeaders(n,i,o,u){t.utility.requireArgument(i,"spanId","string");const d=u==null?void 0:u.useB3Headers,R={};if(n===void 0)return R;n=this._conformTextAsId(n,(u==null?void 0:u.traceIdEffectiveLength)!==void 0?u.traceIdEffectiveLength:d?g:l),i=this._conformTextAsId(i,L);const F=u&&u.parentSpanId!==void 0&&this._conformTextAsId(u.parentSpanId,L)||void 0;return d?(u==null?void 0:u.useCompactHeader)?R[T]=this._getB3CompactFormat(n,i,o,F):(R[C]=n,R[k]=i,F!==void 0&&(R[U]=F),o!==void 0&&(R[N]=o?"1":"0")):R[_]=this._getW3CompactFormat(n,i,o),R}_disableNetworkInstrumentation(){S._isNetworkInstrumentationEnabled&&(S._originalFetch&&(S._global.fetch=S._originalFetch,S._originalFetch=void 0),S._originalXhr&&(S._global.XMLHttpRequest=S._originalXhr,S._originalXhr=void 0),S._originalXhrOpen&&(S._global.XMLHttpRequest.prototype.open=S._originalXhrOpen,S._originalXhrOpen=void 0),S._originalXhrSetRequestHeader&&(S._global.XMLHttpRequest.prototype.setRequestHeader=S._originalXhrSetRequestHeader,S._originalXhrSetRequestHeader=void 0),S._originalXhrSend&&(S._global.XMLHttpRequest.prototype.send=S._originalXhrSend,S._originalXhrSend=void 0),S._performanceObservability&&(S._performanceObservability.stop(),S._performanceObservability=void 0),S._isNetworkInstrumentationEnabled=!1)}_enableNetworkInstrumentation(n,i,o,u,d,R,F,Ce,Ee,ge){typeof S._global.fetch=="function"&&(this._overrideFetch(n,i,o,u,d,R,Ee),S._isNetworkInstrumentationEnabled=!0),typeof S._global.XMLHttpRequest=="function"&&(this._overrideXhr(n,i,o,u,d,R,Ee),S._isNetworkInstrumentationEnabled=!0),F&&(S._performanceObservability=new s(n,ge,Ee,Ce,F===!0?"full":F),S._performanceObservability.start(),S._isNetworkInstrumentationEnabled=!0)}static _getTraceHeaders(n,i,o,u,d){let R;if(n)R=n.getTraceHeaders(o)||{};else{const F=i.internalInstrumentationContext;(F==null?void 0:F.rootId)?R=S.getHeaders(F.rootId,t.utility.generateUniqueId(),F.isRootActivitySampled,o):R={}}if(typeof(o==null?void 0:o.headerProcessor)=="function")R=o.headerProcessor({method:u,url:d,defaultHeaders:R});else if(typeof window=="object"){let F;try{F=new URL(d)}catch(Ce){}F&&F.host!==window.location.host&&(R=void 0)}return R||{}}static _extractHeader(n,i,o){if((o==null?void 0:o.headers)instanceof Headers)return o.headers.get(n);if(Array.isArray(o==null?void 0:o.headers)){const u=o.headers.find(d=>d[0]===n);return u==null?void 0:u[1]}if(typeof(o==null?void 0:o.headers)=="object")return o.headers[n];if(i instanceof Request)return i.headers.get(n)}_overrideFetch(n,i,o,u,d,R,F){S._originalFetch=S._global.fetch;const Ce=async(Ee,ge,...Ae)=>{var Me;let ve,Ue,We,tt,Et,ut=!1,f;try{R==null||R.add(),tt=ge==null?void 0:ge.method;const M=ge==null?void 0:ge.o11y,B=M==null?void 0:M.skipInstr;if(ut=B||S._shouldSkipUrl(F,Ee),!ut)ve=n.startActivity(o||A);else if(B){S._reqIndex+=1;try{if(Ee instanceof URL)Ee.searchParams.append("o11y",S._reqIndex.toString());else if(typeof Ee=="string"){const ne=new URL(Ee),de=`o11y=${S._reqIndex}`;ne.search+=ne.search.startsWith("?")?`&${de}`:de,Ee=ne.toString()}}catch(ne){}}if(ge==null||delete ge.o11y,Ue=Ee==null?void 0:Ee.toString(),We=t.utility.tryGetAbsoluteUrl(Ue),u){Ee instanceof Request&&(tt||(tt=Ee.method),Ue=Ee.url,We=t.utility.tryGetAbsoluteUrl(Ue));const ne=S._getTraceHeaders(ve,n,d,tt,We);!this._applyTraceHeaders(Ee,ge,ne)&&ge===void 0&&(ge={headers:ne})}return Et=t.utility.perfNow(),f=await S._originalFetch.call(S._global,Ee,ge,...Ae),f}catch(M){throw i&&!ut&&(ve?ve.error(M):n.error(M)),M}finally{try{const M=S._endActivity(ve,Ue,tt);if((Me=S._performanceObservability)===null||Me===void 0?void 0:Me.isStarted){const B=S._extractHeader(K,Ee,ge);S._performanceObservability.addEntry(We,Et,{requestId:B,activityDuration:M,activityId:ve==null?void 0:ve.getId(),errorCount:ve==null?void 0:ve.getErrorCount(),responseStatus:f==null?void 0:f.status})}}finally{R==null||R.done()}}};S._global.fetch=Ce}static _endActivity(n,i,o){var u;if(n)return((u=S._performanceObservability)===null||u===void 0?void 0:u.isStarted)?n.discard():n.stop(e.networkSchema,{mtd:o,url:i}),n.getStopPerfTime()-n.getStartPerfTime()}_overrideXhr(n,i,o,u,d,R,F){S._originalXhr=S._global.XMLHttpRequest,S._originalXhrOpen=S._originalXhr.prototype.open,S._originalXhrSetRequestHeader=S._originalXhr.prototype.setRequestHeader,S._originalXhrSend=S._originalXhr.prototype.send;function Ce(ge,Ae){var Me;if(ge._o11y){const ve=ge._o11y.activity,Ue=S._endActivity(ve,ge._o11y.url,ge._o11y.method);!Ae&&((Me=S._performanceObservability)===null||Me===void 0?void 0:Me.isStarted)&&S._performanceObservability.addEntry(ge._o11y.absoluteUrl,ge._o11y.sendTime,{requestId:ge._o11y.requestId,activityDuration:Ue,activityId:ve==null?void 0:ve.getId(),errorCount:ve==null?void 0:ve.getErrorCount(),responseStatus:ge.status})}}S._originalXhr.prototype.open=function(ge,Ae,Me,ve,Ue){this._o11y={method:ge,url:Ae==null?void 0:Ae.toString()},this._o11y.absoluteUrl=t.utility.tryGetAbsoluteUrl(this._o11y.url),this._o11y.suspendInstrumentation=S._shouldSkipUrl(F,this._o11y.absoluteUrl),S._originalXhrOpen.apply(this,arguments)},S._originalXhr.prototype.setRequestHeader=function(ge,Ae){var Me;((Me=ge==null?void 0:ge.toLowerCase)===null||Me===void 0?void 0:Me.call(ge))===K.toLowerCase()&&(this._o11y.requestId=Ae),S._originalXhrSetRequestHeader.apply(this,arguments)},S._originalXhr.prototype.send=function(...ge){var Ae;let Me;const ve=this;try{if(R==null||R.add(),ve._o11y=ve._o11y||{},ve._o11y.suspendInstrumentation||(ve._o11y.activity=Me=n.startActivity(o||x)),u){const Ue=S._getTraceHeaders(Me,n,d,ve._o11y.method,ve._o11y.absoluteUrl);Object.entries(Ue).forEach(We=>{ve.setRequestHeader(We[0],We[1])})}ve._o11y.sendTime=t.utility.perfNow(),S._originalXhrSend.call(this,...ge)}catch(Ue){throw i&&!((Ae=ve._o11y)===null||Ae===void 0?void 0:Ae.suspendInstrumentation)&&(Me?Me.error(Ue):n.error(Ue)),Ce(ve,!0),R==null||R.done(),Ue}};const Ee=new Proxy(S._originalXhr,{construct(ge){const Ae=new ge;return Ae.addEventListener("load",()=>{Ce(Ae),R==null||R.done()}),Ae.addEventListener("error",Me=>{var ve,Ue;try{if(i&&!((ve=Ae._o11y)===null||ve===void 0?void 0:ve.suspendInstrumentation)){const We=new Error("XHR Network-Level Error"),tt=(Ue=Ae._o11y)===null||Ue===void 0?void 0:Ue.activity;tt?tt.error(We):n.error(We)}Ce(Ae)}finally{R==null||R.done()}}),Ae.addEventListener("abort",()=>{var Me,ve;(ve=(Me=Ae._o11y)===null||Me===void 0?void 0:Me.activity)===null||ve===void 0||ve.discard(),R==null||R.done()}),Ae}});S._global.XMLHttpRequest=Ee}networkInstrumentation(n){var i;if(t.utility.requireArgument(n,"options",["boolean","object"]),this._disableNetworkInstrumentation(),n){const o=typeof n=="object"?n:{};let u;t.utility.definedValueOrDefault(o.useTasker,!0)&&(u=(i=this._idleDetector)===null||i===void 0?void 0:i.declareNotifierTaskMulti("o11y network")),this._enableNetworkInstrumentation(t.utility.definedValueOrDefault(o.instrumentation,this._instr),t.utility.definedValueOrDefault(o.logErrors,!0),o.activityName,t.utility.definedValueOrDefault(o.useTracing,!0),o.tracingHeadersOptions,u,t.utility.definedValueOrDefault(o.logPerformance,!0),t.utility.definedValueOrDefault(o.logPerformanceActivityName,z),t.utility.definedValueOrDefault(o.skipUrls,[]),t.utility.definedValueOrDefault(o.fuzzyMapRange,le))}}resetRequestCounter(){S._reqIndex=0}_applyTraceHeaders(n,i,o){if((i==null?void 0:i.headers)!==void 0){if(i.headers instanceof Headers&&typeof i.headers.set=="function")return Object.entries(o).forEach(([u,d])=>{i.headers.set(u,d)}),!0;if(Array.isArray(i.headers))return Object.entries(o).forEach(u=>{i.headers.push(u)}),!0;if(typeof i.headers=="object")return i.headers=Object.assign(i.headers,o),!0}else{if(n instanceof Request&&n.headers instanceof Headers)return Object.entries(o).forEach(([u,d])=>{n.headers.set(u,d)}),!0;if(i)return i.headers=Object.assign({},o),!0}return!1}static _shouldSkipUrl(n,i){var o;let u=i;return i instanceof URL?u=(o=i.toString)===null||o===void 0?void 0:o.call(i):i instanceof Request&&(u=i.url),n==null?void 0:n.some(d=>d instanceof RegExp?d.test(u):u===d)}}S._global=t.utility.getGlobal(),S._isNetworkInstrumentationEnabled=!1,S._reqIndex=0;var we;(function(Pe){Pe[Pe.none=0]="none",Pe[Pe.start=1]="start",Pe[Pe.stop=2]="stop",Pe[Pe.both=3]="both"})(we||(we={}));const oe="timedout",je="terminated",ce="discarded",ee={timedout:oe,terminated:je,discarded:ce};class a{constructor(n,i,o,u,d,R,F,Ce,Ee){this._name=n,this._rootId=i,this._onStopped=o,this._onError=u,this._isSampled=F,this._noRerooting=Ee,this._isRoot=!1,this._errorCount=0,this._timerOverridden=we.none;const{tsNow:ge,perfNow:Ae}=t.utility.time();if(a._count+=1,this._id=R||t.utility.generateUniqueId(),this._usePerf=typeof performance!="undefined"&&typeof performance.mark=="function"&&typeof performance.measure=="function",this._usePerf){this._perfName=`${this._name}__${a._count}`,this._perfId=`${this._name}__${this.id}`;try{performance.mark(this._perfId)}catch(Me){this._usePerf=!1}}this._startTimestamp=ge,this._startPerfTime=Ae,this._overrideTimer(Ce),d>0&&(this._timer=setTimeout(()=>{this._stopReason=this._stopReason||ee.timedout,this.stop()},d)),this._safety=new t.PublicSafety}get id(){return this._id}getId(){return this.id}getRootId(){return this._rootId}get stopReason(){return this._stopReason}error(n,i,o){this._safety.tryCatch(()=>{this._errorCount+=1,typeof n=="string"&&(n=new Error(n)),this._onError(n,this._getDetail(i,o))},{op:"activity.error"})}stop(n,i,o){this._safety.tryCatch(()=>{if(t.utility.requireArgumentIfDefined(n,"userSchemaOrText",["object","string"]),t.utility.requireArgumentIfDefined(i,"userData","object"),o){const u=o.perfStartOverride,d=t.utility.requireArgumentIfDefined(u,"options.perfStartOverride","number"),R=o.perfStopOverride,F=t.utility.requireArgumentIfDefined(R,"options.perfStopOverride","number"),Ce=o.errorCount;if(t.utility.requireArgumentIfDefined(Ce,"options.errorCount","number")&&(this._errorCount=Ce),d&&u<0)throw new Error("perfStartOverride, if defined, must be >= 0");if(F&&(R<0||R<(d?u:this._startPerfTime)||R>t.utility.time().perfNow+100))throw new Error("perfStopOverride, if defined, must be >= 0 and >= startTime and <= now")}this._stopInternal(n,i,o)},{op:"activity.stop"})}_overrideTimer(n,i){n!==void 0&&(this._startTimestamp=Math.round(this._startTimestamp-(this._startPerfTime-n)),this._startPerfTime=n,this._setTimerOverride(we.start)),i!==void 0&&(this._stopPerfTime=i,this._setTimerOverride(we.stop))}_setTimerOverride(n){this._timerOverridden===we.both||this._timerOverridden===n||n===we.none||(this._timerOverridden=this._timerOverridden===we.none?n:we.both)}_stopInternal(n,i,o){const u=t.utility.perfNow();if(this._usePerf)try{this._stopReason!==ee.discarded&&performance.measure(this._perfName,this._perfId),performance.clearMarks(this._perfId),performance.clearMeasures(this._perfName)}catch(R){}if(this._timer&&(clearTimeout(this._timer),this._timer=void 0),this.isStopped)return;o&&this._overrideTimer(o.perfStartOverride,o.perfStopOverride),this._stopPerfTime=this._timerOverridden===we.none||this._timerOverridden===we.start?u:this._stopPerfTime;const d=this._getDetail(n,i);this._onStopped(d)}get isStopped(){return this._stopPerfTime!==void 0}discard(){this._safety.tryCatch(()=>{this._stopReason=this._stopReason||ee.discarded,this.stop()},{op:"activity.discard"})}terminate(n,i,o){this._safety.tryCatch(()=>{this._stopReason=this._stopReason||ee.terminated,this.stop(n,i,o)},{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}}getTraceHeaders(n){const i=this.id,o=this._isRoot?this.id:this._rootId;return S.getHeaders(o,i,this.getIsSampled(),n)}getStartTimestamp(){return this._startTimestamp}getStartPerfTime(){return this._startPerfTime}getStopPerfTime(){return this._stopPerfTime}getErrorCount(){return this._errorCount}}a._count=0;const m=new Array(16).fill(0).join("");class p{getId(){return m}getRootId(){}error(){}stop(){}discard(){}terminate(){}getIsSampled(){return!1}getTraceHeaders(n){return{}}getStartTimestamp(){}getStartPerfTime(){}getStopPerfTime(){}getErrorCount(){return 0}}const $=Object.freeze(new p);class G{getInstrumentedEventData(n,i,o,u){var d;const R={ownerComponent:o.tagName,parentComponent:((d=o.parentElement)===null||d===void 0?void 0:d.tagName)||void 0,simplePath:t.utility.getXpath(o)};switch(n){case 0:R.baseEvent=i;break;case 1:R.mouseEvent=i;break}return u&&(R.userPayload=t.schemaUtil.makePayload(u.schema,u.payload,!0)),R}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 _e=new G;class Le{constructor(n,i,o,u,d,R,F,Ce){this._name=n,this._ownerName=i,this._ownerAppName=o,this._tags=u,this._buckets=d,this._values=new Array,this._createdOn=R===void 0?t.utility.time().tsNow:R,F!==void 0&&(this._lastUpdatedOn=F),Ce!==void 0&&(this._values=Ce)}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=t.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 Oe{constructor(n,i,o,u,d,R,F){this._name=n,this._ownerName=i,this._ownerAppName=o,this._tags=u,this._values=new Array,this._createdOn=d===void 0?t.utility.time().tsNow:d,R!==void 0&&(this._lastUpdatedOn=R),F!==void 0&&(this._values=F)}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=t.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 Se{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 Y=1e3,he=500,W=500;var me;(function(Pe){Pe[Pe.Counter=0]="Counter",Pe[Pe.Percentile=1]="Percentile",Pe[Pe.BucketHistogram=2]="BucketHistogram"})(me||(me={}));class Ie{constructor(n,i){this._ownerName=n,this._getOwnerAppName=i,this._upCounters=new Se(Y),this._valueRecorders=new Se(he),this._bucketHistograms=new Se(W)}incrementCounter(n,i,o=!1,u={}){this._tagError(u,o),this._upCounter(n,u).increment(i)}trackValue(n,i,o=!1,u={}){this._tagError(u,o),this._valueRecorder(n,u).record(i)}bucketValue(n,i,o,u=!1,d={}){this._tagError(d,u),this._bucketHistogram(n,d,o).record(i)}_bucketHistogram(n,i,o){const{key:u,sortedTags:d}=this._getKeyAndSortedTags(n,i,me.BucketHistogram);let R=this._bucketHistograms.get(u);if(!R&&(R=new Le(n,this._ownerName,this._getOwnerAppName(),d,o),!this._bucketHistograms.set(u,R)))throw new Error(`Max size of ${W} exceeded for BucketHistograms`);return R}_upCounter(n,i){const{key:o,sortedTags:u}=this._getKeyAndSortedTags(n,i,me.Counter);let d=this._upCounters.get(o);if(!d&&(d=new t.UpCounterImpl(n,this._ownerName,this._getOwnerAppName(),u),!this._upCounters.set(o,d)))throw new Error(`Max size of ${Y} exceeded for UpCounters`);return d}_valueRecorder(n,i){const{key:o,sortedTags:u}=this._getKeyAndSortedTags(n,i,me.Percentile);let d=this._valueRecorders.get(o);if(!d&&(d=new Oe(n,this._ownerName,this._getOwnerAppName(),u),!this._valueRecorders.set(o,d)))throw new Error(`Max size of ${he} exceeded for ValueRecorders`);return d}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,o){const u=Object.keys(i).sort().reduce((R,F)=>(R[F]=i[F],R),{});return{key:`${me[o]}:${n}${JSON.stringify(u)}`,sortedTags:u}}}class Ge{constructor(){this.isMock=!0}}const Be=void 0,$e=["`"],qe={internalError:"o11y-error"},Xe=Object.freeze(Array.from(Object.values(qe)));class Ke{constructor(n,i){this._nextGen=n,this._name=i,this._onActivityStoppedCallback=this._handleActivityStop.bind(this),this._onActivityErrorCallback=this._handleActivityError.bind(this);for(const u of $e)if(this._name.indexOf(u)>=0)throw new Error(`Name cannot include the reserved character "${u}"`);this._safety=new t.PublicSafety({increment:u=>this._incrementError(u)}),this._metrics=this._initMetrics();const o=t.schemaUtil.getOptions(e.simpleSchema,"Simple","text");this._simpleTextMaxLength=o?o["(meta.max_length)"]:t.maxStringLengthAppLimit}_initMetrics(){return new Ie(this.name,()=>this._nextGen.appName||Ke.defaultAppName)}_incrementError(n=1){this._metrics.incrementCounter(qe.internalError,n,!0)}get name(){return this._name}_wrapUserPayload(n,i,o=!1){let u;return typeof n=="string"?(u=e.simpleSchema,n?i={text:n.substring(0,this._simpleTextMaxLength)}:i=void 0):u=n,t.schemaUtil.makePayload(u,i,o)}_getEffectiveRootId(n){var i,o;return(o=(i=n==null?void 0:n.instrumentationContext)===null||i===void 0?void 0:i.rootId)!==null&&o!==void 0?o:this._nextGen.getDefaultInstrumentationContext().rootId}get internalInstrumentationContext(){return this._nextGen.getDefaultInstrumentationContext()}log(n,i,o){this._safety.tryCatch(()=>{const u=t.utility.time().tsNow;t.utility.requireArgument(n,"userSchemaOrText",["object","string"]),t.utility.requireArgumentIfDefined(i,"userData","object"),t.utility.requireArgumentIfDefined(o,"options","object");const d=this._wrapUserPayload(n,i);(d==null?void 0:d.payload)&&this._logInternal(this.name,d.schema,d.payload,u,this._getEffectiveRootId(o))},{op:"log"})}_logInternal(n,i,o,u,d){const R=this._nextGen.addLog(n,i,o,u,d);if(!t.utility.isProduction){const F=t.payloadUtility.getExtraFields(i,o);!t.utility.isProduction&&F.length>0&&this.error("Extra fields",e.payloadDiagsSchema,{extras:F})}return R}error(n,i,o,u){return this._safety.tryCatch(()=>{t.utility.requireArgumentIfDefined(i,"userSchemaOrText",["object","string"]),t.utility.requireArgumentIfDefined(o,"userData","object"),t.utility.requireArgumentIfDefined(u,"options","object");const d=this._getEffectiveRootId(u);this._errorInternal(n,i,o,void 0,d)},{op:"error"})}_errorInternal(n,i,o,u,d){const R=t.utility.time().tsNow;let F;if(n instanceof Error)F=n;else{let ge;n==null||typeof n.toString!="function"?ge="UNKNOWN":ge=n.toString(),F=new Error(ge)}const Ce=this._wrapUserPayload(i,o,!0),Ee={name:F.name,message:F.message,stack:F.stack,userPayload:Ce,activityId:u};return this._logInternal(this.name,e.errorSchema,Ee,R,d)}startActivity(n,i){return this._safety.tryCatchReturn(()=>{var o;t.utility.requireArgument(n,"name"),t.utility.requireArgumentIfDefined(i,"options","object");let u,d=(i==null?void 0:i.perfStartOverride)!==void 0;const R=(o=i==null?void 0:i.instrumentationContext)===null||o===void 0?void 0:o.rootId;return R?(d=!0,u={rootId:R,isRootActivitySampled:i.instrumentationContext.isRootActivitySampled}):u=this._nextGen.getDefaultInstrumentationContext(),new a(n,u.rootId,this._onActivityStoppedCallback,this._onActivityErrorCallback,Be,i==null?void 0:i.id,u.isRootActivitySampled,i==null?void 0:i.perfStartOverride,d)},$,{op:"startActivity"})}_getActivityData(n){const i=this._wrapUserPayload(n.userSchemaOrText,n.userData,!0);return{id:n.id,name:n.name,duration:n.stopPerfTime-n.startPerfTime,stopReason:n.stopReason,userPayload:i,errorCount:n.errorCount,isSampled:n.isSampled,timerOverridden:n.timerOverridden,isRerooted:n.isRerooted}}_handleActivityStop(n){if(n.stopReason===ce)return;if(!n.isRoot&&!n.noRerooting){const o=this._nextGen.getRootActivityHistoryEntryByTime(n.startPerfTime);(!o&&n.rootId!==void 0||o&&n.rootId!==o.id)&&(n.rootId=o==null?void 0:o.id,n.isSampled=(o==null?void 0:o.isSampled)||!1,n.isRerooted=!0)}const i=this._getActivityData(n);this._logActivity(i,n.startTimestamp,n.rootId)}_logActivity(n,i,o){this._logInternal(this.name,e.activitySchema,n,i,o)}_handleActivityError(n,i){this._errorInternal(n,i.userSchemaOrText,i.userData,i.id,i.rootId)}domEvent(n,i,o,u,d){this._safety.tryCatch(()=>{var R;const F=t.utility.time().tsNow;t.utility.requireArgument(n,"event",[Event,Ge]),t.utility.requireArgument(i,"handledBy",[HTMLElement,"object"]);let Ce;i instanceof HTMLElement?Ce=i:(i=i,((R=i.template)===null||R===void 0?void 0:R.host)instanceof HTMLElement?Ce=i.template.host:t.utility.requireArgument(void 0,"handledBy"));const Ee=this._wrapUserPayload(o,u,!0),ge=this._getEffectiveRootId(d);switch(n.type){case"click":{const Ae=n,Me=this._nextGen.getClickTracker();Me&&Me.markEventHandled(Ae);const ve=d==null?void 0:d.captureMouseData,Ue=_e.getInstrumentedEventData(ve?1:0,ve?_e.getMouseEventData(Ae):_e.getEventData(Ae),Ce,Ee);Ue.auto=d==null?void 0:d._auto,this._logInternal(this.name,e.instrumentedEventSchema,Ue,F,ge);break}default:throw new Error(t.utility.notImplemented)}},{op:"domEvent"})}_siftTags(n){const i=Object.assign({},n);return Object.entries(i).forEach(([o,u])=>{if(u===null)i[o]="null";else if(u==="")i[o]="empty";else if(Number.isNaN(u))i[o]="NaN";else{const d=typeof u;["number","string","boolean"].indexOf(d)===-1&&(i[o]=d)}}),i}incrementCounter(n,i=1,o=!1,u={}){this._safety.tryCatch(()=>{t.utility.requireArgument(n,"operation","string"),t.utility.checkForDenyListedValues(n,"operation",Xe),t.utility.checkForReservedCharacters(n,"operation",$e),t.utility.requireArgument(i,"increment","number"),t.utility.requireArgument(o,"hasError","boolean"),t.utility.requireArgument(u,"tags","object"),this._metrics.incrementCounter(n,i,o,this._siftTags(u))},{op:"incrementCounter"})}trackValue(n,i,o=!1,u={}){this._safety.tryCatch(()=>{t.utility.requireArgument(n,"operation","string"),t.utility.checkForDenyListedValues(n,"operation",Xe),t.utility.checkForReservedCharacters(n,"operation",$e),t.utility.requireArgument(i,"value","number"),t.utility.requireArgument(o,"hasError","boolean"),t.utility.requireArgument(u,"tags","object"),this._metrics.trackValue(n,i,o,this._siftTags(u))},{op:"trackValue"})}bucketValue(n,i,o=[],u=!1,d={}){this._safety.tryCatch(()=>{t.utility.requireArgument(n,"operation","string"),t.utility.checkForDenyListedValues(n,"operation",Xe),t.utility.checkForReservedCharacters(n,"operation",$e),t.utility.requireArgument(i,"value","number"),t.utility.requireArgument(o,"buckets",Array),Object.entries(o).forEach(([R,F])=>{t.utility.requireArgument(F,`Bucket value for '${R}'`,"number")}),t.utility.requireArgument(u,"hasError","boolean"),t.utility.requireArgument(d,"tags","object"),this._metrics.bucketValue(n,i,o,u,this._siftTags(d))},{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){t.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,o){var u,d,R,F;const Ce=this._getAsaOptions(o),Ee=this.startActivity(n,Ce);try{return i(Ee)}catch(ge){throw Ee.error(ge,(u=o==null?void 0:o.errorPayload)===null||u===void 0?void 0:u.schema,(d=o==null?void 0:o.errorPayload)===null||d===void 0?void 0:d.payload),ge}finally{Ee.stop((R=o==null?void 0:o.stopPayload)===null||R===void 0?void 0:R.schema,(F=o==null?void 0:o.stopPayload)===null||F===void 0?void 0:F.payload,o==null?void 0:o.stopOptions)}}async activityAsync(n,i,o){var u,d,R,F;const Ce=this._getAsaOptions(o),Ee=this.startActivity(n,Ce);try{return await i(Ee)}catch(ge){throw Ee.error(ge,(u=o==null?void 0:o.errorPayload)===null||u===void 0?void 0:u.schema,(d=o==null?void 0:o.errorPayload)===null||d===void 0?void 0:d.payload),ge}finally{Ee.stop((R=o==null?void 0:o.stopPayload)===null||R===void 0?void 0:R.schema,(F=o==null?void 0:o.stopPayload)===null||F===void 0?void 0:F.payload,o==null?void 0:o.stopOptions)}}}Ke.defaultAppName="APP_NOT_REGISTERED";const it=.1,bt=20;class ht{constructor(n){if(this._historyMap=new Map,this._historyList=new Array,t.utility.requireArgumentIfDefined(n,"limit","number")){if(n=Math.ceil(n),n<=0)throw new Error("Limit must be a positive number")}else n=bt;this._graceCount=Math.max(1,Math.floor(n*it)),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(o=>this._historyMap.delete(o.id))}get count(){return this._historyList.length}findById(n){return this._historyMap.get(n)}findByTime(n){let i,o=Number.MAX_VALUE;for(const u of this._historyList){const d=n-u.startPerfTime;d>=0&&(u.stopPerfTime===void 0||n<u.stopPerfTime)&&d<o&&(i=u,o=d)}return i}}class dt extends a{constructor(n,i,o,u,d,R,F){super(n,void 0,i,o,void 0,u||t.utility.generateUniqueId(F??32),d,R);this._isRoot=!0}get preRootId(){return this._preRootId}set preRootId(n){this._preRootId=n}_getDetail(n,i){const o=super._getDetail(n,i);return o.isRoot=!0,o.preRootId=this.preRootId,o}}const vt=new Array(32).fill(0).join("");class mt{getId(){return vt}getRootId(){}error(){}stop(){}discard(){}terminate(){}getIsSampled(){return!1}getTraceHeaders(n){return{}}getStartTimestamp(){}getStartPerfTime(){}getStopPerfTime(){}getErrorCount(){return 0}}const b=Object.freeze(new mt);class I extends Ke{constructor(n,i,o){super(n,i);this._allowMulti=o,this._rootActivityHistory=new ht,this._onRootActivityStoppedCallback=this._handleRootActivityStop.bind(this)}startRootActivity(n,i,o,u){return this._safety.tryCatchReturn(()=>{if(t.utility.requireArgument(n,"name"),(u==null?void 0:u.id)!==void 0)throw new Error("Cannot specify id for root activity, use rootId argument instead");const d=new dt(n,this._onRootActivityStoppedCallback,this._onActivityErrorCallback,i,o,u==null?void 0:u.perfStartOverride,this._nextGen.preferredRootIdLength);if(!this._allowMulti){const R={id:d.getId(),name:n,startPerfTime:d.getStartPerfTime(),isSampled:d.getIsSampled()};if(this._rootActivityHistory.add(R),this._singleRootActivity&&!this._singleRootActivity.isStopped){const F=this._singleRootActivity.getId();this._singleRootActivity.terminate(),d.preRootId=F}this._singleRootActivity=d}return d},b,{op:"startRootActivity"})}_handleRootActivityStop(n){const i=this._rootActivityHistory.findById(n.id);if(i&&(i.stopPerfTime=n.stopPerfTime,i.startPerfTime=n.startPerfTime),n.stopReason===ce)return;const o=this._getActivityData(n);this._logActivity(o,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()}_initMetrics(){return new Ie(this.name,()=>this.name)}getRootActivityHistoryEntry(n){return this._rootActivityHistory.findByTime(n)}}const y=5;class D{constructor(n,i){this._instr=n,this._doc=i,this._isActive=!1,this._boundClickListener=this._clickListener.bind(this),t.utility.requireArgument(n,"_instr"),t.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 o=(i=n.composedPath)===null||i===void 0?void 0:i.call(n);(!o||!o.length)&&(o=n.path);const u=this._getClickableElement(o);u&&setTimeout(()=>{n!==this._ignoredEvent&&this._instr.domEvent(n,u,void 0,void 0,{_auto:!0})})}_getClickableElement(n){var i,o;const u=n?Math.min(n.length,y):0;for(let d=0;d<u;d+=1){const R=n[d],F=(i=R.tagName)===null||i===void 0?void 0:i.toLowerCase();if(F==="a"||F==="button")return R;if(F==="input"){const Ce=R;if(((o=Ce.type)===null||o===void 0?void 0:o.toLowerCase())==="button")return Ce}}}}const V="o11y:receiver";var q;(function(Pe){Pe[Pe.Unknown=0]="Unknown",Pe[Pe.Opening=1]="Opening"})(q||(q={}));class X{constructor(n,i,o){this._logCallback=n,this._metricsCallback=i,this._commErrorCallback=o,this._senders=new Map,t.utility.requireArgument(this._logCallback,"_logCallback","function"),t.utility.requireArgument(this._metricsCallback,"_metricsCallback","function"),t.utility.requireArgument(this._commErrorCallback,"_commErrorCallback","function")}openComms(n){if(t.utility.requireArgument(n,"sender","object"),!this._senders.has(n)){const i=new MessageChannel,o={state:q.Opening,port:i.port1};this._senders.set(n,o),o.port.onmessage=this._messagePortEventHandler.bind(this),o.port.onmessageerror=this._messagePortErrorHandler.bind(this),n.postMessage({from:V,type:te},"*",[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===ie?this._logCallback(n.data.data):n.data.type===Q&&this._metricsCallback(n.data.data)}_messagePortErrorHandler(){this._commErrorCallback()}}const te="handshake",ie="log",Q="metrics";class se{constructor(n,i){this._self=n,this._allowedOrigins=i,this._messageEventHandlerFunc=this._messageEventHandler.bind(this),this._handshakeComplete=!1,this._logBuffer=[],this._metricsBuffer=[],t.utility.requireArgument(this._self,"_self","object"),t.utility.requireArgumentIfDefined(i,"allowedOrigins",Array),this._self.addEventListener("message",this._messageEventHandlerFunc)}_messageEventHandler(n){n.data.from===V&&n.data.type===te&&n.ports[0]instanceof MessagePort&&t.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:ie,data:n}):this._logBuffer.push(n)}sendMetrics(n){this._handshakeComplete?this._otherPort.postMessage({type:Q,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 Re{constructor(){this._upCounters=[],this._valueRecorders=[],this._bucketHistograms=[]}add(n){var i,o,u;((i=n.upCounters)===null||i===void 0?void 0:i.length)&&this._upCounters.push(...n.upCounters.map(d=>new t.UpCounterImpl(d.name,d.ownerName,d.ownerAppName,t.metricsUtility.getMetricsTags(d.tags),d.createdTimestamp,d.lastUpdatedTimestamp,d.value))),((o=n.valueRecorders)===null||o===void 0?void 0:o.length)&&this._valueRecorders.push(...n.valueRecorders.map(d=>new Oe(d.name,d.ownerName,d.ownerAppName,t.metricsUtility.getMetricsTags(d.tags),d.createdTimestamp,d.lastUpdatedTimestamp,d.values))),((u=n.bucketHistograms)===null||u===void 0?void 0:u.length)&&this._bucketHistograms.push(...n.bucketHistograms.map(d=>new Le(d.name,d.ownerName,d.ownerAppName,t.metricsUtility.getMetricsTags(d.tags),d.buckets,d.createdTimestamp,d.lastUpdatedTimestamp,d.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 Te=1e3;class De{constructor(n,i){this._connector=n,this._pollInterval=Te,t.utility.requireArgument(n,"_connector","object"),t.utility.requireArgumentIfDefined(i,"_pollInterval","number")&&i>0&&(this._pollInterval=i)}collect(n,i,o){const u={schema:n,data:i,logMeta:o};this._connector.sendLog(u)}receiveMetricsExtractors(n){this._metricsExtractors=n,this._collectAndSendMetrics(),setInterval(this._collectAndSendMetrics.bind(this),this._pollInterval)}_collectAndSendMetrics(){const n={upCounters:t.metricsUtility.getUpCounters(this._metricsExtractors.getAllUpCounters()),valueRecorders:t.metricsUtility.getValueRecorders(this._metricsExtractors.getAllValueRecorders()),bucketHistograms:t.metricsUtility.getBucketHistograms(this._metricsExtractors.getAllBucketHistograms())};(n.upCounters.length||n.valueRecorders.length||n.bucketHistograms.length)&&this._connector.sendMetrics(n)}}const fe=80,ke=32,xe="_CUT",w=fe-xe.length;function re(){}class ue{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 o,u;if(t.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(t.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=(o=i==null?void 0:i.preferredRootIdLength)!==null&&o!==void 0?o:ke,this._clientSessionId=((u=i==null?void 0:i.clientSessionId)===null||u===void 0?void 0:u.toString())||t.utility.generateUniqueId(),this._appInstr=new I(this,n,i==null?void 0:i.allowMultipleRootActivities),this._instruments.set(n,this._appInstr),this._isSender){const F=new De(new se(window,i==null?void 0:i.allowedReceiverOrigins),i==null?void 0:i.senderMetricsPollingInterval);this.registerLogCollector(F),this.registerMetricsCollector(F)}else this._isReceiver&&(this._metricsStore=new Re,this._receiverConnector=new X(F=>{F.logMeta.receiverClientSessionId=this._clientSessionId,F.logMeta.receiverRootId=this._appInstr.getSingleRootActivityId(),this._multiplex(F.schema,F.data,F.logMeta)},F=>{this._metricsStore.add(F)},()=>{this._appInstr.incrementCounter("o11y-error-receiver",1,!0)}));this._isBufferingEnabled=!this._isSender&&(i==null?void 0:i.enableBuffering);const R=new S(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:R.networkInstrumentation.bind(R),registerForLogPrompt:this._appInstr.registerForLogPrompt.bind(this._appInstr),activity:this._appInstr.activity.bind(this._appInstr),activityAsync:this._appInstr.activityAsync.bind(this._appInstr),startRootActivity:this._appInstr.startRootActivity.bind(this._appInstr),registerLogCollector:this._isSender?re:this.registerLogCollector.bind(this),registerMetricsCollector:this._isSender?re: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):re,stopReceiving:this._isReceiver?this._receiverConnector.closeComms.bind(this._receiverConnector):re}}getInstrumentation(n){t.utility.requireArgument(n,"name","string"),n.length>fe&&(n=n.substring(0,w)+xe);let i=this._instruments.get(n);if(!i)i=new Ke(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,o,u,d){var R,F,Ce;t.payloadUtility.checkInputs(i,o),this._sequence+=1;const Ee=t.schemaUtil.isInternal(i),ge=Ee&&(o==null?void 0:o.userPayload)?o.userPayload.schema:i,Ae=t.schemaUtil.getSchemaId(ge);let Me=this._seqBySchema.get(Ae)||0;Me+=1,this._seqBySchema.set(Ae,Me);const ve={timestamp:u,rootId:d,sequence:this._sequence,schemaSequence:Me,loggerName:n,pagePayload:void 0,appPayload:void 0,loggerAppName:this.appName,connectionType:t.utility.getConnectionType(),clientSessionId:this._clientSessionId,age:t.utility.getAge(u)},Ue={schema:i,data:o,logMeta:ve};if(ve.pagePayload=t.payloadUtility.getPayloadFromProvider(this.pagePayloadProvider,Ue),ve.appPayload=t.payloadUtility.getPayloadFromProvider(this.appPayloadProvider,Ue),this._isSender||(o=t.utility.clone(o)),typeof this._decimalPoints=="number"&&(t.utility.roundNumbersInObject(o,this._decimalPoints),Ee&&t.utility.roundNumbersInObject((R=o.userPayload)===null||R===void 0?void 0:R.payload,this._decimalPoints),t.utility.roundNumbersInObject((F=ve.pagePayload)===null||F===void 0?void 0:F.payload,this._decimalPoints),t.utility.roundNumbersInObject((Ce=ve.appPayload)===null||Ce===void 0?void 0:Ce.payload,this._decimalPoints)),this._isBufferingEnabled){const We={schema:i,data:o,logMeta:ve};this._buffer.push(We)}return this._multiplex(i,o,ve),this._sequence}_multiplex(n,i,o){const u=Array.from(this._logCollectors).filter(d=>{var R;return!this._forceDisabledLogCollectors.has(d)&&!((R=d.getIsCollectDisabled)===null||R===void 0?void 0:R.call(d))});if(u.length>0)for(const d of u){let R=this._logCollectorFailures.get(d)||0;try{d.collect(n,i,o),R>0&&this._logCollectorFailures.set(d,R-1)}catch(F){R+=1,R>=ue._collectorFailureLimit?(this._forceDisabledLogCollectors.add(d),this._appInstr&&(typeof F=="string"||F instanceof Error)&&this._appInstr.error(F)):this._logCollectorFailures.set(d,R)}}}getBuffer(){return this._buffer}disableBuffering(){this._isBufferingEnabled=!1,this._buffer=[]}getClickTracker(){return this._autoClickTracker}getDefaultInstrumentationContext(){var n,i;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()}}activateClickTracker(){typeof document!="undefined"&&(this._autoClickTracker||(this._autoClickTracker=new D(this._appInstr,document)),this._autoClickTracker.activate())}deactivateClickTracker(){this._autoClickTracker&&(this._autoClickTracker.deactivate(),this._autoClickTracker=void 0)}registerLogCollector(n,i){if(t.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 o of this._buffer)n.collect(o.schema,o.data,o.logMeta)}registerMetricsCollector(n){if(t.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(t.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(t.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(t.co11y.getBucketHistograms())}registerForLogPrompt(n){this._logCollectionListeners.add(n)}promptLogCollection(n){for(const i of this._logCollectionListeners.keys())try{i(n)}catch(o){if(!t.utility.isProduction)throw o}}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}}ue._collectorFailureLimit=5;class J{get _lazyNextGen(){return this._nextgen||(this._nextgen=new ue(this._idleDetector)),this._nextgen}constructor(n){this._idleDetector=n,t.utility.requireArgument(n,"_idleDetector")}registerInstrumentedApp(n,i){const o=this._lazyNextGen.registerApp(n,i);return i&&(t.utility.markProduction(i.isProduction),this._nextgen.appPayloadProvider=i.appPayloadProvider,this._nextgen.pagePayloadProvider=i.pagePayloadProvider),o}getInstrumentation(n){return this._lazyNextGen.getInstrumentation(n)}}const Fe=t.utility.time.bind(t.utility),ot="sfcore.customCmp.CustomComponentLog",st={Error:"Crimson",Activity:"CadetBlue",InstrumentedEvent:"DarkOliveGreen",O11ySample:"BlueViolet"},et={Error:"white",Activity:"white",InstrumentedEvent:"white",O11ySample:"white"},lt="black",pt="Gainsboro";class Qe{constructor(n){this._simpleFilters=new Set,this._regexFilters=[],n&&this._log("ConsoleCollector",n)}collect(n,i,o){const u=t.schemaUtil.getSchemaId(n);if(!this._shouldLog(u))return;if(u===ot){this._logCustom(i);return}let d,R,F;t.schemaUtil.isInternal(n)?(d=n.name,R=et[n.name]||lt,F=st[n.name]||pt):d=u,this._log(d,i,o,R,F)}_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(o=>o.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,o,u=lt,d=pt){const R=`color:${u};background-color:${d}`;console.log(`%cO11Y%c ${n}`,"color:white;background-color:#FF6600;font-weight:bold",R,i||"",o||"")}_logCustom(n){console.log("%clightning/logger","color:white;background-color:#00a1e0;font-weight:bold",n||"")}}const gt="254.5.0",ct=new H({logThreshold:300,reportListener:Pe=>{yt==null||yt.log(e.idleDetectorReportSchema,Pe)},errorListener:(Pe,n)=>{yt==null||yt.error(Pe,n)}}),at=new J(ct),At=at.registerInstrumentedApp.bind(at),It=at.getInstrumentation.bind(at),yt=It("IdleDetector");r.ConsoleCollector=Qe,r._version=gt,r.getInstrumentation=It,r.idleDetector=ct,r.registerInstrumentedApp=At,r.time=Fe,Object.defineProperty(r,"__esModule",{value:!0})}),LWR.define("o11y/client",["exports","o11y/client/v/1"],function(r,e){r.default=e&&typeof e=="object"&&"default"in e?e.default:e,Object.keys(e).forEach(function(t){t==="default"||r.hasOwnProperty(t)||Object.defineProperty(r,t,{enumerable:!0,get:function(){return e[t]}})})}),LWR.define("webruntime/o11y/v/1",["exports"],function(r){"use strict";const e={};r._o11y=e,Object.defineProperty(r,"__esModule",{value:!0})}),LWR.define("webruntime/o11y",["exports","webruntime/o11y/v/1"],function(r,e){r.default=e&&typeof e=="object"&&"default"in e?e.default:e,Object.keys(e).forEach(function(t){t==="default"||r.hasOwnProperty(t)||Object.defineProperty(r,t,{enumerable:!0,get:function(){return e[t]}})})}),LWR.define("webruntime/expressions/v/1",["exports"],function(r){"use strict";let e;const t="1970-01-01T",P="T00:00:00",E="provider",H="providers";function j(A){return A!==null&&typeof A=="object"}function O(A){try{const x=A?.indexOf(":")>-1,z=A?.indexOf("-")>-1;return A===""||!x&&!z?null:(typeof A=="string"&&(z||(A=t+A),x||(A=A+P),A=A.trim().replace(" ","T"),A.endsWith("Z")||(A+="Z")),new Date(A))}catch(x){return null}}function c(A){try{const x=A(),z=Reflect.get(this,H);for(const le of z)if(!le?.hasData?.())throw new Error;return x??null}catch(x){return}}function h(A){return j(this)&&(Reflect.set(this,E,A),Reflect.get(this,H).push(A)),A?.getData?.()}function s(A={},x){if(!!A&&Object.prototype.hasOwnProperty.call(A,x))return A[x]}function l(A,x){Array.isArray(A)||(A=[A]);const z=A.filter(x);if(!!z.length)return z.length===1?z[0]:z}function g(A,x){if(j(this)&&Reflect.has(this,E)){const z=Reflect.get(this,E);if(Reflect.deleteProperty(this,E),!z?.hasData?.(x))throw new Error;const le=Reflect.get(this,H);le.indexOf(z)>=0&&le.splice(le.indexOf(z),1)}return typeof x=="string"&&Array.isArray(A)?(A=A.map(z=>z[x]).filter(z=>z!==void 0),A.length===0?void 0:A.length===1?A[0]:A):A?.[x]}function L(){}const _={toDate(A){if(A!=null){const x=O(A)?.setUTCHours(0,0,0,0);if(x!==void 0&&!isNaN(x))return new Date(x)}return null},toTime(A){if(A!=null){const x=O(A)?.setUTCFullYear(1970,0,1);if(x!==void 0&&!isNaN(x))return new Date(x)}return null},toDatetime(A){return A!=null?O(A):null},isBlank(A){return!A&&typeof A!="number"},contains(A,x){return A!=null?A.includes(x):!1},begins(A,x){return x==null?!0:A!=null?A.toString().startsWith(x.toString()):!1}},T=(...A)=>(e={[H]:[],[E]:null},c.apply(e,A)),C=(...A)=>h.apply(e,A),k=(...A)=>g.apply(e,A),N=(...A)=>s.apply(e,A),U=(...A)=>l.apply(e,A),K=(...A)=>L.apply(e,A);r.EXPR_CLOSURE=T,r.EXPR_FILTER=U,r.EXPR_FUNCTION=K,r.EXPR_GLOBAL=N,r.EXPR_MEMBER=k,r.EXPR_PROVIDER=C,r.EXPR_RUNTIME=_,Object.defineProperty(r,"__esModule",{value:!0})}),LWR.define("webruntime/expressions",["exports","webruntime/expressions/v/1"],function(r,e){r.default=e&&typeof e=="object"&&"default"in e?e.default:e,Object.keys(e).forEach(function(t){t==="default"||r.hasOwnProperty(t)||Object.defineProperty(r,t,{enumerable:!0,get:function(){return e[t]}})})}),LWR.define("webruntime/routerContainer/v/1",["exports","lwc/v/8_10_3","webruntime/errors/v/1_66_902-254_0","lwr/navigation/v/0_15_9","webruntime/routingService/v/1","webruntime/defaultView/v/1_66_902-254_0"],function(r,e,t,P,E,H){"use strict";function j(l){return l&&typeof l=="object"&&"default"in l?l:{default:l}}var O=j(H),c=void 0;class h extends e.LightningElement{constructor(...g){super(...g);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(g){this._routeParams=g}render(){return this.generatedTemplateHtml}connectedCallback(){const g=this.view||O.default;this.generatedTemplateHtml=g.html,this.attributes=g.attributes(this,this.routeParams),this.subscription=E.subscribe(this.routeChange.bind(this))}viewChange(g){E.handleExtraRouteParams(this.route),this.generatedTemplateHtml=g.html;const{state:L,attributes:_}=this.route;this._routeParams={...L,..._},this.attributes=g.attributes(this,this.routeParams)}routeChange(g){this.route=g.route||null}disconnectedCallback(){this.subscription&&this.subscription.unsubscribe()}errorCallback(g,L){t.reportError({subject:"router level error",error:g,wcstack:L})}}h.renderMode="light",e.registerDecorators(h,{publicProps:{view:{config:0},routeParams:{config:3}},wire:{viewChange:{adapter:P.CurrentView,method:1,config:function(l){return{}}}},fields:["_routeParams","generatedTemplateHtml","previousRouteParams","requiredParameters","attributes","route"]});const s=e.registerComponent(h,{tmpl:c,sel:"webruntime-router-container",apiVersion:63});r.default=s,Object.defineProperty(r,"__esModule",{value:!0})}),LWR.define("webruntime/routerContainer",["exports","webruntime/routerContainer/v/1"],function(r,e){r.default=e&&typeof e=="object"&&"default"in e?e.default:e,Object.keys(e).forEach(function(t){t==="default"||r.hasOwnProperty(t)||Object.defineProperty(r,t,{enumerable:!0,get:function(){return e[t]}})})}),LWR.define("webruntime/componentContainer/v/1",["exports","lwc/v/8_10_3"],function(r,e){"use strict";function t(s,l,g){var L=s?"."+s+"-host":"";return(l?":host {":L+" {")+"display: flow-root;}"}t.$scoped$=!0;var P=[t];const E={key:0},H=[];function j(s,l,g,L){const{s:_}=s;return[_("",E,H,g)]}var O=e.registerTemplate(j);j.slots=[""],j.renderMode="light",j.stylesheets=[],j.stylesheetToken="lwc-4k1qbp7cls1",j.legacyStylesheetToken="webruntime-componentContainer_componentContainer",P&&j.stylesheets.push.apply(j.stylesheets,P),e.freezeTemplate(j);class c extends e.LightningElement{}c.renderMode="light";const h=e.registerComponent(c,{tmpl:O,sel:"webruntime-component-container",apiVersion:63});r.default=h,Object.defineProperty(r,"__esModule",{value:!0})}),LWR.define("webruntime/componentContainer",["exports","webruntime/componentContainer/v/1"],function(r,e){r.default=e&&typeof e=="object"&&"default"in e?e.default:e,Object.keys(e).forEach(function(t){t==="default"||r.hasOwnProperty(t)||Object.defineProperty(r,t,{enumerable:!0,get:function(){return e[t]}})})}),LWR.define("webruntime/sessionValidator/v/1",["exports","lwr/loaderLegacy/v/0_15_9","lwc/v/8_10_3","@app/isDesignMode/v/1","@app/isPreviewMode/v/1","@app/basePath/v/1","webruntime/routingService/v/1","webruntime/logger/v/1_66_902-254_0","webruntime/transport/v/1"],function(r,e,t,P,E,H,j,O,c){"use strict";function h(ce){return ce&&typeof ce=="object"&&"default"in ce?ce:{default:ce}}var s=h(P),l=h(E),g=h(H);function L(ce,ee,a){var m=ce?"["+ce+"-host]":"";return(ee?":host {":m+" {")+"display: none;}"}var _=[L];const T=t.parseFragment`<div class="slds-notify slds-notify_alert${0}" role="alert" style="position: absolute; top: 0;"${2}><span class="slds-assistive-text${0}"${2}>info</span><span class="slds-icon_container slds-icon-utility-user slds-m-right_x-small${0}" title="Description of icon when needed"${2}><svg class="slds-icon slds-icon_x-small${0}" aria-hidden="true"${2}><use${"a5:xlink:href"}${3}/></svg></span><h2${3}>${"t7"}</h2><div class="slds-notify__close${0}"${2}><button class="slds-button slds-button_icon slds-button_icon-small slds-button_icon-inverse${0}" title="Close"${2}><svg class="slds-button__icon${0}" aria-hidden="true"${2}><use${"a11:xlink:href"}${3}/></svg><span class="slds-assistive-text${0}"${2}>${"t13"}</span></button></div></div>`;function C(ce,ee,a,m){const{d:p,b:$,sp:G,st:ae,fr:_e}=ce,{_m0:Le}=m;return[ee.showSessionWarning?_e(0,[ae(T,2,[G(5,{attrs:{"xlink:href":t.sanitizeAttribute("use","http://www.w3.org/2000/svg","xlink:href",ee.userIconUrl)}},null),G(7,null,p(ee.invalidSessionToastMessage)),G(9,{on:Le||(m._m0={click:$(ee.dismissAlert)})},null),G(11,{attrs:{"xlink:href":t.sanitizeAttribute("use","http://www.w3.org/2000/svg","xlink:href",ee.closeIconUrl)}},null),G(13,null,p(ee.closeMessage))])],0):null]}var k=t.registerTemplate(C);C.renderMode="light",C.stylesheets=[],C.stylesheetToken="lwc-9mrm67ji1u",C.legacyStylesheetToken="webruntime-sessionValidator_sessionValidator",_&&C.stylesheets.push.apply(C.stylesheets,_),t.freezeTemplate(C);const N="/sfsites/c/_nc_external/system/security/session/SessionTimeServlet";async function U(){const ce=new Date().getTime(),ee=`${g.default}${N}?buster=${ce}`;try{const a=await c.fetch(`${N}?buster=${ce}`,{asGuest:!0});if(console.log(`[sessionTimeServletAPI] Returned with status: ${a.status}`),a.ok){const m=await a.text(),p=K(m);return p.sr=Number(p.sr),p}}catch(a){return console.error(`[sessionTimeServletAPI] Failed to fetch user session time: ${a.message}`),null}finally{console.log(`[sessionTimeServletAPI] END fetch endpoint: ${ee}`)}}function K(ce){if(!ce)return{sp:-1,sr:-1};let ee=ce.replace(/\r/g,` `);return ee.indexOf("<pre")>=0&&(ee=ee.replace(/^<pre[^>]*>/,"").replace(/<\/pre>$/,"")),ee.indexOf("<textarea")>=0&&(ee=ee.replace(/<textarea[^>]*>/,"").replace(/<\/textarea>$/,"")),A(ee)}function A(ce){const ee=`while(1); `;if(typeof ce!="string")return null;ce.substring(0,ee.length)===ee&&(ce=x(ce));try{return JSON.parse(ce)}catch(a){return O.logError(`Exception while parsing the String: ${ce}`,a),null}}function x(ce){const ee=`while(1); `,a=[ee,ee.replace(` `,"")];for(let m=0;m<a.length;m++){const p=a[m];if(ce.indexOf(p)===0)return ce.slice(p.length)}return ce}const z="/assets/icons/utility-sprite/svg/symbols.svg#close",le="/assets/icons/utility-sprite/svg/symbols.svg#user",S="showSessionMessage",we=/\w+\\&showSessionMessage$/g;class oe extends t.LightningElement{constructor(...ee){super(...ee);this.sessionWarningMessage=void 0,this.sessionWarningTime=void 0,this.invalidSessionToastMessage=void 0,this.closeMessage=void 0,this.route=void 0,this.routeChangeSubscription=void 0,this.timeLeftInSession=void 0,this.timeoutID=0,this.showSessionWarning=!1,this.closeIconUrl=void 0,this.userIconUrl=void 0}async connectedCallback(){this.routeChangeSubscription=j.subscribe(this.onRouteChange.bind(this))}async renderedCallback(){if(this.shouldCheckSession()){const{default:a}=await e.load("@app/user/v/1");a.isGuest||this.checkSession()}const ee=new URL(decodeURIComponent(window.location?.href));ee?.searchParams?.has(S)&&(this.showExpiredSessionMessage(),this.removeSessionUrlFlag(ee))}removeSessionUrlFlag(ee){ee.searchParams.delete(S),window.history.replaceState(null,window.location.href,ee)}shouldCheckSession(){return!(s.default||l.default||(this.route=j.getCurrentRoute(),this.route.routeDefinition?.metadata?.isPublic))}onRouteChange(ee){this.route=ee,this.timeoutID===0&&!this.route.routeDefinition?.metadata?.isPublic&&this.checkSession()}async checkSession(){const ee=await U();this.timeLeftInSession=Object.keys(ee).length===0?this.timeLeftInSession:ee.sr,this.processTimeoutResponse()}scheduleCheckSession(){clearTimeout(this.timeoutID);const ee=(this.timeLeftInSession+1)*1e3;this.timeoutID=setTimeout(()=>this.checkSession(),ee)}async processTimeoutResponse(){this.timeLeftInSession<0?(await U()).sr<0&&this.handleLogout():this.scheduleCheckSession()}handleLogout(){clearTimeout(this.timeoutID),this.timeoutID=0;const ee=j.getCurrentRoute().url;we.test(ee)||j.navigate({type:"comm__loginPage",attributes:{actionName:"logout"},state:{startUrl:`${ee}&${S}`}})}showExpiredSessionMessage(){const ee=window.location.origin+g.default;this.closeIconUrl=ee.concat(z),this.userIconUrl=ee.concat(le),this.showSessionWarning=!0}dismissAlert(){this.showSessionWarning=!1}disconnectedCallback(){this.routeChangeSubscription?.unsubscribe(),clearTimeout(this.timeoutID)}}oe.renderMode="light",t.registerDecorators(oe,{publicProps:{sessionWarningMessage:{config:0},sessionWarningTime:{config:0},invalidSessionToastMessage:{config:0},closeMessage:{config:0}},fields:["route","routeChangeSubscription","timeLeftInSession","timeoutID","showSessionWarning","closeIconUrl","userIconUrl"]});const je=t.registerComponent(oe,{tmpl:k,sel:"webruntime-session-validator",apiVersion:63});r.default=je,Object.defineProperty(r,"__esModule",{value:!0})}),LWR.define("webruntime/sessionValidator",["exports","webruntime/sessionValidator/v/1"],function(r,e){r.default=e&&typeof e=="object"&&"default"in e?e.default:e,Object.keys(e).forEach(function(t){t==="default"||r.hasOwnProperty(t)||Object.defineProperty(r,t,{enumerable:!0,get:function(){return e[t]}})})}),LWR.define("webruntime/slotContainer/v/1",["exports","lwc/v/8_10_3"],function(r,e){"use strict";const t=[];function P(O,c,h,s){const{s:l}=O;return[c.isVisible?l("",{key:0,slotData:c.variations},t,h):null]}var E=e.registerTemplate(P);P.slots=[""],P.renderMode="light",P.stylesheets=[],P.stylesheetToken="lwc-769n4j124ma",P.legacyStylesheetToken="webruntime-slotContainer_slotContainer",e.freezeTemplate(P);class H extends e.LightningElement{constructor(...c){super(...c);this.visibilityExpression=void 0,this.hidden=void 0,this.variationExpressions=void 0}get isVisible(){return this.hidden?!this.visibilityExpression:this.visibilityExpression}get variations(){const c={},h=!!this.variationExpressions?.find(g=>g===!0),s=this.variationExpressions?.findIndex(g=>g===!0),l=this.variationExpressions?.findIndex(g=>typeof g=="undefined")!==-1;return this.variationExpressions?.forEach(function(g,L){const _=`variation${L+1}`;l||h&&s!==L?c[_]=!1:g===!0?c[_]=!0:(typeof g=="undefined",c[_]=!1)}),c.variation0=!h&&!l,c}}H.renderMode="light",e.registerDecorators(H,{publicProps:{visibilityExpression:{config:0},hidden:{config:0},variationExpressions:{config:0}}});const j=e.registerComponent(H,{tmpl:E,sel:"webruntime-slot-container",apiVersion:63});r.default=j,Object.defineProperty(r,"__esModule",{value:!0})}),LWR.define("webruntime/slotContainer",["exports","webruntime/slotContainer/v/1"],function(r,e){r.default=e&&typeof e=="object"&&"default"in e?e.default:e,Object.keys(e).forEach(function(t){t==="default"||r.hasOwnProperty(t)||Object.defineProperty(r,t,{enumerable:!0,get:function(){return e[t]}})})}),LWR.define("webruntime/visibilityContainer/v/1",["exports","lwr/loaderLegacy/v/0_15_9","lwc/v/8_10_3","@app/isDesignMode/v/1"],function(r,e,t,P){"use strict";function E(_){return _&&typeof _=="object"&&"default"in _?_:{default:_}}var H=E(P);function j(_,T,C){var k=_?"."+_+"-host":"";return"@media only screen and (max-width: 47.9375em) {"+(T?":host.webruntime-visibility-container.dxp-sm-hide {":k+".webruntime-visibility-container.dxp-sm-hide {")+"display: none;}}@media only screen and (min-width: 48em) and (max-width: 64em) {"+(T?":host.webruntime-visibility-container.dxp-md-hide {":k+".webruntime-visibility-container.dxp-md-hide {")+"display: none;}}@media only screen and (min-width: 64.0625em) {"+(T?":host.webruntime-visibility-container.dxp-lg-hide {":k+".webruntime-visibility-container.dxp-lg-hide {")+"display: none;}}"}j.$scoped$=!0;var O=[j];const c={key:0},h=[];function s(_,T,C,k){const{s:N}=_;return[T.hidden?null:N("",c,h,C)]}var l=t.registerTemplate(s);s.slots=[""],s.renderMode="light",s.stylesheets=[],s.stylesheetToken="lwc-7ethp7o0ig8",s.legacyStylesheetToken="webruntime-visibilityContainer_visibilityContainer",O&&s.stylesheets.push.apply(s.stylesheets,O),t.freezeTemplate(s);class g extends t.LightningElement{constructor(...T){super(...T);this.hiddenInDesktop=!1,this.hiddenInTablet=!1,this.hiddenInMobile=!1,this.hidden=!0}connectedCallback(){const T={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 C="";Object.values(T).forEach(k=>{k.isHidden?this.classList.add(k.class):C+=C?`, ${k.mediaQuery}`:k.mediaQuery}),H.default?this.classList.add("interactions-element","webruntime-design-visibility-container"):this.classList.add("webruntime-visibility-container"),e.load("webruntime/formFactor/v/1").then(({getFormFactor:k})=>{if(typeof window!="undefined"&&!H.default&&T[k()].isHidden){if(C){const N=window.matchMedia(C),U=K=>{K.matches&&(this.hidden=!1,N.removeEventListener("change",U))};N.addEventListener("change",U)}}else this.hidden=!1})}}g.renderMode="light",g.validationOptOut=["class"],t.registerDecorators(g,{publicProps:{hiddenInDesktop:{config:0},hiddenInTablet:{config:0},hiddenInMobile:{config:0}},track:{hidden:1}});const L=t.registerComponent(g,{tmpl:l,sel:"webruntime-visibility-container",apiVersion:63});r.default=L,Object.defineProperty(r,"__esModule",{value:!0})}),LWR.define("webruntime/visibilityContainer",["exports","webruntime/visibilityContainer/v/1"],function(r,e){r.default=e&&typeof e=="object"&&"default"in e?e.default:e,Object.keys(e).forEach(function(t){t==="default"||r.hasOwnProperty(t)||Object.defineProperty(r,t,{enumerable:!0,get:function(){return e[t]}})})}),LWR.define("webruntime/viewchangeNotifier/v/1",["exports","lwc/v/8_10_3","lwr/navigation/v/0_15_9","@app/deployTarget/v/1","webruntime/routingService/v/1"],function(r,e,t,P,E){"use strict";function H(T){return T&&typeof T=="object"&&"default"in T?T:{default:T}}var j=H(P);const O=e.parseFragment`<div hidden${"a0:data-route"}${3}></div>`;function c(T,C,k,N){const{sp:U,st:K}=T;return[K(O,1,[U(0,{attrs:{"data-route":C.routeParamString}},null)])]}var h=e.registerTemplate(c);c.renderMode="light",c.stylesheets=[],c.stylesheetToken="lwc-1j18phjg883",c.legacyStylesheetToken="webruntime-viewchangeNotifier_viewchangeNotifier",e.freezeTemplate(c);const s=["contentTypeName","name","objectApiName","recordId","relationshipApiName","term","urlAlias"];function l(T){return Object.keys(T).reduce((C,k)=>(s.includes(k)&&(C[k]=T[k]),C),{})}function g(T,C){return T===C?!0:!T||!C?!1:Object.keys(T).length===Object.keys(C).length&&Object.entries(C).every(([k,N])=>T[k]===N)}class L extends e.LightningElement{constructor(...C){super(...C);this.routeChangeSubscription=void 0,this.route=void 0,this.routeParams=void 0,this.previousRouteParams=void 0}connectedCallback(){j.default==="MRT"&&requestAnimationFrame(()=>{this.route=E.getCurrentRoute().route,this.updateRouteParams()}),this.routeChangeSubscription=E.subscribe(this.routeChange.bind(this))}routeChange(C){this.route=C.route}viewChange(){this.updateRouteParams()}updateRouteParams(){const{state:C,attributes:k}=this.route||{};this.routeParams=l({...C,...k})}renderedCallback(){!this.routeParams||(!E.isCurrentRouteCanonicallyRedirected()&&!g(this.previousRouteParams,this.routeParams)&&this.dispatchEvent(new CustomEvent("viewchange",{bubbles:!0,composed:!0,detail:{route:this.route}})),this.previousRouteParams=this.routeParams)}disconnectedCallback(){this.routeChangeSubscription?.unsubscribe()}get routeParamString(){return window.btoa(encodeURIComponent(JSON.stringify(this.routeParams)))}}L.renderMode="light",e.registerDecorators(L,{wire:{viewChange:{adapter:t.CurrentView,method:1,config:function(T){return{}}}},fields:["routeChangeSubscription","route","routeParams","previousRouteParams"]});const _=e.registerComponent(L,{tmpl:h,sel:"webruntime-viewchange-notifier",apiVersion:63});r.default=_,Object.defineProperty(r,"__esModule",{value:!0})}),LWR.define("webruntime/viewchangeNotifier",["exports","webruntime/viewchangeNotifier/v/1"],function(r,e){r.default=e&&typeof e=="object"&&"default"in e?e.default:e,Object.keys(e).forEach(function(t){t==="default"||r.hasOwnProperty(t)||Object.defineProperty(r,t,{enumerable:!0,get:function(){return e[t]}})})}),LWR.define("webruntime/analyticsEvents/v/1_66_902-254_0",["exports"],function(r){"use strict";class e{constructor(){this.hasTriggered=!1,this.hasAddedListener=!1,this.trigger=()=>this._trigger()}_trigger(){if(!this.hasTriggered){const P=document.documentElement.scrollTop||document.body.scrollTop,E=document.documentElement.scrollHeight||document.body.scrollHeight;P/(E-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=e,Object.defineProperty(r,"__esModule",{value:!0})}),LWR.define("webruntime/analyticsEvents",["exports","webruntime/analyticsEvents/v/1_66_902-254_0"],function(r,e){r.default=e&&typeof e=="object"&&"default"in e?e.default:e,Object.keys(e).forEach(function(t){t==="default"||r.hasOwnProperty(t)||Object.defineProperty(r,t,{enumerable:!0,get:function(){return e[t]}})})}),LWR.define("webruntime/pageDataLayerObject/v/1",["exports","lwc/v/8_10_3","experience/dataLayerObject/v/250_25_0","webruntime/analyticsEvents/v/1_66_902-254_0"],function(r,e,t,P){"use strict";function E(s){return s&&typeof s=="object"&&"default"in s?s:{default:s}}var H=E(t);function j(s,l,g,L){const{c:_}=s;return[_("experience-data-layer-object",H.default,{props:{scriptDataAttributes:l.pageDataForDataLayer.scriptDataAttributes,customObject:l.pageDataForDataLayer.customObject},key:0})]}var O=e.registerTemplate(j);j.renderMode="light",j.stylesheets=[],j.stylesheetToken="lwc-1k5dp68c4pi",j.legacyStylesheetToken="webruntime-pageDataLayerObject_pageDataLayerObject",e.freezeTemplate(j);class c extends e.LightningElement{constructor(...l){super(...l);this.handleViewChanged=g=>this._handleViewChanged(g),this.pageDataForDataLayer={scriptDataAttributes:{providerType:"page"}},this.scrollToBottomEvent=new P.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(l){const g=l.detail?.route?.attributes?.recordId,L=l.detail?.route?.attributes?.contentTypeName,_=l.detail?.route?.attributes?.urlAlias,T=l.detail?.route?.attributes?.contentKey,C={type:l.detail?.route?.pageReference?.type,url:window.location.href,urlReferrer:this.pageDataForDataLayer?.customObject?.url||document.referrer,...g?{recordId:g}:{},...L?{contentTypeName:L}:{},..._?{urlAlias:_}:{},...T?{contentKey:T}:{}};this.pageDataForDataLayer={...this.pageDataForDataLayer,customObject:C},this.scrollToBottomEvent.addListener()}}c.renderMode="light",e.registerDecorators(c,{fields:["handleViewChanged","pageDataForDataLayer","scrollToBottomEvent"]});const h=e.registerComponent(c,{tmpl:O,sel:"webruntime-page-data-layer-object",apiVersion:63});r.default=h,Object.defineProperty(r,"__esModule",{value:!0})}),LWR.define("webruntime/pageDataLayerObject",["exports","webruntime/pageDataLayerObject/v/1"],function(r,e){r.default=e&&typeof e=="object"&&"default"in e?e.default:e,Object.keys(e).forEach(function(t){t==="default"||r.hasOwnProperty(t)||Object.defineProperty(r,t,{enumerable:!0,get:function(){return e[t]}})})}),LWR.define("lwr/serverRouter/v/0_15_9",["exports","lwr/contextProvider/v/0_15_9","lwr/metrics/v/0_15_9","lwr/navigation/v/0_15_9","lwr/navigationMixinHacks/v/0_15_9","lwr/profiler/v/0_15_9","lwr/router/v/0_15_9","lwr/routerErrors/v/0_15_9","lwr/routerUtils/v/0_15_9"],function(r,e,t,P,E,H,j,O,c){"use strict";class h{constructor(g,L,_){this.contextId=Object.freeze(()=>{}),this.router=L,this.target=_,this.handleNavHook=g.handleNavigation,this.preNavHook=g.preNavigate,this.errorNavHook=g.errorNavigate,this.initWires(g.url)}async navigate(g,L,_){if(c.hasDocument){if(this.handleNavHook&&!this.handleNavHook(g))return;const T=await this.getValidatedUrl(g,_);T&&(document.location.href=T)}}generateUrl(g,L){return this.router.generateUrl(g,L)}initWires(g){if(!g&&c.hasDocument&&(g=document.location.href),!g){this.processError(O.generateMessageObject(O.messages.NO_INIT_URL));return}g=this.getRelativeUrl(g),this.currentRoute=this.router.matchRoute(g,{})||void 0,P.registerNavigationHelm(this.contextId,{navigate:(L,_,T)=>this.navigate(L,_,T),generateUrl:(L,_)=>this.generateUrl(L,_),subscribe:()=>{throw new Error("The server router does not support the subscribe API")}}),e.provideContext(this.contextId,this.target,e.navigationContextContextualizer,P.NavigationContext),e.provideContext(this.currentRoute?.route.pageReference,this.target,e.currentPageReferenceContextualizer,P.CurrentPageReference),c.hasDocument&&this.target.addEventListener(E.CONTEXT_ID_BACKDOOR,L=>{const _=L;_.detail.callback&&_.detail.callback(this.contextId)})}getRelativeUrl(g){if(g.startsWith("http")){const L=new URL(g);return`${L.pathname}${L.search}`}return g}async getValidatedUrl(g,L){const _=this.router.matchRoute(g,{});if(!_){this.processError(O.generateMessageObject(O.messages.NO_ROUTE_MATCH,[JSON.stringify(g)]));return}if(!(this.preNavHook&&await this.preNavHook({current:this.currentRoute,next:_}))){this.processError(O.generateMessageObject(O.messages.PRENAV_FAILED,[JSON.stringify(g)]));return}return this.router.generateUrl(g,L)}processError(g){H.logOperationStart({id:t.ROUTER_ERROR}),this.errorNavHook&&this.errorNavHook(g)}}function s(l,g){new h(l,j.createRouter(l),g)}r.ServerRouter=h,r.createServerRouter=s,Object.defineProperty(r,"__esModule",{value:!0})}),LWR.define("lwr/serverRouter",["exports","lwr/serverRouter/v/0_15_9"],function(r,e){r.default=e&&typeof e=="object"&&"default"in e?e.default:e,Object.keys(e).forEach(function(t){t==="default"||r.hasOwnProperty(t)||Object.defineProperty(r,t,{enumerable:!0,get:function(){return e[t]}})})}),LWR.define("lwr/router/v/0_15_9",["exports","lwr/routerUtils/v/0_15_9","lwr/routerErrors/v/0_15_9","lwr/observable/v/0_15_9"],function(r,e,t,P){"use strict";class E{constructor(O){this.deprecatedConfig={},this.routeHandlerId=0,this.compiledRoutes=[],this.routeObservable=P.createObservable(),this.config={basePath:O.basePath||"",i18n:O.i18n||e.DEFAULT_I18N_ROUTER_CONFIG,caseSensitive:Boolean(O.caseSensitive),routes:O.routes||[],generateUrl:(s,l)=>e.getUrlFromPageReference(s,this.compiledRoutes,this.config.basePath,this.config.i18n,l),parseUrl:s=>e.getPageReferenceFromUrl(s,this.compiledRoutes,this.config.basePath,this.config.i18n)};const{DEPRECATED_getRouteFromUrl:c,DEPRECATED_getUrlFromRoute:h}=O;c&&(this.deprecatedConfig.DEPRECATED_getRouteFromUrl=c),h&&(this.deprecatedConfig.DEPRECATED_getUrlFromRoute=h),this.compiledRoutes=e.parseRoutes(this.config)}generateUrl(O,c){const{DEPRECATED_getUrlFromRoute:h}=this.deprecatedConfig;return h?h(O,this.config.generateUrl,c):this.config.generateUrl(O,c)}parseUrl(O){const{DEPRECATED_getRouteFromUrl:c}=this.deprecatedConfig;return c?c(O,this.config.parseUrl):this.config.parseUrl(O)}matchRoute(O,c){const h=typeof O=="string"?O:this.generateUrl(O,c);if(h===null)return null;const s=e.matchRouteByUrl(h,this.compiledRoutes,this.config.basePath,this.config.i18n,c),l=s&&e.getUrlFromPageReferenceAndRouteDef(s.route.pageReference,s.routeDefinition,this.config.basePath,this.config.i18n,c);return!s||!l?null:{pathMatch:l,route:s.route,routeDefinition:s.routeDefinition.original}}async resolveView(O,c){return new Promise((h,s)=>{const l=this.matchRoute(O,c);return l?l.routeDefinition.handler?.().then(g=>{const L=g.default;if(!L)return s(t.generateMessage(t.messages.INVALID_ROUTE_HANDLER,[l.routeDefinition.id]));const _=new L(h);_&&_.update(l.route)}):s(t.generateMessage(t.messages.NO_ROUTE_MATCH,[JSON.stringify(O)]))})}navigate(O,c){const h=this.matchRoute(O,c);if(!h)throw new Error(t.generateMessage(t.messages.MISSING_ROUTE,[JSON.stringify(O)]));this.pendingRoute={...h},this._mapView(this.pendingRoute)}subscribe(O,c){return this.routeObservable.subscribe({next:O,error:()=>{},complete:()=>{}},Boolean(c))}async _mapView(O){const c=Math.random();this.routeHandlerId=c;const s=(await O.routeDefinition.handler?.())?.default;if(!s)throw new Error(t.generateMessage(t.messages.INVALID_ROUTE_HANDLER,[O.routeDefinition.id]));return this.routeHandler=new s(l=>{this._updateView(c,l)}),this.routeHandler&&this.routeHandler.update(O.route),!0}_updateView(O,c){if(!c||O!==this.routeHandlerId)return;if(!this.pendingRoute)throw new Error("Trying to commit route state without a route");const h=e.freeze(c.viewset);this.routeObservable.next({...this.pendingRoute,...c,viewset:h})}}function H(j={}){return new E(j)}r.createRouter=H,Object.defineProperty(r,"__esModule",{value:!0})}),LWR.define("lwr/router",["exports","lwr/router/v/0_15_9"],function(r,e){r.default=e&&typeof e=="object"&&"default"in e?e.default:e,Object.keys(e).forEach(function(t){t==="default"||r.hasOwnProperty(t)||Object.defineProperty(r,t,{enumerable:!0,get:function(){return e[t]}})})}),LWR.define("webruntime/a11yService/v/1_66_902-254_0",["exports"],function(r){"use strict";const e="sf-aria-live",t="tabindex",{document:P}=globalThis;let E;function H(c){if(P&&c?.routeDefinition){let h=P.body.querySelector(`#${e}`);h||(h=P.createElement("span"),h.id=e,h.setAttribute("aria-live","polite"),h.setAttribute("aria-atomic","true"),h.setAttribute("aria-hidden","true"),h.setAttribute("style","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;"),P.body.appendChild(h)),h.innerText=c.routeDefinition.label}}function j(c){if(!P)return;const h=c?.routeDefinition?.label,s=c?.routeDefinition?.id,l=E!==s;h!=null&&l&&(P.title=h),E=s}function O(c){if(!P)return;const h=P.createTreeWalker(P.body,NodeFilter.SHOW_ELEMENT,{acceptNode:l=>l.matches("webruntime-router-container")?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP}),s=c?P.body:h.nextNode();s&&(s.setAttribute(t,"-1"),s.focus({preventScroll:!0}),s.removeAttribute(t))}r.ARIA_LIVE_ID=e,r.TAB_INDEX_ATTR_NAME=t,r.ariaLiveNavigate=H,r.updateFocus=O,r.updateTitle=j,Object.defineProperty(r,"__esModule",{value:!0})}),LWR.define("webruntime/a11yService",["exports","webruntime/a11yService/v/1_66_902-254_0"],function(r,e){r.default=e&&typeof e=="object"&&"default"in e?e.default:e,Object.keys(e).forEach(function(t){t==="default"||r.hasOwnProperty(t)||Object.defineProperty(r,t,{enumerable:!0,get:function(){return e[t]}})})}),LWR.define("webruntime/routingService/v/1",["exports","lwr/loaderLegacy/v/0_15_9","@communities-webruntime/common/v/1_66_902-254_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","webruntime/a11yService/v/1_66_902-254_0","webruntime/overrides/v/1","webruntime/logger/v/1_66_902-254_0","webruntime/utils/v/1_66_902-254_0","webruntime/o11y/v/1","lwr/router/v/0_15_9","lwr/serverRouter/v/0_15_9","lwr/routerErrors/v/0_15_9","lwr/navigation/v/0_15_9","webruntime/transport/v/1","@app/extraRouteParams/v/1"],function(r,e,t,P,E,H,j,O,c,h,s,l,g,L,_,T,C,k,N,U,K){"use strict";function A(f){return f&&typeof f=="object"&&"default"in f?f:{default:f}}var x=A(P),z=A(E),le=A(H),S=A(j),we=A(O),oe=A(c),je=A(h),ce=A(K);function ee(f){const M=[],B=[];f.forEach(de=>{de.uri.includes("?")?B.push(de):M.push(de)});const ne=[];return B.forEach(de=>{const ye=[],Ne=de.uri.split("/");let Ve,ft,Rt="";Ne.forEach(ze=>{ze.endsWith("?")?(Ve=ze.substring(0,ze.length-1),ye.push({value:Ve,isOptional:!0}),ft=Ve.substring(1),Rt=de.page.attributes?.[ft]?"attributes":"state"):ye.push({value:ze,isOptional:!1})});const Dt={...de,uri:ye.map(ze=>ze.value).join("/")};ne.push(Dt);const St={};Object.keys(de.page[Rt]).forEach(ze=>{ze!==ft&&(St[ze]=de.page[Rt][ze])});const Ct={...de,uri:ye.filter(ze=>!ze.isOptional).map(ze=>ze.value).join("/"),page:{...de.page,[Rt]:St}};Ct.patterns&&(Ct.patterns=Object.fromEntries(Object.entries(Ct.patterns).filter(([ze])=>ze!==ft))),ne.push(Ct)}),[...M,...ne]}function a(f){const M=[],B=[];return f.forEach(ne=>{const{type:de,attributes:ye={},state:Ne={}}=ne.page||{};if(de==="standard__objectPage")if(m(ye.actionName))M.push(ne);else{let Ve;ye.actionName==="list"?(Ve={...ne,page:{...ne.page,attributes:{...ye},state:{...Ne}}},Ve.page.attributes.actionName="home"):ye.actionName==="home"?(Ve={...ne,page:{...ne.page,attributes:{...ye},state:{...Ne}}},Ve.page.attributes.actionName="list"):ye.actionName||(ne.page.attributes.actionName="home",Ve={...ne,page:{...ne.page,attributes:{...ye},state:{...Ne}}},Ve.page.attributes.actionName="list"),M.push(ne,Ve)}else B.push(ne)}),[...M,...B]}function m(f){return f&&f.length>1?f.startsWith(":"):!1}const p={};let $=null;function G(f){const{pathname:M,search:B,hash:ne}=new URL(f,window.location.origin);return{pathname:M,search:B,hash:ne}}async function ae(f){const{pathname:M,search:B,hash:ne}=G(f);if(p[M])return p[M]+B+ne;if(Object.values(p).includes(M))return f;try{const{redirected:de,url:ye}=await U.fetch(f,{basePath:"",method:"HEAD",isNonApiRequest:!0});if(de){const Ne=G(ye).pathname;return p[M]=Ne,Ne+B+ne}}catch(de){g.logError(`Unable to fetch canonical URL for ${f}`,`error: `,de)}return null}let _e;async function Le(f,M){const{route:B,routeDefinition:ne}=M;if($=B,ne?.metadata?.hasVanityURL){const de=f.generateUrl(B.pageReference),ye=await ae(de);if(ye&&ye!==de&&$===B){const Ve={type:"standard__webPage",attributes:{url:ye}};return N.navigate(f.contextId,Ve,!0),_e=!0,!0}}return _e=!1,!1}function Oe(){return _e}let Se=!0;const Y={};function he(f){const M=f?.attributes?.urlName||f?.attributes?.urlPath;if(M){const B=f?.attributes?.objectApiName||"";return`${M}:${B}`}return null}function W(f){f.extraRouteParams&&(me(f,f.extraRouteParams),delete f.extraRouteParams)}function me(f,M){const B=he(f);!M||!B||(Y[B]=M)}function Ie(f){const M=he(f);if(M&&M in Y){const B=Y[M];return!(B&&Object.keys(B).length>0)}return!!M}function Ge(f={}){const{current:M,next:{pathMatch:B,route:{pageReference:ne}={}}}=f;return M&&Ie(ne)?(window.location.assign(B),!0):!1}function Be(f){if(Se)$e(f,ce.default),me(f.pageReference,ce.default),Se=!1;else{const M=he(f?.pageReference),B=Y[M];$e(f,B)}}function $e(f,M){qe(M)&&(qe(f?.attributes)&&(f.attributes={...f.attributes,...M}),qe(f?.pageReference?.attributes)&&(f.pageReference.attributes={...f.pageReference.attributes,...M}))}function qe(f){return f&&typeof f=="object"}const Xe="redirectPageContext";function Ke(f){return f?.state?.[Xe]||null}function it(f){return f?.includes(`?${Xe}=`)}function bt(f,M,B={}){const{current:ne,next:{route:de,url:ye}={}}=B,Ne=it(ye)?ye:Ke(de)?ht(de):null;return Ne?(ne?window.location.assign(Ne):N.navigate(f,M.page,!0),!0):!1}function ht(f){if(!f)return null;const M=Ke(f)||window.btoa(window.encodeURIComponent(JSON.stringify(f)));return`${S.default}/?${Xe}=${M}`}const dt="KnowledgeArticleVersion",vt=[{type:"standard__objectPage",params:[{name:"filterName",type:"state",value:"Default"}]},{type:"standard__search",params:[{name:"term",type:"state",value:" "}]},{type:"standard__recordPage",params:[{name:"recordName",type:"state",value:"detail"},{name:"categoryPath",type:"state",value:"detail"}],match:(f,{name:M})=>{const{attributes:B={}}=f;return B.urlName||B.urlPath?!1:B.objectApiName==="ProductCategory"?M==="categoryPath":B.objectApiName==="OrderSummary"?!1:M==="recordName"}}],mt="standard__managedContentPage";function b(f){return vt.find(M=>f.type===M.type)}function I(f,M=[]){if(f?.type===mt){let B=f.attributes?.contentTypeName;!M.find(de=>de.page.type===mt&&de.page?.attributes?.contentTypeName===B)&&["news","cms_image","cms_document"].indexOf(B)!==-1&&(B=B.startsWith("cms_")?B.substring(4):B,f.attributes.contentTypeName=`sfdc_cms__${B}`),f.attributes&&f.attributes.contentKey&&(f.attributes.urlAlias=f.attributes.contentKey,delete f.attributes.contentKey)}return f}let y;function D(f,M){f.attributes?.objectApiName===dt&&(y===void 0&&(y=M.find(ne=>ne.page.attributes?.objectApiName?.endsWith("__kav"))?.page?.attributes?.objectApiName||null),y&&(f.attributes.objectApiName=y))}function V(f){return!f.attributes?.urlName&&!f.attributes?.urlPath||(f.type==="standard__recordPage"&&(q(f),delete f.attributes.recordId,delete f.state?.recordName,delete f.state?.categoryPath),f.type==="standard__recordRelationshipPage"&&(q(f),delete f.attributes.recordId)),f}function q(f){f.attributes.recordId&&(f.extraRouteParams={recordId:f.attributes.recordId})}function X(f,M){return f.type==="standard__knowledgeArticlePage"&&(f.type="standard__recordPage",f.attributes.actionName="view",f.attributes.objectApiName=dt,delete f.attributes.articleType),D(f,M),f}function te(f,M){const{params:B,match:ne}=M;B.forEach(de=>{const{type:ye,name:Ne,value:Ve}=de;ne&&!ne(f,de)||f?.[ye]?.[Ne]||(f[ye]||(f[ye]={}),f[ye][Ne]=Ve)})}function ie(f={}){const M=b(f);M&&te(f,M)}function Q(f,M){if(f.state?.categoryPath?.includes("/")||f.attributes?.urlPath?.includes("/")){let[B,ne]=M.split("?");return B=B.replace(/%2F/g,"/"),ne=ne?`?${ne}`:"",B+ne}return M}function se(f){return Object.entries(f?.attributes||{}).filter(([,M])=>M===null).forEach(([M])=>delete f.attributes[M]),f}async function Re(f,M,B,ne){if(!f||!M||!B||!ne)return console.error(`[getRecordIdRedirect] one or more params are not defined - routeParams:${JSON.stringify(f)} appVersion:${M} communityId:${B} scope:${ne}`),null;const de=Te(f,M,B,ne);console.log(`[getRecordIdRedirect] START fetch endpoint: ${de}`);try{const ye=await U.fetch(de);if(console.log(`[getRecordIdRedirect] Returned with status: ${ye.status}`),ye.ok){const Ne=await ye.json();if(Ne&&Ne.recordIdUrl)return Ne.recordIdUrl}}catch(ye){return console.error(`[getRecordIdRedirect] Failed to fetch recordIdUrl: ${ye.message}`),null}finally{console.log(`[getRecordIdRedirect] END fetch endpoint: ${de}`)}return null}function Te(f,M,B,ne){let de;return f?.urlName?de=encodeURIComponent(f.urlName):f?.urlPath&&(de=encodeURIComponent(f.urlPath)),`/services/data/v${M}/connect/communities/${B}/seo/object-url/${ne}/${de}`}class De{constructor(M){this.callback=M}dispose(){}update(M){const B=ue.find(ne=>ne.id===M.id)?.view;this.callback({viewset:{default:()=>je.default(B)}})}}const{window:fe,performance:ke}=globalThis,xe=`${t.WEBRUNTIME_PREFIX}-framework-router`;let w=z.default==="MRT",re;r.router=void 0;let ue=[],J,Fe;function ot(f,M){ke?.mark?.(xe),ue=a(ee(t.parseRoutes(f))),ue.forEach(B=>{B.handler=()=>new Promise(ne=>{ne({default:De})})}),J=ue.find(B=>B.metadata.isDefault),M?.isMRT!=null&&(w=M.isMRT),Fe=!w&&ue.every(B=>B.metadata.isPublic!==!1),re={basePath:S.default,caseSensitive:!0,routes:ue,i18n:{locale:x.default,defaultLocale:x.default},DEPRECATED_getRouteFromUrl:pt,DEPRECATED_getUrlFromRoute:Qe},r.router=T.createRouter(re),ke?.measure?.(xe,xe)}ot(we.default);let st,et;function lt(){return et?.contextId||r.router.contextId}function pt(f,M){const B=M(f);return B?(ie(B),B):J?.page?J.page:null}function Qe(f={type:"",attributes:{},state:{}},M){const{type:B,attributes:ne={},state:de={}}=f;let ye;const Ne=JSON.parse(JSON.stringify(f));if(B==="standard__webPage")return ye=ne.url,ye==null?"":d(ye,S.default);if(B==="comm__loginPage"){const Ve=de.startUrl!=null?`?startURL=${encodeURIComponent(de.startUrl)}`:"";if(ne.actionName==="login")return d(`${t.WEBRUNTIME_LOGIN_PATH}${Ve}`,le.default);if(ne.actionName==="logout")return d(`${t.WEBRUNTIME_LOGOUT_PATH}${Ve}`,le.default)}return B==="standard__managedContentPage"&&I(Ne,ue),X(Ne,ue),V(Ne),ie(Ne),se(Ne),ye=M(Ne),B==="standard__recordPage"&&(ye=Q(Ne,ye)),!ye&&Fe&&(ye=ht(Ne)),W(Ne),ye}async function gt(f){const{route:M,routeDefinition:B}=f.next;return ct(B,M?.pageReference)}async function ct(f,M){if(f?.metadata?.isPublic!==!1)return!1;const{default:B}=await e.load("@app/user/v/1");if(B.isGuest){const ne=typeof M=="string"?M:F(M);if(ne&&fe)if(w){const{default:de}=await e.load("@app/loginPath/v/1");at(de,ne)}else fe.location.href=ne;return!0}return!1}function at(f,M){const B=new URL(f,fe.location.href);M&&B.searchParams.set("startURL",M),fe.location.assign(B.href)}function At(f,M){const B=new URL(f,fe.location.href);M&&B.searchParams.set("startURL",M),fe.location.assign(B.href)}function It(f){return bt(lt(),J,f)}function yt(f){const{current:M,next:B}=f;if(M&&B&&(M.routeDefinition.ssr!==B.routeDefinition.ssr||w)){const ne=F(B.route.pageReference);if(ne)return fe.location.assign(ne),!0}return!1}function Pe(f){const{current:M,next:{pathMatch:B,route:ne={}}}=f;if(!M)return!1;const{pageReference:{type:de,attributes:ye={}}}=ne;if(de==="standard__managedContentPage"){const{contentTypeName:Ne}=ye;if(Ne==="sfdc_cms__landingPage")return fe.location.assign(B),!0}return!1}async function n(f){i(f.detail)}async function i(f){try{if(!fe?.location)return;const{address:M,message:B,code:ne}=f;if(g.logError(`Routing error: ${B}`),ne===k.messages.PRENAV_FAILED.code)return;if(ne===k.messages.MISSING_ROUTE.code&&!J&&it(M)){fe.location.assign(M);return}if(J?.metadata?.isPublic===!1){const{default:ye}=await e.load("@app/user/v/1");if(ye.isGuest)return}const de=S.default?fe.location.pathname.replace(S.default,""):fe.location.pathname;J&&de!==J.uri&&R(J.page)}finally{st?.errorNavigate(f)}}function o(f){u(f.detail.address)||f.preventDefault()}function u(f){if(!l.NavigationOverrides.runSync(f))return!1;const{type:M,attributes:B={},state:ne={}}=f;if(M==="standard__webPage"){const{url:de}=B;if(de==null)return!0;if(L.isAbsoluteURL(de)||L.isSfdcCoreURL(de))return fe?.open(de),!1;const ye=r.router.parseUrl(de),Ne=!ye||ye===J?.page;if(Fe&&Ne)return fe?.location.assign(d(de,S.default)),!1}else if(M==="comm__loginPage"){const{actionName:de}=B;if(de==="login")return at(d(t.WEBRUNTIME_LOGIN_PATH,le.default),ne.startUrl||""),!1;if(de==="logout")return At(d(t.WEBRUNTIME_LOGOUT_PATH,le.default),ne.startUrl||""),!1}return!0}function d(f,M){return L.isAbsoluteURL(f)?f:M&&f!==M&&f.indexOf(`${M}/`)!==0?`${M}${f}`:f}function R(f){N.navigate(lt(),f)}function F(f){return et?et.generateUrl(f):r.router.generateUrl(f)}function Ce(f,M=!0){return typeof fe!="undefined"?r.router.subscribe(f,M):null}async function Ee(f,M){if(st?.preNavigate(f),l.PreNavigateOverrides.run(f),et){if(await gt(f))return!1}else gt(f);return Pe(f)||!w&&It(f)||!w&&Ge(f)||yt(f)?(M?.preventDefault(),!1):!0}let ge;async function Ae(f){const M=f.detail,B=M.current?.routeDefinition.view;B?ge=oe.default[B]:ge=null,await Ee(M,f)}async function Me(f){l.PostNavigateOverrides.run(f);const M=f.routeDefinition?.view,B=ge!==oe.default[M];try{s.ariaLiveNavigate(f),s.updateFocus(B),w||(s.updateTitle(f),await Le(r.router,f))}finally{st?.postNavigate(f)}}async function ve(f){const M=f.detail;Me(M)}function Ue(f){st=_._o11y.routingSupport,f.addEventListener("prenavigate",Ae),f.addEventListener("handlenavigation",o),f.addEventListener("postnavigate",ve),f.addEventListener("errornavigate",n)}function We(){let f,M;if(fe?.location&&(M=fe.location.href.substring(fe.location.origin.length),f=r.router.matchRoute(M)),!f&&J&&(f=r.router.matchRoute(J.uri)),f){const{route:B,routeDefinition:ne}=f;return{route:B,routeDefinition:ne,url:M}}return{}}function tt(f,M){if(!w||et&&typeof fe!="undefined")return;const B=We(),{routeDefinition:ne}=B;if(ne&&!ne.ssr)return;const de={...re,url:M,handleNavigation:u,preNavigate:Ee,errorNavigate:i};et=new C.ServerRouter(de,r.router,f),Ee({next:B}),Me(B)}function Et(f,M){const B=M?`?startURL=${encodeURIComponent(M)}`:"";return`${f}${t.WEBRUNTIME_LOGIN_PATH}${B}`}async function ut({basePath:f,params:M},B,ne,de){const ye=await Re(M,B,ne,de);return ye?{code:301,location:ye}:(console.log(`[getRecordIdOrErrorRedirect] basePath: ${f}`),{code:302,location:`${f||""}/error`})}r.generateUrl=F,r.getCurrentRoute=We,r.getLoginUrl=Et,r.getRecordIdOrErrorRedirect=ut,r.handleExtraRouteParams=Be,r.initializeRouter=ot,r.initializeRouterContainer=Ue,r.initializeServerRouter=tt,r.isCurrentRouteCanonicallyRedirected=Oe,r.navigate=R,r.subscribe=Ce,Object.defineProperty(r,"__esModule",{value:!0})}),LWR.define("webruntime/routingService",["exports","webruntime/routingService/v/1"],function(r,e){r.default=e&&typeof e=="object"&&"default"in e?e.default:e,Object.keys(e).forEach(function(t){t==="default"||r.hasOwnProperty(t)||Object.defineProperty(r,t,{enumerable:!0,get:function(){return e[t]}})})}),LWR.define("webruntime/overrides/v/1",["exports"],function(r){"use strict";class e{constructor(){this.overrides=[]}add(c){this.overrides.push(c)}run(...c){return this.overrides.length===0?Promise.resolve(!0):this.overrides.reduce((h,s)=>h.then(l=>l===!1?Promise.resolve(!1):Promise.resolve(s(...c))),Promise.resolve(!0)).then(h=>Promise.resolve(h))}runSync(...c){return this.overrides.length===0?!0:this.overrides.reduce((h,s)=>h===!0?s(...c):!1,!0)}}const t=new e,P=new e,E=new e,H=new e,j=new e;r.NavigationOverrides=E,r.Overrides=e,r.PageNavigationFailureOverrides=j,r.PostNavigateOverrides=P,r.PreNavigateOverrides=t,r.SessionTimeoutOverrides=H,Object.defineProperty(r,"__esModule",{value:!0})}),LWR.define("webruntime/overrides",["exports","webruntime/overrides/v/1"],function(r,e){r.default=e&&typeof e=="object"&&"default"in e?e.default:e,Object.keys(e).forEach(function(t){t==="default"||r.hasOwnProperty(t)||Object.defineProperty(r,t,{enumerable:!0,get:function(){return e[t]}})})}),LWR.define("webruntime/views/v/1",["exports","lwr/loaderLegacy/v/0_15_9","@communities-webruntime/common/v/1_66_902-254_0"],function(r,e,t){"use strict";function P(E){return e.load(t.getViewModuleSpecifier(E),"webruntime/views/v/1")}r.default=P,Object.defineProperty(r,"__esModule",{value:!0})}),LWR.define("webruntime/views",["exports","webruntime/views/v/1"],function(r,e){r.default=e&&typeof e=="object"&&"default"in e?e.default:e,Object.keys(e).forEach(function(t){t==="default"||r.hasOwnProperty(t)||Object.defineProperty(r,t,{enumerable:!0,get:function(){return e[t]}})})}),LWR.define("webruntime/formFactor/v/1",["exports"],function(r){"use strict";function e(){return typeof window!="undefined"&&window.matchMedia("only screen and (min-width: 48em) and (max-width: 64em)").matches}function t(){return typeof window!="undefined"&&window.matchMedia("only screen and (max-width: 47.9375em)").matches}function P(){return e()?"Medium":t()?"Small":"Large"}const E=P();r.default=E,r.getFormFactor=P,Object.defineProperty(r,"__esModule",{value:!0})}),LWR.define("webruntime/formFactor",["exports","webruntime/formFactor/v/1"],function(r,e){r.default=e&&typeof e=="object"&&"default"in e?e.default:e,Object.keys(e).forEach(function(t){t==="default"||r.hasOwnProperty(t)||Object.defineProperty(r,t,{enumerable:!0,get:function(){return e[t]}})})}),LWR.define("wire-service/v/1",["exports"],function(r){"use strict";function e(x){return x===void 0}const t="ValueChangedEvent";class P{constructor(z){this.type=t,this.value=z}}const{freeze:E,defineProperty:H,isExtensible:j}=Object,O="$$DeprecatedWiredElementHostKey$$",c="$$DeprecatedWiredParamsMetaKey$$";function h(x,z){if(x==null||!j(x))throw new TypeError("adapter id must be extensible");if(typeof z!="function")throw new TypeError("adapter factory must be a callable");if("adapter"in x)throw new TypeError("adapter id is already associated to an adapter factory");const le=class extends A{constructor(S){super(S);z(this.eventTarget)}};E(le),E(le.prototype),H(x,"adapter",{writable:!1,configurable:!1,value:le})}function s(){}const{forEach:l,splice:g,indexOf:L}=Array.prototype,_="connect",T="disconnect",C="config";function k(x,z){const le=L.call(x,z);le>-1&&g.call(x,le,1)}function N(x){return Object.keys(x).length===0}function U(x,z){return z.length===0||z.some(le=>!e(x[le]))}function K(x,z,le){return le.some(S=>x[S]!==z[S])}class A{constructor(z){this.connecting=[],this.disconnecting=[],this.configuring=[],this.isFirstUpdate=!0,this.callback=z,this.wiredElementHost=z[O],this.dynamicParamsNames=z[c],this.eventTarget={addEventListener:(le,S)=>{switch(le){case _:{this.connecting.push(S);break}case T:{this.disconnecting.push(S);break}case C:{this.configuring.push(S),this.currentConfig!==void 0&&S.call(void 0,this.currentConfig);break}default:throw new Error(`Invalid event type ${le}.`)}},removeEventListener:(le,S)=>{switch(le){case _:{k(this.connecting,S);break}case T:{k(this.disconnecting,S);break}case C:{k(this.configuring,S);break}default:throw new Error(`Invalid event type ${le}.`)}},dispatchEvent:le=>{if(le instanceof P){const S=le.value;this.callback(S)}else{if(le.type==="wirecontextevent")return this.wiredElementHost.dispatchEvent(le);throw new Error(`Invalid event type ${le.type}.`)}return!1}}}update(z){this.isFirstUpdate&&(this.isFirstUpdate=!1,!N(z)&&!U(z,this.dynamicParamsNames))||(e(this.currentConfig)||K(z,this.currentConfig,this.dynamicParamsNames))&&(this.currentConfig=z,l.call(this.configuring,le=>{le.call(void 0,z)}))}connect(){l.call(this.connecting,z=>z.call(void 0))}disconnect(){l.call(this.disconnecting,z=>z.call(void 0))}}r.ValueChangedEvent=P,r.register=h,r.registerWireService=s,Object.defineProperty(r,"__esModule",{value:!0})}),LWR.define("wire-service",["exports","wire-service/v/1"],function(r,e){r.default=e&&typeof e=="object"&&"default"in e?e.default:e,Object.keys(e).forEach(function(t){t==="default"||r.hasOwnProperty(t)||Object.defineProperty(r,t,{enumerable:!0,get:function(){return e[t]}})})}),LWR.define("@salesforce/client/formFactor/v/1",["exports"],function(r){"use strict";function e(){return typeof window!="undefined"&&window.matchMedia("only screen and (min-width: 48em) and (max-width: 64em)").matches}function t(){return typeof window!="undefined"&&window.matchMedia("only screen and (max-width: 47.9375em)").matches}function P(){return e()?"Medium":t()?"Small":"Large"}const E=P();r.default=E,r.getFormFactor=P,Object.defineProperty(r,"__esModule",{value:!0})}),LWR.define("@salesforce/client/formFactor",["exports","@salesforce/client/formFactor/v/1"],function(r,e){r.default=e&&typeof e=="object"&&"default"in e?e.default:e,Object.keys(e).forEach(function(t){t==="default"||r.hasOwnProperty(t)||Object.defineProperty(r,t,{enumerable:!0,get:function(){return e[t]}})})}),LWR.define("@communities-webruntime/common/v/1_66_902-254_0",["exports"],function(r){"use strict";var e=!0,t="src/labels",P=["lwr","assert","logger","webruntime","webruntime/*","mobileruntime/hybridAppManager","@view","@view/*","@app","@app/*","@design","@design/*","@lwrjs","webruntimedesign","webruntimedesign/*","@luvio","@luvio/*","aura-instrumentation","aura","instrumentation/service","instrumentation/utility","aura-storage","transport","wire-service","force/ldsAdaptersAnalyticsDataService","force/ldsAdaptersAnalyticsSmartDataDiscovery","force/ldsAdaptersAnalyticsWave","force/ldsAdaptersAnalyticsWavePrivate","force/ldsAdaptersApex","force/ldsAdaptersCmsAuthoring","force/ldsAdaptersCmsDelivery","force/ldsAdaptersCmsType","force/ldsAdaptersCommerceCatalog","force/ldsAdaptersCommerceSearch","force/ldsAdaptersCommerceStorePricing","force/ldsAdaptersCommunityMicrobatching","force/ldsAdaptersCommunityNavigationMenu","force/ldsAdaptersCommunitySeo","force/ldsAdaptersCommunitySitesSearch","force/ldsAdaptersExperienceMarketingIntegration","force/ldsAdaptersGraphql","force/ldsAdaptersIndustriesCib","force/ldsAdaptersIndustriesClm","force/ldsAdaptersIndustriesDecisionMatrixDesigner","force/ldsAdaptersIndustriesEinsteinAiaccelerator","force/ldsAdaptersIndustriesExplainability","force/ldsAdaptersIndustriesHealthcloudHpi","force/ldsAdaptersIndustriesIdentityverification","force/ldsAdaptersIndustriesInteresttagging","force/ldsAdaptersIndustriesLoyaltyEngine","force/ldsAdaptersIndustriesPublicSector","force/ldsAdaptersIndustriesRcgTenantmanagement","force/ldsAdaptersIndustriesRuleBuilder","force/ldsAdaptersIndustriesSustainabilityBei","force/ldsAdaptersIndustriesSustainabilityDgf","force/ldsAdaptersIndustriesSustainabilityRecalculate","force/ldsAdaptersIndustriesSustainabilityRecordLockunlock","force/ldsAdaptersIndustriesSustainabilityReferenceData","force/ldsAdaptersIndustriesTimeline","force/ldsAdaptersIndustriesVideovisits","force/ldsAdaptersMarketingAssetcreation","force/ldsAdaptersPlatformAdminSuccessGuidance","force/ldsAdaptersPlatformFlow","force/ldsAdaptersPlatformFlowBuilder","force/ldsAdaptersPlatformInteractionOrchestrator","force/ldsAdaptersPlatformLearningContent","force/ldsAdaptersPlatformScaleCenter","force/ldsAdaptersRevenueBillingBatch","force/ldsAdaptersUiapi","force/ldsBindings","force/ldsEngine","force/luvioEngine","force/ldsEngineCreator","force/ldsEngineWebruntime","force/ldsEnvironmentSettings","force/ldsInstrumentation","force/ldsNetwork","force/ldsRecordData","force/ldsStorage","force/lightningOutContainer","force/mobileCapabilities","force/ldsAdaptersAnalyticsTableauEmbedding","runtime_hybrid_capabilities/nativeCapabilities","o11y","o11y/*","@o11y","@o11y/*","@salesforce","@udd","@perm","@branding","@salesforce/*","@udd/*","@perm/*","@branding/*","trustedDesign/shadowDomUtils","community_builder/seoAssistant","community_case/supportQuickActionLayout","community_runtime/utils","community_user/userSettings","embeddedMessaging/container","experience_messaging/embeddedMessaging","community_login/checkEmail","community_login/forgotPassword","community_login/loginForm","community_login/loginUtils","community_login/selfRegister","community_login/socialLogin","b2c_lite_commerce/cartApi","b2c_lite_commerce/checkout","b2c_lite_commerce/checkoutApi","b2c_lite_commerce/checkoutApiDataSource","b2c_lite_commerce/checkoutRequestRetry","b2c_lite_commerce/context","b2c_lite_commerce/data","b2c_lite_commerce/einsteinActivitiesApi","b2c_lite_commerce/einsteinApi","b2c_lite_commerce/einsteinProductAndPriceApi","b2c_lite_commerce/heroBannerUi","b2c_lite_commerce/myAccountMenu","b2c_lite_commerce/orderSummary","b2c_lite_commerce/store","lightning","lightning/*","interop/button","interop/buttonIcon","dxp_page_layout/placeHolderDesign","community_builder/richTextEditor","dxp_form/baseForm","dxp_form/contactForm","dxp_form/dynamicForm","dxp_form/layoutUtils","dxp_form/leadForm","dxp_base/languageSelector","dxp_search/siteResults","dxp_flowruntime","dxp_flowruntime/*","dxp_action/umaFormSubmissionAction","dxp_crm_search/miawSelfServiceManager","flowruntime","flowruntime/*","experience/store","experience/data","experience/util","experience/cmsDeliveryApi","experience/luvioRuntime","experience/personalizationApi","experience/personalizationApiInternal","experience/seoPropertiesApi","experience/seoPropertiesApiInternal","experience/userApi","experience/userApiInternal","wave","wave/*","tableau/tableauViz","tableau/tableauPulse"],E="webruntime";function H(Y){return`/${E}${Y}`}var j=H("/api"),O=H("/log/metrics"),c=H("/log/errors"),h={APEX_ACTION_ERROR:"APEX_ACTION_ERROR",FAILED_TO_LOAD_RESOURCE:"FAILED_TO_LOAD_RESOURCE",TOO_MANY_REQUESTS:"TOO_MANY_REQUESTS",UNKNOWN_ERROR:"UNKNOWN_ERROR"},s={PUBLISHER:"CommunityHybridContainer/",PLAYGROUND:"playgroundcommunity"},l=8e3,g="/webruntime/login",L="/webruntime/logout",_="@design";function T(Y){return`${_}/${Y}`}function C(Y){return Y.replace(/(?!^)([A-Z])/g,"-$1").toLowerCase()}var k=new RegExp(/^[a-z-A-Z_\d]+[/:]{1}[a-zA-Z_\d]+$/),N=new RegExp(/^([a-z][a-z\d]*)(-[a-z\d]+)*$/);function U(Y,he){if(!Y)throw new Error(he)}function K(Y){if(N.test(Y))return Y;U(k.test(Y),`${Y} is an invalid module specifier.`);const he=Y.split(/[/:]/),[W,me]=he;return U(!W.includes("-"),`${Y}'s namespace cannot contain hyphens.`),[W.toLowerCase(),C(me)].join("-")}var A="webruntime",x="js",z="latest",le={FRAMEWORK:"framework",DESIGN:"design",COMPONENT:"component",VIEW:"view",DESIGNCOMPONENT:"designcomponent"};function S(Y,he){if(!Y)throw new Error(he)}function we(Y){const[he,W=""]=Y.split("://"),[me,Ie]=W.indexOf("@")>0?W.split("@"):[W];return{type:he,name:me,locale:Ie}}function oe(Y={type:"",name:""},he,W,me=!0){const{name:Ie}=typeof Y=="string"?we(Y):Y;S(Ie,"Name not specified");const Ge=je(Y,he,W),Be=me?`.${x}`:"";return`${Ge}${Ie}${Be}`}function je(Y={type:"",name:""},he,W){const{type:me,locale:Ie}=typeof Y=="string"?we(Y):Y,Ge=me===le.COMPONENT;return S(me,"Type not specified"),S(he,"Mode not specified"),S(Ie||!Ge,"Component locale not specified"),`/${A}/${me}/${W||z}/${he}${Ie?`/${Ie}`:""}/`}var ce="@view";function ee(Y){return`${ce}/${Y}`}var a=["hasVanityURL","isDefault","isPublic","isRoot"],m=[{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:Y},{name:he})=>Y?.objectApiName==="ProductCategory"?he==="categoryPath":he!=="categoryPath"}];function p(Y,he){const{match:W,params:me}=he;me.forEach(Ie=>{if(W&&!W(Y.page,Ie))return;const{type:Ge,name:Be}=Ie,$e=Ge,qe=$e==="state"?"attributes":"state";!Y.page?.[qe]?.[Be]||(Y.page[$e]||(Y.page[$e]={}),Y.page[$e][Be]=Y.page[qe][Be],delete Y.page[qe][Be])})}function $(Y){let he=Y;return["categoryPath","urlPath"].forEach(W=>{he=he.replace(new RegExp(`:${W}\\+?`),`:${W}+`)}),he}function G(Y){return Y.startsWith(":")?Y.substring(1).replace(/[?+]/g,""):null}var ae=/\(.*\)/;function _e(Y){return Y.split("/").map(he=>he.replace(ae,"")).join("/")}function Le(Y,he){return Y.split("/").map(W=>{const me=G(W);return me&&he[me]?W.replace(me,`${me}(${he[me]})`):W}).join("/")}function Oe(Y){!Y.uri.includes(":")||!Y.page?.type||(Y.page.attributes=Y.page.attributes||{},Y.uri.split("/").forEach(he=>{const W=G(he);if(W){const me=`:${W}`;Y.page.attributes[W]||(Y.page.attributes[W]=me)}}))}function Se(Y,he=!1){return Y.map(W=>{W.uri||(W.uri=W.path),W.metadata||(W.metadata={}),a.forEach($e=>{$e in W&&(W.metadata[$e]=W[$e],delete W[$e])}),W.uri&&(W.uri=_e(W.uri),Oe(W)),W.patternMap&&(W.patterns=W.patternMap,delete W.patternMap);const me=W.page?.attributes?.objectApiName;me&&!me.startsWith(":")&&(W.uri=W.uri.replace(":objectApiName",me),W.patterns?.objectApiName&&delete W.patterns.objectApiName);const Ie=m.find($e=>W.page?.type===$e.type);Ie&&p(W,Ie);const Ge=W.page?.type;return!he&&Ge==="standard__recordPage"&&["ProductCategory","NetworkDataCategory"].includes(W.page.attributes?.objectApiName)&&(W.uri=$(W.uri)),["standard__recordPage","standard__recordRelationshipPage"].includes(Ge)&&!W.page?.attributes?.actionName&&(W.page.attributes.actionName="view"),he&&W.patterns&&(W.uri=Le(W.uri,W.patterns)),W})}r.API_PATH_PREFIX=j,r.CLIENT_ERROR_TYPES=h,r.ERRORS_PATH_PREFIX=c,r.LABELS_DEFAULT_DIR=t,r.LOCKER_DEFAULT_ENABLED=e,r.MAX_URL_LENGTH=l,r.METRICS_PATH_PREFIX=O,r.MOBILE_APP_USER_AGENTS=s,r.RESOURCE_TYPES=le,r.TRUSTED_COMPONENTS=P,r.WEBRUNTIME_LOGIN_PATH=g,r.WEBRUNTIME_LOGOUT_PATH=L,r.WEBRUNTIME_PREFIX=E,r.convertToKebabCase=C,r.getDesignComponentModuleSpecifier=T,r.getResourceUrl=oe,r.getViewModuleSpecifier=ee,r.moduleSpecifierToElementName=K,r.parseResourceDescriptor=we,r.parseRoutes=Se,Object.defineProperty(r,"__esModule",{value:!0})}),LWR.define("@communities-webruntime/common",["exports","@communities-webruntime/common/v/1_66_902-254_0"],function(r,e){r.default=e&&typeof e=="object"&&"default"in e?e.default:e,Object.keys(e).forEach(function(t){t==="default"||r.hasOwnProperty(t)||Object.defineProperty(r,t,{enumerable:!0,get:function(){return e[t]}})})}),LWR.define("networkAdapterFetch/v/1",["exports","webruntime/networkAdapterFetch/v/1"],function(r,e){"use strict";Object.keys(e).forEach(function(t){t!=="default"&&!r.hasOwnProperty(t)&&Object.defineProperty(r,t,{enumerable:!0,get:function(){return e[t]}})}),Object.defineProperty(r,"__esModule",{value:!0})}),LWR.define("networkAdapterFetch",["exports","networkAdapterFetch/v/1"],function(r,e){r.default=e&&typeof e=="object"&&"default"in e?e.default:e,Object.keys(e).forEach(function(t){t==="default"||r.hasOwnProperty(t)||Object.defineProperty(r,t,{enumerable:!0,get:function(){return e[t]}})})}),LWR.define("webruntime/networkAdapterFetch/v/1",["exports","webruntime/transport/v/1","webruntime/logger/v/1_66_902-254_0","webruntime/apiCall/v/1_66_902-254_0","webruntime/overrides/v/1"],function(r,e,t,P,E){"use strict";const H=/^\/lwr\/apex\/v\d{2,}\.0/,j="execute",O="X-SFDC-Allow-Continuation";async function c(C){const{baseUri:k,basePath:N,body:U,queryParams:K,method:A,headers:x,urlParams:z}=C,le=L(K),S=`${k}${N}${le}`,we=H.test(k);let oe,je,ce,ee;if(we){const[ae,_e]=T(z.apexClass);je={namespace:ae,classname:_e,method:z.apexMethod,isContinuation:x[O]==="true",params:A.toLowerCase()==="post"?U:K.methodParams,cacheable:A.toLowerCase()!=="post"}}else if(A==="post"&&l(U)){const ae=new FormData,_e=[];for(const{name:Le,value:Oe}of U.namedEntries)if(typeof Oe=="string"||Oe instanceof File)ae.append(Le,Oe);else{if(g(Oe))throw Error("Webruntime networkAdapterFetch does not support FileReference's");_e.push(Oe.arrayBuffer().then(Se=>{ae.append(Le,new File([new Uint8Array(Se)],Oe.name,{type:Oe.type}))}).catch(Se=>{t.logError(`Error processing file "${Oe.name}":`,Se)}))}await Promise.all(_e),oe=ae}else U===null?oe=null:(oe=JSON.stringify(U),x["Content-Type"]="application/json");if(we){const{url:ae,httpRequestOptions:_e}=P.formatApexRequest(j,je),Le=await h(ae,_e);ce=Le.response,ee=Le.parsedResponse}else ce=await e.fetch(S,{method:A.toUpperCase(),headers:_(x),body:oe});const{status:a,ok:m,statusText:p}=ce,$={};if(ce.headers.forEach((ae,_e)=>{$[_e]=ae}),we)return $["Cache-Control"]=ee?.cacheable===!0?"private":"no-cache",{body:ee?.returnValue??null,status:a,statusText:p,ok:m,headers:$};let G=null;if(a!==204){const ae=$["content-type"];G=ae&&ae.startsWith("application/json")?await ce.json():await ce.text()}return{body:G,status:a,statusText:p,ok:m,headers:$}}async function h(C,k){let N,U;try{N=await e.fetch(C,k),N.status===401&&E.SessionTimeoutOverrides.runSync(),N.status!==204&&(U=await N.json())}catch(K){throw s(new Error("Failed to get error from response"))}if(U&&U.error){const K=U.error;throw K.length>0?s(K[0]):s(new Error("Error fetching component"))}return{response:N,parsedResponse:U}}function s(C){return{body:C,status:500,statusText:"Server Error",ok:!1,headers:{}}}function l(C){return typeof C=="object"&&C!==null&&"namedEntries"in C&&Array.isArray(C.namedEntries)}function g(C){return typeof C=="object"&&C!==null&&"isFileReference"in C&&C.isFileReference===!0}function L(C){const k=Object.entries(C).filter(([,N])=>N!=null&&(!Array.isArray(N)||N.length)).map(([N,U])=>`${encodeURIComponent(N)}=${encodeURIComponent(U)}`);return k.length>0?`?${k.join("&")}`:""}function _(C){const k=new Headers;for(const N of Object.keys(C))k.set(N,C[N]);return k}function T(C){const k=C.split("__");return k.length>1?[k[0],k[1]]:["",k[0]]}r.networkAdapterFetch=c,Object.defineProperty(r,"__esModule",{value:!0})}),LWR.define("webruntime/networkAdapterFetch",["exports","webruntime/networkAdapterFetch/v/1"],function(r,e){r.default=e&&typeof e=="object"&&"default"in e?e.default:e,Object.keys(e).forEach(function(t){t==="default"||r.hasOwnProperty(t)||Object.defineProperty(r,t,{enumerable:!0,get:function(){return e[t]}})})});