LWR.define("logger/v/1",["exports"],function(r){"use strict";function e(..._){console.log(..._)}function t(..._){console.error(..._)}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("@salesforce/loader/v/1",["exports","lwr/loaderLegacy/v/0_13_10"],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("lwr/domRouterUtils/v/0_13_10",["exports","lwr/routerUtils/v/0_13_10"],function(r,e){"use strict";function t(j=""){if(j=j||"",j.indexOf("://")<0){const s=window.location.port?`:${window.location.port}`:"",f=`${window.location.protocol}//${window.location.hostname}${s}`,g=j.charAt(0)==="/"?"":"/";j=f+g+j}const w={},u=document.createElement("a");u.href=j;const m=u.search.substring(1);return m&&m.split("&").forEach(s=>{const[f,g=""]=s.split("=");w[e.decode(f)]=e.decode(g)}),{href:u.href,origin:`${u.protocol}//${u.hostname}${u.port?`:${u.port}`:""}`,pathname:u.pathname.replace(/(\/)?/,"/"),searchParams:w}}function _(j){const w=t(j),u=w.href.replace(/:\d+/,""),m=w.origin.replace(/:\d+/,"");return u.replace(m,"")}function R(j,w){const u=w||{};window.history.pushState(u,"",j)}function G(j,w){const u=w||{};window.history.replaceState(u,"",j)}r.getRelativeUrl=_,r.replace=G,r.set=R,Object.defineProperty(r,"__esModule",{value:!0})}),LWR.define("lwr/domRouterUtils",["exports","lwr/domRouterUtils/v/0_13_10"],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_13_10",["exports"],function(r){"use strict";const e="lwr.bootstrap.",t=`${e}end`,_=`${e}error`,R=`${_}.count`,G=`${e}duration`,j="lwr.bootstrap.init",w=`${j}.duration`,u="lwr.bootstrap.init.module",m=`${u}.duration`,s=`${u}.count`,f="lwr.loader.",g=`${f}module.define`,k=`${g}.count`,P=`${f}module.dynamicLoad`,O=`${P}.count`,N=`${f}module.fetch`,D=`${N}.count`,M=`${N}.duration`,$=`${f}module.error`,K=`${$}.count`,A=`${f}mappings.fetch`,x=`${A}.count`,q=`${A}.duration`,ae=`${f}mappings.error`,L=`${ae}.count`,Ce="lwr.router.",oe=`${Ce}navigate`,ke=`${oe}.count`,je=`${oe}.duration`,Ae=`${Ce}view`,a=`${Ae}.duration`,d=`${Ce}error`,h=`${d}.count`;r.BOOTSTRAP_DURATION=G,r.BOOTSTRAP_END=t,r.BOOTSTRAP_ERROR=_,r.BOOTSTRAP_ERROR_COUNT=R,r.BOOTSTRAP_PREFIX=e,r.INIT=j,r.INIT_DURATION=w,r.INIT_MODULE=u,r.INIT_MODULE_COUNT=s,r.INIT_MODULE_DURATION=m,r.LOADER_PREFIX=f,r.MAPPINGS_ERROR=ae,r.MAPPINGS_ERROR_COUNT=L,r.MAPPINGS_FETCH=A,r.MAPPINGS_FETCH_COUNT=x,r.MAPPINGS_FETCH_DURATION=q,r.MODULE_DEFINE=g,r.MODULE_DEFINE_COUNT=k,r.MODULE_DYNAMIC_LOAD=P,r.MODULE_DYNAMIC_LOAD_COUNT=O,r.MODULE_ERROR=$,r.MODULE_ERROR_COUNT=K,r.MODULE_FETCH=N,r.MODULE_FETCH_COUNT=D,r.MODULE_FETCH_DURATION=M,r.ROUTER_ERROR=d,r.ROUTER_ERROR_COUNT=h,r.ROUTER_NAV=oe,r.ROUTER_NAV_COUNT=ke,r.ROUTER_NAV_DURATION=je,r.ROUTER_PREFIX=Ce,r.ROUTER_VIEW=Ae,r.ROUTER_VIEW_DURATION=a,Object.defineProperty(r,"__esModule",{value:!0})}),LWR.define("lwr/metrics",["exports","lwr/metrics/v/0_13_10"],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_13_10",["exports"],function(r){"use strict";function e(){let t,_,R=[];const G=f=>{R.push(f)},j=f=>{R=[...R.slice(0,f),...R.slice(f+1)]},w=f=>{R.filter(g=>g!==null).forEach(g=>g.next&&g.next(f)),t=f,_=void 0},u=f=>{R.filter(g=>g!==null).forEach(g=>g.error&&g.error(f)),t=void 0,_=f};return{next:w,error:u,complete:()=>{R.filter(f=>f!==null).forEach(f=>f.complete&&f.complete()),R=[],t=void 0,_=void 0},subscribe:(f,g=!0)=>{G(f),t&&g&&f.next(t),_&&u(_);const k=R.length-1;return{unsubscribe:()=>j(k)}}}}r.createObservable=e,Object.defineProperty(r,"__esModule",{value:!0})}),LWR.define("lwr/observable",["exports","lwr/observable/v/0_13_10"],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_13_10",["exports","lwc/v/7_1_5","lwr/routerUtils/v/0_13_10","lwr/navigation/v/0_13_10"],function(r,e,t,_){"use strict";const R=e.createContextProvider(_.CurrentPageReference),G=t.hasDocument?e.createContextProvider(_.CurrentView):void 0,j=e.createContextProvider(_.NavigationContext);function w(u,m,s,f){s&&f&&(f.setContext(m,u),s(m,{consumerConnectedCallback:f.subscribeContext.bind(f,m),consumerDisconnectedCallback:f.unsubscribeContext.bind(f,m)}))}r.currentPageReferenceContextualizer=R,r.currentViewContextualizer=G,r.navigationContextContextualizer=j,r.provideContext=w,Object.defineProperty(r,"__esModule",{value:!0})}),LWR.define("lwr/contextProvider",["exports","lwr/contextProvider/v/0_13_10"],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_13_10",["exports","lwr/routerErrors/v/0_13_10"],function(r,e){"use strict";function t(){const b=[],E=()=>b.length===0,y=B=>{typeof B=="function"&&b.push(B)};return{add:(B=[])=>{Array.isArray(B)?B.forEach(z=>y(z)):y(B)},compile:B=>b.length===0?Promise.resolve(!0):b.reduce((z,Z)=>z.then(te=>te===!1?Promise.reject():Promise.resolve(Z(B))),Promise.resolve(!0)).then(z=>z!==!1).catch(z=>{if(z instanceof Error)throw z;return!1}),empty:E}}function _(b=""){return b=b||"",encodeURIComponent(b)}function R(b=""){return b=b||"",decodeURIComponent(b)}function G(b){b=b||"/",b.charAt(0)!=="/"&&(b="/"+b);const E=b.match(/^[^#?]+/);if(E!==null){const y=E[0];return y==="/"?"/":y.replace(/\/$/,"")}return"/"}function j(b){b=b||"";const E=b.indexOf("#");E>=0&&(b=b.substring(0,E));const y=b.indexOf("?"),S=y>=0?b.substr(y+1):null,H={};return S&&S.split("&").forEach(B=>{if(B.indexOf("=")>=0){const[z,Z=""]=B.split("=");H[R(z)]=R(Z)}else H[R(B)]=null}),H}function w(b={}){const E=Object.keys(b);return E.length?`?${E.map(y=>{const S=b[y];return S===null?y:`${y}=${_(S)}`}).join("&")}`:""}function u(b){return b&&b.length>1?b.startsWith(":"):!1}function m(b){return b&&u(b)?b.substr(1):!1}function s(b){return Object.values(b).reduce((E,{routeParamName:y})=>{const S=m(y);return S&&E.push(S),E},[])}function f(b,E){if(!b)return null;const{type:y,attributes:S={},state:H={}}=b;if(y){const[B]=E.filter(z=>{const{original:{page:{type:Z=null,attributes:te={},state:Q={}}={}}}=z,X=Z===y,ge=Object.keys(te).every(Ee=>Object.keys(S).indexOf(Ee)>=0),_e=Object.keys(te).length===Object.keys(S).length,Oe=Object.keys(Q).every(Ee=>Object.keys(H).indexOf(Ee)>=0),be=Object.keys(te).filter(Ee=>{const C=te[Ee];return!C||!u(C)}).every(Ee=>te[Ee]===S[Ee]),Te=Object.keys(Q).filter(Ee=>{const C=Q[Ee];return C===null||!u(C)}).every(Ee=>Q[Ee]===H[Ee]);return X&&ge&&_e&&be&&Oe&&Te});return B||null}return null}function g(b,E){const{regex:y,params:S}=E,H=y.exec(b);if(H){const[,...B]=H,z={};return S.forEach((Z,te)=>{const{name:Q}=Z,X=B[te];z[Q]=X&&R(X)}),z}return null}function k(b,E){if(b&&E){const{queryMatcher:y}=E,S=y(b);if(S){const H={};return Object.keys(S).forEach(B=>{const z=S[B],{value:Z,routeParamName:te}=z,Q=te?te.substr(1):B;H[Q]=Z&&R(Z)}),H}}return null}function P(b,E){const{compiledQuery:y}=E,S=Object.keys(y).filter(B=>{const{literalValue:z}=y[B];return!z}),H={};return Object.keys(b).forEach(B=>{const z=b[B];S.indexOf(B)<0&&(H[B]=z)}),H}function O(b,E){if(E){const{original:{page:{type:y="",attributes:S={},state:H={}}={}}={}}=E,B=G(b),z=j(b),Z=g(B,E),te=k(z,E);if(Z&&te){const Q={...Z,...te},X={};Object.keys(S).forEach(Oe=>{const be=S[Oe];let Te;if(be&&u(be)){const Ee=be.substr(1);Te=Q[Ee]}else Te=be;X[Oe]=Te});const ge={};Object.keys(H).forEach(Oe=>{const be=H[Oe];let Te;if(be&&u(be)){const Ee=be.substr(1);Te=Q[Ee]}else Te=be;ge[Oe]=Te});const _e=P(z,E);return{type:y,attributes:{...X},state:{..._e,...ge}}}}return null}const N={locale:"en-US",defaultLocale:"en-US"};function D(b,E,y){const{original:{patterns:S=null}={}}=y||{};if(S){const H=g(b,y),B=k(E,y),z={...H,...B};return Object.keys(S).every(Z=>{const te=S[Z],Q=new RegExp(te),X=z[Z]||"";return Q.test(X)})}return!0}function M(b,E){const y=G(b),S=j(b),H=E?E.filter(z=>z.regex.test(y)):[],[B]=H.filter(z=>{const{queryMatcher:Z}=z;return Z(S)&&D(y,S,z)});return B||null}function $(b,E,y="",S=N,H){if(y&&b?.indexOf(y)===0&&(b=b.replace(y,"")),H?.locale||S?.locale){const Z=`/${H?.locale||S.locale}`;b?.indexOf(Z)===0&&(b=b.replace(Z,""))}const B=M(b,E);let z;if(B){const Z=O(b,B);if(Z)return z={route:{id:B.original.id,attributes:{...Z.attributes},state:{...Z.state},pageReference:{type:Z.type,attributes:{...Z.attributes},state:{...Z.state}}},routeDefinition:B},z}else return null;return null}function K(b,E,y="",S=N,H){const B=f(b,E);return B?x(b,B,y,S,H):null}function A(b,E,y){const{attributeBindings:S,stateBindings:H}=y,{attributes:B,state:z}=E,Z={};return b.forEach(te=>{const[Q]=Object.keys(S).filter(X=>m(S[X])===te);if(Q)Z[te]=B[Q];else{const[X]=Object.keys(H).filter(ge=>m(H[ge])===te);X&&(Z[te]=z[X])}}),Z}function x(b,E,y="",S=N,H){const{params:B,original:{page:z={}}={},toPath:Z,compiledQuery:te}=E,{attributes:Q={},state:X={}}=z,ge=B.filter(({name:re})=>typeof re=="string").map(({name:re})=>re),_e=A(ge,b,{attributeBindings:Q,stateBindings:X}),Oe=Z(_e),be=s(te),Te=A(be,b,{attributeBindings:Q,stateBindings:X}),Ee=q(b,Te,E),C=w(Ee),ee=H?.locale||S&&S.locale,se=ee!==S.defaultLocale?`/${ee}`:"";return`${y}${se}${Oe}${C}`}function q(b,E,y){const{compiledQuery:S,original:{page:{state:H={}}}}=y,{state:B={}}=b||{},z={};Object.keys(B).filter(te=>{const Q=H[te];return!u(Q)}).forEach(te=>z[te]=B[te]);const Z={};return Object.keys(E).forEach(te=>{const Q=E[te],[X]=Object.keys(S).filter(ge=>{const _e=S[ge],{routeParamName:Oe}=_e;return m(Oe)===te});if(X){const ge=X;Z[ge]=Q}}),{...z,...Z}}function ae(b,E,y="",S=N){const H=$(b,E,y,S);return H&&H.route&&H.route.pageReference?H.route.pageReference:null}function L(b){return typeof b=="object"&&b!==null&&!Array.isArray(b)}function Ce(b){return typeof b=="string"}function oe(b,E){return E in b}function ke(b,E=2){if(L(b))try{Object.freeze(b),E>0&&Object.keys(b).forEach(y=>{if(oe(b,y)){const S=b[y];S&&typeof S=="object"&&ke(S,E-1)}})}catch(y){}return b}function je(){return Math.floor((1+Math.random())*65536).toString(16).substring(1)}function Ae(b){const E=["id","attributes","state","pageReference"],{pageReference:y=null}=b||{};return L(b)&&h(b,E)&&a(y)}function a(b){const E=["type","state","attributes"],{type:y,state:S,attributes:H}=b||{},B=L(b)&&Ce(y)&&L(S)&&d(S)&&L(H)&&d(H);return h(b,E)&&B}function d(b){return Object.keys(b).every(E=>{const y=b[E];return typeof E=="string"&&(typeof y=="string"||y===null)})}function h(b,E){if(L(b)){const y=E.every(B=>oe(b,B)),H=Object.keys(E).length===E.length;return y&&H}return!1}function F(b){const E=[];let y=0;for(;y=48&&z<=57||z>=65&&z<=90||z>=97&&z<=122||z===95){H+=b[B++];continue}break}if(!H)throw new TypeError(`Missing parameter name at ${y}`);E.push({type:"NAME",index:y,value:H}),y=B;continue}if(S==="("){let H=1,B="",z=y+1;if(b[z]==="?")throw new TypeError(`Pattern cannot start with "?" at ${z}`);for(;z{if(Z{const Oe=Q(_e);if(Oe!==void 0)return Oe;const{type:be,index:Te}=y[Z];throw new TypeError(`Unexpected ${be} at ${Te}, expected ${_e}`)},ge=()=>{let _e="",Oe;for(;Oe=Q("CHAR")||Q("ESCAPED_CHAR");)_e+=Oe;return _e};for(;Zz,validate:H=!0}=E,B=b.map(z=>{if(typeof z=="object")return new RegExp(`^(?:${z.pattern})$`,y)});return z=>{let Z="";for(let te=0;teX}=y,Z=`[${W(y.endsWith||"")}]|$`,te=`[${W(y.delimiter||"/#?")}]`;let Q=H?"^":"";for(const X of b)if(typeof X=="string")Q+=W(z(X));else{const ge=W(z(X.prefix)),_e=W(z(X.suffix));if(X.pattern)if(E&&E.push(X),ge||_e)if(X.modifier==="+"||X.modifier==="*"){const Oe=X.modifier==="*"?"?":"";Q+=`(?:${ge}((?:${X.pattern})(?:${_e}${ge}(?:${X.pattern}))*)${_e})${Oe}`}else Q+=`(?:${ge}(${X.pattern})${_e})${X.modifier}`;else Q+=`(${X.pattern})${X.modifier}`;else Q+=`(?:${ge}${_e})${X.modifier}`}if(B)S||(Q+=`${te}?`),Q+=y.endsWith?`(?=${Z})`:"$";else{const X=b[b.length-1],ge=typeof X=="string"?te.indexOf(X[X.length-1])>-1:X===void 0;S||(Q+=`(?:${te}(?=${Z}))?`),ge||(Q+=`(?=${te}|${Z})`)}return new RegExp(Q,le(y))}function ue(b,E,y){return Y(Re(b,y),E,y)}function ne(b,E,y){return b instanceof RegExp?Le(b,E):Array.isArray(b)?we(b,E,y):ue(b,E,y)}function we(b,E,y){const S=b.map(H=>ne(H,E,y).source);return new RegExp(`(?:${S.join("|")})`,le(y))}const{INVALID_ROUTE_QUERY:Fe,MISSING_ROUTE_TEMPLATE:Ge,MISSING_PAGE_BINDING:Ve,INVALID_PAGE_BINDING:xe,INVALID_URI_SYNTAX:Xe}=e.messages;function Je(b){const{routes:E,caseSensitive:y}=b;return E.map(S=>Ze(S,y))}function Ze(b,E=!1){const y=[],{uri:S,page:H}=b;e.invariant(!!S,Ge),e.invariant(it(S),Xe),e.invariant(!!H,Ve);const B=G(S),z=j(S),Z=ne(B,y,{sensitive:E,end:b.exact!==!1}),te=Ne(B,{encode:encodeURIComponent}),Q=ft(z),X=ot(Q,E),ge={original:b,regex:Z,params:y,toPath:te,compiledQuery:Q,queryMatcher:X};return e.invariant(lt(ge),xe),ge}function it(b=""){return!["*","(",")",";"].some(S=>b.indexOf(S)>=0)}function lt(b){const{original:{page:E}={},params:y,compiledQuery:S}=b,H=E&&E.type,B=E&&E.attributes||{},z=E&&E.state||{};if(typeof H!="string"||typeof B!="object"||typeof z!="object")return!1;const Z=Object.values(y).map(({name:be})=>be),te=s(S),Q=[...Z,...te],X=Object.values(B).filter(u).map(m),ge=Object.values(z).filter(u).map(m),_e=Q.every(be=>typeof be!="string"?!1:X.indexOf(be)>=0||ge.indexOf(be)>=0),Oe=Q.length===X.length+ge.length;return!!(E&&H&&B&&z&&_e&&Oe)}function ft(b){const E={};return Object.keys(b).forEach(y=>{const S=b[y];e.invariant(u(y)?S===null:!0,Fe),u(y)?E[y.substr(1)]={routeParamName:y}:S&&u(S)?E[y]={routeParamName:S}:E[y]={literalValue:S===null?null:S}}),E}function ot(b,E=!1){return S=>{const H=Object.keys(S),B=Object.keys(b);return B.every(Z=>H.indexOf(Z)>=0)?B.reduce((Z,te)=>{if(Z===null)return null;const{literalValue:Q,routeParamName:X}=b[te],ge=S[te];let _e=!0;return typeof Q=="string"?_e=E?Q===ge:Q.toUpperCase()===(ge==null?ge:ge.toUpperCase()):Q===null&&(_e=ge===Q),_e?Z={...Z,[te]:{value:ge,routeParamName:X}}:Z=null,Z},{}):null}}const mt=typeof document!="undefined",ht={pathToRegexp:ne,compile:Ne};r.DEFAULT_I18N_ROUTER_CONFIG=N,r.createFilterChain=t,r.decode=R,r.encode=_,r.freeze=ke,r.getPageReferenceFromUriAndRouteDef=O,r.getPageReferenceFromUrl=ae,r.getPathFromUrl=G,r.getQueryFromUrl=j,r.getQueryString=w,r.getUrlFromPageReference=K,r.getUrlFromPageReferenceAndRouteDef=x,r.guid=je,r.hasDocument=mt,r.isObject=L,r.isValidRoute=Ae,r.matchRouteByUrl=$,r.parseRoutes=Je,r.pathToRegexp=ht,Object.defineProperty(r,"__esModule",{value:!0})}),LWR.define("lwr/routerUtils",["exports","lwr/routerUtils/v/0_13_10"],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_13_10",["exports","lwr/routerUtils/v/0_13_10"],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_13_10"],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_13_10",["exports","lwr/contextUtils/v/0_13_10","lwr/routerErrors/v/0_13_10"],function(r,e,t){"use strict";const _=new e.ContextInfo(void 0),R=class extends e.generateContextualWireAdapter(_){async update(j,w){if(w){const u=j&&j.viewName?j.viewName:"default",m=w.viewset[u],s=m,f=s&&s.module||m;let g;if(f)try{const k=await f(),P=k&&k.default;if(P&&P.constructor!==void 0)this._callback(P);else throw new Error("error occurred with view import")}catch(k){const P=k;s.specifier?g=t.generateMessageObject(t.messages.VIEW_IMPORT_FAILED_WITH_SPECIFIER,[s.specifier,u,P.message,P.stack||""]):g=t.generateMessageObject(t.messages.VIEW_IMPORT_FAILED,[u,P.message,P.stack||""])}else g=t.generateMessageObject(t.messages.VIEW_MISSING,[u]);w.onComplete&&w.onComplete(g)}}};r.CurrentView=R,Object.defineProperty(r,"__esModule",{value:!0})}),LWR.define("lwr/currentView",["exports","lwr/currentView/v/0_13_10"],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_13_10",["exports","lwr/contextUtils/v/0_13_10"],function(r,e){"use strict";const t=new e.ContextInfo(void 0),_=e.generateContextualWireAdapter(t);r.CurrentPageReference=_,Object.defineProperty(r,"__esModule",{value:!0})}),LWR.define("lwr/currentPageReference",["exports","lwr/currentPageReference/v/0_13_10"],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_13_10",["exports"],function(r){"use strict";const e="LWR",t={Fatal:0,Error:1,Warning:2,Log:3};function _(u,m){return Array.isArray(m)?u.replace(/\{([0-9]+)\}/g,(s,f)=>m[f]):u}function R(u,m){return`${u.code}: ${_(u.message,m)}`}function G(u,m){const s={...u,message:_(u.message,m)};return u.address&&(s.address=_(u.address,m)),u.stack&&(s.stack=_(u.stack,m)),s}function j(u,m,s){if(!u)throw new Error(R(m,s))}const w={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:'A route definition must contain a "uri" property.',level:t.Error},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 must provide page binding",level:t.Error},INVALID_PAGE_BINDING:{code:`${e}4021`,message:"Invalid page binding in route definition",level:t.Error},INVALID_URI_SYNTAX:{code:`${e}4022`,message:"Invalid uri syntax. URI cannot contain *, +, (, ), ",level:t.Error},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=R,r.generateMessageObject=G,r.invariant=j,r.messages=w,Object.defineProperty(r,"__esModule",{value:!0})}),LWR.define("lwr/routerErrors",["exports","lwr/routerErrors/v/0_13_10"],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_13_10",["exports","lwr/routerErrors/v/0_13_10"],function(r,e){"use strict";function t(u){if(u==null)throw new TypeError("Provider must be defined.")}class _{constructor(m){this.infoMap=new WeakMap,this.defaultValue=m}getInfo(m){let s=this.infoMap.get(m);return s===void 0&&(s={consumers:new Set},this.infoMap.set(m,s)),s}setContext(m,s){t(m);const f=s,g=this.getInfo(m);g.contextValue=s,g.consumers.forEach(k=>k.provide(f)),g.consumers.size===0&&f?.onComplete&&f.onComplete()}getContext(m){t(m);const{contextValue:s}=this.getInfo(m);return s!==void 0?s:this.defaultValue}clearContext(m){t(m),this.infoMap.delete(m)}subscribeContext(m,s){t(m);const{consumers:f,contextValue:g}=this.getInfo(m);f.has(s)||(f.add(s),s.provide(g))}unsubscribeContext(m,s){t(m),this.getInfo(m).consumers.delete(s)}}const R=new WeakMap;function G(u){const m=R.get(u);if(!m||!m.value)throw new Error(e.generateMessage(e.messages.MISSING_CONTEXT));return m.value}function j(u,m){const s={id:u,value:m,update:f=>{s.value=f}};return R.set(s.id,s),s}function w(u){var m;return m=class{constructor(g){this._callback=g}connect(){}disconnect(){}update(g,k){k&&this._callback(k)}static setContext(g,k){u.setContext(g,k)}static getContext(g){return u.getContext(g)}static clearContext(g){u.clearContext(g)}static subscribeContext(g,k){u.subscribeContext(g,k)}static unsubscribeContext(g,k){u.unsubscribeContext(g,k)}},m.contextSchema={value:"required"},m}r.ContextInfo=_,r.generateContextualWireAdapter=w,r.getNavigationHelm=G,r.registerNavigationHelm=j,Object.defineProperty(r,"__esModule",{value:!0})}),LWR.define("lwr/contextUtils",["exports","lwr/contextUtils/v/0_13_10"],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_13_10",["exports","lwr/contextUtils/v/0_13_10"],function(r,e){"use strict";const t=new e.ContextInfo(void 0),_=e.generateContextualWireAdapter(t);r.NavigationContext=_,Object.defineProperty(r,"__esModule",{value:!0})}),LWR.define("lwr/navigationContext",["exports","lwr/navigationContext/v/0_13_10"],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_13_10",["exports","lwr/navigationContext/v/0_13_10","lwr/currentPageReference/v/0_13_10","lwr/currentView/v/0_13_10","lwr/contextUtils/v/0_13_10","lwr/routerErrors/v/0_13_10","lwr/navigationMixinHacks/v/0_13_10"],function(r,e,t,_,R,G,j){"use strict";function w(O,N,D,M){R.getNavigationHelm(O).navigate(N,D,M)}function u(O,N,D){return R.getNavigationHelm(O).generateUrl(N,D)}const m=typeof window=="undefined",s=Symbol("Navigate"),f=Symbol("GenerateUrl"),g=Symbol("NavContext"),k=Symbol("NavContext");function P(O){G.invariant(typeof O.prototype.dispatchEvent=="function",G.messages.INVALID_MIXIN_CMP,[O.toString()]);class N extends O{[k](){if(!this[g]&&(this.dispatchEvent(new CustomEvent(j.CONTEXT_ID_BACKDOOR,{bubbles:!0,composed:!0,detail:{callback:M=>{this[g]=M}}})),!this[g]))throw new Error(G.generateMessage(G.messages.MISSING_CONTEXT))}[s](M,$,K){m||(this[k](),w(this[g],M,$,K))}async[f](M,$){return m?null:(this[k](),u(this[g],M,$))}}return N}P.Navigate=s,P.GenerateUrl=f,P.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 _.CurrentView}}),Object.defineProperty(r,"ContextInfo",{enumerable:!0,get:function(){return R.ContextInfo}}),Object.defineProperty(r,"generateContextualWireAdapter",{enumerable:!0,get:function(){return R.generateContextualWireAdapter}}),Object.defineProperty(r,"getNavigationHelm",{enumerable:!0,get:function(){return R.getNavigationHelm}}),Object.defineProperty(r,"registerNavigationHelm",{enumerable:!0,get:function(){return R.registerNavigationHelm}}),r.NavigationMixin=P,r.generateUrl=u,r.navigate=w,Object.defineProperty(r,"__esModule",{value:!0})}),LWR.define("lwr/navigation",["exports","lwr/navigation/v/0_13_10"],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_13_10",["exports","lwr/navigation/v/0_13_10","lwr/contextProvider/v/0_13_10","lwr/routerErrors/v/0_13_10","lwr/routerUtils/v/0_13_10","lwr/observable/v/0_13_10","lwr/metrics/v/0_13_10","lwr/profiler/v/0_13_10","lwr/navigationMixinHacks/v/0_13_10"],function(r,e,t,_,R,G,j,w,u){"use strict";const m=`universalcontainernavigationevent${R.guid()}`,s=`universalcontainerparentevent${R.guid()}`;class f{constructor(P,O,N){this.pendingRoute=null,this.committedRoute=null,this.contextId=Object.freeze(()=>{}),this.connected=!1,this.preNavFilters=R.createFilterChain(),this.errorNavFilters=R.createFilterChain(),this._handleNavigationEvent=D=>{const M=D;if(M.detail&&typeof M.detail=="object"){const{url:$,replace:K,address:A}=M.detail;this.config.handleNavigation(A,K)?this.root&&!$?this.root.processError(_.generateMessageObject(_.messages.MISSING_URL,[JSON.stringify(A)])):this.parent||this.process($,K):M.stopPropagation()}},this._handleParentEvent=D=>{D.stopImmediatePropagation();const M=D;M&&M.detail&&typeof M.detail=="function"&&M.detail(this)},this.config={handleNavigation:P.handleNavigation||(()=>!0)},this.target=N||window,this.router=O,this.router.contextId=this.contextId,this.routeObservable=G.createObservable()}get root(){if(!this.parent)return this;let P=this.parent;for(;P;){if(!P.parent)return P;P=P.parent}throw new Error("No root router could be found")}updateWires(P,O,N){if(N)this.processError(N);else{if(this.committedRoute&&P.route===this.committedRoute.route)return;w.logOperationEnd({id:j.ROUTER_VIEW,specifier:this.eventId}),this.pendingRoute=this.pendingRoute||{...P,url:O},this.committedRoute={...this.pendingRoute,...P},e.CurrentPageReference.setContext(this.target,P.route.pageReference),this.routeObservable.next({...this.committedRoute,viewset:P.viewset}),w.logOperationEnd({id:j.ROUTER_NAV,specifier:this.eventId}),this.child&&this.child.process(this._stripUrlForChild(this.committedRoute.url))}}connect(){this._sendEvent(s,O=>{this.parent=O,O.addChild(this)});const P={navigate:(O,N)=>this.navigate(O,N),generateUrl:(O,N)=>this.generateUrl(O,N),subscribe:(O,N)=>this.subscribe(O,N)};e.registerNavigationHelm(this.contextId,P),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(O=>{if(O.status===404){this.processError(_.generateMessageObject(_.messages.DESTINATION_NOT_FOUND));return}if(O.status&&O.status>=400){const M=O.error||new Error;this.processError(_.generateMessageObject(_.messages.DESTINATION_ERROR,[O.status.toString(),M.message,M.stack||""]));return}const N=O.route.pageReference||{},D=this.router.generateUrl(N)||"";if(w.logOperationStart({id:j.ROUTER_VIEW,specifier:this.eventId}),O.viewset){const M={viewset:O.viewset,onComplete:this.updateWires.bind(this,O,D)};e.CurrentView.setContext(this.target,M)}else O.route.pageReference&&this.updateWires(O,D)},!0),R.hasDocument&&(this.target.addEventListener(m,this._handleNavigationEvent),this.target.addEventListener(s,this._handleParentEvent),this.target.addEventListener(u.CONTEXT_ID_BACKDOOR,O=>{const N=O;N.detail.callback&&N.detail.callback(this.contextId)})),this.connected=!0}disconnect(){this.target.removeEventListener(m,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(P){this.preNavFilters.add(P)}addErrorNavigate(P){this.errorNavFilters.add(P)}async addChild(P){if(await new Promise(O=>{setTimeout(()=>{_.invariant(!this.child,_.messages.MULTIPLE_CHILDREN),this.child=P,O()},0)}),this.child&&this.committedRoute){const O=this._stripUrlForChild(this.committedRoute.url);await this.child.preProcess(O)&&this.child.process(O)}}async process(P,O,N,D){this.eventId=new Date().getTime().toString(),w.logOperationStart({id:j.ROUTER_NAV,specifier:this.eventId});try{this.parent||await this.preProcess(P,N)}catch($){if($.code)return this.processError($),!1;throw $}const M=this.router.parseUrl(P);return M&&this.router.navigate(M,N),!0}preProcess(P,O){const N=this.router.parseUrl(P),D=N&&this.router.matchRoute(N,O);return D?(this.pendingRoute={url:P,...D},(this.preNavFilters.empty()?Promise.resolve(!0):this.preNavFilters.compile({current:this.committedRoute||void 0,next:this.pendingRoute})).then($=>$&&this.child?this.child.preProcess(this._stripUrlForChild(P)):$).then($=>$||Promise.reject(_.generateMessageObject(_.messages.PRENAV_FAILED,[P])))):Promise.reject(_.generateMessageObject(_.messages.MISSING_ROUTE,[P]))}processError(P){w.logOperationStart({id:j.ROUTER_ERROR}),this.errorNavFilters.compile(P),this.child&&this.child.processError(P)}navigate(P,O,N){const D=this.filterNavigateOptions(N);let M=this.router.generateUrl(P,D);M&&(M=(this.parent&&this.parent.committedRoute&&this.parent.committedRoute.pathMatch||"").concat(M)),this._sendEvent(m,{url:M,replace:O,address:P})}generateUrl(P,O){const N=this.filterNavigateOptions(O),D=this.router.generateUrl(P,N);return D?`${this.parent&&this.parent.committedRoute&&this.parent.committedRoute.pathMatch||""}${D}`:null}subscribe(P,O){return this.routeObservable.subscribe({next:P,error:()=>{},complete:()=>{}},Boolean(O))}_sendEvent(P,O){R.hasDocument&&this.target.dispatchEvent(new CustomEvent(P,{bubbles:!0,composed:!0,detail:O}))}_stripUrlForChild(P){return this.pendingRoute&&P.indexOf(this.pendingRoute.pathMatch)===0?P.replace(this.pendingRoute.pathMatch,""):P}filterNavigateOptions(P){const O=!this.parent;return{...P,locale:O?P?.locale:void 0}}}function g(k,P,O){return new f(k,P,O)}r.DomRouterImpl=f,r.NAV_EVENT=m,r.PARENT_EVENT=s,r.createDomRouter=g,Object.defineProperty(r,"__esModule",{value:!0})}),LWR.define("lwr/domRouter",["exports","lwr/domRouter/v/0_13_10"],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_13_10",["exports","lwc/v/7_1_5","lwr/domRouter/v/0_13_10","lwr/domRouterUtils/v/0_13_10","lwr/routerUtils/v/0_13_10"],function(r,e,t,_,R){"use strict";class G extends t.DomRouterImpl{constructor(...u){super(...u);this.historyDisabled=!1}connect(){super.connect(),this.historyDisabled||(R.hasDocument&&window.addEventListener("popstate",this.onpopstate.bind(this)),this.onpopstate())}onpopstate(){!this.parent&&R.hasDocument&&this.catchBrowserUpdate(_.getRelativeUrl(window.location.href))}disconnect(){super.disconnect(),R.hasDocument&&window.removeEventListener("popstate",this.onpopstate)}async process(u,m,s,f=!0){const g=await super.process(u,m,s,f);return g&&!this.historyDisabled&&f&&this.connected&&!this.parent&&(m?_.replace(u):_.set(u)),g}catchBrowserUpdate(u){this.process(u,!1,{},!1)}}e.registerDecorators(G,{fields:["historyDisabled"]});function j(w,u,m){return new G(w,u,m)}r.HistoryRouter=G,r.createHistoryRouter=j,Object.defineProperty(r,"__esModule",{value:!0})}),LWR.define("lwr/historyRouter",["exports","lwr/historyRouter/v/0_13_10"],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_13_10",["exports","lwc/v/7_1_5","lwr/historyRouter/v/0_13_10","lwr/routerErrors/v/0_13_10","lwr/domRouter/v/0_13_10","lwr/routerUtils/v/0_13_10"],function(r,e,t,_,R,G){"use strict";function j(D,M,$){var K=D?"["+D+"]":"";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 w=[j];const u=e.parseFragment``,m={key:0},s=[];function f(D,M,$,K){const{s:A,st:x}=D;return[A("",m,s,$),x(u,2)]}var g=e.registerTemplate(f);f.slots=[""],f.renderMode="light",f.stylesheets=[],f.stylesheetToken="lwc-7bis3qj4jjc",f.legacyStylesheetToken="lwr-routerContainer_routerContainer",w&&f.stylesheets.push.apply(f.stylesheets,w),e.freezeTemplate(f);let k=!1;function P(D,M={},$){const K=M.historyDisabled?new R.DomRouterImpl(M,$,D):new t.HistoryRouter(M,$,D),A={addPreNavigate:x=>(K.addPreNavigate(x),A),addPostNavigate:x=>(K.subscribe(x),A),addErrorNavigate:x=>(K.addErrorNavigate(x),A),connect:()=>{K.connect(),_.invariant(!k||!!K.parent,_.messages.MULTIPLE_ROOTS),k=k||!K.parent,A.id=K.contextId},disconnect:()=>{k=k&&!!K.parent,K.disconnect()}};return A}class O extends e.LightningElement{constructor(){super();this.router=void 0,this.historyDisabled=!1,this.currentTitle=G.hasDocument?document.title:""}connectedCallback(){const M={historyDisabled:this.historyDisabled,handleNavigation:this.handleNavigation.bind(this)};G.hasDocument&&this.router&&(this.routerApi=P(this,M,this.router),this.routerApi.addPreNavigate(this.preNavigate.bind(this)).addPostNavigate(this.postNavigate.bind(this)).addErrorNavigate(this.errorNavigate.bind(this)).connect())}preNavigate(M){const $=this._createEvent("prenavigate",M,!0);return this.dispatchEvent($),!$.defaultPrevented}postNavigate(M){this.dispatchEvent(this._createEvent("postnavigate",M));const $=M.routeDefinition.metadata&&M.routeDefinition.metadata.title;$&&(this.currentTitle=$,document.title=$);const K=this.querySelector("span.router-title");K&&(K.innerHTML=this.currentTitle)}errorNavigate(M){return this.dispatchEvent(this._createEvent("errornavigate",M)),!0}handleNavigation(M,$){const K=this._createEvent("handlenavigation",{address:M,replace:$},!0);return this.dispatchEvent(K),!K.defaultPrevented}disconnectedCallback(){this.routerApi&&this.routerApi.disconnect()}_createEvent(M,$,K){return new CustomEvent(M,{detail:$,bubbles:!1,composed:!1,cancelable:K})}}O.renderMode="light",e.registerDecorators(O,{publicProps:{router:{config:0},historyDisabled:{config:0}}});const N=e.registerComponent(O,{tmpl:g,sel:"lwr-router-container",apiVersion:62});r.default=N,Object.defineProperty(r,"__esModule",{value:!0})}),LWR.define("lwr/routerContainer",["exports","lwr/routerContainer/v/0_13_10"],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_768-252_0",["exports","lwc/v/7_1_5"],function(r,e){"use strict";const t=[];function _(j,w,u,m){return t}var R=e.registerTemplate(_);_.renderMode="light",_.stylesheets=[],_.stylesheetToken="lwc-15jgd3dq0rl",_.legacyStylesheetToken="webruntime-defaultView_defaultView",e.freezeTemplate(_);var G={html:R,attributes(){}};r.default=G,Object.defineProperty(r,"__esModule",{value:!0})}),LWR.define("webruntime/defaultView",["exports","webruntime/defaultView/v/1_66_768-252_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_768-252_0",["exports","lwr/loaderLegacy/v/0_13_10","@app/isDesignMode/v/1","@app/isPreviewMode/v/1"],function(r,e,t,_){"use strict";function R(m){return m&&typeof m=="object"&&"default"in m?m:{default:m}}var G=R(t),j=R(_);const{info:w}=console;async function u(){if(G.default||j.default){const{start:m,startPreview:s}=await e.load("webruntimedesign/designmode/v/1");G.default&&(/interactive|complete/.test(document.readyState)?m():document.addEventListener("DOMContentLoaded",m,!1)),j.default&&(s?s():w("startPreview() does not exist in this environment!"))}}r.designmodeInit=u,Object.defineProperty(r,"__esModule",{value:!0})}),LWR.define("webruntime/designmodeInit",["exports","webruntime/designmodeInit/v/1_66_768-252_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_768-252_0",["exports"],function(r){"use strict";function e(s,f){if(!s)throw new Error(f)}function t(s){return typeof s=="object"&&s!==null&&!Array.isArray(s)}function _(s){return typeof document!="undefined"&&document?.cookie.split(";").map(f=>f.trim().split("=")).filter(([f])=>f===s).map(([,f])=>f)[0]}function R(){return([1e7]+-1e3+-4e3+-8e3+-1e11).replace(/[018]/g,s=>(s^window.crypto.getRandomValues(new Uint8Array(1))[0]&15>>s/4).toString(16))}function G(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 j=new RegExp("^([a-z]+://|//)","i");function w(s){return s?j.test(s):!1}const u=new RegExp("/sfsites/c/.+","i");function m(s){return s?u.test(s):!1}r.assert=e,r.getCookie=_,r.isAbsoluteURL=w,r.isObject=t,r.isSfdcCoreURL=m,r.uuidValidate=G,r.uuidv4=R,Object.defineProperty(r,"__esModule",{value:!0})}),LWR.define("webruntime/utils",["exports","webruntime/utils/v/1_66_768-252_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_768-252_0",["exports"],function(r){"use strict";function e(..._){console.log(..._)}function t(..._){console.error(..._)}r.log=e,r.logError=t,Object.defineProperty(r,"__esModule",{value:!0})}),LWR.define("webruntime/logger",["exports","webruntime/logger/v/1_66_768-252_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_768-252_0",["exports","webruntime/logger/v/1_66_768-252_0","@communities-webruntime/common/v/1_66_768-252_0","webruntime/transport/v/1"],function(r,e,t,_){"use strict";function R(w){_.sendBeacon({path:t.ERRORS_PATH_PREFIX,payload:JSON.stringify(w),contentType:"text/plain;charset=UTF-8"})}function G(w,u){document.dispatchEvent(new CustomEvent("client-error",{detail:{error:w,type:u}}))}function j({subject:w,error:u,wcstack:m,type:s=t.CLIENT_ERROR_TYPES.UNKNOWN_ERROR}){m=m||u.wcstack;const{message:f,stack:g}=u,{hostname:k,pathname:P}=globalThis.location||{},N={subject:w,message:f,stack:g,wcstack:m,location:{hostname:k,pathname:P}};e.logError(g||N),typeof document!="undefined"&&(G(N,s),R(N))}r.reportError=j,Object.defineProperty(r,"__esModule",{value:!0})}),LWR.define("webruntime/errors",["exports","webruntime/errors/v/1_66_768-252_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_768-252_0",["exports","lwc/v/7_1_5","@communities-webruntime/common/v/1_66_768-252_0","webruntime/overrides/v/1","webruntime/errors/v/1_66_768-252_0","webruntime/utils/v/1_66_768-252_0","webruntime/views/v/1","webruntime/routingService/v/1","@app/viewToThemeLayoutMap/v/1","webruntime/designmodeInit/v/1_66_768-252_0","webruntime/defaultView/v/1_66_768-252_0"],function(r,e,t,_,R,G,j,w,u,m,s){"use strict";function f(M){return M&&typeof M=="object"&&"default"in M?M:{default:M}}var g=f(j),k=f(u),P=f(s),O=void 0;class N extends e.LightningElement{constructor(...$){super(...$);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($){this._routeParams=$}async connectedCallback(){const $=this.view||P.default;this.generatedTemplateHtml=$.html,this.attributes=$.attributes(this,this.routeParams)||{},await m.designmodeInit(),this.subscription=w.subscribe(this.loadThemeLayout.bind(this))}render(){return this.generatedTemplateHtml}disconnectedCallback(){this.subscription&&this.subscription.unsubscribe()}updateTemplate($){this.generatedTemplateHtml=$.html}updateRoute($,K){w.handleExtraRouteParams(K);const{state:A,attributes:x}=K;this.previousRouteId=this.route?.id||null,this._routeParams={...A,...x},this.attributes=$.attributes(this,this.routeParams)||{},this.route=K}restoreDefaultTemplate(){this.generatedTemplateHtml=P.default.html}async loadThemeLayout($){let K=!1;const A=$.routeDefinition.view,x=k.default[A];setTimeout(async()=>{!K&&this.themeLayout!==x&&this.restoreDefaultTemplate()},10);let q;try{q=await g.default(x)}catch(ae){await this.handleFetchViewFailed(ae,$.routeDefinition.metadata?.isPublic)}if(!!q)try{K=!0,window?.scrollTo(0,0),this.themeLayout!==x&&(this.themeLayout=x,this.updateTemplate(q.default)),this.updateRoute(q.default,$.route)}catch(ae){R.reportError({subject:"InnerApp.loadThemeLayout error",type:t.CLIENT_ERROR_TYPES.FAILED_TO_LOAD_RESOURCE,error:ae})}}async handleFetchViewFailed($,K){await _.PageNavigationFailureOverrides.run({error:$,isPublic:K})&&R.reportError({subject:"InnerApp.loadThemeLayout#getViewModule error",type:t.CLIENT_ERROR_TYPES.FAILED_TO_LOAD_RESOURCE,error:$})}}N.renderMode="light",e.registerDecorators(N,{publicProps:{view:{config:0},routerContainerView:{config:0},routeParams:{config:3}},publicMethods:["updateTemplate","updateRoute","restoreDefaultTemplate"],fields:["_routeParams","generatedTemplateHtml","attributes","previousRouteId","route"]});const D=e.registerComponent(N,{tmpl:O,sel:"webruntime-inner-app",apiVersion:62});r.default=D,Object.defineProperty(r,"__esModule",{value:!0})}),LWR.define("webruntime/innerApp",["exports","webruntime/innerApp/v/1_66_768-252_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_23_4-alpha",["exports","lwc/v/7_1_5"],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:_,setPrototypeOf:R,isFrozen:G,getPrototypeOf:j,getOwnPropertyDescriptor:w}=Object;let{freeze:u,seal:m,create:s}=Object,{apply:f,construct:g}=typeof Reflect!="undefined"&&Reflect;u||(u=function(y){return y}),m||(m=function(y){return y}),f||(f=function(y,S,H){return y.apply(S,H)}),g||(g=function(y,S){return new y(...S)});const k=L(Array.prototype.forEach),P=L(Array.prototype.pop),O=L(Array.prototype.push),N=L(String.prototype.toLowerCase),D=L(String.prototype.toString),M=L(String.prototype.match),$=L(String.prototype.replace),K=L(String.prototype.indexOf),A=L(String.prototype.trim),x=L(Object.prototype.hasOwnProperty),q=L(RegExp.prototype.test),ae=Ce(TypeError);function L(E){return function(y){for(var S=arguments.length,H=new Array(S>1?S-1:0),B=1;B2&&arguments[2]!==void 0?arguments[2]:N;R&&R(E,null);let H=y.length;for(;H--;){let B=y[H];if(typeof B=="string"){const z=S(B);z!==B&&(G(y)||(y[H]=z),B=z)}E[B]=!0}return E}function ke(E){for(let y=0;y/gm),we=m(/\${[\w\W]*}/gm),Fe=m(/^data-[\-\w.\u00B7-\uFFFF]/),Ge=m(/^aria-[\-\w]+$/),Ve=m(/^(?:(?:(?:f|ht)tps?|mailto|tel|callto|sms|cid|xmpp):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i),xe=m(/^(?:\w+script|data):/i),Xe=m(/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g),Je=m(/^html$/i),Ze=m(/^[a-z][.\w]*(-[.\w]+)+$/i);var it=Object.freeze({__proto__:null,MUSTACHE_EXPR:ue,ERB_EXPR:ne,TMPLIT_EXPR:we,DATA_ATTR:Fe,ARIA_ATTR:Ge,IS_ALLOWED_URI:Ve,IS_SCRIPT_OR_DATA:xe,ATTR_WHITESPACE:Xe,DOCTYPE_NAME:Je,CUSTOM_ELEMENT:Ze});const lt=function(){return typeof window=="undefined"?null:window},ft=function(y,S){if(typeof y!="object"||typeof y.createPolicy!="function")return null;let H=null;const B="data-tt-policy-suffix";S&&S.hasAttribute(B)&&(H=S.getAttribute(B));const z="dompurify"+(H?"#"+H:"");try{return y.createPolicy(z,{createHTML(Z){return Z},createScriptURL(Z){return Z}})}catch(Z){return console.warn("TrustedTypes policy "+z+" could not be created."),null}};function ot(){let E=arguments.length>0&&arguments[0]!==void 0?arguments[0]:lt();const y=me=>ot(me);if(y.version="3.0.11",y.removed=[],!E||!E.document||E.document.nodeType!==9)return y.isSupported=!1,y;let{document:S}=E;const H=S,B=H.currentScript,{DocumentFragment:z,HTMLTemplateElement:Z,Node:te,Element:Q,NodeFilter:X,NamedNodeMap:ge=E.NamedNodeMap||E.MozNamedAttrMap,HTMLFormElement:_e,DOMParser:Oe,trustedTypes:be}=E,Te=Q.prototype,Ee=Ae(Te,"cloneNode"),C=Ae(Te,"nextSibling"),ee=Ae(Te,"childNodes"),se=Ae(Te,"parentNode");if(typeof Z=="function"){const me=S.createElement("template");me.content&&me.content.ownerDocument&&(S=me.content.ownerDocument)}let re,De="";const{implementation:et,createNodeIterator:pt,createDocumentFragment:ct,getElementsByTagName:tt}=S,{importNode:at}=H;let We={};y.isSupported=typeof _=="function"&&typeof se=="function"&&et&&et.createHTMLDocument!==void 0;const{MUSTACHE_EXPR:gt,ERB_EXPR:rt,TMPLIT_EXPR:nt,DATA_ATTR:Tt,ARIA_ATTR:Pt,IS_SCRIPT_OR_DATA:st,ATTR_WHITESPACE:pe,CUSTOM_ELEMENT:n}=it;let{IS_ALLOWED_URI:i}=it,o=null;const c=oe({},[...a,...d,...h,...W,...Re]);let p=null;const T=oe({},[...Me,...Ne,...Le,...Y]);let U=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}})),ye=null,ve=null,fe=!0,Ie=!0,Se=!1,l=!0,I=!1,V=!1,ie=!1,de=!1,he=!1,Pe=!1,Ue=!1,Ke=!0,ut=!1;const St="user-content-";let Et=!0,dt=!1,He={},Ct=null;const Ut=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 xt=null;const $t=oe({},["audio","video","img","source","image","track"]);let Lt=null;const Ft=oe({},["alt","class","for","id","label","name","pattern","placeholder","role","summary","title","value","style","xmlns"]),Nt="http://www.w3.org/1998/Math/MathML",At="http://www.w3.org/2000/svg",yt="http://www.w3.org/1999/xhtml";let Rt=yt,Mt=!1,Dt=null;const tr=oe({},[Nt,At,yt],D);let It=null;const rr=["application/xhtml+xml","text/html"],nr="text/html";let Be=null,wt=null;const ir=S.createElement("form"),Ht=function(v){return v instanceof RegExp||v instanceof Function},jt=function(){let v=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};if(!(wt&&wt===v)){if((!v||typeof v!="object")&&(v={}),v=je(v),It=rr.indexOf(v.PARSER_MEDIA_TYPE)===-1?nr:v.PARSER_MEDIA_TYPE,Be=It==="application/xhtml+xml"?D:N,o=x(v,"ALLOWED_TAGS")?oe({},v.ALLOWED_TAGS,Be):c,p=x(v,"ALLOWED_ATTR")?oe({},v.ALLOWED_ATTR,Be):T,Dt=x(v,"ALLOWED_NAMESPACES")?oe({},v.ALLOWED_NAMESPACES,D):tr,Lt=x(v,"ADD_URI_SAFE_ATTR")?oe(je(Ft),v.ADD_URI_SAFE_ATTR,Be):Ft,xt=x(v,"ADD_DATA_URI_TAGS")?oe(je($t),v.ADD_DATA_URI_TAGS,Be):$t,Ct=x(v,"FORBID_CONTENTS")?oe({},v.FORBID_CONTENTS,Be):Ut,ye=x(v,"FORBID_TAGS")?oe({},v.FORBID_TAGS,Be):{},ve=x(v,"FORBID_ATTR")?oe({},v.FORBID_ATTR,Be):{},He=x(v,"USE_PROFILES")?v.USE_PROFILES:!1,fe=v.ALLOW_ARIA_ATTR!==!1,Ie=v.ALLOW_DATA_ATTR!==!1,Se=v.ALLOW_UNKNOWN_PROTOCOLS||!1,l=v.ALLOW_SELF_CLOSE_IN_ATTR!==!1,I=v.SAFE_FOR_TEMPLATES||!1,V=v.WHOLE_DOCUMENT||!1,he=v.RETURN_DOM||!1,Pe=v.RETURN_DOM_FRAGMENT||!1,Ue=v.RETURN_TRUSTED_TYPE||!1,de=v.FORCE_BODY||!1,Ke=v.SANITIZE_DOM!==!1,ut=v.SANITIZE_NAMED_PROPS||!1,Et=v.KEEP_CONTENT!==!1,dt=v.IN_PLACE||!1,i=v.ALLOWED_URI_REGEXP||Ve,Rt=v.NAMESPACE||yt,U=v.CUSTOM_ELEMENT_HANDLING||{},v.CUSTOM_ELEMENT_HANDLING&&Ht(v.CUSTOM_ELEMENT_HANDLING.tagNameCheck)&&(U.tagNameCheck=v.CUSTOM_ELEMENT_HANDLING.tagNameCheck),v.CUSTOM_ELEMENT_HANDLING&&Ht(v.CUSTOM_ELEMENT_HANDLING.attributeNameCheck)&&(U.attributeNameCheck=v.CUSTOM_ELEMENT_HANDLING.attributeNameCheck),v.CUSTOM_ELEMENT_HANDLING&&typeof v.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements=="boolean"&&(U.allowCustomizedBuiltInElements=v.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements),I&&(Ie=!1),Pe&&(he=!0),He&&(o=oe({},Re),p=[],He.html===!0&&(oe(o,a),oe(p,Me)),He.svg===!0&&(oe(o,d),oe(p,Ne),oe(p,Y)),He.svgFilters===!0&&(oe(o,h),oe(p,Ne),oe(p,Y)),He.mathMl===!0&&(oe(o,W),oe(p,Le),oe(p,Y))),v.ADD_TAGS&&(o===c&&(o=je(o)),oe(o,v.ADD_TAGS,Be)),v.ADD_ATTR&&(p===T&&(p=je(p)),oe(p,v.ADD_ATTR,Be)),v.ADD_URI_SAFE_ATTR&&oe(Lt,v.ADD_URI_SAFE_ATTR,Be),v.FORBID_CONTENTS&&(Ct===Ut&&(Ct=je(Ct)),oe(Ct,v.FORBID_CONTENTS,Be)),Et&&(o["#text"]=!0),V&&oe(o,["html","head","body"]),o.table&&(oe(o,["tbody"]),delete ye.tbody),v.TRUSTED_TYPES_POLICY){if(typeof v.TRUSTED_TYPES_POLICY.createHTML!="function")throw ae('TRUSTED_TYPES_POLICY configuration option must provide a "createHTML" hook.');if(typeof v.TRUSTED_TYPES_POLICY.createScriptURL!="function")throw ae('TRUSTED_TYPES_POLICY configuration option must provide a "createScriptURL" hook.');re=v.TRUSTED_TYPES_POLICY,De=re.createHTML("")}else re===void 0&&(re=ft(be,B)),re!==null&&typeof De=="string"&&(De=re.createHTML(""));u&&u(v),wt=v}},Vt=oe({},["mi","mo","mn","ms","mtext"]),Gt=oe({},["foreignobject","desc","title","annotation-xml"]),or=oe({},["title","style","font","a","script"]),Bt=oe({},[...d,...h,...F]),Wt=oe({},[...W,...le]),ar=function(v){let J=se(v);(!J||!J.tagName)&&(J={namespaceURI:Rt,tagName:"template"});const ce=N(v.tagName),$e=N(J.tagName);return Dt[v.namespaceURI]?v.namespaceURI===At?J.namespaceURI===yt?ce==="svg":J.namespaceURI===Nt?ce==="svg"&&($e==="annotation-xml"||Vt[$e]):Boolean(Bt[ce]):v.namespaceURI===Nt?J.namespaceURI===yt?ce==="math":J.namespaceURI===At?ce==="math"&&Gt[$e]:Boolean(Wt[ce]):v.namespaceURI===yt?J.namespaceURI===At&&!Gt[$e]||J.namespaceURI===Nt&&!Vt[$e]?!1:!Wt[ce]&&(or[ce]||!Bt[ce]):!!(It==="application/xhtml+xml"&&Dt[v.namespaceURI]):!1},vt=function(v){O(y.removed,{element:v});try{v.parentNode.removeChild(v)}catch(J){v.remove()}},kt=function(v,J){try{O(y.removed,{attribute:J.getAttributeNode(v),from:J})}catch(ce){O(y.removed,{attribute:null,from:J})}if(J.removeAttribute(v),v==="is"&&!p[v])if(he||Pe)try{vt(J)}catch(ce){}else try{J.setAttribute(v,"")}catch(ce){}},qt=function(v){let J=null,ce=null;if(de)v=""+v;else{const ze=M(v,/^[\r\n\t ]+/);ce=ze&&ze[0]}It==="application/xhtml+xml"&&Rt===yt&&(v=''+v+"");const $e=re?re.createHTML(v):v;if(Rt===yt)try{J=new Oe().parseFromString($e,It)}catch(ze){}if(!J||!J.documentElement){J=et.createDocument(Rt,"template",null);try{J.documentElement.innerHTML=Mt?De:$e}catch(ze){}}const qe=J.body||J.documentElement;return v&&ce&&qe.insertBefore(S.createTextNode(ce),qe.childNodes[0]||null),Rt===yt?tt.call(J,V?"html":"body")[0]:V?J.documentElement:qe},zt=function(v){return pt.call(v.ownerDocument||v,v,X.SHOW_ELEMENT|X.SHOW_COMMENT|X.SHOW_TEXT|X.SHOW_PROCESSING_INSTRUCTION|X.SHOW_CDATA_SECTION,null)},sr=function(v){return v instanceof _e&&(typeof v.nodeName!="string"||typeof v.textContent!="string"||typeof v.removeChild!="function"||!(v.attributes instanceof ge)||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 te=="function"&&v instanceof te},bt=function(v,J,ce){!We[v]||k(We[v],$e=>{$e.call(y,J,ce,wt)})},Kt=function(v){let J=null;if(bt("beforeSanitizeElements",v,null),sr(v))return vt(v),!0;const ce=Be(v.nodeName);if(bt("uponSanitizeElement",v,{tagName:ce,allowedTags:o}),v.hasChildNodes()&&!Xt(v.firstElementChild)&&q(/<[/\w]/g,v.innerHTML)&&q(/<[/\w]/g,v.textContent)||v.nodeType===7)return vt(v),!0;if(!o[ce]||ye[ce]){if(!ye[ce]&&Qt(ce)&&(U.tagNameCheck instanceof RegExp&&q(U.tagNameCheck,ce)||U.tagNameCheck instanceof Function&&U.tagNameCheck(ce)))return!1;if(Et&&!Ct[ce]){const $e=se(v)||v.parentNode,qe=ee(v)||v.childNodes;if(qe&&$e){const ze=qe.length;for(let Ye=ze-1;Ye>=0;--Ye)$e.insertBefore(Ee(qe[Ye],!0),C(v))}}return vt(v),!0}return v instanceof Q&&!ar(v)||(ce==="noscript"||ce==="noembed"||ce==="noframes")&&q(/<\/no(script|embed|frames)/i,v.innerHTML)?(vt(v),!0):(I&&v.nodeType===3&&(J=v.textContent,k([gt,rt,nt],$e=>{J=$(J,$e," ")}),v.textContent!==J&&(O(y.removed,{element:v.cloneNode()}),v.textContent=J)),bt("afterSanitizeElements",v,null),!1)},Yt=function(v,J,ce){if(Ke&&(J==="id"||J==="name")&&(ce in S||ce in ir))return!1;if(!(Ie&&!ve[J]&&q(Tt,J))){if(!(fe&&q(Pt,J))){if(!p[J]||ve[J]){if(!(Qt(v)&&(U.tagNameCheck instanceof RegExp&&q(U.tagNameCheck,v)||U.tagNameCheck instanceof Function&&U.tagNameCheck(v))&&(U.attributeNameCheck instanceof RegExp&&q(U.attributeNameCheck,J)||U.attributeNameCheck instanceof Function&&U.attributeNameCheck(J))||J==="is"&&U.allowCustomizedBuiltInElements&&(U.tagNameCheck instanceof RegExp&&q(U.tagNameCheck,ce)||U.tagNameCheck instanceof Function&&U.tagNameCheck(ce))))return!1}else if(!Lt[J]){if(!q(i,$(ce,pe,""))){if(!((J==="src"||J==="xlink:href"||J==="href")&&v!=="script"&&K(ce,"data:")===0&&xt[v])){if(!(Se&&!q(st,$(ce,pe,"")))){if(ce)return!1}}}}}}return!0},Qt=function(v){return v!=="annotation-xml"&&M(v,n)},Jt=function(v){bt("beforeSanitizeAttributes",v,null);const{attributes:J}=v;if(!J)return;const ce={attrName:"",attrValue:"",keepAttr:!0,allowedAttributes:p};let $e=J.length;for(;$e--;){const qe=J[$e],{name:ze,namespaceURI:Ye,value:_t}=qe,Ot=Be(ze);let Qe=ze==="value"?_t:A(_t);if(ce.attrName=Ot,ce.attrValue=Qe,ce.keepAttr=!0,ce.forceKeepAttr=void 0,bt("uponSanitizeAttribute",v,ce),Qe=ce.attrValue,ce.forceKeepAttr||(kt(ze,v),!ce.keepAttr))continue;if(!l&&q(/\/>/i,Qe)){kt(ze,v);continue}I&&k([gt,rt,nt],er=>{Qe=$(Qe,er," ")});const Zt=Be(v.nodeName);if(!!Yt(Zt,Ot,Qe)){if(ut&&(Ot==="id"||Ot==="name")&&(kt(ze,v),Qe=St+Qe),re&&typeof be=="object"&&typeof be.getAttributeType=="function"&&!Ye)switch(be.getAttributeType(Zt,Ot)){case"TrustedHTML":{Qe=re.createHTML(Qe);break}case"TrustedScriptURL":{Qe=re.createScriptURL(Qe);break}}try{Ye?v.setAttributeNS(Ye,ze,Qe):v.setAttribute(ze,Qe),P(y.removed)}catch(er){}}}bt("afterSanitizeAttributes",v,null)},lr=function me(v){let J=null;const ce=zt(v);for(bt("beforeSanitizeShadowDOM",v,null);J=ce.nextNode();)bt("uponSanitizeShadowNode",J,null),!Kt(J)&&(J.content instanceof z&&me(J.content),Jt(J));bt("afterSanitizeShadowDOM",v,null)};return y.sanitize=function(me){let v=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},J=null,ce=null,$e=null,qe=null;if(Mt=!me,Mt&&(me=""),typeof me!="string"&&!Xt(me))if(typeof me.toString=="function"){if(me=me.toString(),typeof me!="string")throw ae("dirty is not a string, aborting")}else throw ae("toString is not a function");if(!y.isSupported)return me;if(ie||jt(v),y.removed=[],typeof me=="string"&&(dt=!1),dt){if(me.nodeName){const _t=Be(me.nodeName);if(!o[_t]||ye[_t])throw ae("root node is forbidden and cannot be sanitized in-place")}}else if(me instanceof te)J=qt(""),ce=J.ownerDocument.importNode(me,!0),ce.nodeType===1&&ce.nodeName==="BODY"||ce.nodeName==="HTML"?J=ce:J.appendChild(ce);else{if(!he&&!I&&!V&&me.indexOf("<")===-1)return re&&Ue?re.createHTML(me):me;if(J=qt(me),!J)return he?null:Ue?De:""}J&&de&&vt(J.firstChild);const ze=zt(dt?me:J);for(;$e=ze.nextNode();)Kt($e)||($e.content instanceof z&&lr($e.content),Jt($e));if(dt)return me;if(he){if(Pe)for(qe=ct.call(J.ownerDocument);J.firstChild;)qe.appendChild(J.firstChild);else qe=J;return(p.shadowroot||p.shadowrootmode)&&(qe=at.call(H,qe,!0)),qe}let Ye=V?J.outerHTML:J.innerHTML;return V&&o["!doctype"]&&J.ownerDocument&&J.ownerDocument.doctype&&J.ownerDocument.doctype.name&&q(Je,J.ownerDocument.doctype.name)&&(Ye=" `+Ye),I&&k([gt,rt,nt],_t=>{Ye=$(Ye,_t," ")}),re&&Ue?re.createHTML(Ye):Ye},y.setConfig=function(){let me=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};jt(me),ie=!0},y.clearConfig=function(){wt=null,ie=!1},y.isValidAttribute=function(me,v,J){wt||jt({});const ce=Be(me),$e=Be(v);return Yt(ce,$e,J)},y.addHook=function(me,v){typeof v=="function"&&(We[me]=We[me]||[],O(We[me],v))},y.removeHook=function(me){if(We[me])return P(We[me])},y.removeHooks=function(me){We[me]&&(We[me]=[])},y.removeAllHooks=function(){We={}},y}var mt=ot();const ht=e.registerComponent(mt,{tmpl:t,sel:"lightning-purify-lib",apiVersion:62});function b(E,y){return ht.sanitize(E,y)}r.default=b,Object.defineProperty(r,"__esModule",{value:!0})}),LWR.define("lightning/purifyLib",["exports","lightning/purifyLib/v/1_23_4-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/7_1_5","lightning/purifyLib/v/1_23_4-alpha"],function(r,e,t){"use strict";function _(O){return O&&typeof O=="object"&&"default"in O?O:{default:O}}var R=_(t);const G={hidden:""},j={lwc:{dom:"manual"}};function w(O,N,D,M){const{shc:$,h:K}=O;return[K("div",{attrs:G,props:{innerHTML:M._rawHtml$0!==(M._rawHtml$0=N.scriptElement)?M._sanitizedHtml$0=$(N.scriptElement):M._sanitizedHtml$0},context:j,key:0})]}var u=e.registerTemplate(w);w.renderMode="light",w.stylesheets=[],w.stylesheetToken="lwc-64pqse1e4gn",w.legacyStylesheetToken="experience-dataLayerObject_dataLayerObject",e.freezeTemplate(w);const f=Object.freeze({ALLOWED_TAGS:[],ALLOWED_ATTR:[]});function g(O){return typeof window=="undefined"?O:R.default(O,f)}class k extends e.LightningElement{constructor(...N){super(...N);this._scriptDataAttributes={},this._catalogObjectId=void 0,this._catalogObjectType=void 0,this._catalogObjectAttributes=void 0,this._relatedCatalogObjects=void 0,this._customObject=void 0}set scriptDataAttributes(N){this._scriptDataAttributes=N}get scriptDataAttributes(){return this._scriptDataAttributes}set catalogObjectId(N){this._catalogObjectId=N}get catalogObjectId(){return this._catalogObjectId}set catalogObjectType(N){this._catalogObjectType=N}get catalogObjectType(){return this._catalogObjectType}set catalogObjectAttributes(N){this._catalogObjectAttributes=N}get catalogObjectAttributes(){return this._catalogObjectAttributes}set relatedCatalogObjects(N){this._relatedCatalogObjects=N}get relatedCatalogObjects(){return this._relatedCatalogObjects}set customObject(N){this._customObject=N}get customObject(){return this._customObject}get scriptElement(){return this.scriptDataAttributes?.providerType&&(this.isCustomObject()||this.isCatalogObject())?``:""}scriptElementContent(){const N=this.isCustomObject()?this.customObject:this.buildCatalogObject();return JSON.stringify(N)}isCustomObject(){return!!this.customObject}isCatalogObject(){return!!(this.catalogObjectId&&this.catalogObjectType)}buildCatalogObject(){return{id:this.catalogObjectId,type:this.catalogObjectType,attributes:this.catalogObjectAttributes,relatedCatalogObjects:this.relatedCatalogObjects}}}k.renderMode="light",e.registerDecorators(k,{publicProps:{scriptDataAttributes:{config:3},catalogObjectId:{config:3},catalogObjectType:{config:3},catalogObjectAttributes:{config:3},relatedCatalogObjects:{config:3},customObject:{config:3},scriptElement:{config:1}},fields:["_scriptDataAttributes","_catalogObjectId","_catalogObjectType","_catalogObjectAttributes","_relatedCatalogObjects","_customObject"]});const P=e.registerComponent(k,{tmpl:u,sel:"experience-data-layer-object",apiVersion:62});r.default=P,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/7_1_5","experience/dataLayerObject/v/250_25_0","webruntime/innerApp/v/1_66_768-252_0","lwr/routerContainer/v/0_13_10","@salesforce/site/Id/v/1","@salesforce/webstore/Id/v/1","@app/templateDevName/v/1","webruntime/routingService/v/1","webruntime/errors/v/1_66_768-252_0"],function(r,e,t,_,R,G,j,w,u,m){"use strict";function s(A){return A&&typeof A=="object"&&"default"in A?A:{default:A}}var f=s(t),g=s(_),k=s(R),P=s(G),O=s(j),N=s(w);function D(A,x,q,ae){const{c:L}=A;return[L("lwr-router-container",k.default,{props:{router:x.router},key:0},[L("experience-data-layer-object",f.default,{props:{scriptDataAttributes:x.siteDataForDataLayer.scriptDataAttributes,customObject:x.siteDataForDataLayer.customObject},key:1}),L("webruntime-inner-app",g.default,{props:{view:x.view,routerContainerView:x.routerContainerView,routeParams:x.routeParams},key:2})])]}var M=e.registerTemplate(D);D.renderMode="light",D.stylesheets=[],D.stylesheetToken="lwc-ag6063mqi2",D.legacyStylesheetToken="webruntime-app_app",e.freezeTemplate(D);class $ extends e.LightningElement{constructor(x,q){super();this.routeParams=void 0,this.themeLayout=void 0,this.isInitialized=void 0,this.router=u.router,this.view=x,this.routerContainerView=q,this.siteDataForDataLayer={scriptDataAttributes:{providerType:"site"},customObject:{siteId:P.default,templateDevName:N.default,...O.default?{webstore:{id:O.default}}:{}}}}renderedCallback(){if(this.isInitialized)return;const x=this.querySelector("lwr-router-container");u.initializeRouterContainer(x),this.isInitialized=!0}errorCallback(x,q){if(m.reportError({subject:"app level error",error:x,wcstack:q}),process.env.SSR)throw x}disconnectedCallback(){this.isInitialized=!1}render(){return M}}$.renderMode="light",e.registerDecorators($,{publicProps:{routeParams:{config:0}},fields:["themeLayout","isInitialized","router"]});const K=e.registerComponent($,{tmpl:M,sel:"webruntime-app",apiVersion:62});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("webruntime/assert/v/1_66_768-252_0",["exports","webruntime/utils/v/1_66_768-252_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_768-252_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_768-252_0","@communities-webruntime/common/v/1_66_768-252_0","webruntime/assert/v/1_66_768-252_0"],function(r,e,t,_){"use strict";function R(a){return a&&typeof a=="object"&&"default"in a?a:{default:a}}var G=R(_);function j(a,d){return`${t.WEBRUNTIME_PREFIX}-${[a,d].filter(Boolean).join(":")}`}const{performance:w}=globalThis;function u(a){const d=JSON.stringify(a);return d&&JSON.parse(d)}function m(a,d,h){const F=j(a,d);w.mark(F,{detail:{ctx:u(h)}})}function s(a,d,h){m(a,d,h)}function f(a,d,h){m(a,d,h)}function g(a,d,h){const F=j(a,d);try{w.measure(F,{detail:{ctx:u(h)},start:F})}catch(W){e.logError(`[instrumentation] no startMark named ${F} found`,W.stack)}}function k(){return Date.now()}function P(a,d,h){}function O(a,d,h){}function N(a,d,h,F,W){}function D(a){}function M(a,d){}function $(a){return{logHits(d){},logMisses(d){},unRegister(){}}}function K(a,d,h){}function A(a){}function x(a){}function q(a){}function ae(a,d,h){}function L(a){return{increment(d){},decrement(d){},getValue(){return 0},reset(){}}}function Ce(a){return{setValue(d){},getValue(){return 0},reset(){}}}function oe(a){return{update(d){},getValue(){return[]},reset(){}}}function ke(a){return{addDuration(){},time(){},getValue(){return[]},reset(){},get(){}}}class je{constructor(){this._registry={eptMarked:[],navToPage:[],navFromPage:[],windowUnload:[]}}get knownEvents(){return Object.keys(this._registry)}_checkEventName(d){if(!this._registry[d])throw new Error(`eventName ${d} isn't valid`)}register(d,h,F){return G.default(d&&typeof d=="string","eventName must be a valid string"),this._checkEventName(d),G.default(h&&typeof h=="string","listenerName must be a valid string"),G.default(typeof F=="function","callback must be provided"),this._registry[d].push({name:h,func:F})}unregister(d,h){this._checkEventName(d);const F=h-1;G.default(this._registry[d][F],`No listener found for ${d} with registration ID ${h}`),delete this._registry[d][F]}notify(d,h){this._checkEventName(d),this._registry[d].forEach(F=>F.func(h))}}const Ae=new je;r.counter=L,r.disablePlugin=q,r.enablePlugin=x,r.error=K,r.gauge=Ce,r.interaction=N,r.mark=s,r.markEnd=g,r.markStart=f,r.notifications=Ae,r.percentileHistogram=oe,r.perfEnd=O,r.perfStart=P,r.registerCacheStats=$,r.registerPeriodicLogger=M,r.registerPlugin=D,r.removePeriodicLogger=A,r.time=k,r.timer=ke,r.trackScenario=ae,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_768-252_0",["exports"],function(r){"use strict";const e="/services/data/v62.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 _(R){return t[R]}r.getResourceReferenceFromAuraMethod=_,Object.defineProperty(r,"__esModule",{value:!0})}),LWR.define("webruntime/auraMethodToResourceReferenceMapping",["exports","webruntime/auraMethodToResourceReferenceMapping/v/1_66_768-252_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_768-252_0",["exports","webruntime/auraMethodToResourceReferenceMapping/v/1_66_768-252_0","webruntime/transport/v/1","webruntime/errors/v/1_66_768-252_0","@app/apexApiBasePath/v/1","webruntime/overrides/v/1","@communities-webruntime/common/v/1_66_768-252_0"],function(r,e,t,_,R,G,j){"use strict";function w(D){return D&&typeof D=="object"&&"default"in D?D:{default:D}}var u=w(R);async function m(D,M){const[$,K]=D.split(".");if($==="ApexActionController")return f(K,M);const A=e.getResourceReferenceFromAuraMethod(D);if(A)return s(A,M);throw new Error(`Unsupported controller action: ${$}.${K}`)}async function s({urlPath:D,urlPathParamNames:M,method:$,inputRepresentation:K},A){const x=A&&{...A}||{};let q=M.reduce((oe,ke)=>{const je=x[ke];return delete x[ke],oe.replace(`\${${ke}}`,encodeURIComponent(je))},D),ae;($==="POST"||$==="PATCH"||$==="PUT")&&x[K]&&(ae=JSON.stringify(x[K]),delete x[K]),Object.keys(x).length&&(q+=`?${Object.entries(x).filter(([,oe])=>oe!=null&&(!Array.isArray(oe)||oe.length)).map(([oe,ke])=>`${encodeURIComponent(oe)}=${encodeURIComponent(ke)}`).join("&")}`);const L=await t.fetch(q,{method:$,body:ae});let Ce;if(L.status===401&&P(),L.status!==204&&(Ce=await L.json()),Ce instanceof Array&&(Ce=Ce[0]),!L.ok){const oe={status:L.status,data:{...Ce,statusCode:L.status}};throw N([oe])}return O(Ce)}async function f(D,M){if(D==="execute"){const{url:$,httpRequestOptions:K}=g(D,M);return t.fetch($,K).then(A=>(A.status===401&&P(),A.status!==204?A.json():void 0)).then(A=>{if(A&&A.error&&A.error.length>0)throw N(A.error);return O(A)})}throw new Error(`Unsupported Apex action: ${D}`)}function g(D,M){if((!M||typeof M!="object"||Object.keys(M).length===0)&&_.reportError({subject:"Apex API action error - invalid params",type:j.CLIENT_ERROR_TYPES.APEX_ACTION_ERROR,error:new Error(`Apex ${D} action called with invalid params: '${JSON.stringify(M)}'.`)}),M&&M.cacheable===!0){const $=`/apex/${D}?${k(M)}`;if($.length<=j.MAX_URL_LENGTH)return{url:$,httpRequestOptions:{method:"GET",basePath:u.default}}}return{url:`/apex/${D}`,httpRequestOptions:{method:"POST",body:JSON.stringify(M),basePath:u.default}}}function k(D){const M={...D},$=M.params;if($&&typeof $=="object"){const K=Object.keys($).sort().reduce((A,x)=>(A[x]=$[x],A),{});M.params=JSON.stringify(K)}return Object.keys(M).filter(K=>M[K]!==void 0&&M[K]!=null).sort().map(K=>`${K}=${encodeURIComponent(M[K])}`).join("&")}function P(){G.SessionTimeoutOverrides.runSync()}function O(D){return{getReturnValue:()=>D}}function N(D){return{getError:()=>D}}r.apiCallRawResponse=m,Object.defineProperty(r,"__esModule",{value:!0})}),LWR.define("webruntime/apiCall",["exports","webruntime/apiCall/v/1_66_768-252_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_768-252_0","webruntime/logger/v/1_66_768-252_0"],function(r,e,t){"use strict";function _(u){if(u&&u.__esModule)return u;var m=Object.create(null);return u&&Object.keys(u).forEach(function(s){if(s!=="default"){var f=Object.getOwnPropertyDescriptor(u,s);Object.defineProperty(m,s,f.get?f:{enumerable:!0,get:function(){return u[s]}})}}),m.default=u,Object.freeze(m)}var R=_(t);const G=null,j=null,w=null;Object.defineProperty(r,"executeGlobalControllerRawResponse",{enumerable:!0,get:function(){return e.apiCallRawResponse}}),r.logger=R,r.createComponent=G,r.getDefinition=w,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/7_1_5"],function(r,e,t){"use strict";function _(C){return C&&typeof C=="object"&&"default"in C?C:{default:C}}var R=_(e);const G=/^\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,w="HH:mm:ss.SSS",u="YYYY-MM-DD",m="T",s=/(Z|([+-])(\d{2}):(\d{2}))$/;function f(C){return P(C)&&N(C)}function g(C){if(!O(C))return!1;const ee=k(C);return N(`2018-09-09T${ee}Z`)}function k(C){return typeof C=="string"?C.split(s)[0]:C}function P(C){return typeof C!="string"?!1:G.test(C)}function O(C){return typeof C!="string"?!1:j.test(C)}function N(C){const ee=Date.parse(C);return isFinite(ee)}var D=void 0;const M="in a few seconds",$="a few seconds ago",K="in {0} {1}",A="{0} {1} ago",x="s",q={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"}},ae=1e3,L=6e4,Ce=36e5,oe=864e5;class ke{constructor(ee){if(this.milliseconds=0,typeof ee!="number"){this.isValid=!1,console.warn(`The value of milliseconds passed into Duration must be of type number, but we are getting the ${typeof ee} value "${ee}" instead. `);return}this.isValid=!0,this.milliseconds=ee}humanize(ee){if(!this.isValid)return"";const se=a(this);return se===q.SECONDS?this.milliseconds>0?M:$:d(ee,this.asIn(se),se.name)}asIn(ee){switch(ee){case q.SECONDS:return Math.round(this.milliseconds/ae);case q.MINUTES:return Math.round(this.milliseconds/L);case q.HOURS:return Math.round(this.milliseconds/Ce);case q.DAYS:return Math.round(this.milliseconds/oe);case q.MONTHS:return Math.round(Ae(this.milliseconds/oe));case q.YEARS:default:return Math.round(Ae(this.milliseconds/oe)/12)}}}const je=t.registerComponent(ke,{tmpl:D,sel:"lightning-config-provider",apiVersion:62});function Ae(C){const ee=4800/146097;return C*ee}function a(C){const ee=Object.keys(q).find(se=>{const re=q[se];return re===q.YEARS||Math.abs(C.asIn(re))0?K:A;return F(De,se,re)}function F(C,...ee){return C.replace(/{(\d+)}/g,(se,re)=>ee[re])}const W=["January","February","March","April","May","June","July","August","September","October","November","December"],le={short:"M/d/yyyy",medium:"MMM d, yyyy",long:"MMMM d, yyyy"},Re={short:"h:mm a",medium:"h:mm:ss a",long:"h:mm:ss a"},Me={short:"h:m a",medium:"h:m:s a",long:"h:m:s a"};function Ne(C,ee){let se=!1,re=C;return typeof C=="string"&&(re=C.split(m)[0],se=!0),E(re,ee,se)}function Le(C,ee){return E(C,ee,!0)}function Y(C,ee){if(!S(C))return new Date("");const se=(C.getHours()+11)%12+1,re=C.getHours()>=12?"PM":"AM";switch(ee){case w:return`${te(C.getHours())}:${te(C.getMinutes())}:${te(C.getSeconds())}.${Q(C.getMilliseconds())}`;case Re.short:return`${se}:${te(C.getMinutes())} ${re}`;case Re.medium:case Re.long:default:return`${se}:${te(C.getMinutes())}:${te(C.getSeconds())} ${re}`}}function ue(C){if(!S(C))return new Date("");const ee=new Date(C.getTime());return`${Le(ee)}, ${Y(B(ee))}`}function ne(C){let ee=null,se=!0;if(g(C)?ee=`2014-03-20T${H(C)}`:f(C)&&(C.indexOf(m)>0?(ee=H(C),se=!1):ee=`${C}T00:00:00.000Z`),ee){const re=new Date(ee);return se&&B(re),re}return null}function we(C,ee){return ee===u&&f(C)?ne(C):Object.values(le).includes(ee)?b(C,ee):Object.values(Me).includes(ee)?ht(C):null}function Fe(C){return ne(H(C))}function Ge(C,ee,se){const re=Z(C),De=Z(ee);return!re||!De?!1:y(re,se).getTime()y(De,se).getTime()}function xe(C,ee,se){const re=new Date(C.getTime());se(z(re))}function Xe(C,ee,se){const re=new Date(C.getTime());se(B(re))}function Je(C){return C}function Ze(C){return C}function it(C){return C}function lt(C){return C}function ft(){return{format:C=>(console.warn(`The current environment does not support large numbers and the original value of ${C} will be returned.`),C)}}function ot(C){return new je(C*60*1e3)}function mt(C){return C.humanize("en")}function ht(C){const ee=C.trim().split(/[:.\s*]/),se=ee.length;if(!ee||se<2||se>5)return null;const re=ee[se-1],De=re.toLowerCase()==="am",et=re.toLowerCase()==="pm";ee.splice(-1,1);const pt=ee.every(nt=>!isNaN(nt));if(!et&&!De||!pt)return null;const ct=ee[0],tt=te(et?ct%12+12:ct%12),at=se>=3&&ee[1]||"0",We=se>=4&&ee[2]||"0",gt=se===5&&ee[3]||"0",rt=new Date("2014-03-20");return rt.setHours(tt,at,We,gt),S(rt)?rt:null}function b(C,ee){let se=/^([a-zA-Z]{3})\s*(\d{1,2}),\s*(\d{4})$/;switch(ee){case le.short:se=/^(\d{1,2})\/(\d{1,2})\/(\d{4})$/;break;case le.long:se=/^([a-zA-Z]+)\s*(\d{1,2}),\s*(\d{4})$/;break}const re=se.exec(C.trim());if(!re)return null;let De=re[1];const et=re[2],pt=re[3];ee!==le.short&&(De=W.findIndex(at=>at.toLowerCase().includes(De.toLowerCase())),De+=1);const ct=`${pt}-${te(De)}-${te(et)}`,tt=new Date(`${ct}T00:00:00.000Z`);return S(tt)?B(tt):null}function E(C,ee,se){const re=Z(C);if(!re)return new Date("");switch(se&&S(C)&&B(re),ee){case u:return`${re.getFullYear()}-${te(re.getMonth()+1)}-${te(re.getDate())}`;case le.short:return`${re.getMonth()+1}/${re.getDate()}/${re.getFullYear()}`;case le.long:return`${W[re.getMonth()]} ${re.getDate()}, ${re.getFullYear()}`;case le.medium:default:return`${W[re.getMonth()].substring(0,3)} ${re.getDate()}, ${re.getFullYear()}`}}function y(C,ee){switch(ee){case"day":C.setHours(0),C.setMinutes(0);case"minute":C.setSeconds(0),C.setMilliseconds(0);break}return C}function S(C){return Object.prototype.toString.call(C)==="[object Date]"&&!isNaN(C.getTime())}function H(C){return`${k(C)}Z`}function B(C){return C.setMinutes(C.getMinutes()+C.getTimezoneOffset()),C}function z(C){return C.setMinutes(C.getMinutes()-C.getTimezoneOffset()),C}function Z(C){return C?S(C)?new Date(C.getTime()):isFinite(C)&&(typeof C=="number"||typeof C=="string")?new Date(parseInt(C,10)):typeof C=="string"?ne(C):null:null}function te(C){return Number(C)<10?`0${C}`:C}function Q(C){return Number(C)<10?`00${C}`:Number(C)<100?`0${C}`:C}var X={formatDate:Ne,formatDateUTC:Le,formatTime:Y,formatDateTimeUTC:ue,parseDateTimeISO8601:ne,parseDateTime:we,parseDateTimeUTC:Fe,isBefore:Ge,isAfter:Ve,UTCToWallTime:xe,WallTimeToUTC:Xe,translateToOtherCalendar:Je,translateFromOtherCalendar:Ze,translateToLocalizedDigits:it,translateFromLocalizedDigits:lt,getNumberFormat:ft,duration:ot,displayDuration:mt};function ge(){return X}function _e(){return R.default}function Oe(){return null}function be(){return null}function Te(){return{densitySetting:""}}var Ee={getOneConfig:Te,getIconSvgTemplates:be,getToken:Oe,getPathPrefix:_e,getLocalizationService:ge};r.default=Ee,r.getIconSvgTemplates=be,r.getLocalizationService=ge,r.getOneConfig=Te,r.getPathPrefix=_e,r.getToken=Oe,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_13_10","lwr/currentPageReference/v/0_13_10","lwr/currentView/v/0_13_10","lwr/contextUtils/v/0_13_10","lwr/routerErrors/v/0_13_10","lwr/navigationMixinHacks/v/0_13_10"],function(r,e,t,_,R,G,j){"use strict";function w(O,N,D,M){R.getNavigationHelm(O).navigate(N,D,M)}function u(O,N,D){return R.getNavigationHelm(O).generateUrl(N,D)}const m=typeof window=="undefined",s=Symbol("Navigate"),f=Symbol("GenerateUrl"),g=Symbol("NavContext"),k=Symbol("NavContext");function P(O){G.invariant(typeof O.prototype.dispatchEvent=="function",G.messages.INVALID_MIXIN_CMP,[O.toString()]);class N extends O{[k](){if(!this[g]&&(this.dispatchEvent(new CustomEvent(j.CONTEXT_ID_BACKDOOR,{bubbles:!0,composed:!0,detail:{callback:M=>{this[g]=M}}})),!this[g]))throw new Error(G.generateMessage(G.messages.MISSING_CONTEXT))}[s](M,$,K){m||(this[k](),w(this[g],M,$,K))}async[f](M,$){return m?null:(this[k](),u(this[g],M,$))}}return N}P.Navigate=s,P.GenerateUrl=f,P.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 _.CurrentView}}),Object.defineProperty(r,"ContextInfo",{enumerable:!0,get:function(){return R.ContextInfo}}),Object.defineProperty(r,"generateContextualWireAdapter",{enumerable:!0,get:function(){return R.generateContextualWireAdapter}}),Object.defineProperty(r,"getNavigationHelm",{enumerable:!0,get:function(){return R.getNavigationHelm}}),Object.defineProperty(r,"registerNavigationHelm",{enumerable:!0,get:function(){return R.registerNavigationHelm}}),r.NavigationMixin=P,r.generateUrl=u,r.navigate=w,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_768-252_0",["exports"],function(r){"use strict";const e=300,{document:t}=globalThis,_={navKey:"F6",f6RegionAttribute:"data-f6-region",f6RegionHighlightClass:"f6-highlight"},R=m=>m&&(m.shadowRoot?m.shadowRoot.activeElement?R(m.shadowRoot.activeElement):m:m.activeElement?R(m.activeElement):m);class G{constructor(s={}){this.regions=[],this.config=_,this.handleClick=()=>{this.clearRegionHighlights()},this.handleKeyDown=f=>{this.clearRegionHighlights();const{key:g,ctrlKey:k,metaKey:P}=f;g===this.config.navKey&&(k||P)&&(this.populateRegions(),this.handleNavigation(f))},this.elementFilter=f=>f.parentElement&&f.parentElement.matches(`*[${this.config.f6RegionAttribute}]`)?NodeFilter.FILTER_REJECT:f.matches(`*[${this.config.f6RegionAttribute}]`)&&this.isVisible(f)&&!this.isEmpty(f)?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP,this._debounceKeyDownHandler=this.debounce(this.handleKeyDown.bind(this),e),this.initialize(s)}debounce(s,f,g){const k=g||{};let P=k.leading,O;return function(){const D=Array.prototype.slice.apply(arguments);P&&(s.apply(this,D),P=!1),clearTimeout(O),O=setTimeout(function(){s.apply(this,D),P=k.leading},f)}}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 f=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])');f?f.focus():(s.tabIndex="-1",s.focus())}handleNavigation(s){if(s.preventDefault(),!this.regions.length)return;const f=s.shiftKey,g=this.getElementRegionIndex(R(s.target)),k=this.getNextRegionIndex(g,f);if(k===-1)return;const P=this.regions[k];this.focusIn(P),this.addRegionHighlight(P)}shadowContains(s,f){return s===f||s.contains(f)||s.shadowRoot&&this.isElementInContainerElements(s.shadowRoot.children,f)||s.tagName==="SLOT"&&this.isElementInContainerElements(s.assignedElements(),f)?!0:this.isElementInContainerElements(s.children,f)}isElementInContainerElements(s,f){if(!s||!s.length)return!1;const g=s.length;for(let k=0;kthis.shadowContains(f,s))}getNextRegionIndex(s,f){const g=this.regions.length-1;return g<0?-1:f?s<=0?g:s-1:s===g?0:s+1}isVisible(s){if(s===t.body||!(s instanceof Element))return!0;try{const f=window.getComputedStyle(s)||s.style;if(!f)return!1;const{display:g,visibility:k}=f;return g&&g.toLowerCase()==="none"||k&&k.toLowerCase()==="hidden"?!1:this.isVisible(s.parentNode)}catch(f){return!1}}isEmpty(s){if(s.tagName==="SLOT"&&!this.isEmptyChildren(s.assignedElements()))return!1;let f=s.children;return(!f||!f.length)&&s.shadowRoot&&(f=s.shadowRoot.children),this.isEmptyChildren(f)}isEmptyChildren(s){if(!s||!s.length)return!0;const f=s.length;for(let g=0;g(j||(j=new G(m)),j),u=()=>{if(j){const m=j.getConfig();if(m)return m.f6RegionAttribute}};r.DEFAULT_CONFIG=_,r.F6Controller=G,r.createF6Controller=w,r.getActiveElem=R,r.getCurrentRegionAttributeName=u,Object.defineProperty(r,"__esModule",{value:!0})}),LWR.define("webruntime/f6Controller",["exports","webruntime/f6Controller/v/1_66_768-252_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_768-252_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),_=e&&e.basePath,R=e&&e.locale,G=e&&e.assetBasePath,j=e&&e.uiBasePath;r.assetBasePath=G,r.basePath=_,r.isServer=t,r.locale=R,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/transport/v/1",["exports","lwr/loaderLegacy/v/0_13_10","@app/basePath/v/1","@app/apiBasePath/v/1","@salesforce/i18n/lang/v/1","webruntime/utils/v/1_66_768-252_0","@communities-webruntime/common/v/1_66_768-252_0","lwc/v/7_1_5"],function(r,e,t,_,R,G,j,w){"use strict";function u(a){return a&&typeof a=="object"&&"default"in a?a:{default:a}}var m=u(t),s=u(_),f=u(R),g=void 0;class k{constructor(d){const[h,F]=d.split("?");this.path=h,this.searchParams=new URLSearchParams(F)}setParamDefaultValue(d,h){return this.searchParams.has(d)||this.searchParams.append(d,h),this}build(){const d=this.searchParams.toString();return this.path+(d?`?${d}`:"")}}const P=w.registerComponent(k,{tmpl:g,sel:"webruntime-transport",apiVersion:62}),O=["POST","PATCH","PUT","DELETE"],N="X-SFDC-Request-Id",D="X-Salesforce-Too-Many-Requests",M="asGuest",$="language",K="htmlEncode",{location:A,navigator:x}=globalThis;async function q(a,d={}){G.assert(typeof a=="string","Valid path not provided for fetch request");const h={...d,headers:{...d.headers},credentials:d.credentials||"same-origin"};d.credentials===null&&delete h.credentials;const F=h.isNonApiRequest===!0,W=h.asGuest===!0||(await Ae()).isGuest,le=h.basePath!==void 0?h.basePath:s.default,Re=new P(A?new URL(le+a,A).toString():le+a);F||Re.setParamDefaultValue($,f.default).setParamDefaultValue(M,W).setParamDefaultValue(K,!1);const Me=h.headers["Content-Type"];Me===null?delete h.headers["Content-Type"]:Me?h.headers["Content-Type"]=Me:d.body&&(h.headers["Content-Type"]="application/json; charset=utf-8"),h.headers[N]=ke(),await Ce(h);const Ne=await globalThis.fetch(Re.build(),h);return L(Ne)&&ae(),Ne}function ae(){document.dispatchEvent(new CustomEvent("client-error",{detail:{type:j.CLIENT_ERROR_TYPES.TOO_MANY_REQUESTS}}))}function L(a){return!!((a.status===503||a.status===429)&&a.headers.get(D))}async function Ce(a){if(!O.includes(a.method))return;const{csrfToken:d}=await Ae();d&&(a.headers["CSRF-Token"]=d)}async function oe({path:a,payload:d,contentType:h}){const F=m.default+a;x&&x.sendBeacon&&x.sendBeacon(F,d)||await globalThis.fetch(a,{headers:{"Content-Type":h},basePath:m.default,body:d,method:"POST",isNonApiRequest:!0})}function ke(){return(Date.now()+je()+Math.round(Math.random()*1e8)).substring(0,18)}function je(){function a(){return Math.floor((1+Math.random())*65536).toString(16).substring(1)}return a()+a()}async function Ae(){if(typeof window=="undefined")return{isGuest:!0,id:null,csrfToken:null};const{default:a}=await e.load("@app/user/v/1");return a}r.fetch=q,r.sendBeacon=oe,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("assert/v/1",["exports","webruntime/utils/v/1_66_768-252_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 d=this._timeOrigin;a&&typeof performance.now=="function"?(this.perfNow=performance.now.bind(performance),this.time=()=>{const h=this.perfNow();return{tsNow:d+h,perfNow:h,timeOrigin:d}}):(this.perfNow=()=>Date.now()-d,this.time=()=>{const h=this.perfNow();return{tsNow:Date.now(),perfNow:h,timeOrigin:d}})}get isProduction(){return e._isProduction}markProduction(a){e._isProduction=a??!0}_checkArgument(a,d){if(typeof d=="string")return typeof a===d;if(typeof d=="function")return a instanceof d;if(Array.isArray(d))return d.some(h=>this._checkArgument(a,h));throw new Error(`Invalid argKind ${d}`)}requireArgument(a,d,h){let F=a==null||a==="";const W=h!==void 0;if(!F&&W&&(F=!this._checkArgument(a,h)),F)throw new Error(`${d} argument is required${W?" and must be of a supported type.":"."}`)}requireArgumentIfDefined(a,d,h){if(a===void 0)return!1;if(a===null||a===""||!this._checkArgument(a,h))throw new Error(`${d} argument, if defined, must be of a supported type.`);return!0}checkForDenyListedValues(a,d,h){if(h.some(F=>a===F))throw new Error(`The value ${a} isn't allowed for ${d} argument.`)}checkForReservedCharacters(a,d,h){if(a&&h.some(F=>a.indexOf(F)>=0))throw new Error(`The argument ${d} isn't allowed to contain characters from ['${h.join(", ")}']. Received: ${a}.`)}generateUniqueId(a=16){const d=[],h="0123456789abcdef";if(!(a===void 0||a>0))throw new Error('If specified, the argument "length" must be a positive integer');for(let F=0;F1||d(W)?`${W.localName.toLowerCase()}[${h(W)}]`:W.localName.toLowerCase();return[...F(W.parentNode),le]}return F(a).join("/")}getAge(a){return a-this._timeOrigin}getConnectionType(){var a;let d;if(typeof navigator!="undefined"){const h=navigator;d=(a=h==null?void 0:h.connection)===null||a===void 0?void 0:a.effectiveType}return d}clone(a){return JSON.parse(JSON.stringify(a))}definedValueOrDefault(a,d){return a!==void 0?a:d}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 d=this.getGlobal();return typeof((a=d.navigator)===null||a===void 0?void 0:a.sendBeacon)=="function"&&typeof d.Blob=="function"}estimateObjectSize(a){const d=new Set,h=[a];let F=0;for(;h.length;){const W=h.pop();if(typeof W=="boolean")F+=4;else if(typeof W=="string")F+=W.length*2;else if(typeof W=="number")F+=8;else if(W instanceof Uint8Array||W instanceof Uint8ClampedArray||W instanceof Uint16Array||W instanceof Uint32Array||W instanceof Int8Array||W instanceof Int16Array||W instanceof Int32Array||W instanceof Float32Array||W instanceof Float64Array)F+=W.byteLength;else if(typeof W=="object"){const le=W;if(!d.has(le)){d.add(le);for(const Re in le)h.push(le[Re])}}}return F}noProdThrow(a){if(!R.isProduction)throw a}isAllowedOrigin(a,d){return Array.isArray(d)&&d.some(h=>h==="*"||a===h||h instanceof RegExp&&h.test(a))}roundNumber(a,d){const h=Math.pow(10,d);return Math.round(a*h)/h}roundNumbersInObject(a,d){a&&Object.entries(a).forEach(([h,F])=>{typeof F=="number"&&(a[h]=this.roundNumber(F,d))})}tryGetAbsoluteUrl(a){var d;return(a==null?void 0:a.startsWith("/"))&&typeof window=="object"?((d=window.location.origin)!==null&&d!==void 0?d:"")+a:a}}e._isProduction=!0;const t=new e,_=t.getGlobal();t.markProduction(_==null?void 0:_.__O11Y_IS_PROD__);const R=Object.freeze(t);class G{constructor(a,d,h,F,W,le,Re){this._name=a,this._ownerName=d,this._ownerAppName=h,this._tags=F,this._value=0,this._createdOn=W===void 0?R.time().tsNow:W,le!==void 0&&(this._lastUpdatedOn=le),Re!==void 0&&(this._value=Re)}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=R.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 w{constructor(){this._upCounters=new Map,this._ownerAppName=j}_addOrUpdateCounter(a,d,h){if(!a)return;const F={status:h},W=`${this._ownerAppName}:${d}:${a}${JSON.stringify(F)}`;let le=this._upCounters.get(W);le||(le=new G(a,d,this._ownerAppName,F),this._upCounters.set(W,le)),le.increment()}success(a,d){this._addOrUpdateCounter(a,d,"success")}exception(a,d){this._addOrUpdateCounter(a,d,"error")}getBucketHistograms(){return[]}getUpCounters(){return Array.from(this._upCounters.values()).filter(a=>a.getLastUpdatedOn())}getValueRecorders(){return[]}setOwnerAppName(a){this._ownerAppName=a}}const u=new w;class m{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,d){let h=this._lazyMap.get(a);if(!h){if(this.maxSize!==void 0&&this.size===this.maxSize)return!1;h=new Array,this._lazyMap.set(a,h)}return h.push(d),!0}getMessages(a,d){const h=this._lazyMap.get(a);return d&&this._lazyMap.has(a)&&this._lazyMap.set(a,[]),h||[]}getAllMessages(a){const d=new Map;for(const[h,F]of this._lazyMap.entries())F.length&&d.set(h,this.getMessages(h,a));return d}extractMessages(a){return this.getMessages(a,!0)}extractAllMessages(){return this.getAllMessages(!0)}get totalItemCount(){let a=0;for(const d of this._lazyMap.values())a+=d.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,d,h=!0){if(!h||a!==void 0&&d!==void 0)return{schema:a,payload:d}}checkSchema(a){return R.requireArgument(a,"schema","object"),R.requireArgument(a.namespace,"schema.namespace","string"),R.requireArgument(a.name,"schema.name","string"),R.requireArgument(a.pbjsSchema,"schema.pbjsSchema","object"),this._getTokens(a)}_getTokens(a){const d=a.namespace.split(".");if(d.length!==2)throw new Error(`Schema "${this.getSchemaId(a)}" must have a namespace of the form "domain.feature".`);return{domain:d[0],feature:d[1],message:a.name}}_getAnyNestedObject(a,d){return d.reduce((h,F)=>{const W=h.nested;if(W){const le=W[F];if(le)return le}throw new Error(`Cannot locate ${d.join(".")} in schema with ID ${this.getSchemaId(a)}`)},a.pbjsSchema)}getTypes(a){const d=this.checkSchema(a),F=this._getAnyNestedObject(a,[d.domain,d.feature]).nested;if(!F)throw new Error(`Cannot parse schema with ID ${this.getSchemaId(a)}`);return F}getType(a,d){R.requireArgument(d,"messageName","string");const F=this.getTypes(a)[d];if(!F)throw new Error(`Cannot locate message ${d} in schema with ID ${this.getSchemaId(a)}`);return F}getOptions(a,d,h){h&&R.requireArgument(d,"messageName","string");const F=this.checkSchema(a);if(!d)return this._getAnyNestedObject(a,[F.domain,F.feature]).options;const W=this.getType(a,d);if(!h)return W.options;const le=W.fields[h];if(!le){const Re=this.getSchemaId(a);throw new Error(`Cannot locate field ${h} in message ${d} in schema with ID ${Re}`)}return le.options}getExtraFields(a,d){const{message:h}=this._getTokens(a),W=this.getTypes(a)[h].fields,le=new Set(Object.keys(W));return d!=null?Object.keys(d).filter(Me=>!le.has(Me)):[]}}const f=new s,g=1e4,k=1e4,P=0,O=2147483647,N=-2147483648,D=4294967295,M=9223372036854776e3,$=-9223372036854776e3,K=18446744073709552e3;class A{constructor(a,d,h,F){this.errorCode=a,this.fields=d,this.expected=h,this.received=F}asMessage(a){const d=this.fields[0]+this.fields.slice(1).reduce((F,W)=>Number(W)>=0?`${F}[${W}]`:`${F}.${W}`,"");let h;switch(this.errorCode){case 1:h="Repeated field must be an array";break;case 2:h=`Expected type ${this.expected} but received type ${this.received}`;break;case 3:h="Value must be finite";break;case 4:h="Value is out of range for its type";break;case 5:h="Bytes array is malformed";break;case 6:h="Exceeded app limit for maximum string length";break;case 7:h="Exceeded app limit for item count";break;case 12:h="Value must be an integer";break;case 13:h="Values like null or undefined are not allowed for items in repeated fields";break;default:h=`Unknown error code: ${this.errorCode}`;break}return`Schema ${a} on field "${d}": ${h}`}}class x{validate(a,d,h=!1){const F=f.checkSchema(a);R.requireArgument(d,"data","object");const W=f.getSchemaId(a),le=new Array,Re=f.getTypes(a);if(this._validateFields(le,[],d,Re[F.message],Re,W),le.length&&!h)throw new Error(le[0].asMessage(W));return le}_validateFields(a,d,h,F,W,le){const Re=F.oneofs||{},Me=F.fields||{};for(const Ne in h){const Le=h[Ne];if(Le!=null){const Y=(ue,ne,we)=>this._matchFieldTypes(a,[...d,Ne],Le,ue,W,le,Ne,ne,we);Re[Ne]?Y(Me[Re[Ne].oneof[0]].type):Me[Ne]&&Y(Me[Ne].type,Me[Ne].rule==="repeated")}}}_matchFieldTypes(a,d,h,F,W,le,Re,Me,Ne){let Le;if(Me)Array.isArray(h)?(h.length>k&&(Le=7),h.forEach((Y,ue)=>{this._matchFieldTypes(a,[...d,ue.toString()],Y,F,W,le,Re,void 0,!0)})):Le=1;else if(h==null||h===void 0)Ne&&(Le=13);else{let Y,ue;switch(F){case"string":ue="string",h.length>g&&(Le=6);break;case"bytes":ue="object",h instanceof Uint8Array||(Le=5);break;case"bool":ue="boolean";break;case"uint32":ue="number",Y={min:P,max:D,isInt:!0,isItem:Ne};break;case"int32":case"sint32":case"fixed32":case"sfixed32":ue="number",Y={min:N,max:O,isInt:!0,isItem:Ne};break;case"uint64":ue="number",Y={min:P,max:K,isInt:!0,isItem:Ne};break;case"fixed64":case"sfixed64":case"int64":case"sint64":ue="number",Y={min:$,max:M,isInt:!0,isItem:Ne};break;case"double":case"float":ue="number",Y={min:Number.NEGATIVE_INFINITY,max:Number.POSITIVE_INFINITY,isInt:!1,isItem:Ne};break;default:new Set(Object.keys(W)).has(F)&&(this._validateFields(a,d,h,W[F],W,le),ue="object");break}typeof h!==ue?a.push(new A(2,d,F,typeof h)):Y&&(Y.isInt&&!Number.isFinite(h)?Le=3:Y.isInt&&!Number.isInteger(h)?Le=12:!(!Y.isInt&&Number.isNaN(h))&&!(h>=Y.min&&h<=Y.max)&&(Le=4))}Le&&a.push(new A(Le,d))}}const q=new x;class ae{_getMetricTags(a){const d=a.getTags();if(d)return Object.entries(d).map(h=>({name:h[0],value:h[1].toString()}))}getUpCounters(a,d=!0){return a.map(h=>{const F={name:h.getName(),createdTimestamp:h.getCreatedOn(),lastUpdatedTimestamp:h.getLastUpdatedOn(),value:h.getData(),ownerName:h.getOwnerName(),ownerAppName:h.getOwnerAppName(),tags:this._getMetricTags(h)};return d&&h.reset(),F})}getValueRecorders(a,d=!0){return a.map(h=>{const F={name:h.getName(),createdTimestamp:h.getCreatedOn(),lastUpdatedTimestamp:h.getLastUpdatedOn(),values:h.getData(),ownerName:h.getOwnerName(),ownerAppName:h.getOwnerAppName(),tags:this._getMetricTags(h)};return d&&h.reset(),F})}getBucketHistograms(a,d=!0){return a.map(h=>{const F={name:h.getName(),createdTimestamp:h.getCreatedOn(),lastUpdatedTimestamp:h.getLastUpdatedOn(),values:h.getData(),buckets:h.getBuckets(),ownerName:h.getOwnerName(),ownerAppName:h.getOwnerAppName(),tags:this._getMetricTags(h)};return d&&h.reset(),F})}getMetricsTags(a){const d={};return a.forEach(h=>{d[h.name]=h.value}),d}}const L=Object.freeze(new ae);class Ce{checkInputs(a,d){f.checkSchema(a),R.requireArgument(d,"data","object");let h,F;d.userPayload!==void 0&&f.isInternal(a)&&(F=d.userPayload,h=q.validate(F.schema,F.payload,!0),this._processValidationResults(f.getSchemaId(F.schema),F.payload,h),d.userPayload=void 0),h=q.validate(a,d,!0),this._processValidationResults(f.getSchemaId(a),d,h),F!==void 0&&(d.userPayload=F)}getExtraFields(a,d){R.requireArgument(d,"data","object");const h=[],F=d.userPayload;return F!==void 0&&f.isInternal(a)&&h.push(...f.getExtraFields(F.schema,F.payload)),h.push(...f.getExtraFields(a,d)),h}getPayloadFromProvider(a,d){const h=(a==null?void 0:a.getPayload(d))||void 0;return h&&this.checkInputs(h.schema,h.payload),h}_processValidationResults(a,d,h){for(let F=0;F0:void 0}constructor(n,i,o,c){this.name=n,this._doneCallback=o,this._overDoneCallback=c,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 R=300;class G{constructor(n){this._taskers=new Map,this._listeners=new Set,this._busyCheckers=new Map,this._logThreshold=R,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 p=this._taskers.get(o);p.start=t.utility.time().perfNow,p.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 _(n,i,()=>{this._taskers.get(o).end=t.utility.time().perfNow,this._reportTaskEnded(o),this._checkIfLoaded()},()=>{var c;(c=this._errorListener)===null||c===void 0||c.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 c=i[0],p=i[1];try{return c()}catch(T){return(o=this._errorListener)===null||o===void 0||o.call(this,T,`BusyChecker ${p}`),t.utility.noProdThrow(T),!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 c=this._endedTasks.splice(0),p=this._pollableReport.splice(0);this._notify(o,i,c,p)}}}_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,c){var p;if(i>=this._logThreshold&&this._reportListener){const U=this._getReport(i,n.length,o,c);this._reportListener(U)}n.reverse();const T=t.utility.time().tsNow;for(const[U,ye]of n.entries())try{ye(T)}catch(ve){(p=this._errorListener)===null||p===void 0||p.call(this,ve,`Listener #${n.length-1-U}`),t.utility.noProdThrow(ve)}}getReport(){const n=t.utility.time().perfNow,i=this._firstCallbackTime>0?n-this._firstCallbackTime:void 0,o=Array.from(this._taskers.entries()).filter(c=>c[0].isBusy).map(c=>({name:c[1].name,start:c[1].start,end:n}));return this._getReport(i,this._listeners.size,this._endedTasks.concat(o),this._pollableReport)}_getReport(n,i,o,c){const p=o.map(T=>({name:T.name,duration:T.end-T.start})).sort((T,U)=>U.duration-T.duration);return{logThreshold:this._logThreshold,maxDuration:n,listenerCount:i,pollableCount:this._busyCheckers.size,busyTasks:p.map(T=>T.name),busyDurations:p.map(T=>T.duration),pollables:c.map(T=>T.name),pollCounts:c.map(T=>T.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"]},_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:{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"},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"}}}}}}}}}},w={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"]},_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:{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 u{constructor(n){this._fuzzyKeyRange=n,this._map=new Map,t.utility.requireArgument(n,"_fuzzyKeyRange","number")}add(n,i,o){const c=this._map.get(n);c?c.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 c=Number.POSITIVE_INFINITY,p=-1;for(let T=0;T=0){const{value:T}=o.splice(p,1)[0];return o.length===0&&this._map.delete(n),T}}}clear(){this._map.clear()}}const m=["fetch","xmlhttprequest"];class s{constructor(n,i,o,c,p){if(this._instr=n,this._skipUrls=o,this._logPerformanceActivityName=c,this._isStarted=!1,t.utility.requireArgument(n,"_instr","object"),t.utility.requireArgument(i,"fuzzyMapRange","number"),t.utility.requireArgumentIfDefined(o,"_skipUrls",Array),t.utility.requireArgumentIfDefined(c,"_logPerformanceActivityName","string"),t.utility.requireArgumentIfDefined(p,"logLevel","string"),this._hasPerf=typeof performance!="undefined"&&typeof PerformanceObserver=="function",this._boundObserverCallback=this._logPerformanceEntries.bind(this),!p||p.toLowerCase()==="full")this._logLevel=1;else if((p==null?void 0:p.toLowerCase())==="basic")this._logLevel=0;else throw new Error(`Invalid log level: ${p}`);this._fuzzyMapper=new u(i)}get isStarted(){return this._isStarted}get logLevel(){return this._logLevel}start(){!this._hasPerf||this._isStarted||(this._isStarted=!0,this._navigationObserver=new PerformanceObserver(this._boundObserverCallback),this._navigationObserver.observe({type:"navigation",buffered:!0}),this._resourceObserver=new PerformanceObserver(this._boundObserverCallback),this._resourceObserver.observe({type:"resource",buffered:!0}))}stop(){this._resourceObserver&&(this._resourceObserver.disconnect(),this._resourceObserver=void 0),this._navigationObserver&&(this._navigationObserver.disconnect(),this._navigationObserver=void 0),this._fuzzyMapper.clear(),this._isStarted=!1}addEntry(n,i,o){this._fuzzyMapper.add(n,i,o)}_resourceEntryToResourceTiming(n){var i,o;const c={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},p=n.serverTiming;return Array.isArray(p)&&(c.dbDuration=(i=p.find(T=>T.name==="db"))===null||i===void 0?void 0:i.duration,c.srvDuration=(o=p.find(T=>T.name==="Total"))===null||o===void 0?void 0:o.duration),c}_shouldInclude(n){var i;return((i=this._skipUrls)===null||i===void 0?void 0:i.some(c=>c instanceof RegExp?c.test(n.name):n.name===c))?!1:this._logLevel===1?!0:m.indexOf(n.initiatorType)>=0||n.entryType==="navigation"}_logActivity(n,i,o,c){const p={id:o},T={perfStartOverride:i.startTime,perfStopOverride:i.startTime+i.duration,errorCount:c};this._instr.startActivity(this._logPerformanceActivityName,p).stop(n,i,T)}_logPerformanceEntries(n){for(const i of n.getEntriesByType("navigation")){const o=i;if(this._shouldInclude(o)){if(o!==this._navTiming){this._navTiming=o;const c=this._resourceEntryToResourceTiming(o),p={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};this._logActivity(j,Object.assign(c,p))}break}}for(const i of n.getEntriesByType("resource")){const o=i,c=this._fuzzyMapper.pop(o.name,o.startTime);if(this._shouldInclude(o)){const p=this._resourceEntryToResourceTiming(o);Object.assign(p,{srvReqId:c==null?void 0:c.requestId,xhrDelay:c?c.activityDuration-o.duration:void 0}),this._logActivity(w,p,c==null?void 0:c.activityId,c==null?void 0:c.errorCount)}}}}const f=32,g=16,k=16,P="traceparent",O="b3",N="X-B3-TraceId",D="X-B3-SpanId",M="X-B3-Sampled",$="X-B3-ParentSpanId",K="X-SFDC-Request-Id",A="fetch",x="xhr_send",q="perf-timing",ae=50;class L{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,c){let p=`${n}-${i}`;return(o!==void 0||c!==void 0)&&(p+=o?"-1":"-0",c!==void 0&&(p+=`-${c}`)),p}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 c=0;c="a"&&p<="f")&&!(p>="0"&&p<="9"))throw new Error(`The text '${n}' has an invalid character at index #${c}`)}return o>i?n.substr(o-i):op[0]===n);return c==null?void 0:c[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,c,p,T,U){L._originalFetch=L._global.fetch;const ye=async(ve,fe,...Ie)=>{var Se;let l,I,V,ie,de,he=!1;try{T==null||T.add(),ie=fe==null?void 0:fe.method;const Pe=fe==null?void 0:fe.o11y,Ue=Pe==null?void 0:Pe.skipInstr;if(he=Ue||L._shouldSkipUrl(U,ve),!he)l=n.startActivity(o||A);else if(Ue){L._reqIndex+=1;try{if(ve instanceof URL)ve.searchParams.append("o11y",L._reqIndex.toString());else if(typeof ve=="string"){const Ke=new URL(ve),ut=`o11y=${L._reqIndex}`;Ke.search+=Ke.search.startsWith("?")?`&${ut}`:ut,ve=Ke.toString()}}catch(Ke){}}if(fe==null||delete fe.o11y,I=ve==null?void 0:ve.toString(),V=t.utility.tryGetAbsoluteUrl(I),c){ve instanceof Request&&(ie||(ie=ve.method),I=ve.url,V=t.utility.tryGetAbsoluteUrl(I));const Ke=L._getTraceHeaders(l,n,p,ie,V);!this._applyTraceHeaders(ve,fe,Ke)&&fe===void 0&&(fe={headers:Ke})}return de=t.utility.perfNow(),await L._originalFetch.call(L._global,ve,fe,...Ie)}catch(Pe){throw i&&!he&&(l?l.error(Pe):n.error(Pe)),Pe}finally{try{const Pe=L._endActivity(l,I,ie);if((Se=L._performanceObservability)===null||Se===void 0?void 0:Se.isStarted){const Ue=L._extractHeader(K,ve,fe);L._performanceObservability.addEntry(V,de,{requestId:Ue,activityDuration:Pe,activityId:l==null?void 0:l.getId(),errorCount:l==null?void 0:l.getErrorCount()})}}finally{T==null||T.done()}}};L._global.fetch=ye}static _endActivity(n,i,o){var c;if(n)return((c=L._performanceObservability)===null||c===void 0?void 0:c.isStarted)?n.discard():n.stop(e.networkSchema,{mtd:o,url:i}),n.getStopPerfTime()-n.getStartPerfTime()}_overrideXhr(n,i,o,c,p,T,U){L._originalXhr=L._global.XMLHttpRequest,L._originalXhrOpen=L._originalXhr.prototype.open,L._originalXhrSetRequestHeader=L._originalXhr.prototype.setRequestHeader,L._originalXhrSend=L._originalXhr.prototype.send;function ye(fe,Ie){var Se;if(fe._o11y){const l=fe._o11y.activity,I=L._endActivity(l,fe._o11y.url,fe._o11y.method);!Ie&&((Se=L._performanceObservability)===null||Se===void 0?void 0:Se.isStarted)&&L._performanceObservability.addEntry(fe._o11y.absoluteUrl,fe._o11y.sendTime,{requestId:fe._o11y.requestId,activityDuration:I,activityId:l==null?void 0:l.getId(),errorCount:l==null?void 0:l.getErrorCount()})}}L._originalXhr.prototype.open=function(fe,Ie,Se,l,I){this._o11y={method:fe,url:Ie==null?void 0:Ie.toString()},this._o11y.absoluteUrl=t.utility.tryGetAbsoluteUrl(this._o11y.url),this._o11y.suspendInstrumentation=L._shouldSkipUrl(U,this._o11y.absoluteUrl),L._originalXhrOpen.apply(this,arguments)},L._originalXhr.prototype.setRequestHeader=function(fe,Ie){var Se;((Se=fe==null?void 0:fe.toLowerCase)===null||Se===void 0?void 0:Se.call(fe))===K.toLowerCase()&&(this._o11y.requestId=Ie),L._originalXhrSetRequestHeader.apply(this,arguments)},L._originalXhr.prototype.send=function(...fe){var Ie;let Se;const l=this;try{if(T==null||T.add(),l._o11y=l._o11y||{},l._o11y.suspendInstrumentation||(l._o11y.activity=Se=n.startActivity(o||x)),c){const I=L._getTraceHeaders(Se,n,p,l._o11y.method,l._o11y.absoluteUrl);Object.entries(I).forEach(V=>{l.setRequestHeader(V[0],V[1])})}l._o11y.sendTime=t.utility.perfNow(),L._originalXhrSend.call(this,...fe)}catch(I){throw i&&!((Ie=l._o11y)===null||Ie===void 0?void 0:Ie.suspendInstrumentation)&&(Se?Se.error(I):n.error(I)),ye(l,!0),T==null||T.done(),I}};const ve=new Proxy(L._originalXhr,{construct(fe){const Ie=new fe;return Ie.addEventListener("load",()=>{ye(Ie),T==null||T.done()}),Ie.addEventListener("error",Se=>{var l,I;try{if(i&&!((l=Ie._o11y)===null||l===void 0?void 0:l.suspendInstrumentation)){const V=new Error("XHR Network-Level Error"),ie=(I=Ie._o11y)===null||I===void 0?void 0:I.activity;ie?ie.error(V):n.error(V)}ye(Ie)}finally{T==null||T.done()}}),Ie.addEventListener("abort",()=>{var Se,l;(l=(Se=Ie._o11y)===null||Se===void 0?void 0:Se.activity)===null||l===void 0||l.discard(),T==null||T.done()}),Ie}});L._global.XMLHttpRequest=ve}networkInstrumentation(n){var i;if(t.utility.requireArgument(n,"options",["boolean","object"]),this._disableNetworkInstrumentation(),n){const o=typeof n=="object"?n:{};let c;t.utility.definedValueOrDefault(o.useTasker,!0)&&(c=(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,c,t.utility.definedValueOrDefault(o.logPerformance,!0),t.utility.definedValueOrDefault(o.logPerformanceActivityName,q),t.utility.definedValueOrDefault(o.skipUrls,[]),t.utility.definedValueOrDefault(o.fuzzyMapRange,ae))}}resetRequestCounter(){L._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(([c,p])=>{i.headers.set(c,p)}),!0;if(Array.isArray(i.headers))return Object.entries(o).forEach(c=>{i.headers.push(c)}),!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(([c,p])=>{n.headers.set(c,p)}),!0;if(i)return i.headers=Object.assign({},o),!0}return!1}static _shouldSkipUrl(n,i){var o;let c=i;return i instanceof URL?c=(o=i.toString)===null||o===void 0?void 0:o.call(i):i instanceof Request&&(c=i.url),n==null?void 0:n.some(p=>p instanceof RegExp?p.test(c):c===p)}}L._global=t.utility.getGlobal(),L._isNetworkInstrumentationEnabled=!1,L._reqIndex=0;var Ce;(function(pe){pe[pe.none=0]="none",pe[pe.start=1]="start",pe[pe.stop=2]="stop",pe[pe.both=3]="both"})(Ce||(Ce={}));const oe="timedout",ke="terminated",je="discarded",Ae={timedout:oe,terminated:ke,discarded:je};class a{constructor(n,i,o,c,p,T,U,ye,ve){this._name=n,this._rootId=i,this._onStopped=o,this._onError=c,this._isSampled=U,this._noRerooting=ve,this._errorCount=0,this._timerOverridden=Ce.none;const{tsNow:fe,perfNow:Ie}=t.utility.time();if(a._count+=1,this._id=T||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(Se){this._usePerf=!1}}this._startTimestamp=fe,this._startPerfTime=Ie,this._overrideTimer(ye),p>0&&(this._timer=setTimeout(()=>{this._stopReason=this._stopReason||Ae.timedout,this.stop()},p)),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 c=o.perfStartOverride,p=t.utility.requireArgumentIfDefined(c,"options.perfStartOverride","number"),T=o.perfStopOverride,U=t.utility.requireArgumentIfDefined(T,"options.perfStopOverride","number"),ye=o.errorCount;if(t.utility.requireArgumentIfDefined(ye,"options.errorCount","number")&&(this._errorCount=ye),p&&c<0)throw new Error("perfStartOverride, if defined, must be >= 0");if(U&&(T<0||T<(p?c:this._startPerfTime)||T>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(Ce.start)),i!==void 0&&(this._stopPerfTime=i,this._setTimerOverride(Ce.stop))}_setTimerOverride(n){this._timerOverridden===Ce.both||this._timerOverridden===n||n===Ce.none||(this._timerOverridden=this._timerOverridden===Ce.none?n:Ce.both)}_stopInternal(n,i,o){const c=t.utility.perfNow();if(this._usePerf)try{this._stopReason!==Ae.discarded&&performance.measure(this._perfName,this._perfId),performance.clearMarks(this._perfId),performance.clearMeasures(this._perfName)}catch(T){}if(this._timer&&(clearTimeout(this._timer),this._timer=void 0),this.isStopped)return;o&&this._overrideTimer(o.perfStartOverride,o.perfStopOverride),this._stopPerfTime=this._timerOverridden===Ce.none||this._timerOverridden===Ce.start?c:this._stopPerfTime;const p=this._getDetail(n,i);this._onStopped(p)}get isStopped(){return this._stopPerfTime!==void 0}discard(){this._safety.tryCatch(()=>{this._stopReason=this._stopReason||Ae.discarded,this.stop()},{op:"activity.discard"})}terminate(n,i,o){this._safety.tryCatch(()=>{this._stopReason=this._stopReason||Ae.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._rootId||i;return L.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 d=new Array(16).fill(0).join("");class h{getId(){return d}getRootId(){}error(){}stop(){}discard(){}terminate(){}getIsSampled(){return!1}getTraceHeaders(n){return{}}getStartTimestamp(){}getStartPerfTime(){}getStopPerfTime(){}getErrorCount(){return 0}}const F=Object.freeze(new h);class W{getInstrumentedEventData(n,i,o,c){var p;const T={ownerComponent:o.tagName,parentComponent:((p=o.parentElement)===null||p===void 0?void 0:p.tagName)||void 0,simplePath:t.utility.getXpath(o)};switch(n){case 0:T.baseEvent=i;break;case 1:T.mouseEvent=i;break}return c&&(T.userPayload=t.schemaUtil.makePayload(c.schema,c.payload,!0)),T}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 Re=new W;class Me{constructor(n,i,o,c,p,T,U,ye){this._name=n,this._ownerName=i,this._ownerAppName=o,this._tags=c,this._buckets=p,this._values=new Array,this._createdOn=T===void 0?t.utility.time().tsNow:T,U!==void 0&&(this._lastUpdatedOn=U),ye!==void 0&&(this._values=ye)}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 Ne{constructor(n,i,o,c,p,T,U){this._name=n,this._ownerName=i,this._ownerAppName=o,this._tags=c,this._values=new Array,this._createdOn=p===void 0?t.utility.time().tsNow:p,T!==void 0&&(this._lastUpdatedOn=T),U!==void 0&&(this._values=U)}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 Le{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(T[U]=i[U],T),{});return{key:`${we[o]}:${n}${JSON.stringify(c)}`,sortedTags:c}}}class Ge{constructor(){this.isMock=!0}}const Ve=void 0,xe=["`"],Xe={internalError:"o11y-error"},Je=Object.freeze(Array.from(Object.values(Xe)));class Ze{constructor(n,i){this._nextGen=n,this._name=i,this._onActivityStoppedCallback=this._handleActivityStop.bind(this),this._onActivityErrorCallback=this._handleActivityError.bind(this);for(const c of xe)if(this._name.indexOf(c)>=0)throw new Error(`Name cannot include the reserved character "${c}"`);this._safety=new t.PublicSafety({increment:c=>this._incrementError(c)}),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 Fe(this.name,()=>this._nextGen.appName||Ze.defaultAppName)}_incrementError(n=1){this._metrics.incrementCounter(Xe.internalError,n,!0)}get name(){return this._name}_wrapUserPayload(n,i,o=!1){let c;return typeof n=="string"?(c=e.simpleSchema,n?i={text:n.substring(0,this._simpleTextMaxLength)}:i=void 0):c=n,t.schemaUtil.makePayload(c,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 c=t.utility.time().tsNow;t.utility.requireArgument(n,"userSchemaOrText",["object","string"]),t.utility.requireArgumentIfDefined(i,"userData","object"),t.utility.requireArgumentIfDefined(o,"options","object");const p=this._wrapUserPayload(n,i);(p==null?void 0:p.payload)&&this._logInternal(this.name,p.schema,p.payload,c,this._getEffectiveRootId(o))},{op:"log"})}_logInternal(n,i,o,c,p){const T=this._nextGen.addLog(n,i,o,c,p);if(!t.utility.isProduction){const U=t.payloadUtility.getExtraFields(i,o);!t.utility.isProduction&&U.length>0&&this.error("Extra fields",e.payloadDiagsSchema,{extras:U})}return T}error(n,i,o,c){return this._safety.tryCatch(()=>{t.utility.requireArgumentIfDefined(i,"userSchemaOrText",["object","string"]),t.utility.requireArgumentIfDefined(o,"userData","object"),t.utility.requireArgumentIfDefined(c,"options","object");const p=this._getEffectiveRootId(c);this._errorInternal(n,i,o,void 0,p)},{op:"error"})}_errorInternal(n,i,o,c,p){const T=t.utility.time().tsNow;let U;if(n instanceof Error)U=n;else{let fe;n==null||typeof n.toString!="function"?fe="UNKNOWN":fe=n.toString(),U=new Error(fe)}const ye=this._wrapUserPayload(i,o,!0),ve={name:U.name,message:U.message,stack:U.stack,userPayload:ye,activityId:c};return this._logInternal(this.name,e.errorSchema,ve,T,p)}startActivity(n,i){return this._safety.tryCatchReturn(()=>{var o;t.utility.requireArgument(n,"name"),t.utility.requireArgumentIfDefined(i,"options","object");let c,p=(i==null?void 0:i.perfStartOverride)!==void 0;const T=(o=i==null?void 0:i.instrumentationContext)===null||o===void 0?void 0:o.rootId;return T?(p=!0,c={rootId:T,isRootActivitySampled:i.instrumentationContext.isRootActivitySampled}):c=this._nextGen.getDefaultInstrumentationContext(),new a(n,c.rootId,this._onActivityStoppedCallback,this._onActivityErrorCallback,Ve,i==null?void 0:i.id,c.isRootActivitySampled,i==null?void 0:i.perfStartOverride,p)},F,{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===je)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,c,p){this._safety.tryCatch(()=>{var T;const U=t.utility.time().tsNow;t.utility.requireArgument(n,"event",[Event,Ge]),t.utility.requireArgument(i,"handledBy",[HTMLElement,"object"]);let ye;i instanceof HTMLElement?ye=i:(i=i,((T=i.template)===null||T===void 0?void 0:T.host)instanceof HTMLElement?ye=i.template.host:t.utility.requireArgument(void 0,"handledBy"));const ve=this._wrapUserPayload(o,c,!0),fe=this._getEffectiveRootId(p);switch(n.type){case"click":{const Ie=n,Se=this._nextGen.getClickTracker();Se&&Se.markEventHandled(Ie);const l=p==null?void 0:p.captureMouseData,I=Re.getInstrumentedEventData(l?1:0,l?Re.getMouseEventData(Ie):Re.getEventData(Ie),ye,ve);I.auto=p==null?void 0:p._auto,this._logInternal(this.name,e.instrumentedEventSchema,I,U,fe);break}default:throw new Error(t.utility.notImplemented)}},{op:"domEvent"})}_siftTags(n){const i=Object.assign({},n);return Object.entries(i).forEach(([o,c])=>{if(c===null)i[o]="null";else if(c==="")i[o]="empty";else if(Number.isNaN(c))i[o]="NaN";else{const p=typeof c;["number","string","boolean"].indexOf(p)===-1&&(i[o]=p)}}),i}incrementCounter(n,i=1,o=!1,c={}){this._safety.tryCatch(()=>{t.utility.requireArgument(n,"operation","string"),t.utility.checkForDenyListedValues(n,"operation",Je),t.utility.checkForReservedCharacters(n,"operation",xe),t.utility.requireArgument(i,"increment","number"),t.utility.requireArgument(o,"hasError","boolean"),t.utility.requireArgument(c,"tags","object"),this._metrics.incrementCounter(n,i,o,this._siftTags(c))},{op:"incrementCounter"})}trackValue(n,i,o=!1,c={}){this._safety.tryCatch(()=>{t.utility.requireArgument(n,"operation","string"),t.utility.checkForDenyListedValues(n,"operation",Je),t.utility.checkForReservedCharacters(n,"operation",xe),t.utility.requireArgument(i,"value","number"),t.utility.requireArgument(o,"hasError","boolean"),t.utility.requireArgument(c,"tags","object"),this._metrics.trackValue(n,i,o,this._siftTags(c))},{op:"trackValue"})}bucketValue(n,i,o=[],c=!1,p={}){this._safety.tryCatch(()=>{t.utility.requireArgument(n,"operation","string"),t.utility.checkForDenyListedValues(n,"operation",Je),t.utility.checkForReservedCharacters(n,"operation",xe),t.utility.requireArgument(i,"value","number"),t.utility.requireArgument(o,"buckets",Array),Object.entries(o).forEach(([T,U])=>{t.utility.requireArgument(U,`Bucket value for '${T}'`,"number")}),t.utility.requireArgument(c,"hasError","boolean"),t.utility.requireArgument(p,"tags","object"),this._metrics.bucketValue(n,i,o,c,this._siftTags(p))},{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 c,p,T,U;const ye=this._getAsaOptions(o),ve=this.startActivity(n,ye);try{return i(ve)}catch(fe){throw ve.error(fe,(c=o==null?void 0:o.errorPayload)===null||c===void 0?void 0:c.schema,(p=o==null?void 0:o.errorPayload)===null||p===void 0?void 0:p.payload),fe}finally{ve.stop((T=o==null?void 0:o.stopPayload)===null||T===void 0?void 0:T.schema,(U=o==null?void 0:o.stopPayload)===null||U===void 0?void 0:U.payload,o==null?void 0:o.stopOptions)}}async activityAsync(n,i,o){var c,p,T,U;const ye=this._getAsaOptions(o),ve=this.startActivity(n,ye);try{return await i(ve)}catch(fe){throw ve.error(fe,(c=o==null?void 0:o.errorPayload)===null||c===void 0?void 0:c.schema,(p=o==null?void 0:o.errorPayload)===null||p===void 0?void 0:p.payload),fe}finally{ve.stop((T=o==null?void 0:o.stopPayload)===null||T===void 0?void 0:T.schema,(U=o==null?void 0:o.stopPayload)===null||U===void 0?void 0:U.payload,o==null?void 0:o.stopOptions)}}}Ze.defaultAppName="APP_NOT_REGISTERED";const it=.1,lt=20;class ft{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=lt;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 c of this._historyList){const p=n-c.startPerfTime;p>=0&&(c.stopPerfTime===void 0||n{if(t.utility.requireArgument(n,"name"),(c==null?void 0:c.id)!==void 0)throw new Error("Cannot specify id for root activity, use rootId argument instead");const p=new ot(n,this._onRootActivityStoppedCallback,this._onActivityErrorCallback,i,o,c==null?void 0:c.perfStartOverride,this._nextGen.preferredRootIdLength);if(!this._allowMulti){const T={id:p.getId(),name:n,startPerfTime:p.getStartPerfTime(),isSampled:p.getIsSampled()};if(this._rootActivityHistory.add(T),this._singleRootActivity&&!this._singleRootActivity.isStopped){const U=this._singleRootActivity.getId();this._singleRootActivity.terminate(),p.preRootId=U}this._singleRootActivity=p}return p},b,{op:"startRootActivity"})}_handleRootActivityStop(n){const i=this._rootActivityHistory.findById(n.id);if(i&&(i.stopPerfTime=n.stopPerfTime,i.startPerfTime=n.startPerfTime),n.stopReason===je)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 Fe(this.name,()=>this.name)}getRootActivityHistoryEntry(n){return this._rootActivityHistory.findByTime(n)}}const y=5;class S{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 c=this._getClickableElement(o);c&&setTimeout(()=>{n!==this._ignoredEvent&&this._instr.domEvent(n,c,void 0,void 0,{_auto:!0})})}_getClickableElement(n){var i,o;const c=n?Math.min(n.length,y):0;for(let p=0;pthis.sendLog(n)),this._metricsBuffer.forEach(n=>this.sendMetrics(n)),this._logBuffer=void 0,this._metricsBuffer=void 0}}class ge{constructor(){this._upCounters=[],this._valueRecorders=[],this._bucketHistograms=[]}add(n){var i,o,c;((i=n.upCounters)===null||i===void 0?void 0:i.length)&&this._upCounters.push(...n.upCounters.map(p=>new t.UpCounterImpl(p.name,p.ownerName,p.ownerAppName,t.metricsUtility.getMetricsTags(p.tags),p.createdTimestamp,p.lastUpdatedTimestamp,p.value))),((o=n.valueRecorders)===null||o===void 0?void 0:o.length)&&this._valueRecorders.push(...n.valueRecorders.map(p=>new Ne(p.name,p.ownerName,p.ownerAppName,t.metricsUtility.getMetricsTags(p.tags),p.createdTimestamp,p.lastUpdatedTimestamp,p.values))),((c=n.bucketHistograms)===null||c===void 0?void 0:c.length)&&this._bucketHistograms.push(...n.bucketHistograms.map(p=>new Me(p.name,p.ownerName,p.ownerAppName,t.metricsUtility.getMetricsTags(p.tags),p.buckets,p.createdTimestamp,p.lastUpdatedTimestamp,p.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 _e=1e3;class Oe{constructor(n,i){this._connector=n,this._pollInterval=_e,t.utility.requireArgument(n,"_connector","object"),t.utility.requireArgumentIfDefined(i,"_pollInterval","number")&&i>0&&(this._pollInterval=i)}collect(n,i,o){const c={schema:n,data:i,logMeta:o};this._connector.sendLog(c)}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 be=80,Te=32,Ee="_CUT",C=be-Ee.length;function ee(){}class se{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,c;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:Te,this._clientSessionId=((c=i==null?void 0:i.clientSessionId)===null||c===void 0?void 0:c.toString())||t.utility.generateUniqueId(),this._appInstr=new E(this,n,i==null?void 0:i.allowMultipleRootActivities),this._instruments.set(n,this._appInstr),this._isSender){const U=new Oe(new X(window,i==null?void 0:i.allowedReceiverOrigins),i==null?void 0:i.senderMetricsPollingInterval);this.registerLogCollector(U),this.registerMetricsCollector(U)}else this._isReceiver&&(this._metricsStore=new ge,this._receiverConnector=new z(U=>{U.logMeta.receiverClientSessionId=this._clientSessionId,U.logMeta.receiverRootId=this._appInstr.getSingleRootActivityId(),this._multiplex(U.schema,U.data,U.logMeta)},U=>{this._metricsStore.add(U)},()=>{this._appInstr.incrementCounter("o11y-error-receiver",1,!0)}));this._isBufferingEnabled=!this._isSender&&(i==null?void 0:i.enableBuffering);const T=new L(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:T.networkInstrumentation.bind(T),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?ee:this.registerLogCollector.bind(this),registerMetricsCollector:this._isSender?ee: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):ee,stopReceiving:this._isReceiver?this._receiverConnector.closeComms.bind(this._receiverConnector):ee}}getInstrumentation(n){t.utility.requireArgument(n,"name","string"),n.length>be&&(n=n.substring(0,C)+Ee);let i=this._instruments.get(n);if(!i)i=new Ze(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,c,p){var T,U,ye;t.payloadUtility.checkInputs(i,o),this._sequence+=1;const ve=t.schemaUtil.isInternal(i),fe=ve&&(o==null?void 0:o.userPayload)?o.userPayload.schema:i,Ie=t.schemaUtil.getSchemaId(fe);let Se=this._seqBySchema.get(Ie)||0;Se+=1,this._seqBySchema.set(Ie,Se);const l={timestamp:c,rootId:p,sequence:this._sequence,schemaSequence:Se,loggerName:n,pagePayload:void 0,appPayload:void 0,loggerAppName:this.appName,connectionType:t.utility.getConnectionType(),clientSessionId:this._clientSessionId,age:t.utility.getAge(c)},I={schema:i,data:o,logMeta:l};if(l.pagePayload=t.payloadUtility.getPayloadFromProvider(this.pagePayloadProvider,I),l.appPayload=t.payloadUtility.getPayloadFromProvider(this.appPayloadProvider,I),this._isSender||(o=t.utility.clone(o)),typeof this._decimalPoints=="number"&&(t.utility.roundNumbersInObject(o,this._decimalPoints),ve&&t.utility.roundNumbersInObject((T=o.userPayload)===null||T===void 0?void 0:T.payload,this._decimalPoints),t.utility.roundNumbersInObject((U=l.pagePayload)===null||U===void 0?void 0:U.payload,this._decimalPoints),t.utility.roundNumbersInObject((ye=l.appPayload)===null||ye===void 0?void 0:ye.payload,this._decimalPoints)),this._isBufferingEnabled){const V={schema:i,data:o,logMeta:l};this._buffer.push(V)}return this._multiplex(i,o,l),this._sequence}_multiplex(n,i,o){const c=Array.from(this._logCollectors).filter(p=>{var T;return!this._forceDisabledLogCollectors.has(p)&&!((T=p.getIsCollectDisabled)===null||T===void 0?void 0:T.call(p))});if(c.length>0)for(const p of c){let T=this._logCollectorFailures.get(p)||0;try{p.collect(n,i,o),T>0&&this._logCollectorFailures.set(p,T-1)}catch(U){T+=1,T>=se._collectorFailureLimit?(this._forceDisabledLogCollectors.add(p),this._appInstr&&(typeof U=="string"||U instanceof Error)&&this._appInstr.error(U)):this._logCollectorFailures.set(p,T)}}}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 S(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}}se._collectorFailureLimit=5;class re{get _lazyNextGen(){return this._nextgen||(this._nextgen=new se(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 De=t.utility.time.bind(t.utility),et="sfcore.customCmp.CustomComponentLog",pt={Error:"Crimson",Activity:"CadetBlue",InstrumentedEvent:"DarkOliveGreen",O11ySample:"BlueViolet"},ct={Error:"white",Activity:"white",InstrumentedEvent:"white",O11ySample:"white"},tt="black",at="Gainsboro";class We{constructor(n){this._simpleFilters=new Set,this._regexFilters=[],n&&this._log("ConsoleCollector",n)}collect(n,i,o){const c=t.schemaUtil.getSchemaId(n);if(!this._shouldLog(c))return;if(c===et){this._logCustom(i);return}let p,T,U;t.schemaUtil.isInternal(n)?(p=n.name,T=ct[n.name]||tt,U=pt[n.name]||at):p=c,this._log(p,i,o,T,U)}_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,c=tt,p=at){const T=`color:${c};background-color:${p}`;console.log(`%cO11Y%c ${n}`,"color:white;background-color:#FF6600;font-weight:bold",T,i||"",o||"")}_logCustom(n){console.log("%clightning/logger","color:white;background-color:#00a1e0;font-weight:bold",n||"")}}const gt="252.11.0",rt=new G({logThreshold:300,reportListener:pe=>{st==null||st.log(e.idleDetectorReportSchema,pe)},errorListener:(pe,n)=>{st==null||st.error(pe,n)}}),nt=new re(rt),Tt=nt.registerInstrumentedApp.bind(nt),Pt=nt.getInstrumentation.bind(nt),st=Pt("IdleDetector");r.ConsoleCollector=We,r._version=gt,r.getInstrumentation=Pt,r.idleDetector=rt,r.registerInstrumentedApp=Tt,r.time=De,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",_="T00:00:00",R="provider",G="providers";function j(A){return A!==null&&typeof A=="object"}function w(A){try{const x=A?.indexOf(":")>-1,q=A?.indexOf("-")>-1;return A===""||!x&&!q?null:(typeof A=="string"&&(q||(A=t+A),x||(A=A+_),A=A.trim().replace(" ","T"),A.endsWith("Z")||(A+="Z")),new Date(A))}catch(x){return null}}function u(A){try{const x=A(),q=Reflect.get(this,G);for(const ae of q)if(!ae?.hasData?.())throw new Error;return x??null}catch(x){return}}function m(A){return j(this)&&(Reflect.set(this,R,A),Reflect.get(this,G).push(A)),A?.getData?.()}function s(A={},x){if(!!A&&Object.prototype.hasOwnProperty.call(A,x))return A[x]}function f(A,x){Array.isArray(A)||(A=[A]);const q=A.filter(x);if(!!q.length)return q.length===1?q[0]:q}function g(A,x){if(j(this)&&Reflect.has(this,R)){const q=Reflect.get(this,R);if(Reflect.deleteProperty(this,R),!q?.hasData?.(x))throw new Error;const ae=Reflect.get(this,G);ae.indexOf(q)>=0&&ae.splice(ae.indexOf(q),1)}return typeof x=="string"&&Array.isArray(A)?(A=A.map(q=>q[x]).filter(q=>q!==void 0),A.length===0?void 0:A.length===1?A[0]:A):A?.[x]}function k(){}const P={toDate(A){if(A!=null){const x=w(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=w(A)?.setUTCFullYear(1970,0,1);if(x!==void 0&&!isNaN(x))return new Date(x)}return null},toDatetime(A){return A!=null?w(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}},O=(...A)=>(e={[G]:[],[R]:null},u.apply(e,A)),N=(...A)=>m.apply(e,A),D=(...A)=>g.apply(e,A),M=(...A)=>s.apply(e,A),$=(...A)=>f.apply(e,A),K=(...A)=>k.apply(e,A);r.EXPR_CLOSURE=O,r.EXPR_FILTER=$,r.EXPR_FUNCTION=K,r.EXPR_GLOBAL=M,r.EXPR_MEMBER=D,r.EXPR_PROVIDER=N,r.EXPR_RUNTIME=P,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/7_1_5","webruntime/errors/v/1_66_768-252_0","lwr/navigation/v/0_13_10","webruntime/routingService/v/1","webruntime/defaultView/v/1_66_768-252_0"],function(r,e,t,_,R,G){"use strict";function j(f){return f&&typeof f=="object"&&"default"in f?f:{default:f}}var w=j(G),u=void 0;class m 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||w.default;this.generatedTemplateHtml=g.html,this.attributes=g.attributes(this,this.routeParams),this.subscription=R.subscribe(this.routeChange.bind(this))}viewChange(g){R.handleExtraRouteParams(this.route),this.generatedTemplateHtml=g.html;const{state:k,attributes:P}=this.route;this._routeParams={...k,...P},this.attributes=g.attributes(this,this.routeParams)}routeChange(g){this.route=g.route||null}disconnectedCallback(){this.subscription&&this.subscription.unsubscribe()}errorCallback(g,k){t.reportError({subject:"router level error",error:g,wcstack:k})}}m.renderMode="light",e.registerDecorators(m,{publicProps:{view:{config:0},routeParams:{config:3}},wire:{viewChange:{adapter:_.CurrentView,method:1,config:function(f){return{}}}},fields:["_routeParams","generatedTemplateHtml","previousRouteParams","requiredParameters","attributes","route"]});const s=e.registerComponent(m,{tmpl:u,sel:"webruntime-router-container",apiVersion:62});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/7_1_5"],function(r,e){"use strict";function t(s,f,g){var k=s?"."+s+"-host":"";return(f?":host {":k+" {")+"display: flow-root;}"}t.$scoped$=!0;var _=[t];const R={key:0},G=[];function j(s,f,g,k){const{s:P}=s;return[P("",R,G,g)]}var w=e.registerTemplate(j);j.slots=[""],j.renderMode="light",j.stylesheets=[],j.stylesheetToken="lwc-4k1qbp7cls1",j.legacyStylesheetToken="webruntime-componentContainer_componentContainer",_&&j.stylesheets.push.apply(j.stylesheets,_),e.freezeTemplate(j);class u extends e.LightningElement{}u.renderMode="light";const m=e.registerComponent(u,{tmpl:w,sel:"webruntime-component-container",apiVersion:62});r.default=m,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/slotContainer/v/1",["exports","lwc/v/7_1_5"],function(r,e){"use strict";const t=[];function _(w,u,m,s){const{s:f}=w;return[u.isVisible?f("",{key:0,slotData:u.variations},t,m):null]}var R=e.registerTemplate(_);_.slots=[""],_.renderMode="light",_.stylesheets=[],_.stylesheetToken="lwc-769n4j124ma",_.legacyStylesheetToken="webruntime-slotContainer_slotContainer",e.freezeTemplate(_);class G extends e.LightningElement{constructor(...u){super(...u);this.visibilityExpression=void 0,this.hidden=void 0,this.variationExpressions=void 0}get isVisible(){return this.hidden?!this.visibilityExpression:this.visibilityExpression}get variations(){const u={},m=!!this.variationExpressions?.find(g=>g===!0),s=this.variationExpressions?.findIndex(g=>g===!0),f=this.variationExpressions?.findIndex(g=>typeof g=="undefined")!==-1;return this.variationExpressions?.forEach(function(g,k){const P=`variation${k+1}`;f||m&&s!==k?u[P]=!1:g===!0?u[P]=!0:(typeof g=="undefined",u[P]=!1)}),u.variation0=!m&&!f,u}}G.renderMode="light",e.registerDecorators(G,{publicProps:{visibilityExpression:{config:0},hidden:{config:0},variationExpressions:{config:0}}});const j=e.registerComponent(G,{tmpl:R,sel:"webruntime-slot-container",apiVersion:62});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_13_10","lwc/v/7_1_5","@app/isDesignMode/v/1"],function(r,e,t,_){"use strict";function R(P){return P&&typeof P=="object"&&"default"in P?P:{default:P}}var G=R(_);function j(P,O,N){var D=P?"."+P+"-host":"";return"@media only screen and (max-width: 47.9375em) {"+(O?":host.webruntime-visibility-container.dxp-sm-hide {":D+".webruntime-visibility-container.dxp-sm-hide {")+"display: none;}}@media only screen and (min-width: 48em) and (max-width: 64em) {"+(O?":host.webruntime-visibility-container.dxp-md-hide {":D+".webruntime-visibility-container.dxp-md-hide {")+"display: none;}}@media only screen and (min-width: 64.0625em) {"+(O?":host.webruntime-visibility-container.dxp-lg-hide {":D+".webruntime-visibility-container.dxp-lg-hide {")+"display: none;}}"}j.$scoped$=!0;var w=[j];const u={key:0},m=[];function s(P,O,N,D){const{s:M}=P;return[O.hidden?null:M("",u,m,N)]}var f=t.registerTemplate(s);s.slots=[""],s.renderMode="light",s.stylesheets=[],s.stylesheetToken="lwc-7ethp7o0ig8",s.legacyStylesheetToken="webruntime-visibilityContainer_visibilityContainer",w&&s.stylesheets.push.apply(s.stylesheets,w),t.freezeTemplate(s);class g extends t.LightningElement{constructor(...O){super(...O);this.hiddenInDesktop=!1,this.hiddenInTablet=!1,this.hiddenInMobile=!1,this.hidden=!0}connectedCallback(){const O={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 N="";Object.values(O).forEach(D=>{D.isHidden?this.classList.add(D.class):N+=N?`, ${D.mediaQuery}`:D.mediaQuery}),G.default?this.classList.add("interactions-element","webruntime-design-visibility-container"):this.classList.add("webruntime-visibility-container"),e.load("webruntime/formFactor/v/1").then(({getFormFactor:D})=>{if(typeof window!="undefined"&&!G.default&&O[D()].isHidden){if(N){const M=window.matchMedia(N),$=K=>{K.matches&&(this.hidden=!1,M.removeEventListener("change",$))};M.addEventListener("change",$)}}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 k=t.registerComponent(g,{tmpl:f,sel:"webruntime-visibility-container",apiVersion:62});r.default=k,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/7_1_5","lwr/navigation/v/0_13_10","@app/deployTarget/v/1","webruntime/routingService/v/1"],function(r,e,t,_,R){"use strict";function G(N){return N&&typeof N=="object"&&"default"in N?N:{default:N}}var j=G(_);function w(N,D,M){var $=N?"["+N+"-host]":"";return(D?":host {":$+" {")+"display: none;}"}var u=[w];function m(N,D,M,$){const{d:K,t:A}=N;return[A(K(D.routeParamString))]}var s=e.registerTemplate(m);m.stylesheets=[],m.stylesheetToken="lwc-1j18phjg883",m.legacyStylesheetToken="webruntime-viewchangeNotifier_viewchangeNotifier",u&&m.stylesheets.push.apply(m.stylesheets,u),e.freezeTemplate(m);const f=["contentTypeName","name","objectApiName","recordId","relationshipApiName","term","urlAlias"];function g(N){return Object.keys(N).reduce((D,M)=>(f.includes(M)&&(D[M]=N[M]),D),{})}function k(N,D){return N===D?!0:!N||!D?!1:Object.keys(N).length===Object.keys(D).length&&Object.entries(D).every(([M,$])=>N[M]===$)}class P extends e.LightningElement{constructor(...D){super(...D);this.routeChangeSubscription=void 0,this.route=void 0,this.routeParams=void 0,this.previousRouteParams=void 0}connectedCallback(){j.default==="MRT"&&requestAnimationFrame(()=>{this.route=R.getCurrentRoute().route,this.updateRouteParams()}),this.routeChangeSubscription=R.subscribe(this.routeChange.bind(this))}routeChange(D){this.route=D.route}viewChange(){this.updateRouteParams()}updateRouteParams(){const{state:D,attributes:M}=this.route||{};this.routeParams=g({...D,...M})}renderedCallback(){!this.routeParams||(!R.isCurrentRouteCanonicallyRedirected()&&!k(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(JSON.stringify(this.routeParams))}}e.registerDecorators(P,{wire:{viewChange:{adapter:t.CurrentView,method:1,config:function(N){return{}}}},fields:["routeChangeSubscription","route","routeParams","previousRouteParams"]});const O=e.registerComponent(P,{tmpl:s,sel:"webruntime-viewchange-notifier",apiVersion:62});r.default=O,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_768-252_0",["exports"],function(r){"use strict";class e{constructor(){this.hasTriggered=!1,this.hasAddedListener=!1,this.trigger=()=>this._trigger()}_trigger(){if(!this.hasTriggered){const _=document.documentElement.scrollTop||document.body.scrollTop,R=document.documentElement.scrollHeight||document.body.scrollHeight;_/(R-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_768-252_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/7_1_5","experience/dataLayerObject/v/250_25_0","webruntime/analyticsEvents/v/1_66_768-252_0"],function(r,e,t,_){"use strict";function R(s){return s&&typeof s=="object"&&"default"in s?s:{default:s}}var G=R(t);function j(s,f,g,k){const{c:P}=s;return[P("experience-data-layer-object",G.default,{props:{scriptDataAttributes:f.pageDataForDataLayer.scriptDataAttributes,customObject:f.pageDataForDataLayer.customObject},key:0})]}var w=e.registerTemplate(j);j.renderMode="light",j.stylesheets=[],j.stylesheetToken="lwc-1k5dp68c4pi",j.legacyStylesheetToken="webruntime-pageDataLayerObject_pageDataLayerObject",e.freezeTemplate(j);class u extends e.LightningElement{constructor(...f){super(...f);this.handleViewChanged=g=>this._handleViewChanged(g),this.pageDataForDataLayer={scriptDataAttributes:{providerType:"page"}},this.scrollToBottomEvent=new _.ScrollToBottomEvent}connectedCallback(){document.addEventListener("viewchange",this.handleViewChanged)}disconnectedCallback(){document.removeEventListener("viewchange",this.handleViewChanged),this.scrollToBottomEvent.removeListener()}renderedCallback(){this.pageDataForDataLayer?.customObject&&this.dispatchEvent(new CustomEvent("experience_interaction",{bubbles:!0,composed:!0,detail:{name:"page-view"}}))}_handleViewChanged(f){const g=f.detail?.route?.attributes?.recordId,k=f.detail?.route?.attributes?.contentTypeName,P=f.detail?.route?.attributes?.urlAlias,O=f.detail?.route?.attributes?.contentKey,N={type:f.detail?.route?.pageReference?.type,url:window.location.href,urlReferrer:this.pageDataForDataLayer?.customObject?.url||document.referrer,...g?{recordId:g}:{},...k?{contentTypeName:k}:{},...P?{urlAlias:P}:{},...O?{contentKey:O}:{}};this.pageDataForDataLayer={...this.pageDataForDataLayer,customObject:N},this.scrollToBottomEvent.addListener()}}u.renderMode="light",e.registerDecorators(u,{fields:["handleViewChanged","pageDataForDataLayer","scrollToBottomEvent"]});const m=e.registerComponent(u,{tmpl:w,sel:"webruntime-page-data-layer-object",apiVersion:62});r.default=m,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_13_10",["exports","lwr/contextProvider/v/0_13_10","lwr/metrics/v/0_13_10","lwr/navigation/v/0_13_10","lwr/navigationMixinHacks/v/0_13_10","lwr/profiler/v/0_13_10","lwr/router/v/0_13_10","lwr/routerErrors/v/0_13_10","lwr/routerUtils/v/0_13_10"],function(r,e,t,_,R,G,j,w,u){"use strict";class m{constructor(g,k,P){this.contextId=Object.freeze(()=>{}),this.router=k,this.target=P,this.handleNavHook=g.handleNavigation,this.preNavHook=g.preNavigate,this.errorNavHook=g.errorNavigate,this.initWires(g.url)}async navigate(g,k,P){if(u.hasDocument){if(this.handleNavHook&&!this.handleNavHook(g))return;const O=await this.getValidatedUrl(g,P);O&&(document.location.href=O)}}generateUrl(g,k){return this.router.generateUrl(g,k)}initWires(g){if(!g&&u.hasDocument&&(g=document.location.href),!g){this.processError(w.generateMessageObject(w.messages.NO_INIT_URL));return}g=this.getRelativeUrl(g);const k=this.router.matchRoute(g,{});if(!k){this.processError(w.generateMessageObject(w.messages.MISSING_ROUTE,[g]));return}this.currentRoute=k,_.registerNavigationHelm(this.contextId,{navigate:(P,O,N)=>this.navigate(P,O,N),generateUrl:(P,O)=>this.generateUrl(P,O),subscribe:()=>{throw new Error("The server router does not support the subscribe API")}}),e.provideContext(this.contextId,this.target,e.navigationContextContextualizer,_.NavigationContext),e.provideContext(this.currentRoute?.route.pageReference,this.target,e.currentPageReferenceContextualizer,_.CurrentPageReference),u.hasDocument&&this.target.addEventListener(R.CONTEXT_ID_BACKDOOR,P=>{const O=P;O.detail.callback&&O.detail.callback(this.contextId)})}getRelativeUrl(g){if(g.startsWith("http")){const k=new URL(g);return`${k.pathname}${k.search}`}return g}async getValidatedUrl(g,k){const P=this.router.matchRoute(g,{});if(!P){this.processError(w.generateMessageObject(w.messages.NO_ROUTE_MATCH,[JSON.stringify(g)]));return}if(!(this.preNavHook&&await this.preNavHook({current:this.currentRoute,next:P}))){this.processError(w.generateMessageObject(w.messages.PRENAV_FAILED,[JSON.stringify(g)]));return}return this.router.generateUrl(g,k)}processError(g){G.logOperationStart({id:t.ROUTER_ERROR}),this.errorNavHook&&this.errorNavHook(g)}}function s(f,g){new m(f,j.createRouter(f),g)}r.ServerRouter=m,r.createServerRouter=s,Object.defineProperty(r,"__esModule",{value:!0})}),LWR.define("lwr/serverRouter",["exports","lwr/serverRouter/v/0_13_10"],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_13_10",["exports","lwr/routerUtils/v/0_13_10","lwr/routerErrors/v/0_13_10","lwr/observable/v/0_13_10"],function(r,e,t,_){"use strict";class R{constructor(w){this.deprecatedConfig={},this.routeHandlerId=0,this.compiledRoutes=[],this.routeObservable=_.createObservable(),this.config={basePath:w.basePath||"",i18n:w.i18n||e.DEFAULT_I18N_ROUTER_CONFIG,caseSensitive:Boolean(w.caseSensitive),routes:w.routes||[],generateUrl:(s,f)=>e.getUrlFromPageReference(s,this.compiledRoutes,this.config.basePath,this.config.i18n,f),parseUrl:s=>e.getPageReferenceFromUrl(s,this.compiledRoutes,this.config.basePath,this.config.i18n)};const{DEPRECATED_getRouteFromUrl:u,DEPRECATED_getUrlFromRoute:m}=w;u&&(this.deprecatedConfig.DEPRECATED_getRouteFromUrl=u),m&&(this.deprecatedConfig.DEPRECATED_getUrlFromRoute=m),this.compiledRoutes=e.parseRoutes(this.config)}generateUrl(w,u){const{DEPRECATED_getUrlFromRoute:m}=this.deprecatedConfig;return m?m(w,this.config.generateUrl,u):this.config.generateUrl(w,u)}parseUrl(w){const{DEPRECATED_getRouteFromUrl:u}=this.deprecatedConfig;return u?u(w,this.config.parseUrl):this.config.parseUrl(w)}matchRoute(w,u){const m=typeof w=="string"?w:this.generateUrl(w,u);if(m===null)return null;const s=e.matchRouteByUrl(m,this.compiledRoutes,this.config.basePath,this.config.i18n,u),f=s&&e.getUrlFromPageReferenceAndRouteDef(s.route.pageReference,s.routeDefinition,this.config.basePath,this.config.i18n,u);return!s||!f?null:{pathMatch:f,route:s.route,routeDefinition:s.routeDefinition.original}}async resolveView(w,u){return new Promise((m,s)=>{const f=this.matchRoute(w,u);return f?f.routeDefinition.handler?.().then(g=>{const k=g.default;if(!k)return s(t.generateMessage(t.messages.INVALID_ROUTE_HANDLER,[f.routeDefinition.id]));const P=new k(m);P&&P.update(f.route)}):s(t.generateMessage(t.messages.NO_ROUTE_MATCH,[JSON.stringify(w)]))})}navigate(w,u){const m=this.matchRoute(w,u);if(!m)throw new Error(t.generateMessage(t.messages.MISSING_ROUTE,[JSON.stringify(w)]));this.pendingRoute={...m},this._mapView(this.pendingRoute)}subscribe(w,u){return this.routeObservable.subscribe({next:w,error:()=>{},complete:()=>{}},Boolean(u))}async _mapView(w){const u=Math.random();this.routeHandlerId=u;const s=(await w.routeDefinition.handler?.())?.default;if(!s)throw new Error(t.generateMessage(t.messages.INVALID_ROUTE_HANDLER,[w.routeDefinition.id]));return this.routeHandler=new s(f=>{this._updateView(u,f)}),this.routeHandler&&this.routeHandler.update(w.route),!0}_updateView(w,u){if(!u||w!==this.routeHandlerId)return;if(!this.pendingRoute)throw new Error("Trying to commit route state without a route");const m=e.freeze(u.viewset);this.routeObservable.next({...this.pendingRoute,...u,viewset:m})}}function G(j={}){return new R(j)}r.createRouter=G,Object.defineProperty(r,"__esModule",{value:!0})}),LWR.define("lwr/router",["exports","lwr/router/v/0_13_10"],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_768-252_0",["exports"],function(r){"use strict";const e="sf-aria-live",t="tabindex",{document:_}=globalThis;let R;function G(u){if(_&&u?.routeDefinition){let m=_.body.querySelector(`#${e}`);m||(m=_.createElement("span"),m.id=e,m.setAttribute("aria-live","polite"),m.setAttribute("aria-atomic","true"),m.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;"),_.body.appendChild(m)),m.innerText=u.routeDefinition.label}}function j(u){if(!_)return;const m=u?.routeDefinition?.label,s=!R||_.title===R;m!=null&&s&&(_.title=u.routeDefinition.label),R=m}function w(u){if(!_)return;const m=_.createTreeWalker(_.body,NodeFilter.SHOW_ELEMENT,{acceptNode:f=>f.matches("webruntime-router-container")?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP}),s=u?_.body:m.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=G,r.updateFocus=w,r.updateTitle=j,Object.defineProperty(r,"__esModule",{value:!0})}),LWR.define("webruntime/a11yService",["exports","webruntime/a11yService/v/1_66_768-252_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_13_10","@communities-webruntime/common/v/1_66_768-252_0","@salesforce/i18n/lang/v/1","@app/deployTarget/v/1","@app/uiBasePath/v/1","@app/routes/v/1","@app/viewToThemeLayoutMap/v/1","webruntime/views/v/1","webruntime/a11yService/v/1_66_768-252_0","webruntime/overrides/v/1","webruntime/logger/v/1_66_768-252_0","webruntime/utils/v/1_66_768-252_0","webruntime/o11y/v/1","lwr/router/v/0_13_10","lwr/serverRouter/v/0_13_10","lwr/routerErrors/v/0_13_10","lwr/navigation/v/0_13_10","webruntime/transport/v/1","@app/extraRouteParams/v/1"],function(r,e,t,_,R,G,j,w,u,m,s,f,g,k,P,O,N,D,M,$){"use strict";function K(l){return l&&typeof l=="object"&&"default"in l?l:{default:l}}var A=K(_),x=K(R),q=K(G),ae=K(j),L=K(w),Ce=K(u),oe=K($);function ke(l){const I=[],V=[];l.forEach(de=>{de.uri.includes("?")?V.push(de):I.push(de)});const ie=[];return V.forEach(de=>{const he=[],Pe=de.uri.split("/");let Ue,Ke,ut="";Pe.forEach(He=>{He.endsWith("?")?(Ue=He.substring(0,He.length-1),he.push({value:Ue,isOptional:!0}),Ke=Ue.substring(1),ut=de.page.attributes?.[Ke]?"attributes":"state"):he.push({value:He,isOptional:!1})});const St={...de,uri:he.map(He=>He.value).join("/")};ie.push(St);const Et={};Object.keys(de.page[ut]).forEach(He=>{He!==Ke&&(Et[He]=de.page[ut][He])});const dt={...de,uri:he.filter(He=>!He.isOptional).map(He=>He.value).join("/"),page:{...de.page,[ut]:Et}};dt.patterns&&(dt.patterns=Object.fromEntries(Object.entries(dt.patterns).filter(([He])=>He!==Ke))),ie.push(dt)}),[...I,...ie]}function je(l){const I=[],V=[];return l.forEach(ie=>{const{type:de,attributes:he={},state:Pe={}}=ie.page||{};if(de==="standard__objectPage")if(Ae(he.actionName))I.push(ie);else{let Ue;he.actionName==="list"?(Ue={...ie,page:{...ie.page,attributes:{...he},state:{...Pe}}},Ue.page.attributes.actionName="home"):he.actionName==="home"?(Ue={...ie,page:{...ie.page,attributes:{...he},state:{...Pe}}},Ue.page.attributes.actionName="list"):he.actionName||(ie.page.attributes.actionName="home",Ue={...ie,page:{...ie.page,attributes:{...he},state:{...Pe}}},Ue.page.attributes.actionName="list"),I.push(ie,Ue)}else V.push(ie)}),[...I,...V]}function Ae(l){return l&&l.length>1?l.startsWith(":"):!1}const a={};let d=null;function h(l){const{pathname:I,search:V,hash:ie}=new URL(l,window.location.origin);return{pathname:I,search:V,hash:ie}}async function F(l){const{pathname:I,search:V,hash:ie}=h(l);if(a[I])return a[I]+V+ie;if(Object.values(a).includes(I))return l;try{const{redirected:de,url:he}=await M.fetch(l,{basePath:"",method:"HEAD",isNonApiRequest:!0});if(de){const Pe=h(he).pathname;return a[I]=Pe,Pe+V+ie}}catch(de){f.logError(`Unable to fetch canonical URL for ${l}`,`error: `,de)}return null}let W;async function le(l,I){const{route:V,routeDefinition:ie}=I;if(d=V,ie?.metadata?.hasVanityURL){const de=l.generateUrl(V.pageReference),he=await F(de);if(he&&he!==de&&d===V){const Ue={type:"standard__webPage",attributes:{url:he}};return D.navigate(l.contextId,Ue,!0),W=!0,!0}}return W=!1,!1}function Re(){return W}let Me=!0;const Ne={};function Le(l){const I=l?.attributes?.urlName||l?.attributes?.urlPath;if(I){const V=l?.attributes?.objectApiName||"";return`${I}:${V}`}return null}function Y(l){l.extraRouteParams&&(ue(l,l.extraRouteParams),delete l.extraRouteParams)}function ue(l,I){const V=Le(l);!I||!V||(Ne[V]=I)}function ne(l){const I=Le(l);if(I&&I in Ne){const V=Ne[I];return!(V&&Object.keys(V).length>0)}return!!I}function we(l={}){const{current:I,next:{url:V,route:{pageReference:ie}={}}}=l;return I&&ne(ie)?(window.location.assign(V),!0):!1}function Fe(l){if(Me)Ge(l,oe.default),ue(l.pageReference,oe.default),Me=!1;else{const I=Le(l?.pageReference),V=Ne[I];Ge(l,V)}}function Ge(l,I){Ve(I)&&(Ve(l?.attributes)&&(l.attributes={...l.attributes,...I}),Ve(l?.pageReference?.attributes)&&(l.pageReference.attributes={...l.pageReference.attributes,...I}))}function Ve(l){return l&&typeof l=="object"}const xe="redirectPageContext";function Xe(l){return l?.state?.[xe]||null}function Je(l){return l?.includes(`?${xe}=`)}function Ze(l,I,V={}){const{current:ie,next:{route:de,url:he}={}}=V,Pe=Je(he)?he:Xe(de)?it(de):null;return Pe?(ie?window.location.assign(Pe):D.navigate(l,I.page,!0),!0):!1}function it(l){if(!l)return null;const I=Xe(l)||window.btoa(window.encodeURIComponent(JSON.stringify(l)));return`${q.default}/?${xe}=${I}`}const lt="KnowledgeArticleVersion",ft=[{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:(l,{name:I})=>{const{attributes:V={}}=l;return V.urlName||V.urlPath?!1:V.objectApiName==="ProductCategory"?I==="categoryPath":V.objectApiName==="OrderSummary"?!1:I==="recordName"}}],ot="standard__managedContentPage";function mt(l){return ft.find(I=>l.type===I.type)}function ht(l,I=[]){if(l?.type===ot){let V=l.attributes?.contentTypeName;!I.find(de=>de.page.type===ot&&de.page?.attributes?.contentTypeName===V)&&["news","cms_image","cms_document"].indexOf(V)!==-1&&(V=V.startsWith("cms_")?V.substring(4):V,l.attributes.contentTypeName=`sfdc_cms__${V}`),l.attributes&&l.attributes.contentKey&&(l.attributes.urlAlias=l.attributes.contentKey,delete l.attributes.contentKey)}return l}let b;function E(l,I){l.attributes?.objectApiName===lt&&(b===void 0&&(b=I.find(ie=>ie.page.attributes?.objectApiName?.endsWith("__kav"))?.page?.attributes?.objectApiName||null),b&&(l.attributes.objectApiName=b))}function y(l){return!l.attributes?.urlName&&!l.attributes?.urlPath||(l.type==="standard__recordPage"&&(S(l),delete l.attributes.recordId,delete l.state?.recordName,delete l.state?.categoryPath),l.type==="standard__recordRelationshipPage"&&(S(l),delete l.attributes.recordId)),l}function S(l){l.attributes.recordId&&(l.extraRouteParams={recordId:l.attributes.recordId})}function H(l,I){return l.type==="standard__knowledgeArticlePage"&&(l.type="standard__recordPage",l.attributes.actionName="view",l.attributes.objectApiName=lt,delete l.attributes.articleType),E(l,I),l}function B(l,I){const{params:V,match:ie}=I;V.forEach(de=>{const{type:he,name:Pe,value:Ue}=de;ie&&!ie(l,de)||l?.[he]?.[Pe]||(l[he]||(l[he]={}),l[he][Pe]=Ue)})}function z(l={}){const I=mt(l);I&&B(l,I)}function Z(l,I){if(l.state?.categoryPath?.includes("/")||l.attributes?.urlPath?.includes("/")){let[V,ie]=I.split("?");return V=V.replace(/%2F/g,"/"),ie=ie?`?${ie}`:"",V+ie}return I}function te(l){return Object.entries(l?.attributes||{}).filter(([,I])=>I===null).forEach(([I])=>delete l.attributes[I]),l}class Q{constructor(I){this.callback=I}dispose(){}update(I){const V=Te.find(ie=>ie.id===I.id)?.view;this.callback({viewset:{default:()=>Ce.default(V)}})}}const{window:X,performance:ge}=globalThis,_e=`${t.WEBRUNTIME_PREFIX}-framework-router`;let Oe=x.default==="MRT",be;r.router=void 0;let Te=[],Ee,C;function ee(l,I){ge?.mark?.(_e),Te=je(ke(t.parseRoutes(l))),Te.forEach(V=>{V.handler=()=>new Promise(ie=>{ie({default:Q})})}),Ee=Te.find(V=>V.metadata.isDefault),I?.isMRT!=null&&(Oe=I.isMRT),C=!Oe&&Te.every(V=>V.metadata.isPublic!==!1),be={basePath:q.default,caseSensitive:!0,routes:Te,i18n:{locale:A.default,defaultLocale:A.default},DEPRECATED_getRouteFromUrl:pt,DEPRECATED_getUrlFromRoute:ct},r.router=P.createRouter(be),ge?.measure?.(_e,_e)}ee(ae.default);const se=Ie();se&&m.updateTitle(se);let re,De;function et(){return De?.contextId||r.router.contextId}function pt(l,I){const V=I(l);return V?(z(V),V):Ee?.page?Ee.page:null}function ct(l={type:"",attributes:{},state:{}},I){const{type:V,attributes:ie={},state:de={}}=l;let he;const Pe=JSON.parse(JSON.stringify(l));if(V==="standard__webPage")return he=ie.url,he==null?"":i(he);if(V==="comm__loginPage"){if(ie.actionName==="login"){const Ue=de.startUrl!=null?`?startURL=${encodeURIComponent(de.startUrl)}`:"";return i(`${t.WEBRUNTIME_LOGIN_PATH}${Ue}`)}if(ie.actionName==="logout")return i(t.WEBRUNTIME_LOGOUT_PATH)}return V==="standard__managedContentPage"&&ht(Pe,Te),H(Pe,Te),y(Pe),z(Pe),te(Pe),he=I(Pe),V==="standard__recordPage"&&(he=Z(Pe,he)),!he&&C&&(he=it(Pe)),Y(Pe),he}async function tt(l){const{route:I,routeDefinition:V}=l.next;return at(V,I.pageReference)}async function at(l,I){if(l?.metadata?.isPublic!==!1)return!1;const{default:V}=await e.load("@app/user/v/1");if(V.isGuest){const ie=typeof I=="string"?I:c(I);if(ie&&X)if(Oe){const{default:de}=await e.load("@app/loginPath/v/1");We(de,ie)}else X.location.href=ie;return!0}return!1}function We(l,I){const V=new URL(l,X.location.href);I&&V.searchParams.set("startURL",I),X.location.assign(V.href)}function gt(l){const I=new URL(l,X.location.href);X.location.assign(I.href)}function rt(l){return Ze(et(),Ee,l)}function nt(l){const{current:I,next:V}=l;if(I&&V&&I.routeDefinition.ssr!==V.routeDefinition.ssr){const ie=c(V.route.pageReference);if(ie)return X.location.assign(ie),!0}return!1}function Tt(l){const{current:I,next:{pathMatch:V,route:ie={}}}=l,{pageReference:{type:de,attributes:he={}}}=ie;if(!I)return!1;if(de==="standard__managedContentPage"){const{contentTypeName:Pe}=he;if(Pe==="sfdc_cms__landingPage")return X.location.assign(V),!0}return!1}async function Pt(l){st(l.detail)}async function st(l){try{if(!X?.location)return;const{address:I,message:V,code:ie}=l;if(f.logError(`Routing error: ${V}`),ie===N.messages.PRENAV_FAILED.code)return;if(ie===N.messages.MISSING_ROUTE.code&&!Ee&&Je(I)){X.location.assign(I);return}if(Ee?.metadata?.isPublic===!1){const{default:he}=await e.load("@app/user/v/1");if(he.isGuest)return}const de=q.default?X.location.pathname.replace(q.default,""):X.location.pathname;Ee&&de!==Ee.uri&&o(Ee.page)}finally{re?.errorNavigate(l)}}function pe(l){n(l.detail.address)||l.preventDefault()}function n(l){if(!s.NavigationOverrides.runSync(l))return!1;const{type:I,attributes:V={},state:ie={}}=l;if(I==="standard__webPage"){const{url:de}=V;if(de==null)return!0;if(g.isAbsoluteURL(de)||g.isSfdcCoreURL(de))return X?.open(de),!1;const he=r.router.parseUrl(de),Pe=!he||he===Ee?.page;if(C&&Pe)return X?.location.assign(i(de)),!1}else if(I==="comm__loginPage"){const{actionName:de}=V;if(de==="login")return We(i(t.WEBRUNTIME_LOGIN_PATH),ie.startUrl||""),!1;if(de==="logout")return gt(i(t.WEBRUNTIME_LOGOUT_PATH)),!1}return!0}function i(l){return g.isAbsoluteURL(l)?l:q.default&&l!==q.default&&l.indexOf(`${q.default}/`)!==0?`${q.default}${l}`:l}function o(l){D.navigate(et(),l)}function c(l){return De?De.generateUrl(l):r.router.generateUrl(l)}function p(l,I=!0){return typeof X!="undefined"?r.router.subscribe(l,I):null}async function T(l,I){return re?.preNavigate(l),s.PreNavigateOverrides.run(l),De&&await tt(l)?!1:(De||tt(l),Tt(l)||rt(l)||we(l)||nt(l)?(I?.preventDefault(),!1):!0)}let U;async function ye(l){const I=l.detail,V=I.current?.routeDefinition.view;V?U=L.default[V]:U=null,await T(I,l)}async function ve(l){const I=l.detail,V=I.routeDefinition?.view,ie=U!==L.default[V];try{m.ariaLiveNavigate(I),m.updateTitle(I),m.updateFocus(ie),await le(r.router,I)}finally{re?.postNavigate(I)}}function fe(l){re=k._o11y.routingSupport,l.addEventListener("prenavigate",ye),l.addEventListener("handlenavigation",pe),l.addEventListener("postnavigate",ve),l.addEventListener("errornavigate",Pt)}function Ie(){if(!X?.location)return{};const l=X.location.href.substring(X.location.origin.length),I=r.router.matchRoute(l),V=I?.routeDefinition||Ee,ie=I?.route||{id:Ee?.id,pageReference:Ee?.page,attributes:Ee?.page?.attributes,state:Ee?.page?.state};return{routeDefinition:V,url:l,route:ie}}function Se(l,I){if(!Oe||De&&typeof X!="undefined")return;const{routeDefinition:V,url:ie}=se;if(V&&!V.ssr)return;V&&ie&&at(V,ie);const de={...be,url:I,handleNavigation:n,preNavigate:T,errorNavigate:st};De=new O.ServerRouter(de,r.router,l)}r.generateUrl=c,r.getCurrentRoute=Ie,r.handleExtraRouteParams=Fe,r.initializeRouter=ee,r.initializeRouterContainer=fe,r.initializeServerRouter=Se,r.isCurrentRouteCanonicallyRedirected=Re,r.navigate=o,r.subscribe=p,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(w){this.overrides.push(w)}run(...w){return this.overrides.length===0?Promise.resolve(!0):this.overrides.reduce((u,m)=>u.then(s=>s===!1?Promise.resolve(!1):Promise.resolve(m(...w))),Promise.resolve(!0)).then(u=>Promise.resolve(u))}runSync(...w){return this.overrides.length===0?!0:this.overrides.reduce((u,m)=>u===!0?m(...w):!1,!0)}}const t=new e,_=new e,R=new e,G=new e;r.NavigationOverrides=_,r.Overrides=e,r.PageNavigationFailureOverrides=G,r.PreNavigateOverrides=t,r.SessionTimeoutOverrides=R,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_13_10","@communities-webruntime/common/v/1_66_768-252_0"],function(r,e,t){"use strict";function _(R){return e.load(t.getViewModuleSpecifier(R),"webruntime/views/v/1")}r.default=_,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 _(){return e()?"Medium":t()?"Small":"Large"}const R=_();r.default=R,r.getFormFactor=_,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 _{constructor(q){this.type=t,this.value=q}}const{freeze:R,defineProperty:G,isExtensible:j}=Object,w="$$DeprecatedWiredElementHostKey$$",u="$$DeprecatedWiredParamsMetaKey$$";function m(x,q){if(x==null||!j(x))throw new TypeError("adapter id must be extensible");if(typeof q!="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 ae=class extends A{constructor(L){super(L);q(this.eventTarget)}};R(ae),R(ae.prototype),G(x,"adapter",{writable:!1,configurable:!1,value:ae})}function s(){}const{forEach:f,splice:g,indexOf:k}=Array.prototype,P="connect",O="disconnect",N="config";function D(x,q){const ae=k.call(x,q);ae>-1&&g.call(x,ae,1)}function M(x){return Object.keys(x).length===0}function $(x,q){return q.length===0||q.some(ae=>!e(x[ae]))}function K(x,q,ae){return ae.some(L=>x[L]!==q[L])}class A{constructor(q){this.connecting=[],this.disconnecting=[],this.configuring=[],this.isFirstUpdate=!0,this.callback=q,this.wiredElementHost=q[w],this.dynamicParamsNames=q[u],this.eventTarget={addEventListener:(ae,L)=>{switch(ae){case P:{this.connecting.push(L);break}case O:{this.disconnecting.push(L);break}case N:{this.configuring.push(L),this.currentConfig!==void 0&&L.call(void 0,this.currentConfig);break}default:throw new Error(`Invalid event type ${ae}.`)}},removeEventListener:(ae,L)=>{switch(ae){case P:{D(this.connecting,L);break}case O:{D(this.disconnecting,L);break}case N:{D(this.configuring,L);break}default:throw new Error(`Invalid event type ${ae}.`)}},dispatchEvent:ae=>{if(ae instanceof _){const L=ae.value;this.callback(L)}else{if(ae.type==="wirecontextevent")return this.wiredElementHost.dispatchEvent(ae);throw new Error(`Invalid event type ${ae.type}.`)}return!1}}}update(q){this.isFirstUpdate&&(this.isFirstUpdate=!1,!M(q)&&!$(q,this.dynamicParamsNames))||(e(this.currentConfig)||K(q,this.currentConfig,this.dynamicParamsNames))&&(this.currentConfig=q,f.call(this.configuring,ae=>{ae.call(void 0,q)}))}connect(){f.call(this.connecting,q=>q.call(void 0))}disconnect(){f.call(this.disconnecting,q=>q.call(void 0))}}r.ValueChangedEvent=_,r.register=m,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 _(){return e()?"Medium":t()?"Small":"Large"}const R=_();r.default=R,r.getFormFactor=_,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_768-252_0",["exports"],function(r){"use strict";var e=!0,t="src/labels",_=["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/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","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"],R="webruntime";function G(Y){return`/${R}${Y}`}var j=G("/api"),w=G("/log/metrics"),u=G("/log/errors"),m={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"},f=8e3,g="/webruntime/login",k="/webruntime/logout",P="@design";function O(Y){return`${P}/${Y}`}function N(Y){return Y.replace(/(?!^)([A-Z])/g,"-$1").toLowerCase()}var D=new RegExp(/^[a-z-A-Z_\d]+[/:]{1}[a-zA-Z_\d]+$/),M=new RegExp(/^([a-z][a-z\d]*)(-[a-z\d]+)*$/);function $(Y,ue){if(!Y)throw new Error(ue)}function K(Y){if(M.test(Y))return Y;$(D.test(Y),`${Y} is an invalid module specifier.`);const ue=Y.split(/[/:]/),[ne,we]=ue;return $(!ne.includes("-"),`${Y}'s namespace cannot contain hyphens.`),[ne.toLowerCase(),N(we)].join("-")}var A="webruntime",x="js",q="latest",ae={FRAMEWORK:"framework",DESIGN:"design",COMPONENT:"component",VIEW:"view",DESIGNCOMPONENT:"designcomponent"};function L(Y,ue){if(!Y)throw new Error(ue)}function Ce(Y){const[ue,ne=""]=Y.split("://"),[we,Fe]=ne.indexOf("@")>0?ne.split("@"):[ne];return{type:ue,name:we,locale:Fe}}function oe(Y={type:"",name:""},ue,ne,we=!0){const{name:Fe}=typeof Y=="string"?Ce(Y):Y;L(Fe,"Name not specified");const Ge=ke(Y,ue,ne),Ve=we?`.${x}`:"";return`${Ge}${Fe}${Ve}`}function ke(Y={type:"",name:""},ue,ne){const{type:we,locale:Fe}=typeof Y=="string"?Ce(Y):Y,Ge=we===ae.COMPONENT;return L(we,"Type not specified"),L(ue,"Mode not specified"),L(Fe||!Ge,"Component locale not specified"),`/${A}/${we}/${ne||q}/${ue}${Fe?`/${Fe}`:""}/`}var je="@view";function Ae(Y){return`${je}/${Y}`}var a=["hasVanityURL","isDefault","isPublic","isRoot"],d=[{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:ue})=>Y?.objectApiName==="ProductCategory"?ue==="categoryPath":ue!=="categoryPath"}];function h(Y,ue){const{match:ne,params:we}=ue;we.forEach(Fe=>{if(ne&&!ne(Y.page,Fe))return;const{type:Ge,name:Ve}=Fe,xe=Ge,Xe=xe==="state"?"attributes":"state";!Y.page?.[Xe]?.[Ve]||(Y.page[xe]||(Y.page[xe]={}),Y.page[xe][Ve]=Y.page[Xe][Ve],delete Y.page[Xe][Ve])})}function F(Y){let ue=Y;return["categoryPath","urlPath"].forEach(ne=>{ue=ue.replace(new RegExp(`:${ne}\\+?`),`:${ne}+`)}),ue}function W(Y){return Y.startsWith(":")?Y.substring(1).replace(/[?+]/g,""):null}var le=/\(.*\)/;function Re(Y){return Y.split("/").map(ue=>ue.replace(le,"")).join("/")}function Me(Y,ue){return Y.split("/").map(ne=>{const we=W(ne);return we&&ue[we]?ne.replace(we,`${we}(${ue[we]})`):ne}).join("/")}function Ne(Y){!Y.uri.includes(":")||!Y.page?.type||(Y.page.attributes=Y.page.attributes||{},Y.uri.split("/").forEach(ue=>{const ne=W(ue);if(ne){const we=`:${ne}`;Y.page.attributes[ne]||(Y.page.attributes[ne]=we)}}))}function Le(Y,ue=!1){return Y.map(ne=>{ne.uri||(ne.uri=ne.path),ne.metadata||(ne.metadata={}),a.forEach(xe=>{xe in ne&&(ne.metadata[xe]=ne[xe],delete ne[xe])}),ne.uri&&(ne.uri=Re(ne.uri),Ne(ne)),ne.patternMap&&(ne.patterns=ne.patternMap,delete ne.patternMap);const we=ne.page?.attributes?.objectApiName;we&&!we.startsWith(":")&&(ne.uri=ne.uri.replace(":objectApiName",we),ne.patterns?.objectApiName&&delete ne.patterns.objectApiName);const Fe=d.find(xe=>ne.page?.type===xe.type);Fe&&h(ne,Fe);const Ge=ne.page?.type;return!ue&&Ge==="standard__recordPage"&&["ProductCategory","NetworkDataCategory"].includes(ne.page.attributes?.objectApiName)&&(ne.uri=F(ne.uri)),["standard__recordPage","standard__recordRelationshipPage"].includes(Ge)&&!ne.page?.attributes?.actionName&&(ne.page.attributes.actionName="view"),ue&&ne.patterns&&(ne.uri=Me(ne.uri,ne.patterns)),ne})}r.API_PATH_PREFIX=j,r.CLIENT_ERROR_TYPES=m,r.ERRORS_PATH_PREFIX=u,r.LABELS_DEFAULT_DIR=t,r.LOCKER_DEFAULT_ENABLED=e,r.MAX_URL_LENGTH=f,r.METRICS_PATH_PREFIX=w,r.MOBILE_APP_USER_AGENTS=s,r.RESOURCE_TYPES=ae,r.TRUSTED_COMPONENTS=_,r.WEBRUNTIME_LOGIN_PATH=g,r.WEBRUNTIME_LOGOUT_PATH=k,r.WEBRUNTIME_PREFIX=R,r.convertToKebabCase=N,r.getDesignComponentModuleSpecifier=O,r.getResourceUrl=oe,r.getViewModuleSpecifier=Ae,r.moduleSpecifierToElementName=K,r.parseResourceDescriptor=Ce,r.parseRoutes=Le,Object.defineProperty(r,"__esModule",{value:!0})}),LWR.define("@communities-webruntime/common",["exports","@communities-webruntime/common/v/1_66_768-252_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]}})})});