vendor: 4,723 bytes, line 1
1"use strict";(self.webpackChunkportal_shell_app=self.webpackChunkportal_shell_app||[]).push([[5728],{7051(te,$,a){a.d($,{A:()=>d,B:()=>l,C:()=>r,D:()=>be,a:()=>ve,b:()=>S,c:()=>m,d:()=>Re,e:()=>xe,f:()=>D,g:()=>i,h:()=>C,i:()=>Ae,j:()=>W,k:()=>L,l:()=>Le,m:()=>Fe,n:()=>s,o:()=>de,p:()=>me,q:()=>x,r:()=>z,s:()=>Ee,t:()=>R,u:()=>Me,v:()=>T,w:()=>Ne,x:()=>j,y:()=>t,z:()=>Be});var v=a(467),P=a(4862),O=a(4499),I=["input:not([inert])","select:not([inert])","textarea:not([inert])","a[href]:not([inert])","button:not([inert])","[tabindex]:not(slot):not([inert])","audio[controls]:not([inert])","video[controls]:not([inert])",'[contenteditable]:not([contenteditable="false"]):not([inert])',"details>summary:first-of-type:not([inert])","details:not([inert])"].join(","),y=typeof Element>"u",f=y?function(){}:Element.prototype.matches||Element.prototype.msMatchesSelector||Element.prototype.webkitMatchesSelector,M=!y&&Element.prototype.getRootNode?function(e){var n;return null==e||null===(n=e.getRootNode)||void 0===n?void 0:n.call(e)}:function(e){return e?.ownerDocument},N=function e(n,o){var u;void 0===o&&(o=!0);var c=null==n||null===(u=n.getAttribute)||void 0===u?void 0:u.call(n,"inert");return""===c||"true"===c||o&&n&&e(n.parentNode)},ie=function e(n,o,u){for(var c=[],b=Array.from(n);b.length;){var g=b.shift();if(!N(g,!1))if("SLOT"===g.tagName){var _=g.assignedElements(),X=e(_.length?_:g.children,!0,u);u.flatten?c.push.apply(c,X):c.push({scopeParent:g,candidates:X})}else{f.call(g,I)&&u.filter(g)&&(o||!n.includes(g))&&c.push(g);var _e=g.shadowRoot||"function"==typeof u.getShadowRoot&&u.getShadowRoot(g),Ze=!N(_e,!1)&&(!u.shadowRootFilter||u.shadowRootFilter(g));if(_e&&Ze){var Se=e(!0===_e?g.children:_e.children,!0,u);u.flatten?c.push.apply(c,Se):c.push({scopeParent:g,candidates:Se})}else b.unshift.apply(b,g.children)}}return c},J=function(e){return!isNaN(parseInt(e.getAttribute("tabindex"),10))},w=function(e){if(!e)throw new Error("No node provided");return e.tabIndex<0&&(/^(AUDIO|VIDEO|DETAILS)$/.test(e.tagName)||function(e){var n,o=null==e||null===(n=e.getAttribute)||void 0===n?void 0:n.call(e,"contenteditable");return""===o||"true"===o}(e))&&!J(e)?0:e.tabIndex},F=function(e,n){return e.tabIndex===n.tabIndex?e.documentOrder-n.documentOrder:e.tabIndex-n.tabIndex},Y=function(e){return"INPUT"===e.tagName},Z=function(e){var n=e.getBoundingClientRect();return 0===n.width&&0===n.height},fe=function(e,n){return!(n.disabled||N(n)||function(e){return Y(e)&&"hidden"===e.type}(n)||function(e,n){var o=n.displayCheck,u=n.getShadowRoot;if("hidden"===getComputedStyle(e).visibility)return!0;var c=f.call(e,"details>summary:first-of-type");if(f.call(c?e.parentElement:e,"details:not([open]) *"))return!0;if(o&&"full"!==o&&"legacy-full"!==o){if("non-zero-area"===o)return Z(e)}else{if("function"==typeof u){for(var g=e;e;){var _=e.parentElement,K=M(e);if(_&&!_.shadowRoot&&!0===u(_))return Z(e);e=e.assignedSlot?e.assignedSlot:_||K===e.ownerDocument?_:K.host}e=g}if(function(e){var n,b,g,_,o=e&&M(e),u=null===(n=o)||void 0===n?void 0:n.host,c=!1;if(o&&o!==e)for(c=!!(null!==(b=u)&&void 0!==b&&null!==(g=b.ownerDocument)&&void 0!==g&&g.contains(u)||null!=e&&null!==(_=e.ownerDocument)&&void 0!==_&&_.contains(e));!c&&u;){var K,X,ye;c=!(null===(X=u=null===(K=o=M(u))||void 0===K?void 0:K.host)||void 0===X||null===(ye=X.ownerDocument)||void 0===ye||!ye.contains(u))}return c}(e))return!e.getClientRects().length;if("legacy-full"!==o)return!0}return!1}(n,e)||function(e){return"DETAILS"===e.tagName&&Array.prototype.slice.apply(e.children).some(function(o){return"SUMMARY"===o.tagName})}(n)||function(e){if(/^(INPUT|BUTTON|SELECT|TEXTAREA)$/.test(e.tagName))for(var n=e.parentElement;n;){if("FIELDSET"===n.tagName&&n.disabled){for(var o=0;o<n.children.length;o++){var u=n.children.item(o);if("LEGEND"===u.tagName)return!!f.call(n,"fieldset[disabled] *")||!u.contains(e)}return!0}n=n.parentElement}return!1}(n))},Q=function(e,n){return!(function(e){return function(e){return Y(e)&&"radio"===e.type}(e)&&!function(e){if(!e.name)return!0;var u,n=e.form||M(e),o=function(b){return n.querySelectorAll('input[type="radio"][name="'+b+'"]')};if(typeof window<"u"&&typeof window.CSS<"u"&&"function"==typeof window.CSS.escape)u=o(window.CSS.escape(e.name));else try{u=o(e.name)}catch(b){return console.error("Looks like you have a radio button with a name attribute containing invalid CSS selector characters and need the CSS.escape polyfill: %s",b.message),!1}var c=function(e,n){for(var o=0;o<e.length;o++)if(e[o].checked&&e[o].form===n)return e[o]}(u,e.form);return!c||c===e}(e)}(n)||w(n)<0||!fe(e,n))},ge=function(e){var n=parseInt(e.getAttribute("tabindex"),10);return!!(isNaN(n)||n>=0)},U=function e(n){var o=[],u=[];
1return n.forEach(function(c,b){var g=!!c.scopeParent,_=g?c.scopeParent:c,K=function(e,n){var o=w(e);return o<0&&n&&!J(e)?0:o}(_,g),X=g?e(c.candidates):_;0===K?g?o.push.apply(o,X):o.push(_):u.push({documentOrder:b,tabIndex:K,item:c,isScope:g,content:X})}),u.sort(F).reduce(function(c,b){return b.isScope?c.push.apply(c,b.content):c.push(b.content),c},[]).concat(o)},ce=function(e,n){var o;return o=(n=n||{}).getShadowRoot?ie([e],n.includeContainer,{filter:Q.bind(null,n),flatten:!1,getShadowRoot:n.getShadowRoot,shadowRootFilter:ge}):function(e,n,o){if(N(e))return[];var u=Array.prototype.slice.apply(e.querySelectorAll(I));return n&&f.call(e,I)&&u.unshift(e),u.filter(o)}(e,n.includeContainer,Q.bind(null,n)),U(o)};const me={getShadowRoot:!0};function de(e){return e?e.id=e.id||`${e.tagName.toLowerCase()}-${(0,P.g)()}`:""}function s(e){return Array.isArray(e)?e:Array.from(e)}function r(e){const n=L(e,`.${O.C.darkMode}, .${O.C.lightMode}, .${O.C.autoMode}`);return n?.classList.contains("calcite-mode-dark")||n?.classList.contains("calcite-mode-auto")&&window.matchMedia("(prefers-color-scheme: dark)").matches?"dark":"light"}function i(e){const u=L(e,"[dir]");return u?u.getAttribute("dir"):"ltr"}function l(e){return e?parseFloat(getComputedStyle(e).inlineSize):0}function t(e){return e.getRootNode()}function m(e){const n=t(e);return"host"in n?n:null}function d(e,n){if(!e)return 0;const o=document.createElement("canvas").getContext("2d");return o.font=n,o.measureText(e).width}function E(e){return e.host||null}function x(e,{selector:n,id:o}){if(!e)return null;e.assignedSlot&&(e=e.assignedSlot);const u=t(e);return(o?"getElementById"in u?u.getElementById(o):null:n?u.querySelector(n):null)||x(E(u),{selector:n,id:o})}function L(e,n){return e?e.closest(n)||L(E(t(e)),n):null}function S(e){return A.apply(this,arguments)}function A(){return(A=(0,v.A)(function*(e){if(e)return function q(e){return"function"==typeof e?.setFocus}(e)?e.setFocus():e.focus()})).apply(this,arguments)}function j(e){if(e)return ce(e,me)[0]??e}function C(e){j(e)?.focus()}function D(e,n){return Array.from(e.children).filter(o=>o.matches(n))}function T(e,n,o){return"string"==typeof n&&""!==n?n:""===n||!0===n?e[o]:void 0}function W(e,n){return!(n.left>e.right||n.right<e.left||n.top>e.bottom||n.bottom<e.top)}function R(e){return(!!e).toString()}function z(e){return ve(e)||function ee(e){return!!function he(e){return function re(e){return e.currentTarget.assignedNodes({flatten:!0})}(e).filter(n=>n.nodeType===Node.TEXT_NODE).map(n=>n.textContent).join("").trim()}(e)}(e)}function be(e){for(const n of e.childNodes)if(n.nodeType===Node.TEXT_NODE&&""!==n.textContent?.trim()||n.nodeType===Node.ELEMENT_NODE)return!0;return!1}function ve(e){return!!Ee(e).length}function Ee(e,n){return xe(e.target,n)}function xe(e,n){const o=e.assignedElements({flatten:!0});return n?function B(e,n){return e.filter(o=>o.matches(n))}(o,n):o}function Ae(e){return!(!e.isPrimary||0!==e.button)}function Me(e){return 0===e.detail}const Re=(e,n,o,u=!0)=>{const c=e.indexOf(n);let _;return u&&(o="previous"===o&&0===c?"last":"next"===o&&c===e.length-1?"first":o),_="previous"===o?e[c-1]||e[u?e.length-1:c]:"next"===o?e[c+1]||e[u?0:c]:"last"===o?e[e.length-1]:e[0],S(_),_};function Le(e,n){if(e.parentNode!==n.parentNode)return!1;const o=Array.from(e.parentNode.children);return o.indexOf(e)<o.indexOf(n)}function Be(e,n,o,u){return Ie.apply(this,arguments)}function Ie(){return(Ie=(0,v.A)(function*(e,n,o,u){return Pe(e,n,"animation",o,u)})).apply(this,arguments)}function Ne(e,n,o,u){return Ce.apply(this,arguments)}function Ce(){return(Ce=(0,v.A)(function*(e,n,o,u){return Pe(e,n,"transition",o,u)})).apply(this,arguments)}function Te(){return(Te=(0,v.A)(function*(e,n){yield De(),e?.(),yield De(),n?.()})).apply(this,arguments)}function $e(e,n,o){const u="transition"===n?"transitionProperty":"animationName";return e.getAnimations().find(c=>c[u]===o)}function Pe(e,n,o,u,c){return Oe.apply(this,arguments)}function Oe(){return Oe=(0,v.A)(function*(e,n,o,u,c){let b=$e(e,o,n);if(b||(yield De(),b=$e(e,o,n)),!b)return function we(e,n){return Te.apply(this,arguments)}(u,c);u?.();try{yield b.finished}catch{}finally{c?.()}}),Oe.apply(this,arguments)}function De(){return new Promise(e=>requestAnimationFrame(()=>e()))}function Fe(e){return e.endsWith("px")}},4862(te,$,a){a.d($,{g:()=>P});const P=()=>function v(O){return O.map(h=>{let I="";for(let y=0;y<h;y++)I+=(65536*(1+Math.random())|0).toString(16).substring(1);return I}).join("-")}([2,1,1,1,3])},8099(te,$,a){a.d($,{I:()=>w,u:()=>M});var v=a(9009),P=a(4123);function O(){const{disabled:p}=this;p||HTMLElement.prototype.click.call(this)}function h(p){p.target.disabled&&p.preventDefault()}const I=["mousedown","mouseup","click"];function y(p){p.target.disabled&&(p.stopImmediatePropagation(),p.preventDefault())}const f={capture:!0};function M(p){if(p.disabled)return p.el.setAttribute("aria-disabled","true"),p.el.contains(document.activeElement)&&document.activeElement.blur(),void function N(p){p.el.click=O,function ne(p){p.addEventListener("pointerdown",h,f),I.forEach(F=>p.addEventListener(F,y,f))}(p.el)}(p);(function k(p){delete p.el.click,function ie(p){p.removeEventListener("pointerdown",h,f),I.forEach(F=>p.removeEventListener(F,y,f))}(p.el)})(p),p.el.removeAttribute("aria-disabled")}const w=({children:p,disabled:F})=>v.qy`<div class=${(0,P.CP)("interaction-container")} .inert=${F}>${p}</div>`},8708(te,$,a){function v(O){return"Enter"===O||" "===O}a.d($,{i:()=>v,n:()=>P});const P=["0","1","2","3","4","5","6","7","8","9"]},7099(te,$,a){a.d($,{a:()=>O,c:()=>I});var v=a(467),P=a(4499);function O(f){return h.apply(this,arguments)}
1function h(){return(h=(0,v.A)(function*(f){yield f.componentOnReady()})).apply(this,arguments)}function I(f){return y.apply(this,arguments)}function y(){return(y=(0,v.A)(function*(f){if(yield f.componentOnReady(),(0,P.i)())return f.requestUpdate(),new Promise(M=>requestAnimationFrame(()=>M()))})).apply(this,arguments)}},1269(te,$,a){a.d($,{B:()=>h,N:()=>Q,a:()=>ue,b:()=>V,c:()=>Y,d:()=>fe,g:()=>de,i:()=>I,l:()=>pe,n:()=>ge,p:()=>y,s:()=>ie});var v=a(8708);const P=new RegExp("\\.(0+)?$"),O=new RegExp("0+$");class h{static{this.DECIMALS=100}static{this.ROUNDED=!0}static{this.SHIFT=BigInt("1"+"0".repeat(this.DECIMALS))}constructor(r){if(r instanceof h)return r;const[i,l]=function p(s){const r=s.split(/[eE]/);if(1===r.length)return s;const i=+s;if(Number.isSafeInteger(i))return`${i}`;const l="-"===s.charAt(0),t=+r[1],m=r[0].split("."),d=(l?m[0].substring(1):m[0])||"",E=m[1]||"",q=t>0?`${d}${((S,A)=>{const j=A>S.length?`${S}${"0".repeat(A-S.length)}`:S;return`${j.slice(0,A)}.${j.slice(A)}`})(E,t)}`:`${((S,A)=>{const j=Math.abs(A)-S.length,C=j>0?`${"0".repeat(j)}${S}`:S;return`${C.slice(0,A)}.${C.slice(A)}`})(d,t)}${E}`;return`${l?"-":""}${"."===q.charAt(0)?"0":""}${q.replace(P,"").replace(f,"")}`}(r).split(".").concat("");this.value=BigInt(i+l.padEnd(h.DECIMALS,"0").slice(0,h.DECIMALS))+BigInt(h.ROUNDED&&l[h.DECIMALS]>="5"),this.isNegative="-"===r.charAt(0)}static{this._divRound=(r,i)=>h.fromBigInt(r/i+(h.ROUNDED?r*BigInt(2)/i%BigInt(2):BigInt(0)))}static{this.fromBigInt=r=>Object.assign(Object.create(h.prototype),{value:r,isNegative:r<BigInt(0)})}getIntegersAndDecimals(){const r=this.value.toString().replace("-","").padStart(h.DECIMALS+1,"0");return{integers:r.slice(0,-h.DECIMALS),decimals:r.slice(-h.DECIMALS).replace(O,"")}}toString(){const{integers:r,decimals:i}=this.getIntegersAndDecimals();return`${this.isNegative?"-":""}${r}${i.length?"."+i:""}`}formatToParts(r){const{integers:i,decimals:l}=this.getIntegersAndDecimals(),t=r.numberFormatter.formatToParts(BigInt(i));return this.isNegative&&t.unshift({type:"minusSign",value:r.minusSign}),l.length&&(t.push({type:"decimal",value:r.decimal}),l.split("").forEach(m=>t.push({type:"fraction",value:m}))),t}format(r){const{integers:i,decimals:l}=this.getIntegersAndDecimals();return`${this.isNegative?r.minusSign:""}${r.numberFormatter.format(BigInt(i))}${l.length?`${r.decimal}${l.split("").map(d=>r.numberFormatter.format(Number(d))).join("")}`:""}`}add(r){return h.fromBigInt(this.value+new h(r).value)}subtract(r){return h.fromBigInt(this.value-new h(r).value)}multiply(r){return h._divRound(this.value*new h(r).value,h.SHIFT)}divide(r){return h._divRound(this.value*h.SHIFT,new h(r).value)}}function I(s){return!(!s||isNaN(Number(s)))}function y(s){return s&&function F(s){return v.n.some(r=>s.includes(r))}(s)?w(s,r=>{let i=!1;const l=r.split("").filter((t,m)=>t.match(/\./g)&&!i?(i=!0,!0):!(!t.match(/-/g)||0!==m)||v.n.includes(t)).join("");return I(l)?new h(l).toString():""}):""}const f=/^([-0])0+(?=\d)/,M=/(?!^\.)\.$/,N=/(?!^-)-/g,ne=/^-\b0\b\.?0*$/,k=/0*$/,ie=s=>w(s,r=>{const i=r.replace(N,"").replace(M,"").replace(f,"$1");return I(i)?ne.test(i)?i:function J(s){const r=s.split(".")[1],i=new h(s).toString(),[l,t]=i.split(".");return r&&t!==r?`${l}.${r}`:i}(i):r});function w(s,r){if(!s)return s;const i=s.toLowerCase().indexOf("e")+1;return i?s.replace(/[eE]*$/g,"").substring(0,i).concat(s.slice(i).replace(/[eE]/g,"")).split(/[eE]/).map((l,t)=>r(1===t?l.replace(/\./g,""):l)).join("e").replace(/^e/,"1e"):r(s)}function Y(s,r,i){const l=r.split(".")[1];if(l){const t=l.match(k)[0];if(t&&i.delocalize(s).length!==r.length&&-1===l.indexOf("e")){const m=i.decimal;return(s=s.includes(m)?s:`${s}${m}`).padEnd(s.length+t.length,i.localize("0"))}}return s}const G="en",se=["ar","bg","bs","ca","cs","da","de","el",G,"es","et","fi","fr","he","hr","hu","id","it","ja","ko","lt","lv","no","nl","pl","pt-BR","pt-PT","ro","ru","sk","sl","sr","sv","th","tr","uk","vi","zh-CN","zh-HK","zh-TW"],ae=["ar","bg","bs","ca","cs","da","de","de-AT","de-CH","el",G,"en-AU","en-CA","en-GB","es","es-MX","et","fi","fr","fr-CH","he","hi","hr","hu","id","it","it-CH","ja","ko","lt","lv","mk","no","nl","pl","pt","pt-PT","ro","ru","sk","sl","sr","sv","th","tr","uk","vi","zh-CN","zh-HK","zh-TW"],pe=new Map(Object.entries({bg:{am:"\u043f\u0440.\u043e\u0431.",pm:"\u0441\u043b.\u043e\u0431."},bs:{am:"prijepodne",pm:"popodne"},ca:{am:"a.\xa0m.",pm:"p.\xa0m."},cs:{am:"dop.",pm:"odp."},es:{am:"a.\xa0m.",pm:"p.\xa0m."},"es-mx":{am:"a.m.",pm:"p.m."},"es-MX":{am:"a.m.",pm:"p.m."},fi:{am:"ap.",pm:"ip."},he:{am:"\u05dc\u05e4\u05e0\u05d4\u05f4\u05e6",pm:"\u05d0\u05d7\u05d4\u05f4\u05e6"},hu:{am:"de. ",pm:"du."},lt:{am:"prie\u0161piet",pm:"popiet"},lv:{am:"priek\u0161pusdien\u0101",pm:"p\u0113cpusdien\u0101"},mk:{am:"\u043f\u0440\u0435\u0442\u043f\u043b.",pm:"\u043f\u043e\u043f\u043b."},no:{am:"a.m.",pm:"p.m."},nl:{am:"a.m.",pm:"p.m."},"pt-pt":{am:"da manh\xe3",pm:"da tarde"},"pt-PT":{am:"da manh\xe3",pm:"da tarde"},ro:{am:"a.m.",pm:"p.m."},sl:{am:"dop.",pm:"pop."},sv:{am:"fm",pm:"em"},th:{am:"\u0e01\u0e48\u0e2d\u0e19\u0e40\u0e17\u0e35\u0e48\u0e22\u0e07",pm
1:"\u0e2b\u0e25\u0e31\u0e07\u0e40\u0e17\u0e35\u0e48\u0e22\u0e07"},tr:{am:"\xd6\xd6",pm:"\xd6S"},uk:{am:"\u0434\u043f",pm:"\u043f\u043f"},vi:{am:"SA",pm:"CH"}})),oe=["arab","arabext","latn"],le=s=>oe.includes(s),H=(new Intl.NumberFormat).resolvedOptions().numberingSystem,Z="arab"!==H&&le(H)?H:"latn",ue=s=>le(s)?s:Z;function V(s,r="cldr"){const i="cldr"===r?ae:se;return s?i.includes(s)?s:"nb"===(s=s.toLowerCase())?"no":"t9n"===r&&"pt"===s?"pt-BR":(s.includes("-")&&(s=s.replace(/(\w+)-(\w+)/,(l,t,m)=>`${t}-${m.toUpperCase()}`),i.includes(s)||(s=s.split("-")[0])),"zh"===s?"zh-CN":i.includes(s)?s:(console.warn(`Translations for the "${s}" locale are not available and will fall back to the default, English (en).`),G)):G}function fe(s){switch(s){case"it-CH":return"de-CH";case"bs":return"bs-Cyrl";default:return s}}class Q{constructor(){this.delocalize=r=>this._numberFormatOptions?w(r,i=>i.replace(new RegExp(`[${this._minusSign}]`,"g"),"-").replace(new RegExp(`[${this._group}]`,"g"),"").replace(new RegExp(`[${this._decimal}]`,"g"),".").replace(new RegExp(`[${this._digits.join("")}]`,"g"),this._getDigitIndex)):r,this.localize=r=>this._numberFormatOptions?w(r,i=>I(i.trim())?new h(i.trim()).format(this).replace(new RegExp(`[${this._actualGroup}]`,"g"),this._group):i):r}get group(){return this._group}get decimal(){return this._decimal}get minusSign(){return this._minusSign}get digits(){return this._digits}get numberFormatter(){return this._numberFormatter}get numberFormatOptions(){return this._numberFormatOptions}set numberFormatOptions(r){if(r.locale=V(r?.locale),r.numberingSystem=ue(r?.numberingSystem),!this._numberFormatOptions&&r.locale===G&&r.numberingSystem===Z&&2===Object.keys(r).length||JSON.stringify(this._numberFormatOptions)===JSON.stringify(r))return;this._numberFormatOptions=r,this._numberFormatter=new Intl.NumberFormat(this._numberFormatOptions.locale,this._numberFormatOptions),this._digits=[...new Intl.NumberFormat(this._numberFormatOptions.locale,{useGrouping:!1,numberingSystem:this._numberFormatOptions.numberingSystem}).format(9876543210)].reverse();const i=new Map(this._digits.map((t,m)=>[t,m])),l=new Intl.NumberFormat(this._numberFormatOptions.locale,{numberingSystem:this._numberFormatOptions.numberingSystem}).formatToParts(-12345678.9);this._actualGroup=l.find(t=>"group"===t.type).value,this._group=0===this._actualGroup.trim().length||" "==this._actualGroup?"\xa0":this._actualGroup,this._decimal="bs"===r.locale||"mk"===r.locale?",":l.find(t=>"decimal"===t.type).value,this._minusSign=l.find(t=>"minusSign"===t.type).value,this._getDigitIndex=t=>i.get(t)}}const ge=new Q;let U,ce;function de(s,r){s=V(s),U||(U=new Map),ce!==s&&(U.clear(),ce=s);const i=function me(s={}){return Object.entries(s).sort(([r],[i])=>r.localeCompare(i)).map(r=>`${r[0]}-${r[1]}`).flat().join(":")}(r),l=U.get(i);if(l)return l;const t=new Intl.DateTimeFormat(s,r);return U.set(i,t),t}},2282(te,$,a){a.r($),a.d($,{InputTimeZone:()=>r});var v=a(467),P=a(4499),O=a(7967),h=a(6970),I=a(2491),y=a(8324),f=a(4123),M=a(6049),N=a(8099),ne=a(7099),k=a(3713),ie=a(9137),J=a(1269),w=a(5139);function Y(i){return i.replace(":15",".25").replace(":30",".5").replace(":45",".75").replace("\u2212","-")}function oe(){return(oe=(0,v.A)(function*(i){if("offset"===i)return t=>t;const{normalize:l}=yield Promise.all([a.e(275),a.e(2076)]).then(a.bind(a,354));return l})).apply(this,arguments)}function H(){return(H=(0,v.A)(function*(i,l,t,m,d){if("name"===t){const{groupByName:C}=yield Promise.all([a.e(275),a.e(2076),a.e(5273)]).then(a.bind(a,5273));return(yield C()).map(({label:D})=>({label:D,value:D,metadata:{filterValue:D}})).filter(D=>!!D).sort()}const E="user"===d?i:"utc"===d?"fr":"en-GB",x=m.getTime();if("region"===t){const[{groupByRegion:C},{getCountry:D,global:B}]=yield Promise.all([Promise.all([a.e(275),a.e(2076),a.e(3924)]).then(a.bind(a,3924)),Promise.all([a.e(275),a.e(2076)]).then(a.bind(a,863))]);return(yield C()).map(({label:T,tzs:W})=>(W.sort((R,z)=>{const he=Z(R,l),be=Z(z,l),ee="Etc/GMT";if(R.startsWith(ee)&&z.startsWith(ee)){const re=R.substring(7),ve=z.substring(7),Ee=""===re?0:parseInt(re);return(""===ve?0:parseInt(ve))-Ee}return he.localeCompare(be)}),{label:V(l,T),items:W.map(R=>{const z=Y(U(R,E,x)),he=Z(R,l),be=T===B?`${Z(B,l)} Etc`:Q(R),ee=D(R),re=V(l,ee);return{label:he,value:R,metadata:{country:re===he?void 0:re,filterValue:be,offset:z}}})})).sort((T,W)=>T.label===B?-1:W.label===B?1:T.label.localeCompare(W.label))}const[{groupByOffset:L},{DateEngine:q}]=yield Promise.all([Promise.all([a.e(275),a.e(2076),a.e(4965)]).then(a.bind(a,4965)),a.e(6791).then(a.bind(a,6791))]),S=yield L({dateEngine:new q,groupDateRange:1,startDate:new Date(x).toISOString()}),A=new Intl.ListFormat(i,{style:"long",type:"conjunction"}),j=["Factory","Etc/UTC"];
1return S.forEach(C=>{const D=[];let B=0;C.tzs.forEach((T,W)=>{j.includes(T)&&B++,D[W]=B}),C.tzs=C.tzs.filter(T=>!j.includes(T)),C.labelTzIdx=C.labelTzIdx.map(T=>T-D[T]).filter(T=>T>=0&&T<C.tzs.length)}),S.map(({labelTzIdx:C,tzs:D})=>{const B=D[0],T=Y(U(B,E,x)),W=function G(i,l){const t=U(i,"en-US",l).replace("GMT","");return""===t?0:60*Number(Y(t))}(B,x),R=C.map(z=>Z(D[z],l));return{label:ge(l,T,A.format(R)),value:W,metadata:{filterValue:D.map(z=>Q(z))}}}).filter(C=>!!C).sort((C,D)=>C.value-D.value)})).apply(this,arguments)}function Z(i,l){return l[i]||function fe(i){return i.split("/").pop()}(i)}function V(i,l){return i[l]||l}function Q(i){return i.replace(/_/g," ")}function ge(i,l,t){return i.timeZoneLabel.replace("{offset}",l).replace("{cities}",t)}function U(i,l,t=Date.now()){return"Factory"===i&&(i="Etc/GMT"),(0,J.g)(l,{timeZone:i,timeZoneName:"shortOffset"}).formatToParts(t).find(({type:m})=>"timeZoneName"===m).value}function de(i,l,t){return null==t?null:function me(i){return function ce(i){return void 0!==i.items}(i[0])?i.flatMap(l=>l.items):i}(i).find(m=>m[l]==t)}const s=w.AH`:host([disabled]){cursor:default;-webkit-user-select:none;user-select:none;opacity:var(--calcite-opacity-disabled)}:host([disabled]) *,:host([disabled]) ::slotted(*){pointer-events:none}:host{display:block}.offset{white-space:nowrap}:host([hidden]){display:none}[hidden]{display:none}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}.interaction-container{display:contents}::slotted(input[slot=hidden-form-input]){margin:0!important;opacity:0!important;outline:none!important;padding:0!important;position:absolute!important;inset:0!important;transform:none!important;-webkit-appearance:none!important;z-index:-1!important}`;let r=(()=>{class i extends f.WF{constructor(){super(...arguments),this.clearable=!1,this.disabled=!1,this.maxItems=0,this.messages=(0,ie.u)({blocking:!0}),this.mode="offset",this.offsetStyle="user",this.open=!1,this.overlayPositioning="absolute",this.readOnly=!1,this.required=!1,this.scale="m",this.status="idle",this.validity={valid:!1,badInput:!1,customError:!1,patternMismatch:!1,rangeOverflow:!1,rangeUnderflow:!1,stepMismatch:!1,tooLong:!1,tooShort:!1,typeMismatch:!1,valueMissing:!1},this.calciteInputTimeZoneBeforeClose=(0,f.lh)({cancelable:!1}),this.calciteInputTimeZoneBeforeOpen=(0,f.lh)({cancelable:!1}),this.calciteInputTimeZoneChange=(0,f.lh)({cancelable:!1}),this.calciteInputTimeZoneClose=(0,f.lh)({cancelable:!1}),this.calciteInputTimeZoneOpen=(0,f.lh)({cancelable:!1})}static{this.properties={clearable:7,disabled:7,form:3,maxItems:11,messageOverrides:0,mode:3,name:3,offsetStyle:3,open:7,overlayPositioning:3,readOnly:7,referenceDate:1,required:7,scale:3,status:3,validationIcon:[3,{converter:f.pf}],validationMessage:1,validity:0,value:1}}static{this.shadowRootOptions={mode:"open",delegatesFocus:!0}}static{this.styles=s}get value(){return this._value}set value(t){this._value=t}setFocus(){var t=this;return(0,v.A)(function*(){yield(0,ne.c)(t),yield t.comboboxEl.setFocus()})()}connectedCallback(){super.connectedCallback(),(0,k.c)(this),(0,M.c)(this)}load(){var t=this;return(0,v.A)(function*(){t.normalizer=yield function pe(i){return oe.apply(this,arguments)}(t.mode),yield t.updateTimeZoneItems();const m=t.value,d=t.normalizeValue(m);t.value=d||(""===m?d:void 0),t.updateTimeZoneSelection();const E=t.selectedTimeZoneItem?`${t.selectedTimeZoneItem.value}`:"";(0,k.a)(t,E),t.value=E})()}willUpdate(t){t.has("value")&&this.hasUpdated&&this.handleValueChange(this.value,t.get("value")),(t.has("messages")||t.has("mode")&&(this.hasUpdated||"offset"!==this.mode)||t.has("referenceDate"))&&this.handleTimeZoneItemPropsChange(),t.has("open")&&(this.hasUpdated||!1!==this.open)&&this.openChanged()}updated(){(0,N.u)(this)}loaded(){this.overrideSelectedLabelForRegion(this.open),this.openChanged()}disconnectedCallback(){super.disconnectedCallback(),(0,k.d)(this),(0,M.d)(this)}handleTimeZoneItemPropsChange(){var t=this;return(0,v.A)(function*(){!t.timeZoneItems||!t.hasUpdated||(yield t.updateTimeZoneItems(),t.updateTimeZoneSelection())})()}openChanged(){this.comboboxEl&&(this.comboboxEl.open=this.open)}handleValueChange(t,m){var d=this;return(0,v.A)(function*(){const E=d.normalizeValue(t);if(!E)return d.clearable?(d._value=E,void(d.selectedTimeZoneItem=null)):(d._value=m,void(d.selectedTimeZoneItem=d.findTimeZoneItem(m)));const x=d.findTimeZoneItem(E);x?(d._value=E,d.selectedTimeZoneItem=x,E!==t&&(yield d.updateComplete,d.overrideSelectedLabelForRegion(d.open))):d._value=m})()}onLabelClick(){this.setFocus()}setComboboxRef(t){this.comboboxEl=t}overrideSelectedLabelForRegion(t){if("region"!==this.mode||!this.selectedTimeZoneItem)return;const{label:m,metadata:d}=this.selectedTimeZoneItem;this.comboboxEl.selectedItems[0].textLabel=!d.country||t?m:function ue(i,l,t){return t.timeZoneRegionLabel.replace("{city}",i).replace("{country}",V(t,l))}(m,d.country,this.messages)}onComboboxBeforeClose(t){t.stopPropagation(),this.overrideSelectedLabelForRegion(!1),this.calciteInputTimeZoneBeforeClose.emit()}onComboboxBeforeOpen(t){t.stopPropagation(),this.overrideSelectedLabelForRegion(!0),this.calciteInputTimeZoneBeforeOpen.emit()}onComboboxChange(t){t.stopPropagation();const m=t.target.selectedItems[0];if(!m)return this._value="",this.selectedTimeZoneItem=null,void this.calciteInputTimeZoneChange.emit();const d=this.findTimeZoneItemByLabel(m.getAttribute("data-label")),E=`${d.value}`;this.value===E&&d.label===this.selectedTimeZoneItem.label||(this._value=E,this.selectedTimeZoneItem=d,this.calciteInputTimeZoneChange.emit())}onComboboxClose(t){t.stopPropagation(),this.open=!1,this.calciteInputTimeZoneClose.emit()}onComboboxOpen(t){this.open=!0,t.stopPropagation(),this.calciteInputTimeZoneOpen.emit()}findTimeZoneItem(t){return de(this.timeZoneItems,"value",t)}findTimeZoneItemByLabel(t){return de(this.timeZoneItems,"label",t)}updateTimeZoneItems(){var t=this;return(0,v.A)(function*(){t.timeZoneItems=yield t.createTimeZoneItems()})()}updateTimeZoneSelection(){if(""===this.value&&this.clearable)return void(this.selectedTimeZoneItem=null);const t="offset"===this.mode?function se(){return-1*(new Date).getTimezoneOffset()}():function ae(){return(new Intl.DateTimeFormat).resolvedOptions().timeZone}();this.selectedTimeZoneItem=this.findTimeZoneItem(""!==this.value&&this.value?this.value:t)||this.findTimeZoneItem(t)}createTimeZoneItems(){var t=this;return(0,v.A)(function*(){return t.messages._lang&&t.messages?function le(i,l,t,m,d){return H.apply(this,arguments)}(t.messages._lang,t.messages,t.mode,t.referenceDate instanceof Date?t.referenceDate:new Date(t.referenceDate??Date.now()),t.offsetStyle):[]})()}normalizeValue(t){return(t=void 0===t?"":t)&&this.normalizer(t)}render(){return(0,N.I)({disabled:this.disabled,children:y.qy`<calcite-combobox .clearDisabled=${!this.clearable} .disabled=${this.disabled} .label=${this.messages.chooseTimeZone} lang=${this.messages._lang??y.s6}
1 .maxItems=${this.maxItems} @calciteComboboxBeforeClose=${this.onComboboxBeforeClose} @calciteComboboxBeforeOpen=${this.onComboboxBeforeOpen} @calciteComboboxChange=${this.onComboboxChange} @calciteComboboxClose=${this.onComboboxClose} @calciteComboboxOpen=${this.onComboboxOpen} .overlayPositioning=${this.overlayPositioning} .placeholder=${"name"===this.mode?this.messages.namePlaceholder:"offset"===this.mode?this.messages.offsetPlaceholder:this.messages.regionPlaceholder} placeholder-icon=search .readOnly=${this.readOnly} .scale=${this.scale} .selectionMode=${this.clearable?"single":"single-persist"} .status=${this.status} .validationIcon=${this.validationIcon} .validationMessage=${this.validationMessage} ${(0,O.K)(this.setComboboxRef)}>${this.renderItems()}</calcite-combobox>${(0,k.H)({component:this})}`})}renderItems(){return"region"===this.mode?this.renderRegionItems():(0,h.u)(this.timeZoneItems,({label:t})=>t,t=>{const m=this.selectedTimeZoneItem===t,{label:d,metadata:E,value:x}=t;return y.qy`<calcite-combobox-item data-label=${d??y.s6} .metadata=${E} .selected=${m} .textLabel=${d} .value=${x}></calcite-combobox-item>`})}renderRegionItems(){return this.timeZoneItems.flatMap(({label:t,items:m})=>(0,I.D)(t,y.qy`<calcite-combobox-item-group .label=${t}>${(0,h.u)(m,({label:d})=>d,d=>{const E=this.selectedTimeZoneItem===d,{label:x,metadata:L,value:q}=d;return y.qy`<calcite-combobox-item data-label=${x??y.s6} .description=${L.country} .metadata=${L} .selected=${E} .textLabel=${x} .value=${q}><span class=${(0,f.CP)("offset")} slot=content-end>${L.offset}</span></calcite-combobox-item>`})}</calcite-combobox-item-group>`))}}return i})();(0,P.c)("calcite-input-time-zone",r)},2491(te,$,a){a.d($,{D:()=>h});var v=a(9009),P=a(8971),O=a(5051);const h=(0,P.u$)(class extends P.WL{constructor(){super(...arguments),this.key=v.s6}render(I,y){return this.key=I,y}update(I,[y,f]){return y!==this.key&&((0,O.mY)(I),this.key=y),f}})}}]);
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.