@ukpc-lib/react 0.11.4 → 0.11.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/components/index.cjs +1 -1
- package/dist/components/index.js +95 -95
- package/package.json +1 -1
- package/web-components-bundle/favorite-menu/index.js +1 -1
- package/web-components-bundle/global-menu/index.js +1 -1
- package/web-components-bundle/global-topbar/index.js +1 -1
- package/web-components-bundle/has-permission/index.js +1 -1
- package/web-components-bundle/{index-26babbd6.js → index-106dff30.js} +1 -1
|
@@ -36,7 +36,7 @@
|
|
|
36
36
|
`,yr=`.notification-massage_container{background:#fff;padding:0 64px 0 72px;border-radius:8px;font-family:TT Firs Neue Trl,sans-serif;text-decoration:none;color:inherit}.notification-massage_container:before{position:absolute;content:"";width:48px;height:48px;background:url(https://ukpcsaprod.blob.core.windows.net/saas/notification-icon.svg) no-repeat center/100%;top:12px;left:24px}.notification-name{font-weight:500;font-size:14px;margin:0}.notification-message_service{font-size:12px}.notification-message_button-close{position:absolute;top:12px;right:24px;width:24px;height:24px}
|
|
37
37
|
`;function Mo(e){return c.jsxs("svg",{width:"34",height:"25",viewBox:"0 0 34 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:[c.jsxs("g",{"clip-path":"url(#clip0_16865_28134)",children:[c.jsx("rect",{y:"0.5",width:"34",height:"24",rx:"3",fill:"#1A47B8"}),c.jsx("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M3.61691 0.5H0V4.5L30.3635 24.5L34 24.5V20.5L3.61691 0.5Z",fill:"white"}),c.jsx("path",{d:"M1.20635 0.5L34 22.1567V24.5H32.8219L0 2.82089V0.5H1.20635Z",fill:"#F93939"}),c.jsx("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M30.7619 0.5H34V4.5C34 4.5 12.9683 17.8249 3.2381 24.5H0V20.5L30.7619 0.5Z",fill:"white"}),c.jsx("path",{d:"M34 0.5H32.9019L0 22.1753V24.5H1.20635L34 2.83842V0.5Z",fill:"#F93939"}),c.jsx("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M12.3648 0.5H21.6635V7.90291H34V17.0922H21.6635V24.5H12.3648V17.0922H0V7.90291H12.3648V0.5Z",fill:"white"}),c.jsx("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M14.3158 0.5H19.6842V9.73077H34V15.2692H19.6842V24.5H14.3158V15.2692H0V9.73077H14.3158V0.5Z",fill:"#F93939"})]}),c.jsx("defs",{children:c.jsx("clipPath",{id:"clip0_16865_28134",children:c.jsx("rect",{y:"0.5",width:"34",height:"24",rx:"3",fill:"white"})})})]})}const ko=T.createContext({}),xr=!0;function Ao({baseColor:e,highlightColor:t,width:n,height:r,borderRadius:o,circle:s,direction:i,duration:l,enableAnimation:u=xr,customHighlightBackground:d}){const f={};return i==="rtl"&&(f["--animation-direction"]="reverse"),typeof l=="number"&&(f["--animation-duration"]=`${l}s`),u||(f["--pseudo-element-display"]="none"),(typeof n=="string"||typeof n=="number")&&(f.width=n),(typeof r=="string"||typeof r=="number")&&(f.height=r),(typeof o=="string"||typeof o=="number")&&(f.borderRadius=o),s&&(f.borderRadius="50%"),typeof e<"u"&&(f["--base-color"]=e),typeof t<"u"&&(f["--highlight-color"]=t),typeof d=="string"&&(f["--custom-highlight-background"]=d),f}function jo({count:e=1,wrapper:t,className:n,containerClassName:r,containerTestId:o,circle:s=!1,style:i,...l}){var u,d,f;const h=T.useContext(ko),p={...l};for(const[_,C]of Object.entries(l))typeof C>"u"&&delete p[_];const b={...h,...p,circle:s},g={...i,...Ao(b)};let a="react-loading-skeleton";n&&(a+=` ${n}`);const x=(u=b.inline)!==null&&u!==void 0?u:!1,S=[],E=Math.ceil(e);for(let _=0;_<E;_++){let C=g;if(E>e&&_===E-1){const y=(d=C.width)!==null&&d!==void 0?d:"100%",w=e%1,k=typeof y=="number"?y*w:`calc(${y} * ${w})`;C={...C,width:k}}const v=T.createElement("span",{className:a,style:C,key:_},"");x?S.push(v):S.push(T.createElement(T.Fragment,{key:_},v,T.createElement("br",null)))}return T.createElement("span",{className:r,"data-testid":o,"aria-live":"polite","aria-busy":(f=b.enableAnimation)!==null&&f!==void 0?f:xr},t?S.map((_,C)=>T.createElement(t,{key:C},_)):S)}const Oo=`@keyframes react-loading-skeleton{to{transform:translate(100%)}}.react-loading-skeleton{--base-color: #ebebeb;--highlight-color: #f5f5f5;--animation-duration: 1.5s;--animation-direction: normal;--pseudo-element-display: block;background-color:var(--base-color);width:100%;border-radius:.25rem;display:inline-flex;line-height:1;position:relative;-webkit-user-select:none;-moz-user-select:none;user-select:none;overflow:hidden}.react-loading-skeleton:after{content:" ";display:var(--pseudo-element-display);position:absolute;top:0;left:0;right:0;height:100%;background-repeat:no-repeat;background-image:var( --custom-highlight-background, linear-gradient( 90deg, var(--base-color) 0%, var(--highlight-color) 50%, var(--base-color) 100% ) );transform:translate(-100%);animation-name:react-loading-skeleton;animation-direction:var(--animation-direction);animation-duration:var(--animation-duration);animation-timing-function:ease-in-out;animation-iteration-count:infinite}@media (prefers-reduced-motion){.react-loading-skeleton{--pseudo-element-display: none}}
|
|
38
38
|
`,Po=({baseUrl:e,searchPath:t})=>{const[n,r]=T.useState(!1);console.log("hasPermission state",n);const o=async()=>{const i=e+(t||"/user-management/api/v1/users/my-account/access-stella-search");try{const l=await m.axiosInstance.get(i);console.log("hasPermission data",l.data),r(l.data)}catch(l){console.log(l)}};return T.useEffect(()=>{o()},[e,t]),{hasPermission:n}};function br({childrenClass:e,action:t,childrenOpenClass:n}){const r=document.querySelector("#topbar-wrapper"),o=r==null?void 0:r.shadowRoot,s=o==null?void 0:o.querySelector(`.${e}`),i=o==null?void 0:o.querySelector(`.${n}`),l=o==null?void 0:o.querySelector("nav"),u=d=>{l==null||l.addEventListener("click",function(f){if(n&&i&&i.contains(f.target)){if(s&&!s.contains(f.target))return}else s&&!s.contains(f.target)&&t()}),r&&!r.contains(d.target)&&t()};document.addEventListener("click",u,!0)}function $o(e){return c.jsxs("svg",{width:"34",height:"24",viewBox:"0 0 34 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:[c.jsxs("g",{"clip-path":"url(#clip0_16886_62505)",children:[c.jsx("rect",{width:"34",height:"24",rx:"3",fill:"#F93939"}),c.jsx("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M0 16H34V24H0V16Z",fill:"#FFDA2C"}),c.jsx("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M0 0H34V8H0V0Z",fill:"#151515"})]}),c.jsx("defs",{children:c.jsx("clipPath",{id:"clip0_16886_62505",children:c.jsx("rect",{width:"34",height:"24",rx:"3",fill:"white"})})})]})}const No=`.languageDropdown{height:100%;padding:0 8px;display:flex;flex-direction:row;gap:8px;border-radius:3px;align-items:center;justify-content:center;height:41px;background-color:#ffffff1a;cursor:pointer;transition:background-color .2s ease-in-out}.languageDropdown:hover{background-color:#fff3}
|
|
39
|
-
`;function ye(e){return Array.isArray?Array.isArray(e):wr(e)==="[object Array]"}const Ro=1/0;function zo(e){if(typeof e=="string")return e;let t=e+"";return t=="0"&&1/e==-Ro?"-0":t}function Do(e){return e==null?"":zo(e)}function he(e){return typeof e=="string"}function vr(e){return typeof e=="number"}function Lo(e){return e===!0||e===!1||Fo(e)&&wr(e)=="[object Boolean]"}function Sr(e){return typeof e=="object"}function Fo(e){return Sr(e)&&e!==null}function ne(e){return e!=null}function Ft(e){return!e.trim().length}function wr(e){return e==null?e===void 0?"[object Undefined]":"[object Null]":Object.prototype.toString.call(e)}const Bo="Incorrect 'index' type",Ho=e=>`Invalid value for key ${e}`,Wo=e=>`Pattern length exceeds max of ${e}.`,Vo=e=>`Missing ${e} property in key`,Uo=e=>`Property 'weight' in key '${e}' must be a positive integer`,In=Object.prototype.hasOwnProperty;class Yo{constructor(t){this._keys=[],this._keyMap={};let n=0;t.forEach(r=>{let o=_r(r);n+=o.weight,this._keys.push(o),this._keyMap[o.id]=o,n+=o.weight}),this._keys.forEach(r=>{r.weight/=n})}get(t){return this._keyMap[t]}keys(){return this._keys}toJSON(){return JSON.stringify(this._keys)}}function _r(e){let t=null,n=null,r=null,o=1,s=null;if(he(e)||ye(e))r=e,t=Mn(e),n=Ut(e);else{if(!In.call(e,"name"))throw new Error(Vo("name"));const i=e.name;if(r=i,In.call(e,"weight")&&(o=e.weight,o<=0))throw new Error(Uo(i));t=Mn(i),n=Ut(i),s=e.getFn}return{path:t,id:n,weight:o,src:r,getFn:s}}function Mn(e){return ye(e)?e:e.split(".")}function Ut(e){return ye(e)?e.join("."):e}function Ko(e,t){let n=[],r=!1;const o=(s,i,l)=>{if(ne(s))if(!i[l])n.push(s);else{let u=i[l];const d=s[u];if(!ne(d))return;if(l===i.length-1&&(he(d)||vr(d)||Lo(d)))n.push(Do(d));else if(ye(d)){r=!0;for(let f=0,h=d.length;f<h;f+=1)o(d[f],i,l+1)}else i.length&&o(d,i,l+1)}};return o(e,he(t)?t.split("."):t,0),r?n:n[0]}const Go={includeMatches:!1,findAllMatches:!1,minMatchCharLength:1},qo={isCaseSensitive:!1,includeScore:!1,keys:[],shouldSort:!0,sortFn:(e,t)=>e.score===t.score?e.idx<t.idx?-1:1:e.score<t.score?-1:1},Zo={location:0,threshold:.6,distance:100},Xo={useExtendedSearch:!1,getFn:Ko,ignoreLocation:!1,ignoreFieldNorm:!1,fieldNormWeight:1};var P={...qo,...Go,...Zo,...Xo};const Jo=/[^ ]+/g;function Qo(e=1,t=3){const n=new Map,r=Math.pow(10,t);return{get(o){const s=o.match(Jo).length;if(n.has(s))return n.get(s);const i=1/Math.pow(s,.5*e),l=parseFloat(Math.round(i*r)/r);return n.set(s,l),l},clear(){n.clear()}}}class un{constructor({getFn:t=P.getFn,fieldNormWeight:n=P.fieldNormWeight}={}){this.norm=Qo(n,3),this.getFn=t,this.isCreated=!1,this.setIndexRecords()}setSources(t=[]){this.docs=t}setIndexRecords(t=[]){this.records=t}setKeys(t=[]){this.keys=t,this._keysMap={},t.forEach((n,r)=>{this._keysMap[n.id]=r})}create(){this.isCreated||!this.docs.length||(this.isCreated=!0,he(this.docs[0])?this.docs.forEach((t,n)=>{this._addString(t,n)}):this.docs.forEach((t,n)=>{this._addObject(t,n)}),this.norm.clear())}add(t){const n=this.size();he(t)?this._addString(t,n):this._addObject(t,n)}removeAt(t){this.records.splice(t,1);for(let n=t,r=this.size();n<r;n+=1)this.records[n].i-=1}getValueForItemAtKeyId(t,n){return t[this._keysMap[n]]}size(){return this.records.length}_addString(t,n){if(!ne(t)||Ft(t))return;let r={v:t,i:n,n:this.norm.get(t)};this.records.push(r)}_addObject(t,n){let r={i:n,$:{}};this.keys.forEach((o,s)=>{let i=o.getFn?o.getFn(t):this.getFn(t,o.path);if(ne(i)){if(ye(i)){let l=[];const u=[{nestedArrIndex:-1,value:i}];for(;u.length;){const{nestedArrIndex:d,value:f}=u.pop();if(ne(f))if(he(f)&&!Ft(f)){let h={v:f,i:d,n:this.norm.get(f)};l.push(h)}else ye(f)&&f.forEach((h,p)=>{u.push({nestedArrIndex:p,value:h})})}r.$[s]=l}else if(he(i)&&!Ft(i)){let l={v:i,n:this.norm.get(i)};r.$[s]=l}}}),this.records.push(r)}toJSON(){return{keys:this.keys,records:this.records}}}function Er(e,t,{getFn:n=P.getFn,fieldNormWeight:r=P.fieldNormWeight}={}){const o=new un({getFn:n,fieldNormWeight:r});return o.setKeys(e.map(_r)),o.setSources(t),o.create(),o}function es(e,{getFn:t=P.getFn,fieldNormWeight:n=P.fieldNormWeight}={}){const{keys:r,records:o}=e,s=new un({getFn:t,fieldNormWeight:n});return s.setKeys(r),s.setIndexRecords(o),s}function ut(e,{errors:t=0,currentLocation:n=0,expectedLocation:r=0,distance:o=P.distance,ignoreLocation:s=P.ignoreLocation}={}){const i=t/e.length;if(s)return i;const l=Math.abs(r-n);return o?i+l/o:l?1:i}function ts(e=[],t=P.minMatchCharLength){let n=[],r=-1,o=-1,s=0;for(let i=e.length;s<i;s+=1){let l=e[s];l&&r===-1?r=s:!l&&r!==-1&&(o=s-1,o-r+1>=t&&n.push([r,o]),r=-1)}return e[s-1]&&s-r>=t&&n.push([r,s-1]),n}const Te=32;function ns(e,t,n,{location:r=P.location,distance:o=P.distance,threshold:s=P.threshold,findAllMatches:i=P.findAllMatches,minMatchCharLength:l=P.minMatchCharLength,includeMatches:u=P.includeMatches,ignoreLocation:d=P.ignoreLocation}={}){if(t.length>Te)throw new Error(Wo(Te));const f=t.length,h=e.length,p=Math.max(0,Math.min(r,h));let b=s,g=p;const a=l>1||u,x=a?Array(h):[];let S;for(;(S=e.indexOf(t,g))>-1;){let w=ut(t,{currentLocation:S,expectedLocation:p,distance:o,ignoreLocation:d});if(b=Math.min(w,b),g=S+f,a){let k=0;for(;k<f;)x[S+k]=1,k+=1}}g=-1;let E=[],_=1,C=f+h;const v=1<<f-1;for(let w=0;w<f;w+=1){let k=0,A=C;for(;k<A;)ut(t,{errors:w,currentLocation:p+A,expectedLocation:p,distance:o,ignoreLocation:d})<=b?k=A:C=A,A=Math.floor((C-k)/2+k);C=A;let j=Math.max(1,p-A+1),I=i?h:Math.min(p+A,h)+f,O=Array(I+2);O[I+1]=(1<<w)-1;for(let V=I;V>=j;V-=1){let ee=V-1,ce=n[e.charAt(ee)];if(a&&(x[ee]=+!!ce),O[V]=(O[V+1]<<1|1)&ce,w&&(O[V]|=(E[V+1]|E[V])<<1|1|E[V+1]),O[V]&v&&(_=ut(t,{errors:w,currentLocation:ee,expectedLocation:p,distance:o,ignoreLocation:d}),_<=b)){if(b=_,g=ee,g<=p)break;j=Math.max(1,2*p-g)}}if(ut(t,{errors:w+1,currentLocation:p,expectedLocation:p,distance:o,ignoreLocation:d})>b)break;E=O}const y={isMatch:g>=0,score:Math.max(.001,_)};if(a){const w=ts(x,l);w.length?u&&(y.indices=w):y.isMatch=!1}return y}function rs(e){let t={};for(let n=0,r=e.length;n<r;n+=1){const o=e.charAt(n);t[o]=(t[o]||0)|1<<r-n-1}return t}class Cr{constructor(t,{location:n=P.location,threshold:r=P.threshold,distance:o=P.distance,includeMatches:s=P.includeMatches,findAllMatches:i=P.findAllMatches,minMatchCharLength:l=P.minMatchCharLength,isCaseSensitive:u=P.isCaseSensitive,ignoreLocation:d=P.ignoreLocation}={}){if(this.options={location:n,threshold:r,distance:o,includeMatches:s,findAllMatches:i,minMatchCharLength:l,isCaseSensitive:u,ignoreLocation:d},this.pattern=u?t:t.toLowerCase(),this.chunks=[],!this.pattern.length)return;const f=(p,b)=>{this.chunks.push({pattern:p,alphabet:rs(p),startIndex:b})},h=this.pattern.length;if(h>Te){let p=0;const b=h%Te,g=h-b;for(;p<g;)f(this.pattern.substr(p,Te),p),p+=Te;if(b){const a=h-Te;f(this.pattern.substr(a),a)}}else f(this.pattern,0)}searchIn(t){const{isCaseSensitive:n,includeMatches:r}=this.options;if(n||(t=t.toLowerCase()),this.pattern===t){let g={isMatch:!0,score:0};return r&&(g.indices=[[0,t.length-1]]),g}const{location:o,distance:s,threshold:i,findAllMatches:l,minMatchCharLength:u,ignoreLocation:d}=this.options;let f=[],h=0,p=!1;this.chunks.forEach(({pattern:g,alphabet:a,startIndex:x})=>{const{isMatch:S,score:E,indices:_}=ns(t,g,a,{location:o+x,distance:s,threshold:i,findAllMatches:l,minMatchCharLength:u,includeMatches:r,ignoreLocation:d});S&&(p=!0),h+=E,S&&_&&(f=[...f,..._])});let b={isMatch:p,score:p?h/this.chunks.length:1};return p&&r&&(b.indices=f),b}}class we{constructor(t){this.pattern=t}static isMultiMatch(t){return kn(t,this.multiRegex)}static isSingleMatch(t){return kn(t,this.singleRegex)}search(){}}function kn(e,t){const n=e.match(t);return n?n[1]:null}class os extends we{constructor(t){super(t)}static get type(){return"exact"}static get multiRegex(){return/^="(.*)"$/}static get singleRegex(){return/^=(.*)$/}search(t){const n=t===this.pattern;return{isMatch:n,score:n?0:1,indices:[0,this.pattern.length-1]}}}class ss extends we{constructor(t){super(t)}static get type(){return"inverse-exact"}static get multiRegex(){return/^!"(.*)"$/}static get singleRegex(){return/^!(.*)$/}search(t){const r=t.indexOf(this.pattern)===-1;return{isMatch:r,score:r?0:1,indices:[0,t.length-1]}}}class is extends we{constructor(t){super(t)}static get type(){return"prefix-exact"}static get multiRegex(){return/^\^"(.*)"$/}static get singleRegex(){return/^\^(.*)$/}search(t){const n=t.startsWith(this.pattern);return{isMatch:n,score:n?0:1,indices:[0,this.pattern.length-1]}}}class as extends we{constructor(t){super(t)}static get type(){return"inverse-prefix-exact"}static get multiRegex(){return/^!\^"(.*)"$/}static get singleRegex(){return/^!\^(.*)$/}search(t){const n=!t.startsWith(this.pattern);return{isMatch:n,score:n?0:1,indices:[0,t.length-1]}}}class ls extends we{constructor(t){super(t)}static get type(){return"suffix-exact"}static get multiRegex(){return/^"(.*)"\$$/}static get singleRegex(){return/^(.*)\$$/}search(t){const n=t.endsWith(this.pattern);return{isMatch:n,score:n?0:1,indices:[t.length-this.pattern.length,t.length-1]}}}class cs extends we{constructor(t){super(t)}static get type(){return"inverse-suffix-exact"}static get multiRegex(){return/^!"(.*)"\$$/}static get singleRegex(){return/^!(.*)\$$/}search(t){const n=!t.endsWith(this.pattern);return{isMatch:n,score:n?0:1,indices:[0,t.length-1]}}}class Tr extends we{constructor(t,{location:n=P.location,threshold:r=P.threshold,distance:o=P.distance,includeMatches:s=P.includeMatches,findAllMatches:i=P.findAllMatches,minMatchCharLength:l=P.minMatchCharLength,isCaseSensitive:u=P.isCaseSensitive,ignoreLocation:d=P.ignoreLocation}={}){super(t),this._bitapSearch=new Cr(t,{location:n,threshold:r,distance:o,includeMatches:s,findAllMatches:i,minMatchCharLength:l,isCaseSensitive:u,ignoreLocation:d})}static get type(){return"fuzzy"}static get multiRegex(){return/^"(.*)"$/}static get singleRegex(){return/^(.*)$/}search(t){return this._bitapSearch.searchIn(t)}}class Ir extends we{constructor(t){super(t)}static get type(){return"include"}static get multiRegex(){return/^'"(.*)"$/}static get singleRegex(){return/^'(.*)$/}search(t){let n=0,r;const o=[],s=this.pattern.length;for(;(r=t.indexOf(this.pattern,n))>-1;)n=r+s,o.push([r,n-1]);const i=!!o.length;return{isMatch:i,score:i?0:1,indices:o}}}const Yt=[os,Ir,is,as,cs,ls,ss,Tr],An=Yt.length,us=/ +(?=(?:[^\"]*\"[^\"]*\")*[^\"]*$)/,ds="|";function fs(e,t={}){return e.split(ds).map(n=>{let r=n.trim().split(us).filter(s=>s&&!!s.trim()),o=[];for(let s=0,i=r.length;s<i;s+=1){const l=r[s];let u=!1,d=-1;for(;!u&&++d<An;){const f=Yt[d];let h=f.isMultiMatch(l);h&&(o.push(new f(h,t)),u=!0)}if(!u)for(d=-1;++d<An;){const f=Yt[d];let h=f.isSingleMatch(l);if(h){o.push(new f(h,t));break}}}return o})}const hs=new Set([Tr.type,Ir.type]);class ps{constructor(t,{isCaseSensitive:n=P.isCaseSensitive,includeMatches:r=P.includeMatches,minMatchCharLength:o=P.minMatchCharLength,ignoreLocation:s=P.ignoreLocation,findAllMatches:i=P.findAllMatches,location:l=P.location,threshold:u=P.threshold,distance:d=P.distance}={}){this.query=null,this.options={isCaseSensitive:n,includeMatches:r,minMatchCharLength:o,findAllMatches:i,ignoreLocation:s,location:l,threshold:u,distance:d},this.pattern=n?t:t.toLowerCase(),this.query=fs(this.pattern,this.options)}static condition(t,n){return n.useExtendedSearch}searchIn(t){const n=this.query;if(!n)return{isMatch:!1,score:1};const{includeMatches:r,isCaseSensitive:o}=this.options;t=o?t:t.toLowerCase();let s=0,i=[],l=0;for(let u=0,d=n.length;u<d;u+=1){const f=n[u];i.length=0,s=0;for(let h=0,p=f.length;h<p;h+=1){const b=f[h],{isMatch:g,indices:a,score:x}=b.search(t);if(g){if(s+=1,l+=x,r){const S=b.constructor.type;hs.has(S)?i=[...i,...a]:i.push(a)}}else{l=0,s=0,i.length=0;break}}if(s){let h={isMatch:!0,score:l/s};return r&&(h.indices=i),h}}return{isMatch:!1,score:1}}}const Kt=[];function ms(...e){Kt.push(...e)}function Gt(e,t){for(let n=0,r=Kt.length;n<r;n+=1){let o=Kt[n];if(o.condition(e,t))return new o(e,t)}return new Cr(e,t)}const vt={AND:"$and",OR:"$or"},qt={PATH:"$path",PATTERN:"$val"},Zt=e=>!!(e[vt.AND]||e[vt.OR]),gs=e=>!!e[qt.PATH],ys=e=>!ye(e)&&Sr(e)&&!Zt(e),jn=e=>({[vt.AND]:Object.keys(e).map(t=>({[t]:e[t]}))});function Mr(e,t,{auto:n=!0}={}){const r=o=>{let s=Object.keys(o);const i=gs(o);if(!i&&s.length>1&&!Zt(o))return r(jn(o));if(ys(o)){const u=i?o[qt.PATH]:s[0],d=i?o[qt.PATTERN]:o[u];if(!he(d))throw new Error(Ho(u));const f={keyId:Ut(u),pattern:d};return n&&(f.searcher=Gt(d,t)),f}let l={children:[],operator:s[0]};return s.forEach(u=>{const d=o[u];ye(d)&&d.forEach(f=>{l.children.push(r(f))})}),l};return Zt(e)||(e=jn(e)),r(e)}function xs(e,{ignoreFieldNorm:t=P.ignoreFieldNorm}){e.forEach(n=>{let r=1;n.matches.forEach(({key:o,norm:s,score:i})=>{const l=o?o.weight:null;r*=Math.pow(i===0&&l?Number.EPSILON:i,(l||1)*(t?1:s))}),n.score=r})}function bs(e,t){const n=e.matches;t.matches=[],ne(n)&&n.forEach(r=>{if(!ne(r.indices)||!r.indices.length)return;const{indices:o,value:s}=r;let i={indices:o,value:s};r.key&&(i.key=r.key.src),r.idx>-1&&(i.refIndex=r.idx),t.matches.push(i)})}function vs(e,t){t.score=e.score}function Ss(e,t,{includeMatches:n=P.includeMatches,includeScore:r=P.includeScore}={}){const o=[];return n&&o.push(bs),r&&o.push(vs),e.map(s=>{const{idx:i}=s,l={item:t[i],refIndex:i};return o.length&&o.forEach(u=>{u(s,l)}),l})}class Ve{constructor(t,n={},r){this.options={...P,...n},this.options.useExtendedSearch,this._keyStore=new Yo(this.options.keys),this.setCollection(t,r)}setCollection(t,n){if(this._docs=t,n&&!(n instanceof un))throw new Error(Bo);this._myIndex=n||Er(this.options.keys,this._docs,{getFn:this.options.getFn,fieldNormWeight:this.options.fieldNormWeight})}add(t){ne(t)&&(this._docs.push(t),this._myIndex.add(t))}remove(t=()=>!1){const n=[];for(let r=0,o=this._docs.length;r<o;r+=1){const s=this._docs[r];t(s,r)&&(this.removeAt(r),r-=1,o-=1,n.push(s))}return n}removeAt(t){this._docs.splice(t,1),this._myIndex.removeAt(t)}getIndex(){return this._myIndex}search(t,{limit:n=-1}={}){const{includeMatches:r,includeScore:o,shouldSort:s,sortFn:i,ignoreFieldNorm:l}=this.options;let u=he(t)?he(this._docs[0])?this._searchStringList(t):this._searchObjectList(t):this._searchLogical(t);return xs(u,{ignoreFieldNorm:l}),s&&u.sort(i),vr(n)&&n>-1&&(u=u.slice(0,n)),Ss(u,this._docs,{includeMatches:r,includeScore:o})}_searchStringList(t){const n=Gt(t,this.options),{records:r}=this._myIndex,o=[];return r.forEach(({v:s,i,n:l})=>{if(!ne(s))return;const{isMatch:u,score:d,indices:f}=n.searchIn(s);u&&o.push({item:s,idx:i,matches:[{score:d,value:s,norm:l,indices:f}]})}),o}_searchLogical(t){const n=Mr(t,this.options),r=(l,u,d)=>{if(!l.children){const{keyId:h,searcher:p}=l,b=this._findMatches({key:this._keyStore.get(h),value:this._myIndex.getValueForItemAtKeyId(u,h),searcher:p});return b&&b.length?[{idx:d,item:u,matches:b}]:[]}const f=[];for(let h=0,p=l.children.length;h<p;h+=1){const b=l.children[h],g=r(b,u,d);if(g.length)f.push(...g);else if(l.operator===vt.AND)return[]}return f},o=this._myIndex.records,s={},i=[];return o.forEach(({$:l,i:u})=>{if(ne(l)){let d=r(n,l,u);d.length&&(s[u]||(s[u]={idx:u,item:l,matches:[]},i.push(s[u])),d.forEach(({matches:f})=>{s[u].matches.push(...f)}))}}),i}_searchObjectList(t){const n=Gt(t,this.options),{keys:r,records:o}=this._myIndex,s=[];return o.forEach(({$:i,i:l})=>{if(!ne(i))return;let u=[];r.forEach((d,f)=>{u.push(...this._findMatches({key:d,value:i[f],searcher:n}))}),u.length&&s.push({idx:l,item:i,matches:u})}),s}_findMatches({key:t,value:n,searcher:r}){if(!ne(n))return[];let o=[];if(ye(n))n.forEach(({v:s,i,n:l})=>{if(!ne(s))return;const{isMatch:u,score:d,indices:f}=r.searchIn(s);u&&o.push({score:d,key:t,value:s,idx:i,norm:l,indices:f})});else{const{v:s,n:i}=n,{isMatch:l,score:u,indices:d}=r.searchIn(s);l&&o.push({score:u,key:t,value:s,norm:i,indices:d})}return o}}Ve.version="6.6.2";Ve.createIndex=Er;Ve.parseIndex=es;Ve.config=P;Ve.parseQuery=Mr;ms(ps);const ws={height:"44px",border:"1px solid #dfe1e5",borderRadius:"24px",backgroundColor:"white",boxShadow:"rgba(32, 33, 36, 0.28) 0px 1px 6px 0px",hoverBackgroundColor:"#eee",color:"#212121",fontSize:"16px",fontFamily:"Arial",iconColor:"grey",lineColor:"rgb(232, 234, 237)",placeholderColor:"grey",zIndex:0,clearIconMargin:"3px 14px 0 0",searchIconMargin:"0 0 0 16px"},On={shouldSort:!0,threshold:.6,location:0,distance:100,minMatchCharLength:1,keys:["name"]};function _s(e,t,n){let r;return function(){const o=this,s=arguments,i=function(){r=null,n||e.apply(o,s)};n&&!r&&e.apply(o,s),r&&clearTimeout(r),r=setTimeout(i,t)}}const Es="data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTYiIGhlaWdodD0iMTciIHZpZXdCb3g9IjAgMCAxNiAxNyIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPGNpcmNsZSBjeD0iNy44OTIyMiIgY3k9IjguMzQ5MDEiIHI9IjUuNTk5MDEiIHN0cm9rZT0iIzg1ODU4QSIgc3Ryb2tlLXdpZHRoPSIxLjUiIHN0cm9rZS1saW5lY2FwPSJyb3VuZCIgc3Ryb2tlLWxpbmVqb2luPSJyb3VuZCIvPgo8cGF0aCBkPSJNMTIuNjQyOCAxMy4xODU1TDE0LjQ1NjggMTQuOTk5NSIgc3Ryb2tlPSIjODU4NThBIiBzdHJva2Utd2lkdGg9IjEuNSIgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIiBzdHJva2UtbGluZWpvaW49InJvdW5kIi8+Cjwvc3ZnPgo=",Xt=({showIcon:e})=>e?c.jsx("img",{id:"icon",className:"StyledSearchIcon search-icon",width:20,height:20,src:Es,alt:"icon"}):null;function Cs({results:e=[],onClick:t,setSearchString:n,showIcon:r,maxResults:o,resultStringKeyName:s="name",highlightedItem:i,setHighlightedItem:l,formatResult:u,showNoResultsFlag:d=!0,showNoResultsText:f="No results"}){const h=u||(g=>g[s]),p=g=>{t(g),n(g[s])},b=({event:g,result:a})=>{g.button===0&&(g.preventDefault(),p(a))};return d?c.jsx(Pn,{children:c.jsxs("li",{"data-test":"no-results-message",children:[c.jsx(Xt,{showIcon:r}),c.jsx("div",{className:"ellipsis",children:f})]})}):(e==null?void 0:e.length)<=0&&!d?null:c.jsx(Pn,{children:e.slice(0,o).map((g,a)=>c.jsxs("li",{className:i===a?"selectedSearch":"",id:i===a?"selectedSearch":"",onMouseEnter:()=>l({index:a}),"data-test":"result",onMouseDown:x=>b({event:x,result:g}),onClick:()=>p(g),children:[c.jsx(Xt,{showIcon:r}),c.jsx("div",{className:"ellipsis",children:h(g)})]},`rsa-result-${g.entityId}`))})}const Pn=({children:e})=>c.jsxs("div",{className:"StyledResults",children:[c.jsx("div",{className:"line"}),c.jsx("ul",{id:"autocomplete-results",children:e})]}),Ts=({showClear:e,setSearchString:t,searchString:n,setFocus:r,onClear:o})=>{const s=()=>{t({target:{value:""}}),r(),o()};return!e||!n||(n==null?void 0:n.length)<=0?null:c.jsx("div",{className:"StyledClearIcon clear-icon",onClick:s,children:c.jsx("svg",{width:20,height:20,focusable:"false",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:c.jsx("path",{d:"M19 6.41L17.59 5 12 10.59 6.41 5 5 6.41 10.58 12 5 17.58 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12z"})})})};function Is({searchString:e,setSearchString:t,setHighlightedItem:n,eraseResults:r,autoFocus:o,onFocus:s,onClear:i,placeholder:l,showIcon:u=!0,showClear:d=!0,maxLength:f,baseUrl:h}){const p=T.useRef(null);let b=!0;const g=()=>{b=!1,p!=null&&p.current&&p.current.focus(),b=!0},a=S=>{b&&s(S)},x=f?{maxLength:f}:{};return T.useEffect(()=>{document.querySelector("global-topbar");const S=E=>{const _=document.getElementById("AddTagButton"),C=document.getElementsByClassName("btn-edit");["a","e","t"].includes(E.key.toLowerCase())&&((C==null?void 0:C.length)>0&&C[0].addEventListener("click",y=>{const w=document.querySelector("global-topbar"),k=w!=null?w.shadowRoot:document,A=k.getElementById("GlobalSearchInput");k.activeElement===A?(y.preventDefault(),y.stopPropagation(),console.log("Shadow DOM keydown:",y.key)):y.click()},!0),_!=null&&_.addEventListener("click",y=>{const w=document.querySelector("global-topbar"),k=w!=null?w.shadowRoot:document,A=k.getElementById("GlobalSearchInput");k.activeElement===A?(y.preventDefault(),y.stopPropagation(),console.log("Shadow DOM keydown:",y.key)):y.click()},!0))};return document.addEventListener("keydown",S,!0),()=>document.removeEventListener("keydown",S,!0)},[]),c.jsxs("div",{className:"StyledSearchInput",children:[c.jsx(Xt,{showIcon:u}),c.jsx("input",{type:"text",name:"topbar-search",className:"topbar-search-input",id:"GlobalSearchInput",ref:p,spellCheck:!1,autoComplete:"off",value:e.replace(/(<([^>]+)>)/gi,""),onChange:t,onFocus:a,placeholder:l,autoFocus:o,onBlur:()=>r(),onKeyDown:S=>{if(S.key==="Enter"){const E=document.querySelector("global-topbar");if((E!=null?E.shadowRoot:document).getElementById("selectedSearch")===null){console.log("enter",S);const C=S.currentTarget.value;window.location.href=`${h}/stella/page/Search/Index?Term=${C}`;return}}n({event:S})},"data-test":"search-input",...x}),c.jsx(Ts,{showClear:d,setSearchString:t,searchString:e,onClear:i,setFocus:g})]})}const Ms=200,ks=10;function As({items:e=[],fuseOptions:t=On,inputDebounce:n=Ms,onSearch:r=()=>{},onHover:o=()=>{},onSelect:s=()=>{},onFocus:i=()=>{},onClear:l=()=>{},searchOnFocus:u=!0,showIcon:d=!0,showClear:f=!0,maxResults:h=ks,placeholder:p="",autoFocus:b=!1,styling:g={},resultStringKeyName:a="name",inputSearchString:x="",formatResult:S,showNoResults:E=!0,showNoResultsText:_="No results",showItemsOnFocus:C=!1,maxLength:v=0,baseUrl:y=""}){({...ws,...g});const w={...On,...t},k=new Ve(e,w);k.setCollection(e);const[A,j]=T.useState(x),[I,O]=T.useState([]),[N,V]=T.useState(-1),[ee,ce]=T.useState(!1),[Ee,ge]=T.useState(!1),[Ge,be]=T.useState(!1),[Me,ke]=T.useState(!1);T.useEffect(()=>{j(x);const R=setTimeout(()=>O(lt(x)),0);return()=>clearTimeout(R)},[x]),T.useEffect(()=>{(A==null?void 0:A.length)>=3?e&&(e==null?void 0:e.length)>0&&O(e):O([])},[e]),T.useEffect(()=>{const R=()=>{Oe(),ke(!1)};return document.addEventListener("click",R),()=>document.removeEventListener("click",R)},[]),T.useEffect(()=>{(()=>{E&&A.length>0&&!Ee&&I.length===0&&!ee?be(!0):be(!1),C&&I.length===0&&A.length===0&&Me&&O(e.slice(0,h))})()},[Ee,E,ee,A,I,C,Me]);const Ae=R=>{u&&i(R),ke(!0)},ue=R=>{let M=[];(R==null?void 0:R.length)>0&&(M=lt(R)),O(M),r(R,M),ge(!1)},je=T.useCallback(n>0?_s(R=>ue(R),n):R=>ue(R),[e]),Dt=R=>{Oe(),s(R),j(R[a]),V(0)},lt=R=>k.search(R,{limit:h}).map(M=>({...M.item})).slice(0,h),Lt=({target:R})=>{const M=R.value;j(M),je(M),ge(!0),ee&&ce(!1)},Oe=()=>{O([]),ce(!0)},ct=({index:R,event:M})=>{let ve=-1;const Ce=Pe=>{V(Pe),I!=null&&I[Pe]&&o(I[Pe])};if(R!==void 0)V(R),I!=null&&I[R]&&o(I[R]);else if(M)switch(M.key){case"Enter":I.length>0&&I[N]?(M.preventDefault(),s(I[N])):r(A,I),V(-1),Oe();break;case"ArrowUp":M.preventDefault(),ve=N>-1?N-1:I.length-1,Ce(ve);break;case"ArrowDown":M.preventDefault(),ve=N<I.length-1?N+1:-1,Ce(ve);break}};return c.jsx(c.Fragment,{children:c.jsxs("div",{className:"StyledReactSearchAutocomplete",children:[c.jsx("div",{className:"wrapper",children:c.jsx(Is,{searchString:A,setSearchString:Lt,eraseResults:Oe,autoFocus:b,onFocus:Ae,onClear:l,placeholder:p,showIcon:!0,showClear:f,setHighlightedItem:ct,maxLength:v,baseUrl:y})}),c.jsx(Cs,{results:I,onClick:Dt,setSearchString:j,showIcon:d,maxResults:h,resultStringKeyName:a,formatResult:S,highlightedItem:N,setHighlightedItem:ct,showNoResultsFlag:Ge,showNoResultsText:_})]})})}function js({classNames:e="",...t}){const{logo:n,user:r,baseUrl:o,notiPath:s,style:i,customColors:l,notiprops:u,isBrand:d,logout:f}=t,h={...i,color:(l==null?void 0:l.headerTextColor)||"white",backgroundColor:(l==null?void 0:l.headerBgColor)||"black"},[p,b]=T.useState(!1),{Term:g}=gr.useParams();console.log("term",g);const[a,x]=T.useState([]),[S,E]=T.useState([]),_=Po({baseUrl:o});console.log("searchPermission",_.hasPermission),T.useEffect(()=>{a.length>=3?C(a):E([])},[a]);const C=async j=>{await fetch(`${o}/stella/page/Search/Suggestions?term=${j}`).then(I=>I.json()).then(I=>{E(I),console.log(I)}).catch(I=>{console.error(I)})},v=j=>{console.log(j)},y=(j,I)=>{x(j),console.log(j,I)},w=j=>{const I=j.entityType,O=j.entityId;switch(I){case"Zone":document.location.href=o+"/stella/page/SiteManagement/Zone/Details/"+O;return;case"Location":document.location.href=o+"/stella/page/SiteManagement/Location/Details/"+O;return;case"Company":document.location.href=o+"/stella/page/SiteManagement/Company/Details/"+O;return;default:console.log(`Unsure how to navigate to ${I} ${O}`);return}},k=()=>{const j=document.querySelector("global-topbar"),O=(j!=null?j.shadowRoot:document).getElementById("GlobalSearchInput");O&&O.value.length>=3&&(setTimeout(()=>{},1e3),C(O.value))},A=j=>j.entityType==="Location"?c.jsxs(c.Fragment,{children:[c.jsx("div",{dangerouslySetInnerHTML:{__html:j.name}})," ",c.jsxs("div",{style:{fontSize:"0.6em"},children:["Status: ",j.entityStatus]})]}):c.jsx(c.Fragment,{children:c.jsx("div",{dangerouslySetInnerHTML:{__html:j.name}})});return c.jsxs(m.StyleWrapper,{styles:[Eo,To,yr,Io,Oo,Co],style:{zIndex:1202},id:"topbar-wrapper",children:[c.jsx("nav",{className:`navbar-wrapper ${e}`,style:l?h:i,children:c.jsxs("div",{className:"navbar-container",children:[c.jsx("a",{href:"/home",className:"logo-container",children:c.jsx("img",{src:n||"#",alt:" ",style:{height:"40px"}})}),c.jsxs("div",{className:"right-side-container",children:[d&&_.hasPermission?c.jsx("span",{children:c.jsx("label",{className:"topbar-search-label",htmlFor:"topbar-search",children:c.jsx("div",{id:"autocomplete",style:{width:223},children:c.jsx(As,{items:S,onSearch:y,onHover:v,onSelect:w,onFocus:k,autoFocus:!0,inputDebounce:300,placeholder:"Search",formatResult:A,searchOnFocus:!0,showIcon:!1,showNoResults:!1})})})}):"",t.customElement,c.jsx("span",{children:c.jsxs(m.CustomOpenListProvider,{children:[c.jsx(xo,{baseUrl:u.baseUrl,path:u.path,apiKey:u.apiKey,authDomain:u.authDomain,projectId:u.projectId,storageBucket:u.storageBucket,messagingSenderId:u.messagingSenderId,appId:u.appId,measurementId:u.measurementId,vapidKey:u.vapidKey}),c.jsx(_o,{iconColor:l==null?void 0:l.headerTextColor,baseUrl:o,notiPath:s,brandColors:l})]})}),c.jsx(kr,{}),c.jsxs("div",{className:"userContainer",children:[c.jsx(Os,{primaryColor:l==null?void 0:l.headerTextColor,avatarUrl:r==null?void 0:r.avatarUrl,userName:r==null?void 0:r.firstName,setShowConfirmModal:b}),c.jsx("p",{className:"userFullName",style:{color:l==null?void 0:l.headerTextColor,width:t.isFetching?"100px":"auto"},children:t.isFetching?c.jsx(jo,{baseColor:"#ebebeb26",highlightColor:"#f5f5f57d",style:{lineHeight:"unset"}}):r?r.firstName+" "+r.lastName:"Unknown User"})]})]})]})}),c.jsx(m.LogoutConfirmModal,{isOpen:p,onClose:()=>b(!1),onConfirm:f})]})}function kr(){var i;const e=[{value:m.Language.en,element:c.jsx(Mo,{})},{value:m.Language.de,element:c.jsx($o,{})}],[t,n]=T.useState(!1);T.useState(new Array(e.length).fill(!1));const{language:r,setLanguage:o}=m.useCustomTranslation();T.useEffect(()=>{br({childrenClass:"languageDropdown",action(){n(!1)}})},[]);const s=(i=e.find(l=>l.value==r))==null?void 0:i.element;return c.jsxs(c.Fragment,{children:[c.jsx("style",{children:No}),c.jsx("div",{className:"languageDropdownContainer",style:{position:"relative"},children:c.jsx("div",{className:"languageDropdown",onClick:()=>{n(!t)},children:s})})]})}function Os({avatarUrl:e,userName:t}){const[n,r]=T.useState(!1),o=T.useRef(null);return T.useRef(null),T.useState(!1),T.useState(!1),T.useEffect(()=>{br({childrenClass:"userAvatar",action(){r(!1)}})},[]),c.jsx(c.Fragment,{children:c.jsx("div",{style:{position:"relative"},children:e?c.jsx("img",{onClick:()=>r(!n),ref:o,alt:"user avatar",className:"userAvatar",src:e}):c.jsx("div",{onClick:()=>r(!n),ref:o,className:"userAvatar",id:"userAvatarNull",children:(t==null?void 0:t.charAt(0))??""})})})}function Ps(e){const{user:t,logout:n,isFetching:r}=m.useAuth();return c.jsx(js,{...e,isFetching:r,user:t,logout:n})}const $s=e=>c.jsx(m.Q,{autoClose:3e3,hideProgressBar:!0,closeButton:!1,position:"bottom-left",newestOnTop:!0,pauseOnFocusLoss:!1,style:{fontFamily:"inherit"},...e}),Ns=e=>c.jsx(m.Q,{autoClose:3e3,hideProgressBar:!0,closeButton:!1,position:"bottom-left",newestOnTop:!0,pauseOnFocusLoss:!1,style:{fontFamily:"inherit",width:"610px"},containerId:"toastifyNotification",...e}),Rs=({children:e})=>c.jsxs($.Stack,{justifyContent:"center",alignItems:"center",sx:{backgroundColor:"#FAFAFA",minHeight:"450px"},children:[c.jsx(zs,{}),e]});function zs(){return c.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:"150",height:"150",fill:"none",viewBox:"0 0 150 150",children:[c.jsx("path",{fill:"#F9FAFB",d:"M120.843 66.48a2.885 2.885 0 100-5.77 2.885 2.885 0 000 5.77zM75 127.04c28.319 0 51.276-9.006 51.276-20.115 0-11.11-22.957-20.115-51.276-20.115-28.32 0-51.276 9.006-51.276 20.115 0 11.109 22.957 20.115 51.276 20.115z"}),c.jsx("path",{fill:"#DDD",d:"M73.354 34.489l-2.13 13.355H57.378L73.354 34.49z"}),c.jsx("path",{fill:"#F9FAFB",d:"M71.223 48.157H57.38a.313.313 0 01-.295-.206.313.313 0 01.093-.346L73.154 34.25a.313.313 0 01.508.288l-2.13 13.357a.308.308 0 01-.308.263zm-12.983-.625h12.717l1.957-12.268L58.24 47.532zM74.63 59.596a.314.314 0 01-.252-.128l-.844-1.15a.314.314 0 01.043-.418.311.311 0 01.42.003c.005.005.012.01.018.018a.188.188 0 01.015.018l.045.06.807 1.1a.312.312 0 01-.252.497z"}),c.jsx("path",{fill:"#000",d:"M74.63 59.596a.314.314 0 01-.252-.128l-.844-1.15a.314.314 0 01.043-.418.311.311 0 01.42.003c.005.005.012.01.018.018a.188.188 0 01.015.018l.045.06.807 1.1a.312.312 0 01-.252.497z"}),c.jsx("path",{fill:"#85858A",d:"M74.454 58.965l3.503 4.775c-.209-.284-.431-.56-.667-.83-2.59-2.952-6.367-4.428-10.378-4.428-1.74 0-3.524.278-5.275.833l-3.503-4.775a17.477 17.477 0 015.275-.833c4.011 0 7.788 1.476 10.378 4.428.236.27.458.546.667.83z"}),c.jsx("path",{fill:"#F9FAFB",d:"M77.957 64.053a.314.314 0 01-.253-.128c-.203-.278-.422-.55-.65-.81-2.446-2.786-6.047-4.32-10.143-4.32-1.727 0-3.468.274-5.18.818a.316.316 0 01-.348-.113l-3.503-4.775a.312.312 0 01.158-.483 17.748 17.748 0 015.37-.847c4.278 0 8.047 1.61 10.612 4.533.24.274.47.561.685.853l3.5 4.772.003.003a.311.311 0 01-.251.497zM66.912 58.17c3.207 0 6.128.905 8.471 2.59l-1.18-1.61c-.203-.278-.423-.55-.65-.81-2.446-2.786-6.048-4.32-10.144-4.32-1.586 0-3.186.231-4.762.691l3.11 4.24a17.67 17.67 0 015.155-.782zM56.104 81.024a.312.312 0 01-.233-.105l-.049-.055a8.826 8.826 0 01-.458-.571l-3.503-4.775a.312.312 0 01.504-.37l.003.005c.132.179.274.355.422.525l.045.05.02.023 3.502 4.775a.312.312 0 01-.253.498z"}),c.jsx("path",{fill:"#000",d:"M56.104 81.024a.312.312 0 01-.233-.105l-.049-.055a8.826 8.826 0 01-.458-.571l-3.503-4.775a.312.312 0 01.504-.37l.003.005c.132.179.274.355.422.525l.045.05.02.023 3.502 4.775a.312.312 0 01-.253.498z"}),c.jsx("path",{fill:"#85858A",d:"M52.855 76.208l3.503 4.775a7.826 7.826 0 01-.743-.875l-3.503-4.775a7.8 7.8 0 00.743.875z"}),c.jsx("path",{fill:"#F9FAFB",d:"M56.358 81.296a.311.311 0 01-.223-.095 7.86 7.86 0 01-.773-.908l-3.502-4.775a.312.312 0 11.504-.37l.003.005a7.954 7.954 0 00.712.837l.03.034 3.502 4.775a.313.313 0 01-.253.497z"}),c.jsx("path",{fill:"#F9FAFB",d:"M56.358 81.296a.311.311 0 01-.223-.095 7.361 7.361 0 01-.265-.283l-.01-.011c-.036-.044-.078-.103-.117-.157l-.043-.06-3.353-4.57a.312.312 0 01.485-.394c.08.09.163.177.246.263l.03.033 3.502 4.775a.313.313 0 01-.252.499z"}),c.jsx("path",{fill:"#000",d:"M56.358 81.296a.311.311 0 01-.223-.095 7.361 7.361 0 01-.265-.283l-.01-.011c-.036-.044-.078-.103-.117-.157l-.043-.06-3.353-4.57a.312.312 0 01.485-.394c.08.09.163.177.246.263l.03.033 3.502 4.775a.313.313 0 01-.252.499z"}),c.jsx("path",{fill:"#85858A",d:"M52.855 76.208l3.503 4.775a7.826 7.826 0 01-.743-.875l-3.503-4.775a7.8 7.8 0 00.743.875z"}),c.jsx("path",{fill:"#F9FAFB",d:"M56.358 81.296a.311.311 0 01-.223-.095 7.86 7.86 0 01-.773-.908l-3.502-4.775a.312.312 0 11.504-.37l.003.005a7.954 7.954 0 00.712.837l.03.034 3.502 4.775a.313.313 0 01-.253.497z"}),c.jsx("path",{fill:"#EEE",d:"M71.03 70.342a11.476 11.476 0 01-1.11 2.438 12.543 12.543 0 01-2.703 3.136c-2.342 1.96-5.159 2.937-7.82 2.937-2.66 0-5.164-.98-6.88-2.938C49.078 72 50.09 65.651 54.775 61.738c2.343-1.96 5.16-2.938 7.82-2.938s5.165.98 6.881 2.938a8.329 8.329 0 01.754 1.008 8.034 8.034 0 011.056 2.539c.376 1.62.28 3.364-.257 5.057z"}),c.jsx("path",{fill:"#98A2B3",d:"M71.289 65.285h-9.161c-.967 0-1.632-.754-1.482-1.688.148-.933 1.052-1.687 2.02-1.687h6.956a8.024 8.024 0 011.667 3.375zM71.03 70.342a11.476 11.476 0 01-1.11 2.438c-.155.256-.32.51-.5.76h-8.705c-.918 0-1.543-.716-1.403-1.6.142-.883.997-1.6 1.913-1.6h9.805v.002z"}),c.jsx("path",{fill:"#F7F9FC",d:"M73.632 34.257h38.646l-.591 3.703-10.155 63.675H48.801l3.071-19.259c2.022 1.048 4.33 1.571 6.72 1.571 3.213 0 6.576-.946 9.602-2.839h27.097c.471 0 .909-.366.983-.82.072-.452-.25-.819-.72-.819H70.44c2.295-1.933 3.996-4.255 5.068-6.708h21.116c.47 0 .908-.367.98-.818.072-.453-.25-.82-.72-.82H76.129c.712-2.236.91-4.531.57-6.71h21.256c.47 0 .908-.366.98-.817.073-.453-.25-.821-.719-.821H76.333a12.247 12.247 0 00-2.544-4.642c-2.59-2.951-6.367-4.427-10.378-4.427-2.389 0-4.86.523-7.215 1.569l1.184-7.432h13.845l2.13-13.354.277-.232zM93.96 89.454c.47 0 .908-.366.982-.82.072-.452-.25-.819-.72-.819H61.258c-.468 0-.907.367-.979.818-.072.453.25.821.718.821h32.964zm5.325-33.386c.47 0 .908-.367.981-.818.072-.453-.25-.82-.72-.82H77.201c-.47 0-.907.366-.979.82-.072.451.247.818.718.818h22.346z"}),c.jsx("path",{fill:"#F9FAFB",d:"M101.532 101.946h-52.73a.311.311 0 01-.309-.361l3.072-19.259a.312.312 0 01.453-.228c1.942 1.006 4.215 1.537 6.576 1.537 3.255 0 6.517-.966 9.435-2.792a.317.317 0 01.165-.047h27.098c.316 0 .625-.256.672-.557a.39.39 0 00-.08-.32.423.423 0 00-.331-.137H70.44a.313.313 0 01-.201-.551c2.175-1.834 3.898-4.114 4.983-6.595a.313.313 0 01.286-.187h21.116c.316 0 .625-.254.672-.556a.392.392 0 00-.08-.32.423.423 0 00-.331-.138H76.128a.314.314 0 01-.299-.407c.696-2.182.889-4.453.56-6.566a.31.31 0 01.308-.361h21.256c.316 0 .625-.254.672-.555a.392.392 0 00-.08-.321.423.423 0 00-.331-.138h-21.88a.312.312 0 01-.3-.225 11.883 11.883 0 00-2.481-4.523c-2.446-2.786-6.047-4.32-10.143-4.32-2.367 0-4.818.532-7.09 1.542a.316.316 0 01-.317-.037.31.31 0 01-.118-.298l1.184-7.431a.313.313 0 01.309-.264h13.578l2.087-13.092a.314.314 0 01.107-.19l.278-.235a.316.316 0 01.201-.074h38.649a.312.312 0 01.308.361L101.84 101.68a.31.31 0 01-.308.267zm-52.365-.625h52.098l10.646-66.753H73.746l-.102.086-2.11 13.24a.313.313 0 01-.309.264H57.647l-1.054 6.61c2.201-.9 4.546-1.373 6.818-1.373 4.278 0 8.047 1.61 10.613 4.533a12.512 12.512 0 012.541 4.535h21.652c.32 0 .614.13.807.356.191.225.27.518.22.825-.097.607-.663 1.082-1.29 1.082H77.058c.253 1.971.078 4.059-.51 6.084h20.337c.32 0 .614.13.807.357.191.225.27.518.22.825-.097.607-.663 1.082-1.29 1.082h-20.91c-1.019 2.252-2.544 4.337-4.444 6.083h24.285c.32 0 .614.13.807.357.191.225.27.517.22.824-.097.607-.663 1.083-1.29 1.083H68.283c-2.998 1.858-6.347 2.839-9.69 2.839-2.307 0-4.536-.488-6.48-1.416l-2.946 18.477zM93.96 89.767H60.997c-.318 0-.612-.13-.805-.357a1.004 1.004 0 01-.221-.827c.097-.607.662-1.082 1.287-1.082h32.964c.32 0 .614.131.807.357.192.225.27.517.22.824-.095.608-.661 1.085-1.288 1.085zm-32.703-1.64c-.315 0-.622.255-.67.556a.395.395 0 00.079.323.42.42 0 00.329.137H93.96c.316 0 .625-.255.672-.557a.39.39 0 00-.08-.32.423.423 0 00-.331-.137H61.258v-.001zm38.028-31.746H76.94c-.32 0-.612-.13-.805-.356a1.004 1.004 0 01-.221-.824c.097-.608.662-1.083 1.287-1.083h22.346c.32 0 .614.13.807.357.192.225.271.518.221.825-.096.606-.663 1.08-1.289 1.08zm-22.085-1.64c-.315 0-.622.256-.67.558a.387.387 0 00.079.32.423.423 0 00.33.135h22.346c.317 0 .625-.254.672-.555a.392.392 0 00-.079-.321.423.423 0 00-.332-.138H77.201v.002z"}),c.jsx("path",{fill:"#DDD",d:"M55.21 61.447l-.332 2.085c-.052.039-.103.078-.153.12-1.13.942-1.372 2.473-.544 3.416.036.042.075.082.115.12l-1.44 9.019a8.348 8.348 0 01-.3-.325c-1.709-1.949-2.312-4.503-1.903-7.056.407-2.554 1.823-5.106 4.154-7.054.13-.11.267-.22.403-.325zM96.884 71.122c.471 0 .792.367.72.821-.073.451-.511.818-.98.818H75.507c.237-.54.444-1.087.618-1.639h20.758z"}),c.jsx("path",{fill:"#DDD",d:"M96.623 73.074H75.508a.31.31 0 01-.261-.142.316.316 0 01-.025-.296c.235-.536.439-1.076.607-1.607a.31.31 0 01.299-.218h20.756c.32 0 .614.13.807.357.192.225.271.518.221.825-.096.606-.662 1.08-1.289 1.08zm-20.643-.625h20.643c.317 0 .625-.254.672-.556a.392.392 0 00-.079-.32.423.423 0 00-.332-.138h-20.53a16.42 16.42 0 01-.374 1.014zM95.555 79.468c.47 0 .791.367.719.818-.072.453-.511.821-.982.821H68.193a19.625 19.625 0 002.248-1.638h25.114z"}),c.jsx("path",{fill:"#DDD",d:"M95.292 81.42H68.193a.313.313 0 01-.165-.578 19.558 19.558 0 002.148-1.56l.059-.049a.33.33 0 01.205-.076h25.114c.32 0 .614.13.807.357.192.225.27.517.221.824-.097.605-.662 1.082-1.29 1.082zm-26.063-.626h26.063c.316 0 .625-.255.672-.556a.39.39 0 00-.08-.32.423.423 0 00-.331-.137h-25c-.425.355-.868.694-1.324 1.013z"}),c.jsx("path",{fill:"#EEE",d:"M115.432 38.557l-.495 3.106-.095.598-10.06 63.074H51.517l-2.716-3.702h52.731l10.155-63.672.592-3.704 3.153 4.3z"}),c.jsx("path",{fill:"#F9FAFB",d:"M104.782 105.647H51.518a.31.31 0 01-.252-.127l-2.716-3.702a.31.31 0 01-.026-.326.31.31 0 01.279-.171h52.464l10.113-63.41.592-3.704a.311.311 0 01.56-.135l3.153 4.3c.05.067.069.152.057.234l-.591 3.704-10.061 63.075a.312.312 0 01-.308.262zm-53.107-.625h52.839l10.019-62.81.57-3.576-2.634-3.592-.473 2.966-10.156 63.672a.313.313 0 01-.308.264H49.418l2.257 3.076z"}),c.jsx("path",{fill:"#DDD",d:"M108.03 109.039l3.503 4.775H58.8l-3.503-4.775h52.733z"}),c.jsx("path",{fill:"#F9FAFB",d:"M111.533 114.126H58.8a.31.31 0 01-.252-.127l-3.503-4.775a.312.312 0 01.253-.498h52.734c.1 0 .193.048.251.128l3.503 4.775a.314.314 0 01-.253.497zm-52.575-.625h51.958l-3.044-4.15H55.913l3.045 4.15z"}),c.jsx("path",{fill:"#F7F9FC",d:"M118.776 41.663l-10.746 67.376H55.297l.59-3.704h48.895l10.154-63.672h3.84z"}),c.jsx("path",{fill:"#F9FAFB",d:"M108.03 109.351H55.297a.313.313 0 01-.308-.361l.59-3.703a.313.313 0 01.308-.263h48.628l10.112-63.41a.314.314 0 01.309-.264h3.84a.313.313 0 01.308.361l-10.745 67.376a.313.313 0 01-.309.264zm-52.366-.625h52.1l10.645-66.751h-3.207l-10.112 63.41a.314.314 0 01-.308.264H56.154l-.49 3.077z"}),c.jsx("path",{fill:"#EEE",d:"M118.776 41.663l3.503 4.775-10.746 67.376-3.503-4.775 10.746-67.376z"}),c.jsx("path",{fill:"#F9FAFB",d:"M111.533 114.126a.306.306 0 01-.251-.127l-3.503-4.775a.312.312 0 01-.057-.235l10.746-67.377a.309.309 0 01.234-.254.309.309 0 01.325.12l3.503 4.775a.31.31 0 01.057.234l-10.746 67.377a.309.309 0 01-.308.262zm-3.174-5.168l2.982 4.067 10.607-66.508-2.982-4.067-10.607 66.508z"}),c.jsx("path",{fill:"#85858A",d:"M49.987 81.18L31.79 96.393c-.043.036-.088.068-.132.101l-.061.046c-.036.025-.074.047-.11.071-.026.017-.053.035-.079.05-.02.011-.04.02-.06.032a2.11 2.11 0 01-.148.075l-.055.022a2.406 2.406 0 01-.294.107l-.076.021c-.04.01-.08.02-.121.028l-.074.014a4.26 4.26 0 01-.132.018l-.062.007c-.064.005-.13.008-.193.008-.545 0-1.056-.2-1.407-.6l-.649-.739a1.784 1.784 0 01-.09-.112l3.503 4.775c.027.039.058.076.09.112l.648.739c.352.4.863.6 1.408.6.063 0 .127-.003.193-.008.02-.002.041-.006.062-.007l.132-.018.074-.014c.04-.009.08-.017.12-.028l.077-.021.055-.015.04-.015c.067-.023.134-.049.2-.077l.04-.015c.005-.003.01-.006.015-.007.05-.024.098-.049.148-.075.019-.01.037-.017.055-.028l.005-.004c.026-.015.053-.033.08-.05.033-.021.067-.04.1-.064a.025.025 0 00.009-.007l.061-.046c.034-.025.068-.048.1-.075a.364.364 0 00.032-.026l18.197-15.213-3.504-4.775z"}),c.jsx("path",{fill:"#F9FAFB",d:"M33.694 102.081c-.658 0-1.241-.252-1.641-.707l-.65-.739a1.901 1.901 0 01-.106-.134l-3.501-4.772c0-.001-.002-.001-.002-.003a.312.312 0 01.503-.369l.001.003c.023.03.046.06.071.089l.649.739c.279.318.696.493 1.172.493.056 0 .11-.003.165-.009l.056-.007c.037-.004.075-.008.114-.015l.047-.01.018-.004.106-.023.068-.019a2.276 2.276 0 00.257-.093l.047-.019c.044-.02.087-.043.13-.067l.053-.028c.011-.006.024-.013.035-.022l.058-.037a2.329 2.329 0 00.099-.067l.04-.03c.035-.027.07-.052.104-.081l18.198-15.213a.314.314 0 01.45.055l3.504 4.775a.313.313 0 01-.052.425l-18.23 15.246c-.03.023-.059.045-.09.066l-.04.029-.05.038a1.955 1.955 0 01-.095.062l-.052.032a.92.92 0 01-.058.036c-.006.005-.011.007-.017.01a.658.658 0 01-.044.022l-.013.006c-.055.029-.11.058-.166.085l-.017.008-.044.018c-.075.032-.15.061-.225.086-.013.006-.03.011-.045.017l-.046.012-.015.004-.087.024c-.046.011-.09.022-.137.031l-.015.002-.07.014c-.05.009-.1.016-.148.021l-.018.003a1.864 1.864 0 01-.27.017zm-4.003-4.825l2.112 2.877c.022.031.047.061.072.091l.648.739c.311.355.8.531 1.338.486l.054-.007a1.482 1.482 0 00.161-.025l.017-.003a1.73 1.73 0 00.105-.024c.023-.005.045-.012.068-.018l.048-.012a.295.295 0 01.034-.014c.059-.02.118-.042.177-.068.01-.006.023-.01.036-.014l.01-.004c.045-.021.089-.045.133-.068a.296.296 0 01.035-.018l.01-.006c.002-.003.006-.004.01-.005l.034-.021.065-.041a.622.622 0 00.057-.036l.033-.025.053-.04.063-.047.027-.022 17.974-15.025-3.132-4.271L31.99 96.633c-.044.037-.089.071-.135.105l-.03.023c-.017.013-.032.025-.049.036-.033.023-.067.043-.1.064l-.048.03c-.021.015-.042.027-.063.04-.017.01-.033.018-.05.026l-.018.01c-.054.029-.11.058-.165.084-.016.007-.03.014-.047.02l-.016.007a2.6 2.6 0 01-.554.173l-.015.003c-.022.004-.046.01-.068.013-.05.008-.099.015-.149.02l-.02.003a2.429 2.429 0 01-.772-.035z"}),c.jsx("path",{fill:"#98A2B3",d:"M76.699 64.414a12.649 12.649 0 00-.367-1.639 12.218 12.218 0 00-2.544-4.642c-2.59-2.951-6.367-4.426-10.378-4.426-2.39 0-4.861.522-7.216 1.57a19.487 19.487 0 00-4.58 2.862c-6.318 5.28-8.203 13.503-4.815 19.405l-18.2 15.216c-.956.797-1.162 2.093-.462 2.894l.65.74c.35.4.863.6 1.405.6a2.51 2.51 0 001.597-.6l18.198-15.212a13.02 13.02 0 001.885 1.193c2.022 1.046 4.33 1.57 6.721 1.57 3.214 0 6.576-.944 9.6-2.838.753-.47 1.482-.999 2.249-1.639 2.293-1.935 3.996-4.255 5.068-6.71.234-.537.443-1.087.616-1.638.713-2.231.911-4.53.573-6.706zm-9.481 11.503c-2.343 1.96-5.16 2.937-7.82 2.937s-5.165-.979-6.881-2.937c-3.438-3.917-2.425-10.264 2.26-14.178 2.342-1.96 5.16-2.938 7.82-2.938s5.164.98 6.88 2.938a8.34 8.34 0 01.754 1.008 8.029 8.029 0 011.056 2.54c.375 1.62.281 3.364-.258 5.056a11.476 11.476 0 01-1.11 2.438 12.45 12.45 0 01-2.701 3.136z"}),c.jsx("path",{fill:"#F9FAFB",d:"M30.192 97.307c-.659 0-1.242-.251-1.64-.708l-.65-.74a2.048 2.048 0 01-.486-1.52c.055-.68.412-1.344.982-1.82L46.4 77.471c-1.585-2.903-1.989-6.42-1.136-9.936.882-3.635 3.066-7.057 6.151-9.636a19.8 19.8 0 014.654-2.907c2.347-1.045 4.886-1.597 7.343-1.597 4.278 0 8.048 1.61 10.613 4.533a12.492 12.492 0 012.61 4.76c.16.543.286 1.106.375 1.677.344 2.207.141 4.577-.584 6.85a16.681 16.681 0 01-.627 1.668c-1.123 2.569-2.906 4.927-5.155 6.824a20.11 20.11 0 01-2.284 1.664c-3.014 1.887-6.39 2.886-9.766 2.886-2.46 0-4.833-.556-6.864-1.606A13.36 13.36 0 0150 81.58L31.989 96.633a2.817 2.817 0 01-1.797.674zM63.41 54.019c-2.37 0-4.82.534-7.089 1.544a19.182 19.182 0 00-4.507 2.815c-6.13 5.123-8.126 13.12-4.744 19.01a.313.313 0 01-.071.395L28.799 93c-.442.37-.72.875-.76 1.389-.032.401.086.777.333 1.06l.649.738c.279.32.694.495 1.17.495.495 0 .992-.188 1.398-.528l18.198-15.211a.313.313 0 01.39-.009c.583.443 1.2.835 1.84 1.164 1.941 1.005 4.216 1.536 6.577 1.536 3.257 0 6.52-.965 9.434-2.79.751-.47 1.476-.997 2.213-1.614 2.175-1.833 3.898-4.114 4.983-6.594.234-.536.437-1.077.605-1.607.696-2.184.89-4.453.561-6.565a12.39 12.39 0 00-.357-1.598 11.865 11.865 0 00-2.48-4.525c-2.445-2.786-6.048-4.32-10.142-4.32zm-4.014 25.148c-2.868 0-5.396-1.08-7.117-3.045-1.536-1.75-2.276-4.066-2.086-6.525.234-3.015 1.83-5.968 4.38-8.098 2.323-1.942 5.172-3.011 8.023-3.011 2.868 0 5.396 1.08 7.117 3.044a8.743 8.743 0 01.783 1.046 8.385 8.385 0 011.097 2.637c.385 1.66.293 3.466-.265 5.221a11.584 11.584 0 01-1.14 2.506 12.926 12.926 0 01-2.77 3.215c-2.322 1.94-5.17 3.01-8.022 3.01zm3.2-20.054c-2.704 0-5.411 1.018-7.62 2.865-2.423 2.023-3.94 4.82-4.16 7.668-.177 2.289.51 4.442 1.934 6.064 1.6 1.826 3.961 2.832 6.646 2.832 2.704 0 5.411-1.018 7.62-2.865a12.3 12.3 0 002.637-3.059c.313-.518.582-1.057.803-1.603.101-.25.194-.508.276-.768.524-1.648.611-3.34.252-4.893a7.792 7.792 0 00-1.739-3.41c-1.603-1.826-3.964-2.831-6.649-2.831z"}),c.jsx("path",{fill:"#F7F9FC",d:"M59.778 66.756a.997.997 0 00-.11-.225.974.974 0 00-.103-.14 1.233 1.233 0 00-.94-.4 1.694 1.694 0 00-1.07.401c-.372.31-.575.734-.586 1.14-.008.292.082.574.278.797.235.267.576.402.94.402s.749-.134 1.068-.402c.152-.127.277-.272.371-.429.045-.072.08-.147.113-.225.125-.305.14-.632.039-.92z"}),c.jsx("path",{fill:"#F7F9FC",d:"M58.64 64.293a1.938 1.938 0 00-.373-.639c-.414-.472-1.018-.708-1.659-.708a2.941 2.941 0 00-1.883.707c-1.13.941-1.372 2.472-.544 3.415.037.042.075.082.115.12.405.391.958.586 1.543.586.375 0 .764-.08 1.135-.242.262-.114.515-.27.75-.464.266-.225.486-.48.651-.755.063-.105.118-.212.164-.32l.032-.078c.22-.54.246-1.115.07-1.622z"}),c.jsx("path",{fill:"#DDD",d:"M104.782 105.335H51.517l-2.716-3.702h52.731l3.25 3.702z"}),c.jsx("path",{fill:"#F9FAFB",d:"M104.782 105.647H51.518a.308.308 0 01-.252-.128l-2.716-3.701a.31.31 0 01-.026-.326.31.31 0 01.279-.171h52.73c.09 0 .175.039.235.107l3.25 3.701c.08.092.1.224.05.335a.317.317 0 01-.286.183zm-53.107-.625h52.415l-2.701-3.076H49.417l2.258 3.076z"}),c.jsx("path",{fill:"#DDD",d:"M98.215 62.775c.47 0 .792.367.72.82-.073.452-.512.819-.981.819H76.698a12.81 12.81 0 00-.365-1.639h21.882z"}),c.jsx("path",{fill:"#DDD",d:"M97.954 64.726H76.7a.312.312 0 01-.309-.265 12.214 12.214 0 00-.357-1.599.309.309 0 01.05-.275.31.31 0 01.25-.125h21.884c.319 0 .614.131.806.357.192.225.271.518.221.825-.097.607-.663 1.082-1.29 1.082zm-20.99-.625h20.99c.317 0 .625-.254.672-.555a.392.392 0 00-.079-.321.423.423 0 00-.332-.138H76.743c.088.335.161.674.22 1.014zM99.547 54.43c.471 0 .792.366.72.82-.073.451-.512.818-.981.818H76.94c-.47 0-.79-.367-.718-.818.072-.453.51-.82.98-.82h22.345z"}),c.jsx("path",{fill:"#DDD",d:"M99.286 56.38H76.94c-.32 0-.613-.129-.806-.355a1.004 1.004 0 01-.22-.824c.097-.607.662-1.083 1.287-1.083h22.346c.32 0 .614.13.807.357.191.225.271.518.221.825-.096.606-.663 1.08-1.29 1.08zM77.2 54.742c-.315 0-.622.255-.67.557a.391.391 0 00.078.32.423.423 0 00.33.136h22.347c.316 0 .625-.254.672-.555a.392.392 0 00-.08-.32.423.423 0 00-.331-.138H77.2zM94.222 87.815c.471 0 .792.367.72.818-.073.453-.511.821-.982.821H60.997c-.468 0-.79-.366-.718-.82.072-.452.511-.819.98-.819h32.963z"}),c.jsx("path",{fill:"#DDD",d:"M93.961 89.767H60.997c-.318 0-.61-.13-.804-.356a1.004 1.004 0 01-.22-.826c.096-.607.662-1.082 1.287-1.082h32.962c.32 0 .614.13.807.357.192.225.27.516.22.823-.095.607-.662 1.084-1.288 1.084zm-32.703-1.64c-.315 0-.622.255-.67.556a.395.395 0 00.079.323.419.419 0 00.329.137H93.96c.316 0 .625-.255.672-.557a.39.39 0 00-.08-.32.423.423 0 00-.331-.137H61.258v-.001z"}),c.jsx("path",{fill:"#DDD",d:"M80.201 69.189c-.025-.16-.053-.32-.083-.478l-.008-.046-.02-.089c-.026-.129-.056-.258-.086-.386-.011-.047-.022-.096-.035-.143a14.558 14.558 0 00-.133-.496c-.065-.223-.14-.444-.218-.663-.01-.028-.017-.056-.028-.084-.01-.029-.023-.057-.033-.085a11.396 11.396 0 00-.553-1.268c-.013-.023-.022-.047-.033-.07-.017-.034-.038-.067-.055-.1a16.26 16.26 0 00-.219-.4c-.032-.055-.061-.11-.094-.164a11.61 11.61 0 00-.337-.536v-.003c-.1-.147-.2-.293-.306-.438l-3.503-4.775a12.034 12.034 0 01.644.977l.095.164a16.362 16.362 0 01.308.57c.104.205.203.412.294.621l.021.053a11.536 11.536 0 01.297.761 12.302 12.302 0 01.47 1.69 11.138 11.138 0 01.111.614c.339 2.175.14 4.473-.57 6.707a16.401 16.401 0 01-.619 1.64c-.048.11-.1.22-.15.33-.04.086-.08.172-.122.258l-.104.214c-.043.086-.088.17-.132.257a11.944 11.944 0 01-.253.467l-.117.206-.151.256-.112.186c-.134.215-.271.43-.414.64l-.087.127a17.85 17.85 0 01-.902 1.204l-.11.135c-.15.18-.304.36-.463.537l-.075.082a18.882 18.882 0 01-1.029 1.053l-.27.249c-.048.044-.096.09-.146.134-.142.127-.285.25-.43.374a20.29 20.29 0 01-1.082.844l-.084.063a21.276 21.276 0 01-1.082.73c-.209.13-.418.256-.63.377-.056.032-.112.06-.167.093-.186.104-.373.205-.56.303l-.213.11a18.01 18.01 0 01-.62.298c-.038.017-.074.035-.112.051-.048.023-.098.043-.147.064-.136.06-.272.12-.41.175l-.204.082c-.12.047-.24.095-.36.14-.072.028-.145.055-.217.081-.118.043-.236.083-.355.124a9.937 9.937 0 01-.218.072c-.097.032-.195.06-.293.091a16.404 16.404 0 01-.997.275 16.845 16.845 0 01-1.56.308c-.123.019-.247.036-.37.052l-.267.035c-.13.015-.257.026-.385.037-.083.007-.168.017-.251.023-.142.01-.282.018-.422.025-.071.004-.14.008-.212.01-.21.01-.42.013-.63.013-2.39 0-4.697-.523-6.721-1.57a12.644 12.644 0 01-1.885-1.195l3.503 4.775c.593.454 1.224.851 1.885 1.194 2.022 1.048 4.33 1.571 6.72 1.571.209 0 .419-.004.63-.012.07-.003.14-.009.21-.011.141-.007.283-.014.423-.025l.25-.023c.13-.01.257-.023.386-.037.09-.01.178-.022.267-.033.124-.017.247-.032.37-.052l.277-.044.363-.064c.093-.018.187-.036.28-.056.12-.025.24-.05.358-.077a16.81 16.81 0 00.918-.235l.362-.107.18-.053.113-.037.218-.073c.118-.04.236-.08.354-.123l.218-.08c.12-.045.24-.092.36-.141l.204-.082c.137-.057.273-.115.41-.175.048-.022.098-.042.147-.064a.206.206 0 01.026-.011c.028-.013.056-.028.084-.04a18.01 18.01 0 001.393-.711c.04-.023.08-.042.12-.066.014-.008.031-.02.046-.027.211-.121.422-.246.63-.377.213-.133.423-.272.633-.415l.057-.038c.13-.09.262-.183.393-.277l.084-.063c.167-.122.334-.247.5-.378l.038-.029c.089-.07.18-.14.268-.214a19.263 19.263 0 00.703-.598l.146-.134c.09-.083.182-.165.27-.25l.014-.012c.017-.015.032-.032.048-.047.148-.142.293-.287.436-.43l.135-.14c.134-.14.266-.28.395-.423l.059-.063.015-.018c.158-.178.312-.357.462-.537l.11-.134c.132-.162.263-.326.388-.492.013-.019.03-.037.044-.056l.013-.017c.158-.211.31-.424.458-.639l.086-.125c.143-.213.282-.426.415-.642l.027-.04.086-.146c.051-.084.101-.17.151-.255l.117-.207.14-.256.111-.21a8.98 8.98 0 00.13-.258c.037-.07.072-.142.106-.214l.123-.258c.016-.038.036-.074.052-.111l.098-.22c.237-.54.444-1.087.618-1.639.72-2.237.92-4.534.58-6.712z"}),c.jsx("path",{fill:"#F9FAFB",d:"M62.094 89.035c-2.46 0-4.833-.556-6.864-1.607a13.081 13.081 0 01-1.931-1.224.303.303 0 01-.063-.064l-3.503-4.775a.313.313 0 01.442-.433c.57.438 1.189.83 1.839 1.165 1.941 1.006 4.215 1.536 6.576 1.536.196 0 .404-.004.618-.012.04-.001.08-.004.12-.007l.087-.006c.14-.007.277-.014.416-.025.054-.004.108-.01.16-.013l.085-.009c.13-.01.255-.023.378-.037.065-.007.13-.017.196-.025l.068-.009a16.852 16.852 0 00.607-.09l.028-.004c.118-.02.237-.04.355-.063l.277-.055c.116-.024.234-.05.351-.077.093-.02.185-.043.278-.065.117-.029.235-.058.351-.09l.275-.075c.118-.033.236-.07.354-.106l.04-.012c.083-.025.166-.052.248-.078l.214-.07c.116-.04.232-.08.348-.123.071-.026.143-.051.214-.08.118-.044.236-.09.354-.137l.055-.02.147-.059c.135-.055.268-.114.403-.172l.063-.028c.027-.01.055-.023.081-.035l.108-.05a18.639 18.639 0 001.371-.698l.068-.038.096-.052a16.582 16.582 0 001.242-.78c.147-.101.296-.204.443-.31l.083-.062c.18-.132.342-.254.493-.372l.038-.03c.187-.148.362-.29.532-.431.143-.121.283-.243.422-.367l.086-.079.094-.086c.077-.07.155-.14.23-.211l.062-.06c.14-.135.28-.272.43-.424l.133-.137c.132-.138.262-.276.389-.417l.073-.079c.147-.164.296-.337.456-.53l.108-.131c.138-.168.263-.326.38-.483l.058-.073c.144-.191.291-.397.45-.627l.084-.124c.145-.212.28-.425.407-.63l.096-.157.014-.024.149-.251c.034-.06.068-.12.1-.18l.015-.025.139-.251.11-.207c.042-.083.085-.168.129-.251l.102-.21.12-.253.012-.029c.046-.099.092-.197.135-.296.235-.536.44-1.076.607-1.608.696-2.184.889-4.453.56-6.565a11.271 11.271 0 00-.082-.467l-.028-.133a11.506 11.506 0 00-.083-.377l-.035-.142a12.175 12.175 0 00-.343-1.13l-.06-.164c-.08-.212-.154-.401-.23-.578l-.021-.051a11.148 11.148 0 00-.374-.772c-.07-.13-.14-.26-.214-.39l-.029-.05-.064-.109a11.675 11.675 0 00-.628-.951.312.312 0 01.503-.37l.001.002 3.502 4.773a12.91 12.91 0 01.661 1.002c.024.038.044.077.067.115l.029.051c.078.136.153.273.225.41l.02.036.035.067c.009.015.016.032.023.047l.01.025c.119.233.217.442.303.639l.023.053c.082.191.16.39.243.61l.01.029c.01.019.018.038.025.06.007.017.012.037.018.056l.01.03a11.728 11.728 0 01.359 1.185l.028.114.008.034c.032.132.061.264.088.396l.008.034.013.056.008.048c.034.181.062.34.086.49.343 2.21.143 4.577-.582 6.85a16.635 16.635 0 01-.73 1.892l-.031.068-.022.046a14.23 14.23 0 01-.23.48 11.92 11.92 0 01-.248.476l-.143.26-.021.037a9.74 9.74 0 01-.253.433l-.036.06c-.017.03-.035.058-.051.088l-.02.03c-.139.224-.28.443-.429.663l-.087.126c-.166.24-.319.453-.467.65l-.058.076c-.123.16-.255.33-.395.5l-.014.018-.097.119c-.165.198-.318.377-.47.547l-.017.02a.915.915 0 01-.037.038l-.023.025c-.132.145-.266.288-.402.43l-.137.14c-.154.158-.3.3-.443.438l-.017.017a9.64 9.64 0 00-.032.032l-.012.011c-.078.074-.157.146-.236.218l-.096.09-.093.084a19.541 19.541 0 01-.986.823l-.038.031c-.158.124-.325.25-.508.383l-.086.064a23.375 23.375 0 01-.438.309l-.02.013a18.483 18.483 0 01-1.283.806l-.05.03-.072.038a19.12 19.12 0 01-1.465.747l-.032.016c-.018.008-.036.018-.054.025l-.02.008-.098.043-.059.025c-.138.061-.277.12-.416.178l-.149.06-.058.023c-.122.049-.245.096-.367.142l-.22.082-.36.126-.221.074-.047.015-.069.022c-.036.011-.072.022-.11.032l-.073.022a18.815 18.815 0 01-.65.186c-.122.032-.243.064-.365.093-.095.024-.19.046-.286.069a17.79 17.79 0 01-.365.079 15.73 15.73 0 01-.656.122l-.032.005c-.083.014-.165.028-.249.04-.126.02-.251.037-.377.052l-.069.008c-.067.009-.136.018-.202.025-.13.016-.261.027-.392.04l-.083.008-.174.015c-.144.011-.287.018-.43.025l-.081.004a10.9 10.9 0 01-.767.024zm-8.379-3.3a12.43 12.43 0 001.804 1.137c1.942 1.006 4.216 1.536 6.577 1.536a16.05 16.05 0 00.739-.02l.086-.005c.139-.007.276-.013.415-.025l.163-.014.084-.008c.128-.01.253-.023.38-.037l.193-.024.069-.01c.12-.015.243-.032.364-.05.079-.012.16-.025.239-.039l.032-.005c.12-.02.237-.04.355-.063l.277-.055a20.067 20.067 0 00.63-.142l.352-.09c.091-.025.183-.049.273-.075.118-.033.236-.07.354-.106l.084-.025.093-.027.11-.038a17.076 17.076 0 00.561-.192c.072-.026.144-.051.215-.079.118-.044.236-.09.354-.137l.06-.024.14-.055c.135-.056.27-.114.403-.173l.064-.027.08-.035.061-.028.049-.024c.198-.091.404-.19.611-.293a21.557 21.557 0 00.761-.404l.063-.033.054-.03.046-.027a18.234 18.234 0 001.243-.78l.055-.035c.13-.09.259-.18.388-.274l.084-.062c.178-.131.34-.252.492-.373l.038-.03.264-.21a19.304 19.304 0 00.69-.587c.029-.025.057-.052.083-.077l.1-.092c.075-.069.152-.137.225-.208a.08.08 0 01.011-.01l.052-.05a17.113 17.113 0 00.562-.56c.132-.138.263-.277.389-.417l.074-.08a18.896 18.896 0 00.548-.644l.016-.018c.134-.165.263-.33.382-.483l.056-.074c.143-.189.29-.394.45-.626l.084-.123c.144-.212.28-.425.408-.63l.025-.039.046-.078.039-.065.148-.25c.032-.056.064-.111.095-.168l.02-.038c.046-.083.094-.166.138-.25a14.79 14.79 0 00.238-.458l.104-.211.12-.253.052-.11.096-.213c.236-.538.44-1.078.607-1.609.696-2.183.889-4.453.56-6.565a12.975 12.975 0 00-.082-.465l-.027-.132a16.316 16.316 0 00-.083-.377l-.008-.034-.025-.106a11.436 11.436 0 00-.343-1.13l-.017-.05-.01-.031-.012-.03-.021-.052a12.056 12.056 0 00-.23-.578l-.022-.051c-.08-.186-.175-.385-.287-.607l-.022-.046-.011-.025a13.258 13.258 0 00-.267-.486l-.03-.054a11.045 11.045 0 00-.389-.628c-.002-.001-.003-.004-.005-.007a13.32 13.32 0 00-.296-.422l-1.195-1.63a12.852 12.852 0 01.261.9l.036.146c.03.132.06.263.087.395l.03.139c.034.178.062.337.086.49.343 2.208.141 4.577-.582 6.85a16.382 16.382 0 01-.63 1.67c-.045.102-.094.205-.141.308l-.013.028-.123.262-.107.218-.133.261-.113.214c-.047.088-.096.174-.145.261l-.013.025a12.525 12.525 0 01-.26.446l-.014.024-.1.165c-.13.213-.272.432-.422.653l-.088.128c-.164.239-.316.451-.466.65l-.059.075c-.123.162-.252.326-.394.5l-.113.136c-.163.198-.318.376-.47.546l-.077.082a23.629 23.629 0 01-.54.572 18.55 18.55 0 01-.443.437l-.064.063-.238.22-.09.082c-.032.03-.062.059-.094.087a19.541 19.541 0 01-.988.823l-.037.03c-.157.123-.324.25-.509.384l-.086.064a21.1 21.1 0 01-1.1.743c-.197.124-.407.249-.64.383l-.106.059-.063.036a18.867 18.867 0 01-1.417.72l-.049.023-.064.03-.091.04-.06.026c-.139.06-.278.12-.417.178l-.155.062-.053.02c-.122.05-.243.097-.367.142l-.222.082a17.86 17.86 0 01-.58.2l-.26.08-.04.01a18.815 18.815 0 01-1.666.427 17.24 17.24 0 01-.655.122l-.028.004-.254.042c-.127.02-.252.036-.377.052l-.066.008c-.07.01-.138.018-.206.026-.129.016-.258.027-.387.04l-.087.008a7.906 7.906 0 01-.173.015c-.143.01-.286.018-.43.025l-.081.004a17.27 17.27 0 01-.775.02c-2.461 0-4.834-.556-6.864-1.608-.154-.079-.306-.162-.456-.247l2.446 3.33zM120.843 90.037a2.067 2.067 0 100-4.134 2.067 2.067 0 000 4.134zM33.935 82.412a2.067 2.067 0 100-4.133 2.067 2.067 0 000 4.133zM34.97 84.083a.728.728 0 100-1.455.728.728 0 000 1.455zM45.217 56.42a2.067 2.067 0 100-4.134 2.067 2.067 0 000 4.133zM47.632 53.008a.728.728 0 100-1.455.728.728 0 000 1.455z"}),c.jsx("path",{fill:"#EEE",d:"M126.15 45.536a3.556 3.556 0 10-.001-7.11 3.556 3.556 0 00.001 7.11z"}),c.jsx("path",{fill:"#F9FAFB",d:"M122.594 40.225a1.693 1.693 0 100-3.386 1.693 1.693 0 000 3.386z"})]})}var Ds=typeof m.commonjsGlobal=="object"&&m.commonjsGlobal&&m.commonjsGlobal.Object===Object&&m.commonjsGlobal,Ls=typeof self=="object"&&self&&self.Object===Object&&self;Ds||Ls||Function("return this")();function Fs(e){const[t,n]=T.useState(!!e),r=T.useCallback(()=>{n(!0)},[]),o=T.useCallback(()=>{n(!1)},[]),s=T.useCallback(()=>{n(i=>!i)},[]);return{value:t,setValue:n,setTrue:r,setFalse:o,toggle:s}}function Bs(e){var t;return c.jsxs($.Dialog,{...e.dialogProps,open:e.open,children:[!e.hideTitle&&c.jsxs($.DialogTitle,{component:$.Stack,sx:{...e.titleProps,textAlign:"center"},children:[typeof e.title=="string"?c.jsx($.Typography,{variant:"h4",children:e.title}):e.title,typeof e.subTitle=="string"?c.jsx($.Typography,{color:"success.main",variant:"body1",...e.subTitleProps,children:e.subTitle}):e.subTitle]}),c.jsx($.DialogContent,{sx:{...e.contentProps,overflowY:e.fixOverflow?"unset":void 0},children:e.desc}),!(e.hideClose&&e.hideConfirm)&&c.jsx($.DialogActions,{...e.dialogActionsProps,sx:{display:"flex",justifyContent:"space-between","& button":{minWidth:e.minWidthButton||200},px:3,pb:3,...(t=e.dialogActionsProps)==null?void 0:t.sx},children:e.customActions?e.customActions:c.jsxs(c.Fragment,{children:[!e.hideClose&&c.jsx($.Button,{color:"error",onClick:e.onClose,children:"Close"}),!e.hideConfirm&&c.jsx($.Button,{color:"primary",onClick:e.onConfirm,children:"Submit"})]})})]})}function Hs(e){const t=Fs(typeof e=="boolean"?e:void 0);return{setTrue:t.setTrue,open:t.value,onClose:t.setFalse,onConfirm:typeof e!="boolean"?e==null?void 0:e.onConfirm:void 0}}function Ws({rootPath:e}){return c.jsxs("div",{style:{display:"flex",flexDirection:"column",width:"100vw",height:"100vh",alignItems:"center",justifyContent:"center"},children:[c.jsx("h1",{children:"404 - Not Found"}),c.jsx("p",{children:"Sorry, the page you are looking for does not exist."}),c.jsx($.Box,{height:"16px"}),c.jsx(gr.Link,{to:e,children:c.jsx($.Button,{variant:"contained",color:"primary",children:"Go to Home"})})]})}function Vs(){const{colors:e}=m.useTheme();return c.jsx("div",{style:{display:"flex",flexDirection:"column",width:"100%",height:"calc(100vh - 144px)",alignItems:"center",justifyContent:"center",zIndex:100},children:c.jsx("h1",{style:{color:`${e==null?void 0:e.primary300}`,fontSize:"82px",fontWeight:700,textTransform:"uppercase",marginTop:0,marginBottom:0,textAlign:"center"},children:"Welcome to the Intelli-Verse"})})}const Us=()=>{const{t:e}=m.useTranslation();return c.jsx("div",{className:"unauth__container "+m.styles["page-container"],children:c.jsxs("div",{className:"unauth__main-content "+m.styles["page-main-content"],children:[c.jsx(Ys,{}),c.jsxs("div",{className:"unauth__main-text",children:[c.jsx("h2",{className:"unauth__main-text__title "+m.styles["page-title"],children:e("components.unauthorizedPage.title")}),c.jsxs("p",{className:"unauth__main-text__desc "+m.styles["text-base"],children:[e("components.unauthorizedPage.description1")," ",c.jsx("br",{})," ",e("components.unauthorizedPage.description2")]})]})]})})},Ys=()=>c.jsxs("svg",{width:"61",height:"60",viewBox:"0 0 61 60",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[c.jsxs("g",{filter:"url(#filter0_d_10800_50471)",children:[c.jsx("rect",{x:"2.5",y:"1",width:"56",height:"56",rx:"28",fill:"white"}),c.jsx("path",{d:"M24.6667 27.833V23.1663C24.6667 21.6192 25.2812 20.1355 26.3752 19.0416C27.4692 17.9476 28.9529 17.333 30.5 17.333C32.0471 17.333 33.5308 17.9476 34.6248 19.0416C35.7188 20.1355 36.3333 21.6192 36.3333 23.1663V27.833M22.3333 27.833H38.6667C39.9553 27.833 41 28.8777 41 30.1663V38.333C41 39.6217 39.9553 40.6663 38.6667 40.6663H22.3333C21.0447 40.6663 20 39.6217 20 38.333V30.1663C20 28.8777 21.0447 27.833 22.3333 27.833Z",stroke:"#292929","stroke-width":"2.33333","stroke-linecap":"round","stroke-linejoin":"round"})]}),c.jsx("defs",{children:c.jsxs("filter",{id:"filter0_d_10800_50471",x:"0.5",y:"0",width:"60",height:"60",filterUnits:"userSpaceOnUse","color-interpolation-filters":"sRGB",children:[c.jsx("feFlood",{"flood-opacity":"0",result:"BackgroundImageFix"}),c.jsx("feColorMatrix",{in:"SourceAlpha",type:"matrix",values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0",result:"hardAlpha"}),c.jsx("feOffset",{dy:"1"}),c.jsx("feGaussianBlur",{stdDeviation:"1"}),c.jsx("feColorMatrix",{type:"matrix",values:"0 0 0 0 0.0627451 0 0 0 0 0.0941176 0 0 0 0 0.156863 0 0 0 0.05 0"}),c.jsx("feBlend",{mode:"normal",in2:"BackgroundImageFix",result:"effect1_dropShadow_10800_50471"}),c.jsx("feBlend",{mode:"normal",in:"SourceGraphic",in2:"effect1_dropShadow_10800_50471",result:"shape"})]})})]});function Se(e){if(typeof e!="object"||e===null)return!1;const t=Object.getPrototypeOf(e);return(t===null||t===Object.prototype||Object.getPrototypeOf(t)===null)&&!(Symbol.toStringTag in e)&&!(Symbol.iterator in e)}function Ar(e){if(W.isValidElement(e)||!Se(e))return e;const t={};return Object.keys(e).forEach(n=>{t[n]=Ar(e[n])}),t}function pe(e,t,n={clone:!0}){const r=n.clone?m._extends({},e):e;return Se(e)&&Se(t)&&Object.keys(t).forEach(o=>{W.isValidElement(t[o])?r[o]=t[o]:Se(t[o])&&Object.prototype.hasOwnProperty.call(e,o)&&Se(e[o])?r[o]=pe(e[o],t[o],n):n.clone?r[o]=Se(t[o])?Ar(t[o]):t[o]:r[o]=t[o]}),r}const Ks=Object.freeze(Object.defineProperty({__proto__:null,default:pe,isPlainObject:Se},Symbol.toStringTag,{value:"Module"}));function Je(e){let t="https://mui.com/production-error/?code="+e;for(let n=1;n<arguments.length;n+=1)t+="&args[]="+encodeURIComponent(arguments[n]);return"Minified MUI error #"+e+"; visit "+t+" for the full message."}const Gs=Object.freeze(Object.defineProperty({__proto__:null,default:Je},Symbol.toStringTag,{value:"Module"}));var Jt={exports:{}},B={};/**
|
|
39
|
+
`;function ye(e){return Array.isArray?Array.isArray(e):wr(e)==="[object Array]"}const Ro=1/0;function zo(e){if(typeof e=="string")return e;let t=e+"";return t=="0"&&1/e==-Ro?"-0":t}function Do(e){return e==null?"":zo(e)}function he(e){return typeof e=="string"}function vr(e){return typeof e=="number"}function Lo(e){return e===!0||e===!1||Fo(e)&&wr(e)=="[object Boolean]"}function Sr(e){return typeof e=="object"}function Fo(e){return Sr(e)&&e!==null}function ne(e){return e!=null}function Ft(e){return!e.trim().length}function wr(e){return e==null?e===void 0?"[object Undefined]":"[object Null]":Object.prototype.toString.call(e)}const Bo="Incorrect 'index' type",Ho=e=>`Invalid value for key ${e}`,Wo=e=>`Pattern length exceeds max of ${e}.`,Vo=e=>`Missing ${e} property in key`,Uo=e=>`Property 'weight' in key '${e}' must be a positive integer`,In=Object.prototype.hasOwnProperty;class Yo{constructor(t){this._keys=[],this._keyMap={};let n=0;t.forEach(r=>{let o=_r(r);n+=o.weight,this._keys.push(o),this._keyMap[o.id]=o,n+=o.weight}),this._keys.forEach(r=>{r.weight/=n})}get(t){return this._keyMap[t]}keys(){return this._keys}toJSON(){return JSON.stringify(this._keys)}}function _r(e){let t=null,n=null,r=null,o=1,s=null;if(he(e)||ye(e))r=e,t=Mn(e),n=Ut(e);else{if(!In.call(e,"name"))throw new Error(Vo("name"));const i=e.name;if(r=i,In.call(e,"weight")&&(o=e.weight,o<=0))throw new Error(Uo(i));t=Mn(i),n=Ut(i),s=e.getFn}return{path:t,id:n,weight:o,src:r,getFn:s}}function Mn(e){return ye(e)?e:e.split(".")}function Ut(e){return ye(e)?e.join("."):e}function Ko(e,t){let n=[],r=!1;const o=(s,i,l)=>{if(ne(s))if(!i[l])n.push(s);else{let u=i[l];const d=s[u];if(!ne(d))return;if(l===i.length-1&&(he(d)||vr(d)||Lo(d)))n.push(Do(d));else if(ye(d)){r=!0;for(let f=0,h=d.length;f<h;f+=1)o(d[f],i,l+1)}else i.length&&o(d,i,l+1)}};return o(e,he(t)?t.split("."):t,0),r?n:n[0]}const Go={includeMatches:!1,findAllMatches:!1,minMatchCharLength:1},qo={isCaseSensitive:!1,includeScore:!1,keys:[],shouldSort:!0,sortFn:(e,t)=>e.score===t.score?e.idx<t.idx?-1:1:e.score<t.score?-1:1},Zo={location:0,threshold:.6,distance:100},Xo={useExtendedSearch:!1,getFn:Ko,ignoreLocation:!1,ignoreFieldNorm:!1,fieldNormWeight:1};var P={...qo,...Go,...Zo,...Xo};const Jo=/[^ ]+/g;function Qo(e=1,t=3){const n=new Map,r=Math.pow(10,t);return{get(o){const s=o.match(Jo).length;if(n.has(s))return n.get(s);const i=1/Math.pow(s,.5*e),l=parseFloat(Math.round(i*r)/r);return n.set(s,l),l},clear(){n.clear()}}}class un{constructor({getFn:t=P.getFn,fieldNormWeight:n=P.fieldNormWeight}={}){this.norm=Qo(n,3),this.getFn=t,this.isCreated=!1,this.setIndexRecords()}setSources(t=[]){this.docs=t}setIndexRecords(t=[]){this.records=t}setKeys(t=[]){this.keys=t,this._keysMap={},t.forEach((n,r)=>{this._keysMap[n.id]=r})}create(){this.isCreated||!this.docs.length||(this.isCreated=!0,he(this.docs[0])?this.docs.forEach((t,n)=>{this._addString(t,n)}):this.docs.forEach((t,n)=>{this._addObject(t,n)}),this.norm.clear())}add(t){const n=this.size();he(t)?this._addString(t,n):this._addObject(t,n)}removeAt(t){this.records.splice(t,1);for(let n=t,r=this.size();n<r;n+=1)this.records[n].i-=1}getValueForItemAtKeyId(t,n){return t[this._keysMap[n]]}size(){return this.records.length}_addString(t,n){if(!ne(t)||Ft(t))return;let r={v:t,i:n,n:this.norm.get(t)};this.records.push(r)}_addObject(t,n){let r={i:n,$:{}};this.keys.forEach((o,s)=>{let i=o.getFn?o.getFn(t):this.getFn(t,o.path);if(ne(i)){if(ye(i)){let l=[];const u=[{nestedArrIndex:-1,value:i}];for(;u.length;){const{nestedArrIndex:d,value:f}=u.pop();if(ne(f))if(he(f)&&!Ft(f)){let h={v:f,i:d,n:this.norm.get(f)};l.push(h)}else ye(f)&&f.forEach((h,p)=>{u.push({nestedArrIndex:p,value:h})})}r.$[s]=l}else if(he(i)&&!Ft(i)){let l={v:i,n:this.norm.get(i)};r.$[s]=l}}}),this.records.push(r)}toJSON(){return{keys:this.keys,records:this.records}}}function Er(e,t,{getFn:n=P.getFn,fieldNormWeight:r=P.fieldNormWeight}={}){const o=new un({getFn:n,fieldNormWeight:r});return o.setKeys(e.map(_r)),o.setSources(t),o.create(),o}function es(e,{getFn:t=P.getFn,fieldNormWeight:n=P.fieldNormWeight}={}){const{keys:r,records:o}=e,s=new un({getFn:t,fieldNormWeight:n});return s.setKeys(r),s.setIndexRecords(o),s}function ut(e,{errors:t=0,currentLocation:n=0,expectedLocation:r=0,distance:o=P.distance,ignoreLocation:s=P.ignoreLocation}={}){const i=t/e.length;if(s)return i;const l=Math.abs(r-n);return o?i+l/o:l?1:i}function ts(e=[],t=P.minMatchCharLength){let n=[],r=-1,o=-1,s=0;for(let i=e.length;s<i;s+=1){let l=e[s];l&&r===-1?r=s:!l&&r!==-1&&(o=s-1,o-r+1>=t&&n.push([r,o]),r=-1)}return e[s-1]&&s-r>=t&&n.push([r,s-1]),n}const Te=32;function ns(e,t,n,{location:r=P.location,distance:o=P.distance,threshold:s=P.threshold,findAllMatches:i=P.findAllMatches,minMatchCharLength:l=P.minMatchCharLength,includeMatches:u=P.includeMatches,ignoreLocation:d=P.ignoreLocation}={}){if(t.length>Te)throw new Error(Wo(Te));const f=t.length,h=e.length,p=Math.max(0,Math.min(r,h));let b=s,g=p;const a=l>1||u,x=a?Array(h):[];let S;for(;(S=e.indexOf(t,g))>-1;){let w=ut(t,{currentLocation:S,expectedLocation:p,distance:o,ignoreLocation:d});if(b=Math.min(w,b),g=S+f,a){let k=0;for(;k<f;)x[S+k]=1,k+=1}}g=-1;let E=[],_=1,C=f+h;const v=1<<f-1;for(let w=0;w<f;w+=1){let k=0,A=C;for(;k<A;)ut(t,{errors:w,currentLocation:p+A,expectedLocation:p,distance:o,ignoreLocation:d})<=b?k=A:C=A,A=Math.floor((C-k)/2+k);C=A;let j=Math.max(1,p-A+1),I=i?h:Math.min(p+A,h)+f,O=Array(I+2);O[I+1]=(1<<w)-1;for(let V=I;V>=j;V-=1){let ee=V-1,ce=n[e.charAt(ee)];if(a&&(x[ee]=+!!ce),O[V]=(O[V+1]<<1|1)&ce,w&&(O[V]|=(E[V+1]|E[V])<<1|1|E[V+1]),O[V]&v&&(_=ut(t,{errors:w,currentLocation:ee,expectedLocation:p,distance:o,ignoreLocation:d}),_<=b)){if(b=_,g=ee,g<=p)break;j=Math.max(1,2*p-g)}}if(ut(t,{errors:w+1,currentLocation:p,expectedLocation:p,distance:o,ignoreLocation:d})>b)break;E=O}const y={isMatch:g>=0,score:Math.max(.001,_)};if(a){const w=ts(x,l);w.length?u&&(y.indices=w):y.isMatch=!1}return y}function rs(e){let t={};for(let n=0,r=e.length;n<r;n+=1){const o=e.charAt(n);t[o]=(t[o]||0)|1<<r-n-1}return t}class Cr{constructor(t,{location:n=P.location,threshold:r=P.threshold,distance:o=P.distance,includeMatches:s=P.includeMatches,findAllMatches:i=P.findAllMatches,minMatchCharLength:l=P.minMatchCharLength,isCaseSensitive:u=P.isCaseSensitive,ignoreLocation:d=P.ignoreLocation}={}){if(this.options={location:n,threshold:r,distance:o,includeMatches:s,findAllMatches:i,minMatchCharLength:l,isCaseSensitive:u,ignoreLocation:d},this.pattern=u?t:t.toLowerCase(),this.chunks=[],!this.pattern.length)return;const f=(p,b)=>{this.chunks.push({pattern:p,alphabet:rs(p),startIndex:b})},h=this.pattern.length;if(h>Te){let p=0;const b=h%Te,g=h-b;for(;p<g;)f(this.pattern.substr(p,Te),p),p+=Te;if(b){const a=h-Te;f(this.pattern.substr(a),a)}}else f(this.pattern,0)}searchIn(t){const{isCaseSensitive:n,includeMatches:r}=this.options;if(n||(t=t.toLowerCase()),this.pattern===t){let g={isMatch:!0,score:0};return r&&(g.indices=[[0,t.length-1]]),g}const{location:o,distance:s,threshold:i,findAllMatches:l,minMatchCharLength:u,ignoreLocation:d}=this.options;let f=[],h=0,p=!1;this.chunks.forEach(({pattern:g,alphabet:a,startIndex:x})=>{const{isMatch:S,score:E,indices:_}=ns(t,g,a,{location:o+x,distance:s,threshold:i,findAllMatches:l,minMatchCharLength:u,includeMatches:r,ignoreLocation:d});S&&(p=!0),h+=E,S&&_&&(f=[...f,..._])});let b={isMatch:p,score:p?h/this.chunks.length:1};return p&&r&&(b.indices=f),b}}class we{constructor(t){this.pattern=t}static isMultiMatch(t){return kn(t,this.multiRegex)}static isSingleMatch(t){return kn(t,this.singleRegex)}search(){}}function kn(e,t){const n=e.match(t);return n?n[1]:null}class os extends we{constructor(t){super(t)}static get type(){return"exact"}static get multiRegex(){return/^="(.*)"$/}static get singleRegex(){return/^=(.*)$/}search(t){const n=t===this.pattern;return{isMatch:n,score:n?0:1,indices:[0,this.pattern.length-1]}}}class ss extends we{constructor(t){super(t)}static get type(){return"inverse-exact"}static get multiRegex(){return/^!"(.*)"$/}static get singleRegex(){return/^!(.*)$/}search(t){const r=t.indexOf(this.pattern)===-1;return{isMatch:r,score:r?0:1,indices:[0,t.length-1]}}}class is extends we{constructor(t){super(t)}static get type(){return"prefix-exact"}static get multiRegex(){return/^\^"(.*)"$/}static get singleRegex(){return/^\^(.*)$/}search(t){const n=t.startsWith(this.pattern);return{isMatch:n,score:n?0:1,indices:[0,this.pattern.length-1]}}}class as extends we{constructor(t){super(t)}static get type(){return"inverse-prefix-exact"}static get multiRegex(){return/^!\^"(.*)"$/}static get singleRegex(){return/^!\^(.*)$/}search(t){const n=!t.startsWith(this.pattern);return{isMatch:n,score:n?0:1,indices:[0,t.length-1]}}}class ls extends we{constructor(t){super(t)}static get type(){return"suffix-exact"}static get multiRegex(){return/^"(.*)"\$$/}static get singleRegex(){return/^(.*)\$$/}search(t){const n=t.endsWith(this.pattern);return{isMatch:n,score:n?0:1,indices:[t.length-this.pattern.length,t.length-1]}}}class cs extends we{constructor(t){super(t)}static get type(){return"inverse-suffix-exact"}static get multiRegex(){return/^!"(.*)"\$$/}static get singleRegex(){return/^!(.*)\$$/}search(t){const n=!t.endsWith(this.pattern);return{isMatch:n,score:n?0:1,indices:[0,t.length-1]}}}class Tr extends we{constructor(t,{location:n=P.location,threshold:r=P.threshold,distance:o=P.distance,includeMatches:s=P.includeMatches,findAllMatches:i=P.findAllMatches,minMatchCharLength:l=P.minMatchCharLength,isCaseSensitive:u=P.isCaseSensitive,ignoreLocation:d=P.ignoreLocation}={}){super(t),this._bitapSearch=new Cr(t,{location:n,threshold:r,distance:o,includeMatches:s,findAllMatches:i,minMatchCharLength:l,isCaseSensitive:u,ignoreLocation:d})}static get type(){return"fuzzy"}static get multiRegex(){return/^"(.*)"$/}static get singleRegex(){return/^(.*)$/}search(t){return this._bitapSearch.searchIn(t)}}class Ir extends we{constructor(t){super(t)}static get type(){return"include"}static get multiRegex(){return/^'"(.*)"$/}static get singleRegex(){return/^'(.*)$/}search(t){let n=0,r;const o=[],s=this.pattern.length;for(;(r=t.indexOf(this.pattern,n))>-1;)n=r+s,o.push([r,n-1]);const i=!!o.length;return{isMatch:i,score:i?0:1,indices:o}}}const Yt=[os,Ir,is,as,cs,ls,ss,Tr],An=Yt.length,us=/ +(?=(?:[^\"]*\"[^\"]*\")*[^\"]*$)/,ds="|";function fs(e,t={}){return e.split(ds).map(n=>{let r=n.trim().split(us).filter(s=>s&&!!s.trim()),o=[];for(let s=0,i=r.length;s<i;s+=1){const l=r[s];let u=!1,d=-1;for(;!u&&++d<An;){const f=Yt[d];let h=f.isMultiMatch(l);h&&(o.push(new f(h,t)),u=!0)}if(!u)for(d=-1;++d<An;){const f=Yt[d];let h=f.isSingleMatch(l);if(h){o.push(new f(h,t));break}}}return o})}const hs=new Set([Tr.type,Ir.type]);class ps{constructor(t,{isCaseSensitive:n=P.isCaseSensitive,includeMatches:r=P.includeMatches,minMatchCharLength:o=P.minMatchCharLength,ignoreLocation:s=P.ignoreLocation,findAllMatches:i=P.findAllMatches,location:l=P.location,threshold:u=P.threshold,distance:d=P.distance}={}){this.query=null,this.options={isCaseSensitive:n,includeMatches:r,minMatchCharLength:o,findAllMatches:i,ignoreLocation:s,location:l,threshold:u,distance:d},this.pattern=n?t:t.toLowerCase(),this.query=fs(this.pattern,this.options)}static condition(t,n){return n.useExtendedSearch}searchIn(t){const n=this.query;if(!n)return{isMatch:!1,score:1};const{includeMatches:r,isCaseSensitive:o}=this.options;t=o?t:t.toLowerCase();let s=0,i=[],l=0;for(let u=0,d=n.length;u<d;u+=1){const f=n[u];i.length=0,s=0;for(let h=0,p=f.length;h<p;h+=1){const b=f[h],{isMatch:g,indices:a,score:x}=b.search(t);if(g){if(s+=1,l+=x,r){const S=b.constructor.type;hs.has(S)?i=[...i,...a]:i.push(a)}}else{l=0,s=0,i.length=0;break}}if(s){let h={isMatch:!0,score:l/s};return r&&(h.indices=i),h}}return{isMatch:!1,score:1}}}const Kt=[];function ms(...e){Kt.push(...e)}function Gt(e,t){for(let n=0,r=Kt.length;n<r;n+=1){let o=Kt[n];if(o.condition(e,t))return new o(e,t)}return new Cr(e,t)}const vt={AND:"$and",OR:"$or"},qt={PATH:"$path",PATTERN:"$val"},Zt=e=>!!(e[vt.AND]||e[vt.OR]),gs=e=>!!e[qt.PATH],ys=e=>!ye(e)&&Sr(e)&&!Zt(e),jn=e=>({[vt.AND]:Object.keys(e).map(t=>({[t]:e[t]}))});function Mr(e,t,{auto:n=!0}={}){const r=o=>{let s=Object.keys(o);const i=gs(o);if(!i&&s.length>1&&!Zt(o))return r(jn(o));if(ys(o)){const u=i?o[qt.PATH]:s[0],d=i?o[qt.PATTERN]:o[u];if(!he(d))throw new Error(Ho(u));const f={keyId:Ut(u),pattern:d};return n&&(f.searcher=Gt(d,t)),f}let l={children:[],operator:s[0]};return s.forEach(u=>{const d=o[u];ye(d)&&d.forEach(f=>{l.children.push(r(f))})}),l};return Zt(e)||(e=jn(e)),r(e)}function xs(e,{ignoreFieldNorm:t=P.ignoreFieldNorm}){e.forEach(n=>{let r=1;n.matches.forEach(({key:o,norm:s,score:i})=>{const l=o?o.weight:null;r*=Math.pow(i===0&&l?Number.EPSILON:i,(l||1)*(t?1:s))}),n.score=r})}function bs(e,t){const n=e.matches;t.matches=[],ne(n)&&n.forEach(r=>{if(!ne(r.indices)||!r.indices.length)return;const{indices:o,value:s}=r;let i={indices:o,value:s};r.key&&(i.key=r.key.src),r.idx>-1&&(i.refIndex=r.idx),t.matches.push(i)})}function vs(e,t){t.score=e.score}function Ss(e,t,{includeMatches:n=P.includeMatches,includeScore:r=P.includeScore}={}){const o=[];return n&&o.push(bs),r&&o.push(vs),e.map(s=>{const{idx:i}=s,l={item:t[i],refIndex:i};return o.length&&o.forEach(u=>{u(s,l)}),l})}class Ve{constructor(t,n={},r){this.options={...P,...n},this.options.useExtendedSearch,this._keyStore=new Yo(this.options.keys),this.setCollection(t,r)}setCollection(t,n){if(this._docs=t,n&&!(n instanceof un))throw new Error(Bo);this._myIndex=n||Er(this.options.keys,this._docs,{getFn:this.options.getFn,fieldNormWeight:this.options.fieldNormWeight})}add(t){ne(t)&&(this._docs.push(t),this._myIndex.add(t))}remove(t=()=>!1){const n=[];for(let r=0,o=this._docs.length;r<o;r+=1){const s=this._docs[r];t(s,r)&&(this.removeAt(r),r-=1,o-=1,n.push(s))}return n}removeAt(t){this._docs.splice(t,1),this._myIndex.removeAt(t)}getIndex(){return this._myIndex}search(t,{limit:n=-1}={}){const{includeMatches:r,includeScore:o,shouldSort:s,sortFn:i,ignoreFieldNorm:l}=this.options;let u=he(t)?he(this._docs[0])?this._searchStringList(t):this._searchObjectList(t):this._searchLogical(t);return xs(u,{ignoreFieldNorm:l}),s&&u.sort(i),vr(n)&&n>-1&&(u=u.slice(0,n)),Ss(u,this._docs,{includeMatches:r,includeScore:o})}_searchStringList(t){const n=Gt(t,this.options),{records:r}=this._myIndex,o=[];return r.forEach(({v:s,i,n:l})=>{if(!ne(s))return;const{isMatch:u,score:d,indices:f}=n.searchIn(s);u&&o.push({item:s,idx:i,matches:[{score:d,value:s,norm:l,indices:f}]})}),o}_searchLogical(t){const n=Mr(t,this.options),r=(l,u,d)=>{if(!l.children){const{keyId:h,searcher:p}=l,b=this._findMatches({key:this._keyStore.get(h),value:this._myIndex.getValueForItemAtKeyId(u,h),searcher:p});return b&&b.length?[{idx:d,item:u,matches:b}]:[]}const f=[];for(let h=0,p=l.children.length;h<p;h+=1){const b=l.children[h],g=r(b,u,d);if(g.length)f.push(...g);else if(l.operator===vt.AND)return[]}return f},o=this._myIndex.records,s={},i=[];return o.forEach(({$:l,i:u})=>{if(ne(l)){let d=r(n,l,u);d.length&&(s[u]||(s[u]={idx:u,item:l,matches:[]},i.push(s[u])),d.forEach(({matches:f})=>{s[u].matches.push(...f)}))}}),i}_searchObjectList(t){const n=Gt(t,this.options),{keys:r,records:o}=this._myIndex,s=[];return o.forEach(({$:i,i:l})=>{if(!ne(i))return;let u=[];r.forEach((d,f)=>{u.push(...this._findMatches({key:d,value:i[f],searcher:n}))}),u.length&&s.push({idx:l,item:i,matches:u})}),s}_findMatches({key:t,value:n,searcher:r}){if(!ne(n))return[];let o=[];if(ye(n))n.forEach(({v:s,i,n:l})=>{if(!ne(s))return;const{isMatch:u,score:d,indices:f}=r.searchIn(s);u&&o.push({score:d,key:t,value:s,idx:i,norm:l,indices:f})});else{const{v:s,n:i}=n,{isMatch:l,score:u,indices:d}=r.searchIn(s);l&&o.push({score:u,key:t,value:s,norm:i,indices:d})}return o}}Ve.version="6.6.2";Ve.createIndex=Er;Ve.parseIndex=es;Ve.config=P;Ve.parseQuery=Mr;ms(ps);const ws={height:"44px",border:"1px solid #dfe1e5",borderRadius:"24px",backgroundColor:"white",boxShadow:"rgba(32, 33, 36, 0.28) 0px 1px 6px 0px",hoverBackgroundColor:"#eee",color:"#212121",fontSize:"16px",fontFamily:"Arial",iconColor:"grey",lineColor:"rgb(232, 234, 237)",placeholderColor:"grey",zIndex:0,clearIconMargin:"3px 14px 0 0",searchIconMargin:"0 0 0 16px"},On={shouldSort:!0,threshold:.6,location:0,distance:100,minMatchCharLength:1,keys:["name"]};function _s(e,t,n){let r;return function(){const o=this,s=arguments,i=function(){r=null,n||e.apply(o,s)};n&&!r&&e.apply(o,s),r&&clearTimeout(r),r=setTimeout(i,t)}}const Es="data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTYiIGhlaWdodD0iMTciIHZpZXdCb3g9IjAgMCAxNiAxNyIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPGNpcmNsZSBjeD0iNy44OTIyMiIgY3k9IjguMzQ5MDEiIHI9IjUuNTk5MDEiIHN0cm9rZT0iIzg1ODU4QSIgc3Ryb2tlLXdpZHRoPSIxLjUiIHN0cm9rZS1saW5lY2FwPSJyb3VuZCIgc3Ryb2tlLWxpbmVqb2luPSJyb3VuZCIvPgo8cGF0aCBkPSJNMTIuNjQyOCAxMy4xODU1TDE0LjQ1NjggMTQuOTk5NSIgc3Ryb2tlPSIjODU4NThBIiBzdHJva2Utd2lkdGg9IjEuNSIgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIiBzdHJva2UtbGluZWpvaW49InJvdW5kIi8+Cjwvc3ZnPgo=",Xt=({showIcon:e})=>e?c.jsx("img",{id:"icon",className:"StyledSearchIcon search-icon",width:20,height:20,src:Es,alt:"icon"}):null;function Cs({results:e=[],onClick:t,setSearchString:n,showIcon:r,maxResults:o,resultStringKeyName:s="name",highlightedItem:i,setHighlightedItem:l,formatResult:u,showNoResultsFlag:d=!0,showNoResultsText:f="No results"}){const h=u||(g=>g[s]),p=g=>{t(g),n(g[s])},b=({event:g,result:a})=>{g.button===0&&(g.preventDefault(),p(a))};return d?c.jsx(Pn,{children:c.jsxs("li",{"data-test":"no-results-message",children:[c.jsx(Xt,{showIcon:r}),c.jsx("div",{className:"ellipsis",children:f})]})}):(e==null?void 0:e.length)<=0&&!d?null:c.jsx(Pn,{children:e.slice(0,o).map((g,a)=>c.jsxs("li",{className:i===a?"selectedSearch":"",id:i===a?"selectedSearch":"",onMouseEnter:()=>l({index:a}),"data-test":"result",onMouseDown:x=>b({event:x,result:g}),onClick:()=>p(g),children:[c.jsx(Xt,{showIcon:r}),c.jsx("div",{className:"ellipsis",children:h(g)})]},`rsa-result-${g.entityId}`))})}const Pn=({children:e})=>c.jsxs("div",{className:"StyledResults",children:[c.jsx("div",{className:"line"}),c.jsx("ul",{id:"autocomplete-results",children:e})]}),Ts=({showClear:e,setSearchString:t,searchString:n,setFocus:r,onClear:o})=>{const s=()=>{t({target:{value:""}}),r(),o()};return!e||!n||(n==null?void 0:n.length)<=0?null:c.jsx("div",{className:"StyledClearIcon clear-icon",onClick:s,children:c.jsx("svg",{width:20,height:20,focusable:"false",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:c.jsx("path",{d:"M19 6.41L17.59 5 12 10.59 6.41 5 5 6.41 10.58 12 5 17.58 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12z"})})})};function Is({searchString:e,setSearchString:t,setHighlightedItem:n,eraseResults:r,autoFocus:o,onFocus:s,onClear:i,placeholder:l,showIcon:u=!0,showClear:d=!0,maxLength:f,baseUrl:h}){const p=T.useRef(null);let b=!0;const g=()=>{b=!1,p!=null&&p.current&&p.current.focus(),b=!0},a=S=>{b&&s(S)},x=f?{maxLength:f}:{};return T.useEffect(()=>{document.querySelector("global-topbar");const S=E=>{const _=document.getElementById("AddTagButton"),C=document.getElementsByClassName("btn-edit");["a","e","t"].includes(E.key.toLowerCase())&&((C==null?void 0:C.length)>0&&C[0].addEventListener("click",y=>{const w=document.querySelector("global-topbar"),k=w!=null?w.shadowRoot:document,A=k.getElementById("GlobalSearchInput");k.activeElement===A?(y.preventDefault(),y.stopPropagation(),console.log("Shadow DOM keydown:",y.key)):y.click()},!0),_!=null&&_.addEventListener("click",y=>{const w=document.querySelector("global-topbar"),k=w!=null?w.shadowRoot:document,A=k.getElementById("GlobalSearchInput");k.activeElement===A?(y.preventDefault(),y.stopPropagation(),console.log("Shadow DOM keydown:",y.key)):y.click()},!0))};return document.addEventListener("keydown",S,!0),()=>document.removeEventListener("keydown",S,!0)},[]),c.jsxs("div",{className:"StyledSearchInput",children:[c.jsx(Xt,{showIcon:u}),c.jsx("input",{type:"text",name:"topbar-search",className:"topbar-search-input",id:"GlobalSearchInput",ref:p,spellCheck:!1,autoComplete:"off",value:e.replace(/(<([^>]+)>)/gi,""),onChange:t,onFocus:a,placeholder:l,autoFocus:o,onBlur:()=>r(),onKeyDown:S=>{if(S.key==="Enter"){const E=document.querySelector("global-topbar");if((E!=null?E.shadowRoot:document).getElementById("selectedSearch")===null){console.log("enter",S);const C=S.currentTarget.value;window.location.href=`${h}/stella/page/Search/Index?Term=${C}`;return}}n({event:S})},"data-test":"search-input",...x}),c.jsx(Ts,{showClear:d,setSearchString:t,searchString:e,onClear:i,setFocus:g})]})}const Ms=200,ks=10;function As({items:e=[],fuseOptions:t=On,inputDebounce:n=Ms,onSearch:r=()=>{},onHover:o=()=>{},onSelect:s=()=>{},onFocus:i=()=>{},onClear:l=()=>{},searchOnFocus:u=!0,showIcon:d=!0,showClear:f=!0,maxResults:h=ks,placeholder:p="",autoFocus:b=!1,styling:g={},resultStringKeyName:a="name",inputSearchString:x="",formatResult:S,showNoResults:E=!0,showNoResultsText:_="No results",showItemsOnFocus:C=!1,maxLength:v=0,baseUrl:y=""}){({...ws,...g});const w={...On,...t},k=new Ve(e,w);k.setCollection(e);const[A,j]=T.useState(x),[I,O]=T.useState([]),[N,V]=T.useState(-1),[ee,ce]=T.useState(!1),[Ee,ge]=T.useState(!1),[Ge,be]=T.useState(!1),[Me,ke]=T.useState(!1);T.useEffect(()=>{j(x);const R=setTimeout(()=>O(lt(x)),0);return()=>clearTimeout(R)},[x]),T.useEffect(()=>{(A==null?void 0:A.length)>=3?e&&(e==null?void 0:e.length)>0&&O(e):O([])},[e]),T.useEffect(()=>{const R=()=>{Oe(),ke(!1)};return document.addEventListener("click",R),()=>document.removeEventListener("click",R)},[]),T.useEffect(()=>{(()=>{E&&A.length>0&&!Ee&&I.length===0&&!ee?be(!0):be(!1),C&&I.length===0&&A.length===0&&Me&&O(e.slice(0,h))})()},[Ee,E,ee,A,I,C,Me]);const Ae=R=>{u&&i(R),ke(!0)},ue=R=>{let M=[];(R==null?void 0:R.length)>0&&(M=lt(R)),O(M),r(R,M),ge(!1)},je=T.useCallback(n>0?_s(R=>ue(R),n):R=>ue(R),[e]),Dt=R=>{Oe(),s(R),j(R[a]),V(0)},lt=R=>k.search(R,{limit:h}).map(M=>({...M.item})).slice(0,h),Lt=({target:R})=>{const M=R.value;j(M),je(M),ge(!0),ee&&ce(!1)},Oe=()=>{O([]),ce(!0)},ct=({index:R,event:M})=>{let ve=-1;const Ce=Pe=>{V(Pe),I!=null&&I[Pe]&&o(I[Pe])};if(R!==void 0)V(R),I!=null&&I[R]&&o(I[R]);else if(M)switch(M.key){case"Enter":I.length>0&&I[N]?(M.preventDefault(),s(I[N])):r(A,I),V(-1),Oe();break;case"ArrowUp":M.preventDefault(),ve=N>-1?N-1:I.length-1,Ce(ve);break;case"ArrowDown":M.preventDefault(),ve=N<I.length-1?N+1:-1,Ce(ve);break}};return c.jsx(c.Fragment,{children:c.jsxs("div",{className:"StyledReactSearchAutocomplete",children:[c.jsx("div",{className:"wrapper",children:c.jsx(Is,{searchString:A,setSearchString:Lt,eraseResults:Oe,autoFocus:b,onFocus:Ae,onClear:l,placeholder:p,showIcon:!0,showClear:f,setHighlightedItem:ct,maxLength:v,baseUrl:y})}),c.jsx(Cs,{results:I,onClick:Dt,setSearchString:j,showIcon:d,maxResults:h,resultStringKeyName:a,formatResult:S,highlightedItem:N,setHighlightedItem:ct,showNoResultsFlag:Ge,showNoResultsText:_})]})})}function js({classNames:e="",...t}){const{logo:n,user:r,baseUrl:o,notiPath:s,style:i,customColors:l,notiprops:u,isBrand:d,logout:f}=t,h={...i,color:(l==null?void 0:l.headerTextColor)||"white",backgroundColor:(l==null?void 0:l.headerBgColor)||"black"},[p,b]=T.useState(!1),{Term:g}=gr.useParams();console.log("term",g);const[a,x]=T.useState([]),[S,E]=T.useState([]),_=Po({baseUrl:o});console.log("searchPermission",_.hasPermission),T.useEffect(()=>{a.length>=3?C(a):E([])},[a]);const C=async j=>{await fetch(`${o}/stella/page/Search/Suggestions?term=${j}`).then(I=>I.json()).then(I=>{E(I),console.log(I)}).catch(I=>{console.error(I)})},v=j=>{console.log(j)},y=(j,I)=>{x(j),console.log(j,I)},w=j=>{const I=j.entityType,O=j.entityId;switch(I){case"Zone":document.location.href=o+"/stella/page/SiteManagement/Zone/Details/"+O;return;case"Location":document.location.href=o+"/stella/page/SiteManagement/Location/Details/"+O;return;case"Company":document.location.href=o+"/stella/page/SiteManagement/Company/Details/"+O;return;default:console.log(`Unsure how to navigate to ${I} ${O}`);return}},k=()=>{const j=document.querySelector("global-topbar"),O=(j!=null?j.shadowRoot:document).getElementById("GlobalSearchInput");O&&O.value.length>=3&&(setTimeout(()=>{},1e3),C(O.value))},A=j=>j.entityType==="Location"?c.jsxs(c.Fragment,{children:[c.jsx("div",{dangerouslySetInnerHTML:{__html:j.name}})," ",c.jsxs("div",{style:{fontSize:"0.6em"},children:["Status: ",j.entityStatus]})]}):c.jsx(c.Fragment,{children:c.jsx("div",{dangerouslySetInnerHTML:{__html:j.name}})});return c.jsxs(m.StyleWrapper,{styles:[Eo,To,yr,Io,Oo,Co],style:{zIndex:1202},id:"topbar-wrapper",children:[c.jsx("nav",{className:`navbar-wrapper ${e}`,style:l?h:i,children:c.jsxs("div",{className:"navbar-container",children:[c.jsx("a",{href:"/home",className:"logo-container",children:c.jsx("img",{src:n||"#",alt:" ",style:{maxHeight:"40px"}})}),c.jsxs("div",{className:"right-side-container",children:[d&&_.hasPermission?c.jsx("span",{children:c.jsx("label",{className:"topbar-search-label",htmlFor:"topbar-search",children:c.jsx("div",{id:"autocomplete",style:{width:223},children:c.jsx(As,{items:S,onSearch:y,onHover:v,onSelect:w,onFocus:k,autoFocus:!0,inputDebounce:300,placeholder:"Search",formatResult:A,searchOnFocus:!0,showIcon:!1,showNoResults:!1})})})}):"",t.customElement,c.jsx("span",{children:c.jsxs(m.CustomOpenListProvider,{children:[c.jsx(xo,{baseUrl:u.baseUrl,path:u.path,apiKey:u.apiKey,authDomain:u.authDomain,projectId:u.projectId,storageBucket:u.storageBucket,messagingSenderId:u.messagingSenderId,appId:u.appId,measurementId:u.measurementId,vapidKey:u.vapidKey}),c.jsx(_o,{iconColor:l==null?void 0:l.headerTextColor,baseUrl:o,notiPath:s,brandColors:l})]})}),c.jsx(kr,{}),c.jsxs("div",{className:"userContainer",children:[c.jsx(Os,{primaryColor:l==null?void 0:l.headerTextColor,avatarUrl:r==null?void 0:r.avatarUrl,userName:r==null?void 0:r.firstName,setShowConfirmModal:b}),c.jsx("p",{className:"userFullName",style:{color:l==null?void 0:l.headerTextColor,width:t.isFetching?"100px":"auto"},children:t.isFetching?c.jsx(jo,{baseColor:"#ebebeb26",highlightColor:"#f5f5f57d",style:{lineHeight:"unset"}}):r?r.firstName+" "+r.lastName:"Unknown User"})]})]})]})}),c.jsx(m.LogoutConfirmModal,{isOpen:p,onClose:()=>b(!1),onConfirm:f})]})}function kr(){var i;const e=[{value:m.Language.en,element:c.jsx(Mo,{})},{value:m.Language.de,element:c.jsx($o,{})}],[t,n]=T.useState(!1);T.useState(new Array(e.length).fill(!1));const{language:r,setLanguage:o}=m.useCustomTranslation();T.useEffect(()=>{br({childrenClass:"languageDropdown",action(){n(!1)}})},[]);const s=(i=e.find(l=>l.value==r))==null?void 0:i.element;return c.jsxs(c.Fragment,{children:[c.jsx("style",{children:No}),c.jsx("div",{className:"languageDropdownContainer",style:{position:"relative"},children:c.jsx("div",{className:"languageDropdown",onClick:()=>{n(!t)},children:s})})]})}function Os({avatarUrl:e,userName:t}){const[n,r]=T.useState(!1),o=T.useRef(null);return T.useRef(null),T.useState(!1),T.useState(!1),T.useEffect(()=>{br({childrenClass:"userAvatar",action(){r(!1)}})},[]),c.jsx(c.Fragment,{children:c.jsx("div",{style:{position:"relative"},children:e?c.jsx("img",{onClick:()=>r(!n),ref:o,alt:"user avatar",className:"userAvatar",src:e}):c.jsx("div",{onClick:()=>r(!n),ref:o,className:"userAvatar",id:"userAvatarNull",children:(t==null?void 0:t.charAt(0))??""})})})}function Ps(e){const{user:t,logout:n,isFetching:r}=m.useAuth();return c.jsx(js,{...e,isFetching:r,user:t,logout:n})}const $s=e=>c.jsx(m.Q,{autoClose:3e3,hideProgressBar:!0,closeButton:!1,position:"bottom-left",newestOnTop:!0,pauseOnFocusLoss:!1,style:{fontFamily:"inherit"},...e}),Ns=e=>c.jsx(m.Q,{autoClose:3e3,hideProgressBar:!0,closeButton:!1,position:"bottom-left",newestOnTop:!0,pauseOnFocusLoss:!1,style:{fontFamily:"inherit",width:"610px"},containerId:"toastifyNotification",...e}),Rs=({children:e})=>c.jsxs($.Stack,{justifyContent:"center",alignItems:"center",sx:{backgroundColor:"#FAFAFA",minHeight:"450px"},children:[c.jsx(zs,{}),e]});function zs(){return c.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:"150",height:"150",fill:"none",viewBox:"0 0 150 150",children:[c.jsx("path",{fill:"#F9FAFB",d:"M120.843 66.48a2.885 2.885 0 100-5.77 2.885 2.885 0 000 5.77zM75 127.04c28.319 0 51.276-9.006 51.276-20.115 0-11.11-22.957-20.115-51.276-20.115-28.32 0-51.276 9.006-51.276 20.115 0 11.109 22.957 20.115 51.276 20.115z"}),c.jsx("path",{fill:"#DDD",d:"M73.354 34.489l-2.13 13.355H57.378L73.354 34.49z"}),c.jsx("path",{fill:"#F9FAFB",d:"M71.223 48.157H57.38a.313.313 0 01-.295-.206.313.313 0 01.093-.346L73.154 34.25a.313.313 0 01.508.288l-2.13 13.357a.308.308 0 01-.308.263zm-12.983-.625h12.717l1.957-12.268L58.24 47.532zM74.63 59.596a.314.314 0 01-.252-.128l-.844-1.15a.314.314 0 01.043-.418.311.311 0 01.42.003c.005.005.012.01.018.018a.188.188 0 01.015.018l.045.06.807 1.1a.312.312 0 01-.252.497z"}),c.jsx("path",{fill:"#000",d:"M74.63 59.596a.314.314 0 01-.252-.128l-.844-1.15a.314.314 0 01.043-.418.311.311 0 01.42.003c.005.005.012.01.018.018a.188.188 0 01.015.018l.045.06.807 1.1a.312.312 0 01-.252.497z"}),c.jsx("path",{fill:"#85858A",d:"M74.454 58.965l3.503 4.775c-.209-.284-.431-.56-.667-.83-2.59-2.952-6.367-4.428-10.378-4.428-1.74 0-3.524.278-5.275.833l-3.503-4.775a17.477 17.477 0 015.275-.833c4.011 0 7.788 1.476 10.378 4.428.236.27.458.546.667.83z"}),c.jsx("path",{fill:"#F9FAFB",d:"M77.957 64.053a.314.314 0 01-.253-.128c-.203-.278-.422-.55-.65-.81-2.446-2.786-6.047-4.32-10.143-4.32-1.727 0-3.468.274-5.18.818a.316.316 0 01-.348-.113l-3.503-4.775a.312.312 0 01.158-.483 17.748 17.748 0 015.37-.847c4.278 0 8.047 1.61 10.612 4.533.24.274.47.561.685.853l3.5 4.772.003.003a.311.311 0 01-.251.497zM66.912 58.17c3.207 0 6.128.905 8.471 2.59l-1.18-1.61c-.203-.278-.423-.55-.65-.81-2.446-2.786-6.048-4.32-10.144-4.32-1.586 0-3.186.231-4.762.691l3.11 4.24a17.67 17.67 0 015.155-.782zM56.104 81.024a.312.312 0 01-.233-.105l-.049-.055a8.826 8.826 0 01-.458-.571l-3.503-4.775a.312.312 0 01.504-.37l.003.005c.132.179.274.355.422.525l.045.05.02.023 3.502 4.775a.312.312 0 01-.253.498z"}),c.jsx("path",{fill:"#000",d:"M56.104 81.024a.312.312 0 01-.233-.105l-.049-.055a8.826 8.826 0 01-.458-.571l-3.503-4.775a.312.312 0 01.504-.37l.003.005c.132.179.274.355.422.525l.045.05.02.023 3.502 4.775a.312.312 0 01-.253.498z"}),c.jsx("path",{fill:"#85858A",d:"M52.855 76.208l3.503 4.775a7.826 7.826 0 01-.743-.875l-3.503-4.775a7.8 7.8 0 00.743.875z"}),c.jsx("path",{fill:"#F9FAFB",d:"M56.358 81.296a.311.311 0 01-.223-.095 7.86 7.86 0 01-.773-.908l-3.502-4.775a.312.312 0 11.504-.37l.003.005a7.954 7.954 0 00.712.837l.03.034 3.502 4.775a.313.313 0 01-.253.497z"}),c.jsx("path",{fill:"#F9FAFB",d:"M56.358 81.296a.311.311 0 01-.223-.095 7.361 7.361 0 01-.265-.283l-.01-.011c-.036-.044-.078-.103-.117-.157l-.043-.06-3.353-4.57a.312.312 0 01.485-.394c.08.09.163.177.246.263l.03.033 3.502 4.775a.313.313 0 01-.252.499z"}),c.jsx("path",{fill:"#000",d:"M56.358 81.296a.311.311 0 01-.223-.095 7.361 7.361 0 01-.265-.283l-.01-.011c-.036-.044-.078-.103-.117-.157l-.043-.06-3.353-4.57a.312.312 0 01.485-.394c.08.09.163.177.246.263l.03.033 3.502 4.775a.313.313 0 01-.252.499z"}),c.jsx("path",{fill:"#85858A",d:"M52.855 76.208l3.503 4.775a7.826 7.826 0 01-.743-.875l-3.503-4.775a7.8 7.8 0 00.743.875z"}),c.jsx("path",{fill:"#F9FAFB",d:"M56.358 81.296a.311.311 0 01-.223-.095 7.86 7.86 0 01-.773-.908l-3.502-4.775a.312.312 0 11.504-.37l.003.005a7.954 7.954 0 00.712.837l.03.034 3.502 4.775a.313.313 0 01-.253.497z"}),c.jsx("path",{fill:"#EEE",d:"M71.03 70.342a11.476 11.476 0 01-1.11 2.438 12.543 12.543 0 01-2.703 3.136c-2.342 1.96-5.159 2.937-7.82 2.937-2.66 0-5.164-.98-6.88-2.938C49.078 72 50.09 65.651 54.775 61.738c2.343-1.96 5.16-2.938 7.82-2.938s5.165.98 6.881 2.938a8.329 8.329 0 01.754 1.008 8.034 8.034 0 011.056 2.539c.376 1.62.28 3.364-.257 5.057z"}),c.jsx("path",{fill:"#98A2B3",d:"M71.289 65.285h-9.161c-.967 0-1.632-.754-1.482-1.688.148-.933 1.052-1.687 2.02-1.687h6.956a8.024 8.024 0 011.667 3.375zM71.03 70.342a11.476 11.476 0 01-1.11 2.438c-.155.256-.32.51-.5.76h-8.705c-.918 0-1.543-.716-1.403-1.6.142-.883.997-1.6 1.913-1.6h9.805v.002z"}),c.jsx("path",{fill:"#F7F9FC",d:"M73.632 34.257h38.646l-.591 3.703-10.155 63.675H48.801l3.071-19.259c2.022 1.048 4.33 1.571 6.72 1.571 3.213 0 6.576-.946 9.602-2.839h27.097c.471 0 .909-.366.983-.82.072-.452-.25-.819-.72-.819H70.44c2.295-1.933 3.996-4.255 5.068-6.708h21.116c.47 0 .908-.367.98-.818.072-.453-.25-.82-.72-.82H76.129c.712-2.236.91-4.531.57-6.71h21.256c.47 0 .908-.366.98-.817.073-.453-.25-.821-.719-.821H76.333a12.247 12.247 0 00-2.544-4.642c-2.59-2.951-6.367-4.427-10.378-4.427-2.389 0-4.86.523-7.215 1.569l1.184-7.432h13.845l2.13-13.354.277-.232zM93.96 89.454c.47 0 .908-.366.982-.82.072-.452-.25-.819-.72-.819H61.258c-.468 0-.907.367-.979.818-.072.453.25.821.718.821h32.964zm5.325-33.386c.47 0 .908-.367.981-.818.072-.453-.25-.82-.72-.82H77.201c-.47 0-.907.366-.979.82-.072.451.247.818.718.818h22.346z"}),c.jsx("path",{fill:"#F9FAFB",d:"M101.532 101.946h-52.73a.311.311 0 01-.309-.361l3.072-19.259a.312.312 0 01.453-.228c1.942 1.006 4.215 1.537 6.576 1.537 3.255 0 6.517-.966 9.435-2.792a.317.317 0 01.165-.047h27.098c.316 0 .625-.256.672-.557a.39.39 0 00-.08-.32.423.423 0 00-.331-.137H70.44a.313.313 0 01-.201-.551c2.175-1.834 3.898-4.114 4.983-6.595a.313.313 0 01.286-.187h21.116c.316 0 .625-.254.672-.556a.392.392 0 00-.08-.32.423.423 0 00-.331-.138H76.128a.314.314 0 01-.299-.407c.696-2.182.889-4.453.56-6.566a.31.31 0 01.308-.361h21.256c.316 0 .625-.254.672-.555a.392.392 0 00-.08-.321.423.423 0 00-.331-.138h-21.88a.312.312 0 01-.3-.225 11.883 11.883 0 00-2.481-4.523c-2.446-2.786-6.047-4.32-10.143-4.32-2.367 0-4.818.532-7.09 1.542a.316.316 0 01-.317-.037.31.31 0 01-.118-.298l1.184-7.431a.313.313 0 01.309-.264h13.578l2.087-13.092a.314.314 0 01.107-.19l.278-.235a.316.316 0 01.201-.074h38.649a.312.312 0 01.308.361L101.84 101.68a.31.31 0 01-.308.267zm-52.365-.625h52.098l10.646-66.753H73.746l-.102.086-2.11 13.24a.313.313 0 01-.309.264H57.647l-1.054 6.61c2.201-.9 4.546-1.373 6.818-1.373 4.278 0 8.047 1.61 10.613 4.533a12.512 12.512 0 012.541 4.535h21.652c.32 0 .614.13.807.356.191.225.27.518.22.825-.097.607-.663 1.082-1.29 1.082H77.058c.253 1.971.078 4.059-.51 6.084h20.337c.32 0 .614.13.807.357.191.225.27.518.22.825-.097.607-.663 1.082-1.29 1.082h-20.91c-1.019 2.252-2.544 4.337-4.444 6.083h24.285c.32 0 .614.13.807.357.191.225.27.517.22.824-.097.607-.663 1.083-1.29 1.083H68.283c-2.998 1.858-6.347 2.839-9.69 2.839-2.307 0-4.536-.488-6.48-1.416l-2.946 18.477zM93.96 89.767H60.997c-.318 0-.612-.13-.805-.357a1.004 1.004 0 01-.221-.827c.097-.607.662-1.082 1.287-1.082h32.964c.32 0 .614.131.807.357.192.225.27.517.22.824-.095.608-.661 1.085-1.288 1.085zm-32.703-1.64c-.315 0-.622.255-.67.556a.395.395 0 00.079.323.42.42 0 00.329.137H93.96c.316 0 .625-.255.672-.557a.39.39 0 00-.08-.32.423.423 0 00-.331-.137H61.258v-.001zm38.028-31.746H76.94c-.32 0-.612-.13-.805-.356a1.004 1.004 0 01-.221-.824c.097-.608.662-1.083 1.287-1.083h22.346c.32 0 .614.13.807.357.192.225.271.518.221.825-.096.606-.663 1.08-1.289 1.08zm-22.085-1.64c-.315 0-.622.256-.67.558a.387.387 0 00.079.32.423.423 0 00.33.135h22.346c.317 0 .625-.254.672-.555a.392.392 0 00-.079-.321.423.423 0 00-.332-.138H77.201v.002z"}),c.jsx("path",{fill:"#DDD",d:"M55.21 61.447l-.332 2.085c-.052.039-.103.078-.153.12-1.13.942-1.372 2.473-.544 3.416.036.042.075.082.115.12l-1.44 9.019a8.348 8.348 0 01-.3-.325c-1.709-1.949-2.312-4.503-1.903-7.056.407-2.554 1.823-5.106 4.154-7.054.13-.11.267-.22.403-.325zM96.884 71.122c.471 0 .792.367.72.821-.073.451-.511.818-.98.818H75.507c.237-.54.444-1.087.618-1.639h20.758z"}),c.jsx("path",{fill:"#DDD",d:"M96.623 73.074H75.508a.31.31 0 01-.261-.142.316.316 0 01-.025-.296c.235-.536.439-1.076.607-1.607a.31.31 0 01.299-.218h20.756c.32 0 .614.13.807.357.192.225.271.518.221.825-.096.606-.662 1.08-1.289 1.08zm-20.643-.625h20.643c.317 0 .625-.254.672-.556a.392.392 0 00-.079-.32.423.423 0 00-.332-.138h-20.53a16.42 16.42 0 01-.374 1.014zM95.555 79.468c.47 0 .791.367.719.818-.072.453-.511.821-.982.821H68.193a19.625 19.625 0 002.248-1.638h25.114z"}),c.jsx("path",{fill:"#DDD",d:"M95.292 81.42H68.193a.313.313 0 01-.165-.578 19.558 19.558 0 002.148-1.56l.059-.049a.33.33 0 01.205-.076h25.114c.32 0 .614.13.807.357.192.225.27.517.221.824-.097.605-.662 1.082-1.29 1.082zm-26.063-.626h26.063c.316 0 .625-.255.672-.556a.39.39 0 00-.08-.32.423.423 0 00-.331-.137h-25c-.425.355-.868.694-1.324 1.013z"}),c.jsx("path",{fill:"#EEE",d:"M115.432 38.557l-.495 3.106-.095.598-10.06 63.074H51.517l-2.716-3.702h52.731l10.155-63.672.592-3.704 3.153 4.3z"}),c.jsx("path",{fill:"#F9FAFB",d:"M104.782 105.647H51.518a.31.31 0 01-.252-.127l-2.716-3.702a.31.31 0 01-.026-.326.31.31 0 01.279-.171h52.464l10.113-63.41.592-3.704a.311.311 0 01.56-.135l3.153 4.3c.05.067.069.152.057.234l-.591 3.704-10.061 63.075a.312.312 0 01-.308.262zm-53.107-.625h52.839l10.019-62.81.57-3.576-2.634-3.592-.473 2.966-10.156 63.672a.313.313 0 01-.308.264H49.418l2.257 3.076z"}),c.jsx("path",{fill:"#DDD",d:"M108.03 109.039l3.503 4.775H58.8l-3.503-4.775h52.733z"}),c.jsx("path",{fill:"#F9FAFB",d:"M111.533 114.126H58.8a.31.31 0 01-.252-.127l-3.503-4.775a.312.312 0 01.253-.498h52.734c.1 0 .193.048.251.128l3.503 4.775a.314.314 0 01-.253.497zm-52.575-.625h51.958l-3.044-4.15H55.913l3.045 4.15z"}),c.jsx("path",{fill:"#F7F9FC",d:"M118.776 41.663l-10.746 67.376H55.297l.59-3.704h48.895l10.154-63.672h3.84z"}),c.jsx("path",{fill:"#F9FAFB",d:"M108.03 109.351H55.297a.313.313 0 01-.308-.361l.59-3.703a.313.313 0 01.308-.263h48.628l10.112-63.41a.314.314 0 01.309-.264h3.84a.313.313 0 01.308.361l-10.745 67.376a.313.313 0 01-.309.264zm-52.366-.625h52.1l10.645-66.751h-3.207l-10.112 63.41a.314.314 0 01-.308.264H56.154l-.49 3.077z"}),c.jsx("path",{fill:"#EEE",d:"M118.776 41.663l3.503 4.775-10.746 67.376-3.503-4.775 10.746-67.376z"}),c.jsx("path",{fill:"#F9FAFB",d:"M111.533 114.126a.306.306 0 01-.251-.127l-3.503-4.775a.312.312 0 01-.057-.235l10.746-67.377a.309.309 0 01.234-.254.309.309 0 01.325.12l3.503 4.775a.31.31 0 01.057.234l-10.746 67.377a.309.309 0 01-.308.262zm-3.174-5.168l2.982 4.067 10.607-66.508-2.982-4.067-10.607 66.508z"}),c.jsx("path",{fill:"#85858A",d:"M49.987 81.18L31.79 96.393c-.043.036-.088.068-.132.101l-.061.046c-.036.025-.074.047-.11.071-.026.017-.053.035-.079.05-.02.011-.04.02-.06.032a2.11 2.11 0 01-.148.075l-.055.022a2.406 2.406 0 01-.294.107l-.076.021c-.04.01-.08.02-.121.028l-.074.014a4.26 4.26 0 01-.132.018l-.062.007c-.064.005-.13.008-.193.008-.545 0-1.056-.2-1.407-.6l-.649-.739a1.784 1.784 0 01-.09-.112l3.503 4.775c.027.039.058.076.09.112l.648.739c.352.4.863.6 1.408.6.063 0 .127-.003.193-.008.02-.002.041-.006.062-.007l.132-.018.074-.014c.04-.009.08-.017.12-.028l.077-.021.055-.015.04-.015c.067-.023.134-.049.2-.077l.04-.015c.005-.003.01-.006.015-.007.05-.024.098-.049.148-.075.019-.01.037-.017.055-.028l.005-.004c.026-.015.053-.033.08-.05.033-.021.067-.04.1-.064a.025.025 0 00.009-.007l.061-.046c.034-.025.068-.048.1-.075a.364.364 0 00.032-.026l18.197-15.213-3.504-4.775z"}),c.jsx("path",{fill:"#F9FAFB",d:"M33.694 102.081c-.658 0-1.241-.252-1.641-.707l-.65-.739a1.901 1.901 0 01-.106-.134l-3.501-4.772c0-.001-.002-.001-.002-.003a.312.312 0 01.503-.369l.001.003c.023.03.046.06.071.089l.649.739c.279.318.696.493 1.172.493.056 0 .11-.003.165-.009l.056-.007c.037-.004.075-.008.114-.015l.047-.01.018-.004.106-.023.068-.019a2.276 2.276 0 00.257-.093l.047-.019c.044-.02.087-.043.13-.067l.053-.028c.011-.006.024-.013.035-.022l.058-.037a2.329 2.329 0 00.099-.067l.04-.03c.035-.027.07-.052.104-.081l18.198-15.213a.314.314 0 01.45.055l3.504 4.775a.313.313 0 01-.052.425l-18.23 15.246c-.03.023-.059.045-.09.066l-.04.029-.05.038a1.955 1.955 0 01-.095.062l-.052.032a.92.92 0 01-.058.036c-.006.005-.011.007-.017.01a.658.658 0 01-.044.022l-.013.006c-.055.029-.11.058-.166.085l-.017.008-.044.018c-.075.032-.15.061-.225.086-.013.006-.03.011-.045.017l-.046.012-.015.004-.087.024c-.046.011-.09.022-.137.031l-.015.002-.07.014c-.05.009-.1.016-.148.021l-.018.003a1.864 1.864 0 01-.27.017zm-4.003-4.825l2.112 2.877c.022.031.047.061.072.091l.648.739c.311.355.8.531 1.338.486l.054-.007a1.482 1.482 0 00.161-.025l.017-.003a1.73 1.73 0 00.105-.024c.023-.005.045-.012.068-.018l.048-.012a.295.295 0 01.034-.014c.059-.02.118-.042.177-.068.01-.006.023-.01.036-.014l.01-.004c.045-.021.089-.045.133-.068a.296.296 0 01.035-.018l.01-.006c.002-.003.006-.004.01-.005l.034-.021.065-.041a.622.622 0 00.057-.036l.033-.025.053-.04.063-.047.027-.022 17.974-15.025-3.132-4.271L31.99 96.633c-.044.037-.089.071-.135.105l-.03.023c-.017.013-.032.025-.049.036-.033.023-.067.043-.1.064l-.048.03c-.021.015-.042.027-.063.04-.017.01-.033.018-.05.026l-.018.01c-.054.029-.11.058-.165.084-.016.007-.03.014-.047.02l-.016.007a2.6 2.6 0 01-.554.173l-.015.003c-.022.004-.046.01-.068.013-.05.008-.099.015-.149.02l-.02.003a2.429 2.429 0 01-.772-.035z"}),c.jsx("path",{fill:"#98A2B3",d:"M76.699 64.414a12.649 12.649 0 00-.367-1.639 12.218 12.218 0 00-2.544-4.642c-2.59-2.951-6.367-4.426-10.378-4.426-2.39 0-4.861.522-7.216 1.57a19.487 19.487 0 00-4.58 2.862c-6.318 5.28-8.203 13.503-4.815 19.405l-18.2 15.216c-.956.797-1.162 2.093-.462 2.894l.65.74c.35.4.863.6 1.405.6a2.51 2.51 0 001.597-.6l18.198-15.212a13.02 13.02 0 001.885 1.193c2.022 1.046 4.33 1.57 6.721 1.57 3.214 0 6.576-.944 9.6-2.838.753-.47 1.482-.999 2.249-1.639 2.293-1.935 3.996-4.255 5.068-6.71.234-.537.443-1.087.616-1.638.713-2.231.911-4.53.573-6.706zm-9.481 11.503c-2.343 1.96-5.16 2.937-7.82 2.937s-5.165-.979-6.881-2.937c-3.438-3.917-2.425-10.264 2.26-14.178 2.342-1.96 5.16-2.938 7.82-2.938s5.164.98 6.88 2.938a8.34 8.34 0 01.754 1.008 8.029 8.029 0 011.056 2.54c.375 1.62.281 3.364-.258 5.056a11.476 11.476 0 01-1.11 2.438 12.45 12.45 0 01-2.701 3.136z"}),c.jsx("path",{fill:"#F9FAFB",d:"M30.192 97.307c-.659 0-1.242-.251-1.64-.708l-.65-.74a2.048 2.048 0 01-.486-1.52c.055-.68.412-1.344.982-1.82L46.4 77.471c-1.585-2.903-1.989-6.42-1.136-9.936.882-3.635 3.066-7.057 6.151-9.636a19.8 19.8 0 014.654-2.907c2.347-1.045 4.886-1.597 7.343-1.597 4.278 0 8.048 1.61 10.613 4.533a12.492 12.492 0 012.61 4.76c.16.543.286 1.106.375 1.677.344 2.207.141 4.577-.584 6.85a16.681 16.681 0 01-.627 1.668c-1.123 2.569-2.906 4.927-5.155 6.824a20.11 20.11 0 01-2.284 1.664c-3.014 1.887-6.39 2.886-9.766 2.886-2.46 0-4.833-.556-6.864-1.606A13.36 13.36 0 0150 81.58L31.989 96.633a2.817 2.817 0 01-1.797.674zM63.41 54.019c-2.37 0-4.82.534-7.089 1.544a19.182 19.182 0 00-4.507 2.815c-6.13 5.123-8.126 13.12-4.744 19.01a.313.313 0 01-.071.395L28.799 93c-.442.37-.72.875-.76 1.389-.032.401.086.777.333 1.06l.649.738c.279.32.694.495 1.17.495.495 0 .992-.188 1.398-.528l18.198-15.211a.313.313 0 01.39-.009c.583.443 1.2.835 1.84 1.164 1.941 1.005 4.216 1.536 6.577 1.536 3.257 0 6.52-.965 9.434-2.79.751-.47 1.476-.997 2.213-1.614 2.175-1.833 3.898-4.114 4.983-6.594.234-.536.437-1.077.605-1.607.696-2.184.89-4.453.561-6.565a12.39 12.39 0 00-.357-1.598 11.865 11.865 0 00-2.48-4.525c-2.445-2.786-6.048-4.32-10.142-4.32zm-4.014 25.148c-2.868 0-5.396-1.08-7.117-3.045-1.536-1.75-2.276-4.066-2.086-6.525.234-3.015 1.83-5.968 4.38-8.098 2.323-1.942 5.172-3.011 8.023-3.011 2.868 0 5.396 1.08 7.117 3.044a8.743 8.743 0 01.783 1.046 8.385 8.385 0 011.097 2.637c.385 1.66.293 3.466-.265 5.221a11.584 11.584 0 01-1.14 2.506 12.926 12.926 0 01-2.77 3.215c-2.322 1.94-5.17 3.01-8.022 3.01zm3.2-20.054c-2.704 0-5.411 1.018-7.62 2.865-2.423 2.023-3.94 4.82-4.16 7.668-.177 2.289.51 4.442 1.934 6.064 1.6 1.826 3.961 2.832 6.646 2.832 2.704 0 5.411-1.018 7.62-2.865a12.3 12.3 0 002.637-3.059c.313-.518.582-1.057.803-1.603.101-.25.194-.508.276-.768.524-1.648.611-3.34.252-4.893a7.792 7.792 0 00-1.739-3.41c-1.603-1.826-3.964-2.831-6.649-2.831z"}),c.jsx("path",{fill:"#F7F9FC",d:"M59.778 66.756a.997.997 0 00-.11-.225.974.974 0 00-.103-.14 1.233 1.233 0 00-.94-.4 1.694 1.694 0 00-1.07.401c-.372.31-.575.734-.586 1.14-.008.292.082.574.278.797.235.267.576.402.94.402s.749-.134 1.068-.402c.152-.127.277-.272.371-.429.045-.072.08-.147.113-.225.125-.305.14-.632.039-.92z"}),c.jsx("path",{fill:"#F7F9FC",d:"M58.64 64.293a1.938 1.938 0 00-.373-.639c-.414-.472-1.018-.708-1.659-.708a2.941 2.941 0 00-1.883.707c-1.13.941-1.372 2.472-.544 3.415.037.042.075.082.115.12.405.391.958.586 1.543.586.375 0 .764-.08 1.135-.242.262-.114.515-.27.75-.464.266-.225.486-.48.651-.755.063-.105.118-.212.164-.32l.032-.078c.22-.54.246-1.115.07-1.622z"}),c.jsx("path",{fill:"#DDD",d:"M104.782 105.335H51.517l-2.716-3.702h52.731l3.25 3.702z"}),c.jsx("path",{fill:"#F9FAFB",d:"M104.782 105.647H51.518a.308.308 0 01-.252-.128l-2.716-3.701a.31.31 0 01-.026-.326.31.31 0 01.279-.171h52.73c.09 0 .175.039.235.107l3.25 3.701c.08.092.1.224.05.335a.317.317 0 01-.286.183zm-53.107-.625h52.415l-2.701-3.076H49.417l2.258 3.076z"}),c.jsx("path",{fill:"#DDD",d:"M98.215 62.775c.47 0 .792.367.72.82-.073.452-.512.819-.981.819H76.698a12.81 12.81 0 00-.365-1.639h21.882z"}),c.jsx("path",{fill:"#DDD",d:"M97.954 64.726H76.7a.312.312 0 01-.309-.265 12.214 12.214 0 00-.357-1.599.309.309 0 01.05-.275.31.31 0 01.25-.125h21.884c.319 0 .614.131.806.357.192.225.271.518.221.825-.097.607-.663 1.082-1.29 1.082zm-20.99-.625h20.99c.317 0 .625-.254.672-.555a.392.392 0 00-.079-.321.423.423 0 00-.332-.138H76.743c.088.335.161.674.22 1.014zM99.547 54.43c.471 0 .792.366.72.82-.073.451-.512.818-.981.818H76.94c-.47 0-.79-.367-.718-.818.072-.453.51-.82.98-.82h22.345z"}),c.jsx("path",{fill:"#DDD",d:"M99.286 56.38H76.94c-.32 0-.613-.129-.806-.355a1.004 1.004 0 01-.22-.824c.097-.607.662-1.083 1.287-1.083h22.346c.32 0 .614.13.807.357.191.225.271.518.221.825-.096.606-.663 1.08-1.29 1.08zM77.2 54.742c-.315 0-.622.255-.67.557a.391.391 0 00.078.32.423.423 0 00.33.136h22.347c.316 0 .625-.254.672-.555a.392.392 0 00-.08-.32.423.423 0 00-.331-.138H77.2zM94.222 87.815c.471 0 .792.367.72.818-.073.453-.511.821-.982.821H60.997c-.468 0-.79-.366-.718-.82.072-.452.511-.819.98-.819h32.963z"}),c.jsx("path",{fill:"#DDD",d:"M93.961 89.767H60.997c-.318 0-.61-.13-.804-.356a1.004 1.004 0 01-.22-.826c.096-.607.662-1.082 1.287-1.082h32.962c.32 0 .614.13.807.357.192.225.27.516.22.823-.095.607-.662 1.084-1.288 1.084zm-32.703-1.64c-.315 0-.622.255-.67.556a.395.395 0 00.079.323.419.419 0 00.329.137H93.96c.316 0 .625-.255.672-.557a.39.39 0 00-.08-.32.423.423 0 00-.331-.137H61.258v-.001z"}),c.jsx("path",{fill:"#DDD",d:"M80.201 69.189c-.025-.16-.053-.32-.083-.478l-.008-.046-.02-.089c-.026-.129-.056-.258-.086-.386-.011-.047-.022-.096-.035-.143a14.558 14.558 0 00-.133-.496c-.065-.223-.14-.444-.218-.663-.01-.028-.017-.056-.028-.084-.01-.029-.023-.057-.033-.085a11.396 11.396 0 00-.553-1.268c-.013-.023-.022-.047-.033-.07-.017-.034-.038-.067-.055-.1a16.26 16.26 0 00-.219-.4c-.032-.055-.061-.11-.094-.164a11.61 11.61 0 00-.337-.536v-.003c-.1-.147-.2-.293-.306-.438l-3.503-4.775a12.034 12.034 0 01.644.977l.095.164a16.362 16.362 0 01.308.57c.104.205.203.412.294.621l.021.053a11.536 11.536 0 01.297.761 12.302 12.302 0 01.47 1.69 11.138 11.138 0 01.111.614c.339 2.175.14 4.473-.57 6.707a16.401 16.401 0 01-.619 1.64c-.048.11-.1.22-.15.33-.04.086-.08.172-.122.258l-.104.214c-.043.086-.088.17-.132.257a11.944 11.944 0 01-.253.467l-.117.206-.151.256-.112.186c-.134.215-.271.43-.414.64l-.087.127a17.85 17.85 0 01-.902 1.204l-.11.135c-.15.18-.304.36-.463.537l-.075.082a18.882 18.882 0 01-1.029 1.053l-.27.249c-.048.044-.096.09-.146.134-.142.127-.285.25-.43.374a20.29 20.29 0 01-1.082.844l-.084.063a21.276 21.276 0 01-1.082.73c-.209.13-.418.256-.63.377-.056.032-.112.06-.167.093-.186.104-.373.205-.56.303l-.213.11a18.01 18.01 0 01-.62.298c-.038.017-.074.035-.112.051-.048.023-.098.043-.147.064-.136.06-.272.12-.41.175l-.204.082c-.12.047-.24.095-.36.14-.072.028-.145.055-.217.081-.118.043-.236.083-.355.124a9.937 9.937 0 01-.218.072c-.097.032-.195.06-.293.091a16.404 16.404 0 01-.997.275 16.845 16.845 0 01-1.56.308c-.123.019-.247.036-.37.052l-.267.035c-.13.015-.257.026-.385.037-.083.007-.168.017-.251.023-.142.01-.282.018-.422.025-.071.004-.14.008-.212.01-.21.01-.42.013-.63.013-2.39 0-4.697-.523-6.721-1.57a12.644 12.644 0 01-1.885-1.195l3.503 4.775c.593.454 1.224.851 1.885 1.194 2.022 1.048 4.33 1.571 6.72 1.571.209 0 .419-.004.63-.012.07-.003.14-.009.21-.011.141-.007.283-.014.423-.025l.25-.023c.13-.01.257-.023.386-.037.09-.01.178-.022.267-.033.124-.017.247-.032.37-.052l.277-.044.363-.064c.093-.018.187-.036.28-.056.12-.025.24-.05.358-.077a16.81 16.81 0 00.918-.235l.362-.107.18-.053.113-.037.218-.073c.118-.04.236-.08.354-.123l.218-.08c.12-.045.24-.092.36-.141l.204-.082c.137-.057.273-.115.41-.175.048-.022.098-.042.147-.064a.206.206 0 01.026-.011c.028-.013.056-.028.084-.04a18.01 18.01 0 001.393-.711c.04-.023.08-.042.12-.066.014-.008.031-.02.046-.027.211-.121.422-.246.63-.377.213-.133.423-.272.633-.415l.057-.038c.13-.09.262-.183.393-.277l.084-.063c.167-.122.334-.247.5-.378l.038-.029c.089-.07.18-.14.268-.214a19.263 19.263 0 00.703-.598l.146-.134c.09-.083.182-.165.27-.25l.014-.012c.017-.015.032-.032.048-.047.148-.142.293-.287.436-.43l.135-.14c.134-.14.266-.28.395-.423l.059-.063.015-.018c.158-.178.312-.357.462-.537l.11-.134c.132-.162.263-.326.388-.492.013-.019.03-.037.044-.056l.013-.017c.158-.211.31-.424.458-.639l.086-.125c.143-.213.282-.426.415-.642l.027-.04.086-.146c.051-.084.101-.17.151-.255l.117-.207.14-.256.111-.21a8.98 8.98 0 00.13-.258c.037-.07.072-.142.106-.214l.123-.258c.016-.038.036-.074.052-.111l.098-.22c.237-.54.444-1.087.618-1.639.72-2.237.92-4.534.58-6.712z"}),c.jsx("path",{fill:"#F9FAFB",d:"M62.094 89.035c-2.46 0-4.833-.556-6.864-1.607a13.081 13.081 0 01-1.931-1.224.303.303 0 01-.063-.064l-3.503-4.775a.313.313 0 01.442-.433c.57.438 1.189.83 1.839 1.165 1.941 1.006 4.215 1.536 6.576 1.536.196 0 .404-.004.618-.012.04-.001.08-.004.12-.007l.087-.006c.14-.007.277-.014.416-.025.054-.004.108-.01.16-.013l.085-.009c.13-.01.255-.023.378-.037.065-.007.13-.017.196-.025l.068-.009a16.852 16.852 0 00.607-.09l.028-.004c.118-.02.237-.04.355-.063l.277-.055c.116-.024.234-.05.351-.077.093-.02.185-.043.278-.065.117-.029.235-.058.351-.09l.275-.075c.118-.033.236-.07.354-.106l.04-.012c.083-.025.166-.052.248-.078l.214-.07c.116-.04.232-.08.348-.123.071-.026.143-.051.214-.08.118-.044.236-.09.354-.137l.055-.02.147-.059c.135-.055.268-.114.403-.172l.063-.028c.027-.01.055-.023.081-.035l.108-.05a18.639 18.639 0 001.371-.698l.068-.038.096-.052a16.582 16.582 0 001.242-.78c.147-.101.296-.204.443-.31l.083-.062c.18-.132.342-.254.493-.372l.038-.03c.187-.148.362-.29.532-.431.143-.121.283-.243.422-.367l.086-.079.094-.086c.077-.07.155-.14.23-.211l.062-.06c.14-.135.28-.272.43-.424l.133-.137c.132-.138.262-.276.389-.417l.073-.079c.147-.164.296-.337.456-.53l.108-.131c.138-.168.263-.326.38-.483l.058-.073c.144-.191.291-.397.45-.627l.084-.124c.145-.212.28-.425.407-.63l.096-.157.014-.024.149-.251c.034-.06.068-.12.1-.18l.015-.025.139-.251.11-.207c.042-.083.085-.168.129-.251l.102-.21.12-.253.012-.029c.046-.099.092-.197.135-.296.235-.536.44-1.076.607-1.608.696-2.184.889-4.453.56-6.565a11.271 11.271 0 00-.082-.467l-.028-.133a11.506 11.506 0 00-.083-.377l-.035-.142a12.175 12.175 0 00-.343-1.13l-.06-.164c-.08-.212-.154-.401-.23-.578l-.021-.051a11.148 11.148 0 00-.374-.772c-.07-.13-.14-.26-.214-.39l-.029-.05-.064-.109a11.675 11.675 0 00-.628-.951.312.312 0 01.503-.37l.001.002 3.502 4.773a12.91 12.91 0 01.661 1.002c.024.038.044.077.067.115l.029.051c.078.136.153.273.225.41l.02.036.035.067c.009.015.016.032.023.047l.01.025c.119.233.217.442.303.639l.023.053c.082.191.16.39.243.61l.01.029c.01.019.018.038.025.06.007.017.012.037.018.056l.01.03a11.728 11.728 0 01.359 1.185l.028.114.008.034c.032.132.061.264.088.396l.008.034.013.056.008.048c.034.181.062.34.086.49.343 2.21.143 4.577-.582 6.85a16.635 16.635 0 01-.73 1.892l-.031.068-.022.046a14.23 14.23 0 01-.23.48 11.92 11.92 0 01-.248.476l-.143.26-.021.037a9.74 9.74 0 01-.253.433l-.036.06c-.017.03-.035.058-.051.088l-.02.03c-.139.224-.28.443-.429.663l-.087.126c-.166.24-.319.453-.467.65l-.058.076c-.123.16-.255.33-.395.5l-.014.018-.097.119c-.165.198-.318.377-.47.547l-.017.02a.915.915 0 01-.037.038l-.023.025c-.132.145-.266.288-.402.43l-.137.14c-.154.158-.3.3-.443.438l-.017.017a9.64 9.64 0 00-.032.032l-.012.011c-.078.074-.157.146-.236.218l-.096.09-.093.084a19.541 19.541 0 01-.986.823l-.038.031c-.158.124-.325.25-.508.383l-.086.064a23.375 23.375 0 01-.438.309l-.02.013a18.483 18.483 0 01-1.283.806l-.05.03-.072.038a19.12 19.12 0 01-1.465.747l-.032.016c-.018.008-.036.018-.054.025l-.02.008-.098.043-.059.025c-.138.061-.277.12-.416.178l-.149.06-.058.023c-.122.049-.245.096-.367.142l-.22.082-.36.126-.221.074-.047.015-.069.022c-.036.011-.072.022-.11.032l-.073.022a18.815 18.815 0 01-.65.186c-.122.032-.243.064-.365.093-.095.024-.19.046-.286.069a17.79 17.79 0 01-.365.079 15.73 15.73 0 01-.656.122l-.032.005c-.083.014-.165.028-.249.04-.126.02-.251.037-.377.052l-.069.008c-.067.009-.136.018-.202.025-.13.016-.261.027-.392.04l-.083.008-.174.015c-.144.011-.287.018-.43.025l-.081.004a10.9 10.9 0 01-.767.024zm-8.379-3.3a12.43 12.43 0 001.804 1.137c1.942 1.006 4.216 1.536 6.577 1.536a16.05 16.05 0 00.739-.02l.086-.005c.139-.007.276-.013.415-.025l.163-.014.084-.008c.128-.01.253-.023.38-.037l.193-.024.069-.01c.12-.015.243-.032.364-.05.079-.012.16-.025.239-.039l.032-.005c.12-.02.237-.04.355-.063l.277-.055a20.067 20.067 0 00.63-.142l.352-.09c.091-.025.183-.049.273-.075.118-.033.236-.07.354-.106l.084-.025.093-.027.11-.038a17.076 17.076 0 00.561-.192c.072-.026.144-.051.215-.079.118-.044.236-.09.354-.137l.06-.024.14-.055c.135-.056.27-.114.403-.173l.064-.027.08-.035.061-.028.049-.024c.198-.091.404-.19.611-.293a21.557 21.557 0 00.761-.404l.063-.033.054-.03.046-.027a18.234 18.234 0 001.243-.78l.055-.035c.13-.09.259-.18.388-.274l.084-.062c.178-.131.34-.252.492-.373l.038-.03.264-.21a19.304 19.304 0 00.69-.587c.029-.025.057-.052.083-.077l.1-.092c.075-.069.152-.137.225-.208a.08.08 0 01.011-.01l.052-.05a17.113 17.113 0 00.562-.56c.132-.138.263-.277.389-.417l.074-.08a18.896 18.896 0 00.548-.644l.016-.018c.134-.165.263-.33.382-.483l.056-.074c.143-.189.29-.394.45-.626l.084-.123c.144-.212.28-.425.408-.63l.025-.039.046-.078.039-.065.148-.25c.032-.056.064-.111.095-.168l.02-.038c.046-.083.094-.166.138-.25a14.79 14.79 0 00.238-.458l.104-.211.12-.253.052-.11.096-.213c.236-.538.44-1.078.607-1.609.696-2.183.889-4.453.56-6.565a12.975 12.975 0 00-.082-.465l-.027-.132a16.316 16.316 0 00-.083-.377l-.008-.034-.025-.106a11.436 11.436 0 00-.343-1.13l-.017-.05-.01-.031-.012-.03-.021-.052a12.056 12.056 0 00-.23-.578l-.022-.051c-.08-.186-.175-.385-.287-.607l-.022-.046-.011-.025a13.258 13.258 0 00-.267-.486l-.03-.054a11.045 11.045 0 00-.389-.628c-.002-.001-.003-.004-.005-.007a13.32 13.32 0 00-.296-.422l-1.195-1.63a12.852 12.852 0 01.261.9l.036.146c.03.132.06.263.087.395l.03.139c.034.178.062.337.086.49.343 2.208.141 4.577-.582 6.85a16.382 16.382 0 01-.63 1.67c-.045.102-.094.205-.141.308l-.013.028-.123.262-.107.218-.133.261-.113.214c-.047.088-.096.174-.145.261l-.013.025a12.525 12.525 0 01-.26.446l-.014.024-.1.165c-.13.213-.272.432-.422.653l-.088.128c-.164.239-.316.451-.466.65l-.059.075c-.123.162-.252.326-.394.5l-.113.136c-.163.198-.318.376-.47.546l-.077.082a23.629 23.629 0 01-.54.572 18.55 18.55 0 01-.443.437l-.064.063-.238.22-.09.082c-.032.03-.062.059-.094.087a19.541 19.541 0 01-.988.823l-.037.03c-.157.123-.324.25-.509.384l-.086.064a21.1 21.1 0 01-1.1.743c-.197.124-.407.249-.64.383l-.106.059-.063.036a18.867 18.867 0 01-1.417.72l-.049.023-.064.03-.091.04-.06.026c-.139.06-.278.12-.417.178l-.155.062-.053.02c-.122.05-.243.097-.367.142l-.222.082a17.86 17.86 0 01-.58.2l-.26.08-.04.01a18.815 18.815 0 01-1.666.427 17.24 17.24 0 01-.655.122l-.028.004-.254.042c-.127.02-.252.036-.377.052l-.066.008c-.07.01-.138.018-.206.026-.129.016-.258.027-.387.04l-.087.008a7.906 7.906 0 01-.173.015c-.143.01-.286.018-.43.025l-.081.004a17.27 17.27 0 01-.775.02c-2.461 0-4.834-.556-6.864-1.608-.154-.079-.306-.162-.456-.247l2.446 3.33zM120.843 90.037a2.067 2.067 0 100-4.134 2.067 2.067 0 000 4.134zM33.935 82.412a2.067 2.067 0 100-4.133 2.067 2.067 0 000 4.133zM34.97 84.083a.728.728 0 100-1.455.728.728 0 000 1.455zM45.217 56.42a2.067 2.067 0 100-4.134 2.067 2.067 0 000 4.133zM47.632 53.008a.728.728 0 100-1.455.728.728 0 000 1.455z"}),c.jsx("path",{fill:"#EEE",d:"M126.15 45.536a3.556 3.556 0 10-.001-7.11 3.556 3.556 0 00.001 7.11z"}),c.jsx("path",{fill:"#F9FAFB",d:"M122.594 40.225a1.693 1.693 0 100-3.386 1.693 1.693 0 000 3.386z"})]})}var Ds=typeof m.commonjsGlobal=="object"&&m.commonjsGlobal&&m.commonjsGlobal.Object===Object&&m.commonjsGlobal,Ls=typeof self=="object"&&self&&self.Object===Object&&self;Ds||Ls||Function("return this")();function Fs(e){const[t,n]=T.useState(!!e),r=T.useCallback(()=>{n(!0)},[]),o=T.useCallback(()=>{n(!1)},[]),s=T.useCallback(()=>{n(i=>!i)},[]);return{value:t,setValue:n,setTrue:r,setFalse:o,toggle:s}}function Bs(e){var t;return c.jsxs($.Dialog,{...e.dialogProps,open:e.open,children:[!e.hideTitle&&c.jsxs($.DialogTitle,{component:$.Stack,sx:{...e.titleProps,textAlign:"center"},children:[typeof e.title=="string"?c.jsx($.Typography,{variant:"h4",children:e.title}):e.title,typeof e.subTitle=="string"?c.jsx($.Typography,{color:"success.main",variant:"body1",...e.subTitleProps,children:e.subTitle}):e.subTitle]}),c.jsx($.DialogContent,{sx:{...e.contentProps,overflowY:e.fixOverflow?"unset":void 0},children:e.desc}),!(e.hideClose&&e.hideConfirm)&&c.jsx($.DialogActions,{...e.dialogActionsProps,sx:{display:"flex",justifyContent:"space-between","& button":{minWidth:e.minWidthButton||200},px:3,pb:3,...(t=e.dialogActionsProps)==null?void 0:t.sx},children:e.customActions?e.customActions:c.jsxs(c.Fragment,{children:[!e.hideClose&&c.jsx($.Button,{color:"error",onClick:e.onClose,children:"Close"}),!e.hideConfirm&&c.jsx($.Button,{color:"primary",onClick:e.onConfirm,children:"Submit"})]})})]})}function Hs(e){const t=Fs(typeof e=="boolean"?e:void 0);return{setTrue:t.setTrue,open:t.value,onClose:t.setFalse,onConfirm:typeof e!="boolean"?e==null?void 0:e.onConfirm:void 0}}function Ws({rootPath:e}){return c.jsxs("div",{style:{display:"flex",flexDirection:"column",width:"100vw",height:"100vh",alignItems:"center",justifyContent:"center"},children:[c.jsx("h1",{children:"404 - Not Found"}),c.jsx("p",{children:"Sorry, the page you are looking for does not exist."}),c.jsx($.Box,{height:"16px"}),c.jsx(gr.Link,{to:e,children:c.jsx($.Button,{variant:"contained",color:"primary",children:"Go to Home"})})]})}function Vs(){const{colors:e}=m.useTheme();return c.jsx("div",{style:{display:"flex",flexDirection:"column",width:"100%",height:"calc(100vh - 144px)",alignItems:"center",justifyContent:"center",zIndex:100},children:c.jsx("h1",{style:{color:`${e==null?void 0:e.primary300}`,fontSize:"82px",fontWeight:700,textTransform:"uppercase",marginTop:0,marginBottom:0,textAlign:"center"},children:"Welcome to the Intelli-Verse"})})}const Us=()=>{const{t:e}=m.useTranslation();return c.jsx("div",{className:"unauth__container "+m.styles["page-container"],children:c.jsxs("div",{className:"unauth__main-content "+m.styles["page-main-content"],children:[c.jsx(Ys,{}),c.jsxs("div",{className:"unauth__main-text",children:[c.jsx("h2",{className:"unauth__main-text__title "+m.styles["page-title"],children:e("components.unauthorizedPage.title")}),c.jsxs("p",{className:"unauth__main-text__desc "+m.styles["text-base"],children:[e("components.unauthorizedPage.description1")," ",c.jsx("br",{})," ",e("components.unauthorizedPage.description2")]})]})]})})},Ys=()=>c.jsxs("svg",{width:"61",height:"60",viewBox:"0 0 61 60",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[c.jsxs("g",{filter:"url(#filter0_d_10800_50471)",children:[c.jsx("rect",{x:"2.5",y:"1",width:"56",height:"56",rx:"28",fill:"white"}),c.jsx("path",{d:"M24.6667 27.833V23.1663C24.6667 21.6192 25.2812 20.1355 26.3752 19.0416C27.4692 17.9476 28.9529 17.333 30.5 17.333C32.0471 17.333 33.5308 17.9476 34.6248 19.0416C35.7188 20.1355 36.3333 21.6192 36.3333 23.1663V27.833M22.3333 27.833H38.6667C39.9553 27.833 41 28.8777 41 30.1663V38.333C41 39.6217 39.9553 40.6663 38.6667 40.6663H22.3333C21.0447 40.6663 20 39.6217 20 38.333V30.1663C20 28.8777 21.0447 27.833 22.3333 27.833Z",stroke:"#292929","stroke-width":"2.33333","stroke-linecap":"round","stroke-linejoin":"round"})]}),c.jsx("defs",{children:c.jsxs("filter",{id:"filter0_d_10800_50471",x:"0.5",y:"0",width:"60",height:"60",filterUnits:"userSpaceOnUse","color-interpolation-filters":"sRGB",children:[c.jsx("feFlood",{"flood-opacity":"0",result:"BackgroundImageFix"}),c.jsx("feColorMatrix",{in:"SourceAlpha",type:"matrix",values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0",result:"hardAlpha"}),c.jsx("feOffset",{dy:"1"}),c.jsx("feGaussianBlur",{stdDeviation:"1"}),c.jsx("feColorMatrix",{type:"matrix",values:"0 0 0 0 0.0627451 0 0 0 0 0.0941176 0 0 0 0 0.156863 0 0 0 0.05 0"}),c.jsx("feBlend",{mode:"normal",in2:"BackgroundImageFix",result:"effect1_dropShadow_10800_50471"}),c.jsx("feBlend",{mode:"normal",in:"SourceGraphic",in2:"effect1_dropShadow_10800_50471",result:"shape"})]})})]});function Se(e){if(typeof e!="object"||e===null)return!1;const t=Object.getPrototypeOf(e);return(t===null||t===Object.prototype||Object.getPrototypeOf(t)===null)&&!(Symbol.toStringTag in e)&&!(Symbol.iterator in e)}function Ar(e){if(W.isValidElement(e)||!Se(e))return e;const t={};return Object.keys(e).forEach(n=>{t[n]=Ar(e[n])}),t}function pe(e,t,n={clone:!0}){const r=n.clone?m._extends({},e):e;return Se(e)&&Se(t)&&Object.keys(t).forEach(o=>{W.isValidElement(t[o])?r[o]=t[o]:Se(t[o])&&Object.prototype.hasOwnProperty.call(e,o)&&Se(e[o])?r[o]=pe(e[o],t[o],n):n.clone?r[o]=Se(t[o])?Ar(t[o]):t[o]:r[o]=t[o]}),r}const Ks=Object.freeze(Object.defineProperty({__proto__:null,default:pe,isPlainObject:Se},Symbol.toStringTag,{value:"Module"}));function Je(e){let t="https://mui.com/production-error/?code="+e;for(let n=1;n<arguments.length;n+=1)t+="&args[]="+encodeURIComponent(arguments[n]);return"Minified MUI error #"+e+"; visit "+t+" for the full message."}const Gs=Object.freeze(Object.defineProperty({__proto__:null,default:Je},Symbol.toStringTag,{value:"Module"}));var Jt={exports:{}},B={};/**
|
|
40
40
|
* @license React
|
|
41
41
|
* react-is.production.js
|
|
42
42
|
*
|
package/dist/components/index.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { jsxs as k, Fragment as ue, jsx as u } from "react/jsx-runtime";
|
|
2
2
|
import * as W from "react";
|
|
3
|
-
import pe, { useState as
|
|
4
|
-
import { c as De, a as gt, C as Le, t as ct, p as Uo, L as Ur, u as Yo, b as Ko, S as Go, d as qo, e as Zo, Q as
|
|
5
|
-
import { H as
|
|
3
|
+
import pe, { useState as B, useContext as Ae, useEffect as q, useRef as ve, useCallback as kt, forwardRef as Vo, createElement as ir, PureComponent as Wo } from "react";
|
|
4
|
+
import { c as De, a as gt, C as Le, t as ct, p as Uo, L as Ur, u as Yo, b as Ko, S as Go, d as qo, e as Zo, Q as Hn, f as Et, g as Tr, h as Xo, s as Ct, _ as V, P as N, i as we, j as Jo, o as Qo, k as Oe, l as ei, m as ti, n as Yr, q as At, r as Kr, I as ri, v as ni, w as Gr, D as oi, x as Bn, y as Vn, z as ii, A as ai, B as si } from "../index.esm2017-3eee8145.js";
|
|
5
|
+
import { H as H1, G as B1, K as V1, E as W1, F as U1, J as Y1 } from "../index.esm2017-3eee8145.js";
|
|
6
6
|
import Q from "moment";
|
|
7
7
|
import { Stack as oe, Dialog as li, DialogTitle as ci, Typography as Ee, DialogContent as ui, DialogActions as di, Button as Lt, Box as fi, ClickAwayListener as hi, TextField as Wn, IconButton as mi, CircularProgress as pi, Fade as gi, Paper as yi, Checkbox as bi } from "@mui/material";
|
|
8
8
|
import "axios";
|
|
@@ -105,7 +105,7 @@ const Si = (e) => {
|
|
|
105
105
|
brandColors: o
|
|
106
106
|
}) => {
|
|
107
107
|
var E, v;
|
|
108
|
-
const [i, a] =
|
|
108
|
+
const [i, a] = B(!1), [l, c] = B({
|
|
109
109
|
id: e.id,
|
|
110
110
|
isRead: e.isRead
|
|
111
111
|
}), d = l.isRead === !1 ? "unread" : "read", f = {
|
|
@@ -276,7 +276,7 @@ const Si = (e) => {
|
|
|
276
276
|
brandColors: n,
|
|
277
277
|
notiUnreadNumber: o
|
|
278
278
|
}) => {
|
|
279
|
-
const [i, a] =
|
|
279
|
+
const [i, a] = B(!1);
|
|
280
280
|
console.log(i);
|
|
281
281
|
const { setNotiData: l } = Ae(Le), c = Mr({ baseUrl: t, notiPath: r, setNotiData: l }), d = async () => {
|
|
282
282
|
try {
|
|
@@ -332,7 +332,7 @@ const Si = (e) => {
|
|
|
332
332
|
clearTimeout(p), document.removeEventListener("mousedown", b);
|
|
333
333
|
};
|
|
334
334
|
}, [o]);
|
|
335
|
-
const [a, l] =
|
|
335
|
+
const [a, l] = B("all"), c = [
|
|
336
336
|
{
|
|
337
337
|
id: "all",
|
|
338
338
|
tabTitle: `All (${((d = i == null ? void 0 : i.all) == null ? void 0 : d.total) || 0})`,
|
|
@@ -643,7 +643,7 @@ const Ni = `@keyframes react-loading-skeleton{to{transform:translate(100%)}}.rea
|
|
|
643
643
|
baseUrl: e,
|
|
644
644
|
searchPath: t
|
|
645
645
|
}) => {
|
|
646
|
-
const [r, n] =
|
|
646
|
+
const [r, n] = B(!1);
|
|
647
647
|
console.log("hasPermission state", r);
|
|
648
648
|
const o = async () => {
|
|
649
649
|
const a = e + (t || "/user-management/api/v1/users/my-account/access-stella-search");
|
|
@@ -735,12 +735,12 @@ function Gn(e) {
|
|
|
735
735
|
return typeof e == "number";
|
|
736
736
|
}
|
|
737
737
|
function ji(e) {
|
|
738
|
-
return e === !0 || e === !1 ||
|
|
738
|
+
return e === !0 || e === !1 || Hi(e) && Zn(e) == "[object Boolean]";
|
|
739
739
|
}
|
|
740
740
|
function qn(e) {
|
|
741
741
|
return typeof e == "object";
|
|
742
742
|
}
|
|
743
|
-
function
|
|
743
|
+
function Hi(e) {
|
|
744
744
|
return qn(e) && e !== null;
|
|
745
745
|
}
|
|
746
746
|
function ie(e) {
|
|
@@ -752,7 +752,7 @@ function ar(e) {
|
|
|
752
752
|
function Zn(e) {
|
|
753
753
|
return e == null ? e === void 0 ? "[object Undefined]" : "[object Null]" : Object.prototype.toString.call(e);
|
|
754
754
|
}
|
|
755
|
-
const
|
|
755
|
+
const Bi = "Incorrect 'index' type", Vi = (e) => `Invalid value for key ${e}`, Wi = (e) => `Pattern length exceeds max of ${e}.`, Ui = (e) => `Missing ${e} property in key`, Yi = (e) => `Property 'weight' in key '${e}' must be a positive integer`, Zr = Object.prototype.hasOwnProperty;
|
|
756
756
|
class Ki {
|
|
757
757
|
constructor(t) {
|
|
758
758
|
this._keys = [], this._keyMap = {};
|
|
@@ -1591,7 +1591,7 @@ class rt {
|
|
|
1591
1591
|
}
|
|
1592
1592
|
setCollection(t, r) {
|
|
1593
1593
|
if (this._docs = t, r && !(r instanceof kr))
|
|
1594
|
-
throw new Error(
|
|
1594
|
+
throw new Error(Bi);
|
|
1595
1595
|
this._myIndex = r || Jn(this.options.keys, this._docs, {
|
|
1596
1596
|
getFn: this.options.getFn,
|
|
1597
1597
|
fieldNormWeight: this.options.fieldNormWeight
|
|
@@ -1963,7 +1963,7 @@ function Oa({
|
|
|
1963
1963
|
({ ..._a, ...p });
|
|
1964
1964
|
const S = { ...tn, ...t }, T = new rt(e, S);
|
|
1965
1965
|
T.setCollection(e);
|
|
1966
|
-
const [M, A] =
|
|
1966
|
+
const [M, A] = B(y), [C, O] = B([]), [R, U] = B(-1), [re, he] = B(!1), [Re, _e] = B(!1), [at, Te] = B(!1), [je, He] = B(!1);
|
|
1967
1967
|
q(() => {
|
|
1968
1968
|
A(y);
|
|
1969
1969
|
const P = setTimeout(
|
|
@@ -1975,7 +1975,7 @@ function Oa({
|
|
|
1975
1975
|
(M == null ? void 0 : M.length) >= 3 ? e && (e == null ? void 0 : e.length) > 0 && O(e) : O([]);
|
|
1976
1976
|
}, [e]), q(() => {
|
|
1977
1977
|
const P = () => {
|
|
1978
|
-
We(),
|
|
1978
|
+
We(), He(!1);
|
|
1979
1979
|
};
|
|
1980
1980
|
return document.addEventListener("click", P), () => document.removeEventListener("click", P);
|
|
1981
1981
|
}, []), q(() => {
|
|
@@ -1991,8 +1991,8 @@ function Oa({
|
|
|
1991
1991
|
E,
|
|
1992
1992
|
je
|
|
1993
1993
|
]);
|
|
1994
|
-
const
|
|
1995
|
-
c && a(P),
|
|
1994
|
+
const Be = (P) => {
|
|
1995
|
+
c && a(P), He(!0);
|
|
1996
1996
|
}, me = (P) => {
|
|
1997
1997
|
let I = [];
|
|
1998
1998
|
(P == null ? void 0 : P.length) > 0 && (I = wt(P)), O(I), n(P, I), _e(!1);
|
|
@@ -2037,7 +2037,7 @@ function Oa({
|
|
|
2037
2037
|
setSearchString: or,
|
|
2038
2038
|
eraseResults: We,
|
|
2039
2039
|
autoFocus: b,
|
|
2040
|
-
onFocus:
|
|
2040
|
+
onFocus: Be,
|
|
2041
2041
|
onClear: l,
|
|
2042
2042
|
placeholder: m,
|
|
2043
2043
|
showIcon: !0,
|
|
@@ -2080,9 +2080,9 @@ function $a({ classNames: e = "", ...t }) {
|
|
|
2080
2080
|
...a,
|
|
2081
2081
|
color: (l == null ? void 0 : l.headerTextColor) || "white",
|
|
2082
2082
|
backgroundColor: (l == null ? void 0 : l.headerBgColor) || "black"
|
|
2083
|
-
}, [m, b] =
|
|
2083
|
+
}, [m, b] = B(!1), { Term: p } = vi();
|
|
2084
2084
|
console.log("term", p);
|
|
2085
|
-
const [s, y] =
|
|
2085
|
+
const [s, y] = B([]), [x, _] = B([]), w = Ri({ baseUrl: o });
|
|
2086
2086
|
console.log("searchPermission", w.hasPermission), q(() => {
|
|
2087
2087
|
s.length >= 3 ? E(s) : _([]);
|
|
2088
2088
|
}, [s]);
|
|
@@ -2145,7 +2145,7 @@ function $a({ classNames: e = "", ...t }) {
|
|
|
2145
2145
|
className: `navbar-wrapper ${e}`,
|
|
2146
2146
|
style: l ? h : a,
|
|
2147
2147
|
children: /* @__PURE__ */ k("div", { className: "navbar-container", children: [
|
|
2148
|
-
/* @__PURE__ */ u("a", { href: "/home", className: "logo-container", children: /* @__PURE__ */ u("img", { src: r || "#", alt: " ", style: {
|
|
2148
|
+
/* @__PURE__ */ u("a", { href: "/home", className: "logo-container", children: /* @__PURE__ */ u("img", { src: r || "#", alt: " ", style: { maxHeight: "40px" } }) }),
|
|
2149
2149
|
/* @__PURE__ */ k("div", { className: "right-side-container", children: [
|
|
2150
2150
|
d && w.hasPermission ? /* @__PURE__ */ u("span", { children: /* @__PURE__ */ u(
|
|
2151
2151
|
"label",
|
|
@@ -2255,8 +2255,8 @@ function Na() {
|
|
|
2255
2255
|
value: Ur.de,
|
|
2256
2256
|
element: /* @__PURE__ */ u(Pi, {})
|
|
2257
2257
|
}
|
|
2258
|
-
], [t, r] =
|
|
2259
|
-
|
|
2258
|
+
], [t, r] = B(!1);
|
|
2259
|
+
B(
|
|
2260
2260
|
new Array(e.length).fill(!1)
|
|
2261
2261
|
);
|
|
2262
2262
|
const { language: n, setLanguage: o } = Yo();
|
|
@@ -2294,8 +2294,8 @@ function Ra({
|
|
|
2294
2294
|
avatarUrl: e,
|
|
2295
2295
|
userName: t
|
|
2296
2296
|
}) {
|
|
2297
|
-
const [r, n] =
|
|
2298
|
-
return ve(null),
|
|
2297
|
+
const [r, n] = B(!1), o = ve(null);
|
|
2298
|
+
return ve(null), B(!1), B(!1), q(() => {
|
|
2299
2299
|
Kn({
|
|
2300
2300
|
childrenClass: "userAvatar",
|
|
2301
2301
|
action() {
|
|
@@ -2335,7 +2335,7 @@ function E1(e) {
|
|
|
2335
2335
|
);
|
|
2336
2336
|
}
|
|
2337
2337
|
const C1 = (e) => /* @__PURE__ */ u(
|
|
2338
|
-
|
|
2338
|
+
Hn,
|
|
2339
2339
|
{
|
|
2340
2340
|
autoClose: 3e3,
|
|
2341
2341
|
hideProgressBar: !0,
|
|
@@ -2347,7 +2347,7 @@ const C1 = (e) => /* @__PURE__ */ u(
|
|
|
2347
2347
|
...e
|
|
2348
2348
|
}
|
|
2349
2349
|
), I1 = (e) => /* @__PURE__ */ u(
|
|
2350
|
-
|
|
2350
|
+
Hn,
|
|
2351
2351
|
{
|
|
2352
2352
|
autoClose: 3e3,
|
|
2353
2353
|
hideProgressBar: !0,
|
|
@@ -2696,7 +2696,7 @@ function Pa() {
|
|
|
2696
2696
|
var za = typeof Et == "object" && Et && Et.Object === Object && Et, Da = typeof self == "object" && self && self.Object === Object && self;
|
|
2697
2697
|
za || Da || Function("return this")();
|
|
2698
2698
|
function La(e) {
|
|
2699
|
-
const [t, r] =
|
|
2699
|
+
const [t, r] = B(!!e), n = kt(() => {
|
|
2700
2700
|
r(!0);
|
|
2701
2701
|
}, []), o = kt(() => {
|
|
2702
2702
|
r(!1);
|
|
@@ -2945,7 +2945,7 @@ function dt(e) {
|
|
|
2945
2945
|
t += "&args[]=" + encodeURIComponent(arguments[r]);
|
|
2946
2946
|
return "Minified MUI error #" + e + "; visit " + t + " for the full message.";
|
|
2947
2947
|
}
|
|
2948
|
-
const
|
|
2948
|
+
const Ha = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
2949
2949
|
__proto__: null,
|
|
2950
2950
|
default: dt
|
|
2951
2951
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
@@ -2960,7 +2960,7 @@ var br = { exports: {} }, j = {};
|
|
|
2960
2960
|
* LICENSE file in the root directory of this source tree.
|
|
2961
2961
|
*/
|
|
2962
2962
|
var nn;
|
|
2963
|
-
function
|
|
2963
|
+
function Ba() {
|
|
2964
2964
|
if (nn)
|
|
2965
2965
|
return j;
|
|
2966
2966
|
nn = 1;
|
|
@@ -3023,7 +3023,7 @@ function Ha() {
|
|
|
3023
3023
|
return typeof s == "string" || typeof s == "function" || s === r || s === o || s === n || s === c || s === d || s === m || typeof s == "object" && s !== null && (s.$$typeof === h || s.$$typeof === f || s.$$typeof === a || s.$$typeof === i || s.$$typeof === l || s.$$typeof === b || s.getModuleId !== void 0);
|
|
3024
3024
|
}, j.typeOf = p, j;
|
|
3025
3025
|
}
|
|
3026
|
-
var
|
|
3026
|
+
var H = {};
|
|
3027
3027
|
/**
|
|
3028
3028
|
* @license React
|
|
3029
3029
|
* react-is.development.js
|
|
@@ -3067,36 +3067,36 @@ function Va() {
|
|
|
3067
3067
|
}
|
|
3068
3068
|
}
|
|
3069
3069
|
var t = Symbol.for("react.transitional.element"), r = Symbol.for("react.portal"), n = Symbol.for("react.fragment"), o = Symbol.for("react.strict_mode"), i = Symbol.for("react.profiler"), a = Symbol.for("react.consumer"), l = Symbol.for("react.context"), c = Symbol.for("react.forward_ref"), d = Symbol.for("react.suspense"), f = Symbol.for("react.suspense_list"), h = Symbol.for("react.memo"), m = Symbol.for("react.lazy"), b = Symbol.for("react.offscreen"), p = Symbol.for("react.client.reference");
|
|
3070
|
-
|
|
3070
|
+
H.ContextConsumer = a, H.ContextProvider = l, H.Element = t, H.ForwardRef = c, H.Fragment = n, H.Lazy = m, H.Memo = h, H.Portal = r, H.Profiler = i, H.StrictMode = o, H.Suspense = d, H.SuspenseList = f, H.isContextConsumer = function(s) {
|
|
3071
3071
|
return e(s) === a;
|
|
3072
|
-
},
|
|
3072
|
+
}, H.isContextProvider = function(s) {
|
|
3073
3073
|
return e(s) === l;
|
|
3074
|
-
},
|
|
3074
|
+
}, H.isElement = function(s) {
|
|
3075
3075
|
return typeof s == "object" && s !== null && s.$$typeof === t;
|
|
3076
|
-
},
|
|
3076
|
+
}, H.isForwardRef = function(s) {
|
|
3077
3077
|
return e(s) === c;
|
|
3078
|
-
},
|
|
3078
|
+
}, H.isFragment = function(s) {
|
|
3079
3079
|
return e(s) === n;
|
|
3080
|
-
},
|
|
3080
|
+
}, H.isLazy = function(s) {
|
|
3081
3081
|
return e(s) === m;
|
|
3082
|
-
},
|
|
3082
|
+
}, H.isMemo = function(s) {
|
|
3083
3083
|
return e(s) === h;
|
|
3084
|
-
},
|
|
3084
|
+
}, H.isPortal = function(s) {
|
|
3085
3085
|
return e(s) === r;
|
|
3086
|
-
},
|
|
3086
|
+
}, H.isProfiler = function(s) {
|
|
3087
3087
|
return e(s) === i;
|
|
3088
|
-
},
|
|
3088
|
+
}, H.isStrictMode = function(s) {
|
|
3089
3089
|
return e(s) === o;
|
|
3090
|
-
},
|
|
3090
|
+
}, H.isSuspense = function(s) {
|
|
3091
3091
|
return e(s) === d;
|
|
3092
|
-
},
|
|
3092
|
+
}, H.isSuspenseList = function(s) {
|
|
3093
3093
|
return e(s) === f;
|
|
3094
|
-
},
|
|
3094
|
+
}, H.isValidElementType = function(s) {
|
|
3095
3095
|
return typeof s == "string" || typeof s == "function" || s === n || s === i || s === o || s === d || s === f || s === b || typeof s == "object" && s !== null && (s.$$typeof === m || s.$$typeof === h || s.$$typeof === l || s.$$typeof === a || s.$$typeof === c || s.$$typeof === p || s.getModuleId !== void 0);
|
|
3096
|
-
},
|
|
3097
|
-
}()),
|
|
3096
|
+
}, H.typeOf = e;
|
|
3097
|
+
}()), H;
|
|
3098
3098
|
}
|
|
3099
|
-
process.env.NODE_ENV === "production" ? br.exports =
|
|
3099
|
+
process.env.NODE_ENV === "production" ? br.exports = Ba() : br.exports = Va();
|
|
3100
3100
|
var an = br.exports;
|
|
3101
3101
|
const Wa = /^\s*function(?:\s|\s*\/\*.*\*\/\s*)+([^(\s/]*)\s*/;
|
|
3102
3102
|
function oo(e) {
|
|
@@ -3955,10 +3955,10 @@ function Ls() {
|
|
|
3955
3955
|
function je(I) {
|
|
3956
3956
|
return E(I) === l;
|
|
3957
3957
|
}
|
|
3958
|
-
function
|
|
3958
|
+
function He(I) {
|
|
3959
3959
|
return E(I) === a;
|
|
3960
3960
|
}
|
|
3961
|
-
function
|
|
3961
|
+
function Be(I) {
|
|
3962
3962
|
return typeof I == "object" && I !== null && I.$$typeof === t;
|
|
3963
3963
|
}
|
|
3964
3964
|
function me(I) {
|
|
@@ -3985,7 +3985,7 @@ function Ls() {
|
|
|
3985
3985
|
function P(I) {
|
|
3986
3986
|
return E(I) === h;
|
|
3987
3987
|
}
|
|
3988
|
-
F.AsyncMode = v, F.ConcurrentMode = g, F.ContextConsumer = S, F.ContextProvider = T, F.Element = M, F.ForwardRef = A, F.Fragment = C, F.Lazy = O, F.Memo = R, F.Portal = U, F.Profiler = re, F.StrictMode = he, F.Suspense = Re, F.isAsyncMode = at, F.isConcurrentMode = Te, F.isContextConsumer = je, F.isContextProvider =
|
|
3988
|
+
F.AsyncMode = v, F.ConcurrentMode = g, F.ContextConsumer = S, F.ContextProvider = T, F.Element = M, F.ForwardRef = A, F.Fragment = C, F.Lazy = O, F.Memo = R, F.Portal = U, F.Profiler = re, F.StrictMode = he, F.Suspense = Re, F.isAsyncMode = at, F.isConcurrentMode = Te, F.isContextConsumer = je, F.isContextProvider = He, F.isElement = Be, F.isForwardRef = me, F.isFragment = Ve, F.isLazy = nr, F.isMemo = wt, F.isPortal = or, F.isProfiler = We, F.isStrictMode = _t, F.isSuspense = P, F.isValidElementType = w, F.typeOf = E;
|
|
3989
3989
|
}()), F;
|
|
3990
3990
|
}
|
|
3991
3991
|
process.env.NODE_ENV === "production" ? wr.exports = Ds() : wr.exports = Ls();
|
|
@@ -3995,7 +3995,7 @@ var Fs = wr.exports, bo = Fs, js = {
|
|
|
3995
3995
|
defaultProps: !0,
|
|
3996
3996
|
displayName: !0,
|
|
3997
3997
|
propTypes: !0
|
|
3998
|
-
},
|
|
3998
|
+
}, Hs = {
|
|
3999
3999
|
$$typeof: !0,
|
|
4000
4000
|
compare: !0,
|
|
4001
4001
|
defaultProps: !0,
|
|
@@ -4004,8 +4004,8 @@ var Fs = wr.exports, bo = Fs, js = {
|
|
|
4004
4004
|
type: !0
|
|
4005
4005
|
}, vo = {};
|
|
4006
4006
|
vo[bo.ForwardRef] = js;
|
|
4007
|
-
vo[bo.Memo] =
|
|
4008
|
-
var
|
|
4007
|
+
vo[bo.Memo] = Hs;
|
|
4008
|
+
var Bs = !0;
|
|
4009
4009
|
function xo(e, t, r) {
|
|
4010
4010
|
var n = "";
|
|
4011
4011
|
return r.split(" ").forEach(function(o) {
|
|
@@ -4023,7 +4023,7 @@ var Rr = function(t, r, n) {
|
|
|
4023
4023
|
// in node since emotion-server relies on whether a style is in
|
|
4024
4024
|
// the registered cache to know whether a style is global or not
|
|
4025
4025
|
// also, note that this check will be dead code eliminated in the browser
|
|
4026
|
-
|
|
4026
|
+
Bs === !1) && t.registered[o] === void 0 && (t.registered[o] = r.styles);
|
|
4027
4027
|
}, Pr = function(t, r, n) {
|
|
4028
4028
|
Rr(t, r, n);
|
|
4029
4029
|
var o = t.key + "-" + r.name;
|
|
@@ -4733,7 +4733,7 @@ function qt(e, t, r = !0) {
|
|
|
4733
4733
|
}
|
|
4734
4734
|
return t.split(".").reduce((n, o) => n && n[o] != null ? n[o] : null, e);
|
|
4735
4735
|
}
|
|
4736
|
-
function
|
|
4736
|
+
function Ht(e, t, r, n = r) {
|
|
4737
4737
|
let o;
|
|
4738
4738
|
return typeof e == "function" ? o = e(r) : Array.isArray(e) ? o = e[r] || n : o = qt(e, r) || n, t && (o = t(o, n, e)), o;
|
|
4739
4739
|
}
|
|
@@ -4748,8 +4748,8 @@ function Z(e) {
|
|
|
4748
4748
|
return null;
|
|
4749
4749
|
const l = a[t], c = a.theme, d = qt(c, n) || {};
|
|
4750
4750
|
return Ie(a, l, (h) => {
|
|
4751
|
-
let m =
|
|
4752
|
-
return h === m && typeof h == "string" && (m =
|
|
4751
|
+
let m = Ht(d, o, h);
|
|
4752
|
+
return h === m && typeof h == "string" && (m = Ht(d, o, `${t}${h === "default" ? "" : Fe(h)}`, h)), r === !1 ? m : {
|
|
4753
4753
|
[r]: m
|
|
4754
4754
|
};
|
|
4755
4755
|
});
|
|
@@ -4855,7 +4855,7 @@ function fe(e, t) {
|
|
|
4855
4855
|
transform: t
|
|
4856
4856
|
});
|
|
4857
4857
|
}
|
|
4858
|
-
const zl = fe("border", ce), Dl = fe("borderTop", ce), Ll = fe("borderRight", ce), Fl = fe("borderBottom", ce), jl = fe("borderLeft", ce),
|
|
4858
|
+
const zl = fe("border", ce), Dl = fe("borderTop", ce), Ll = fe("borderRight", ce), Fl = fe("borderBottom", ce), jl = fe("borderLeft", ce), Hl = fe("borderColor"), Bl = fe("borderTopColor"), Vl = fe("borderRightColor"), Wl = fe("borderBottomColor"), Ul = fe("borderLeftColor"), Yl = fe("outline", ce), Kl = fe("outlineColor"), Qt = (e) => {
|
|
4859
4859
|
if (e.borderRadius !== void 0 && e.borderRadius !== null) {
|
|
4860
4860
|
const t = vt(e.theme, "shape.borderRadius", 4, "borderRadius"), r = (n) => ({
|
|
4861
4861
|
borderRadius: xt(t, n)
|
|
@@ -4868,7 +4868,7 @@ Qt.propTypes = process.env.NODE_ENV !== "production" ? {
|
|
|
4868
4868
|
borderRadius: Ne
|
|
4869
4869
|
} : {};
|
|
4870
4870
|
Qt.filterProps = ["borderRadius"];
|
|
4871
|
-
Jt(zl, Dl, Ll, Fl, jl,
|
|
4871
|
+
Jt(zl, Dl, Ll, Fl, jl, Hl, Bl, Vl, Wl, Ul, Qt, Yl, Kl);
|
|
4872
4872
|
const er = (e) => {
|
|
4873
4873
|
if (e.gap !== void 0 && e.gap !== null) {
|
|
4874
4874
|
const t = vt(e.theme, "spacing", 8, "gap"), r = (n) => ({
|
|
@@ -5313,8 +5313,8 @@ function Oo() {
|
|
|
5313
5313
|
};
|
|
5314
5314
|
const m = qt(o, d) || {};
|
|
5315
5315
|
return h ? h(a) : Ie(a, n, (p) => {
|
|
5316
|
-
let s =
|
|
5317
|
-
return p === s && typeof p == "string" && (s =
|
|
5316
|
+
let s = Ht(m, f, p);
|
|
5317
|
+
return p === s && typeof p == "string" && (s = Ht(m, f, `${r}${p === "default" ? "" : Fe(p)}`, p)), c === !1 ? s : {
|
|
5318
5318
|
[c]: s
|
|
5319
5319
|
};
|
|
5320
5320
|
});
|
|
@@ -5619,7 +5619,7 @@ function Lc(e, t) {
|
|
|
5619
5619
|
}, t);
|
|
5620
5620
|
}
|
|
5621
5621
|
var X = {};
|
|
5622
|
-
const Fc = /* @__PURE__ */ we(
|
|
5622
|
+
const Fc = /* @__PURE__ */ we(Ha), jc = /* @__PURE__ */ we(ts);
|
|
5623
5623
|
var zo = so;
|
|
5624
5624
|
Object.defineProperty(X, "__esModule", {
|
|
5625
5625
|
value: !0
|
|
@@ -5627,14 +5627,14 @@ Object.defineProperty(X, "__esModule", {
|
|
|
5627
5627
|
X.alpha = jo;
|
|
5628
5628
|
X.blend = Jc;
|
|
5629
5629
|
X.colorChannel = void 0;
|
|
5630
|
-
var
|
|
5630
|
+
var Hc = X.darken = Br;
|
|
5631
5631
|
X.decomposeColor = de;
|
|
5632
|
-
X.emphasize =
|
|
5632
|
+
X.emphasize = Ho;
|
|
5633
5633
|
var Cn = X.getContrastRatio = Kc;
|
|
5634
|
-
X.getLuminance =
|
|
5634
|
+
X.getLuminance = Bt;
|
|
5635
5635
|
X.hexToRgb = Do;
|
|
5636
5636
|
X.hslToRgb = Fo;
|
|
5637
|
-
var
|
|
5637
|
+
var Bc = X.lighten = Vr;
|
|
5638
5638
|
X.private_safeAlpha = Gc;
|
|
5639
5639
|
X.private_safeColorChannel = void 0;
|
|
5640
5640
|
X.private_safeDarken = qc;
|
|
@@ -5643,7 +5643,7 @@ X.private_safeLighten = Zc;
|
|
|
5643
5643
|
X.recomposeColor = it;
|
|
5644
5644
|
X.rgbToHex = Yc;
|
|
5645
5645
|
var In = zo(Fc), Vc = zo(jc);
|
|
5646
|
-
function
|
|
5646
|
+
function Hr(e, t = 0, r = 1) {
|
|
5647
5647
|
return process.env.NODE_ENV !== "production" && (e < t || e > r) && console.error(`MUI: The value provided ${e} is out of range [${t}, ${r}].`), (0, Vc.default)(e, t, r);
|
|
5648
5648
|
}
|
|
5649
5649
|
function Do(e) {
|
|
@@ -5721,17 +5721,17 @@ function Fo(e) {
|
|
|
5721
5721
|
values: c
|
|
5722
5722
|
});
|
|
5723
5723
|
}
|
|
5724
|
-
function
|
|
5724
|
+
function Bt(e) {
|
|
5725
5725
|
e = de(e);
|
|
5726
5726
|
let t = e.type === "hsl" || e.type === "hsla" ? de(Fo(e)).values : e.values;
|
|
5727
5727
|
return t = t.map((r) => (e.type !== "color" && (r /= 255), r <= 0.03928 ? r / 12.92 : ((r + 0.055) / 1.055) ** 2.4)), Number((0.2126 * t[0] + 0.7152 * t[1] + 0.0722 * t[2]).toFixed(3));
|
|
5728
5728
|
}
|
|
5729
5729
|
function Kc(e, t) {
|
|
5730
|
-
const r =
|
|
5730
|
+
const r = Bt(e), n = Bt(t);
|
|
5731
5731
|
return (Math.max(r, n) + 0.05) / (Math.min(r, n) + 0.05);
|
|
5732
5732
|
}
|
|
5733
5733
|
function jo(e, t) {
|
|
5734
|
-
return e = de(e), t =
|
|
5734
|
+
return e = de(e), t = Hr(t), (e.type === "rgb" || e.type === "hsl") && (e.type += "a"), e.type === "color" ? e.values[3] = `/${t}` : e.values[3] = t, it(e);
|
|
5735
5735
|
}
|
|
5736
5736
|
function Gc(e, t, r) {
|
|
5737
5737
|
try {
|
|
@@ -5740,8 +5740,8 @@ function Gc(e, t, r) {
|
|
|
5740
5740
|
return r && process.env.NODE_ENV !== "production" && console.warn(r), e;
|
|
5741
5741
|
}
|
|
5742
5742
|
}
|
|
5743
|
-
function
|
|
5744
|
-
if (e = de(e), t =
|
|
5743
|
+
function Br(e, t) {
|
|
5744
|
+
if (e = de(e), t = Hr(t), e.type.indexOf("hsl") !== -1)
|
|
5745
5745
|
e.values[2] *= 1 - t;
|
|
5746
5746
|
else if (e.type.indexOf("rgb") !== -1 || e.type.indexOf("color") !== -1)
|
|
5747
5747
|
for (let r = 0; r < 3; r += 1)
|
|
@@ -5750,13 +5750,13 @@ function Hr(e, t) {
|
|
|
5750
5750
|
}
|
|
5751
5751
|
function qc(e, t, r) {
|
|
5752
5752
|
try {
|
|
5753
|
-
return
|
|
5753
|
+
return Br(e, t);
|
|
5754
5754
|
} catch {
|
|
5755
5755
|
return r && process.env.NODE_ENV !== "production" && console.warn(r), e;
|
|
5756
5756
|
}
|
|
5757
5757
|
}
|
|
5758
5758
|
function Vr(e, t) {
|
|
5759
|
-
if (e = de(e), t =
|
|
5759
|
+
if (e = de(e), t = Hr(t), e.type.indexOf("hsl") !== -1)
|
|
5760
5760
|
e.values[2] += (100 - e.values[2]) * t;
|
|
5761
5761
|
else if (e.type.indexOf("rgb") !== -1)
|
|
5762
5762
|
for (let r = 0; r < 3; r += 1)
|
|
@@ -5773,12 +5773,12 @@ function Zc(e, t, r) {
|
|
|
5773
5773
|
return r && process.env.NODE_ENV !== "production" && console.warn(r), e;
|
|
5774
5774
|
}
|
|
5775
5775
|
}
|
|
5776
|
-
function
|
|
5777
|
-
return
|
|
5776
|
+
function Ho(e, t = 0.15) {
|
|
5777
|
+
return Bt(e) > 0.5 ? Br(e, t) : Vr(e, t);
|
|
5778
5778
|
}
|
|
5779
5779
|
function Xc(e, t, r) {
|
|
5780
5780
|
try {
|
|
5781
|
-
return
|
|
5781
|
+
return Ho(e, t);
|
|
5782
5782
|
} catch {
|
|
5783
5783
|
return r && process.env.NODE_ENV !== "production" && console.warn(r), e;
|
|
5784
5784
|
}
|
|
@@ -5963,7 +5963,7 @@ const Qc = {
|
|
|
5963
5963
|
};
|
|
5964
5964
|
function Mn(e, t, r, n) {
|
|
5965
5965
|
const o = n.light || n, i = n.dark || n * 1.5;
|
|
5966
|
-
e[t] || (e.hasOwnProperty(r) ? e[t] = e[r] : t === "light" ? e.light =
|
|
5966
|
+
e[t] || (e.hasOwnProperty(r) ? e[t] = e[r] : t === "light" ? e.light = Bc(e.main, o) : t === "dark" && (e.dark = Hc(e.main, i)));
|
|
5967
5967
|
}
|
|
5968
5968
|
function c0(e = "light") {
|
|
5969
5969
|
return e === "dark" ? {
|
|
@@ -6328,11 +6328,11 @@ const D0 = (e) => z0(e) && e !== "classes", L0 = D0, F0 = _c({
|
|
|
6328
6328
|
defaultTheme: R0,
|
|
6329
6329
|
rootShouldForwardProp: L0
|
|
6330
6330
|
}), j0 = F0;
|
|
6331
|
-
function
|
|
6331
|
+
function H0(e) {
|
|
6332
6332
|
return Ar("MuiSvgIcon", e);
|
|
6333
6333
|
}
|
|
6334
6334
|
Qa("MuiSvgIcon", ["root", "colorPrimary", "colorSecondary", "colorAction", "colorError", "colorDisabled", "fontSizeInherit", "fontSizeSmall", "fontSizeMedium", "fontSizeLarge"]);
|
|
6335
|
-
const
|
|
6335
|
+
const B0 = ["children", "className", "color", "component", "fontSize", "htmlColor", "inheritViewBox", "titleAccess", "viewBox"], V0 = (e) => {
|
|
6336
6336
|
const {
|
|
6337
6337
|
color: t,
|
|
6338
6338
|
fontSize: r,
|
|
@@ -6340,7 +6340,7 @@ const H0 = ["children", "className", "color", "component", "fontSize", "htmlColo
|
|
|
6340
6340
|
} = e, o = {
|
|
6341
6341
|
root: ["root", t !== "inherit" && `color${Fe(t)}`, `fontSize${Fe(r)}`]
|
|
6342
6342
|
};
|
|
6343
|
-
return Ga(o,
|
|
6343
|
+
return Ga(o, H0, n);
|
|
6344
6344
|
}, W0 = j0("svg", {
|
|
6345
6345
|
name: "MuiSvgIcon",
|
|
6346
6346
|
slot: "Root",
|
|
@@ -6394,7 +6394,7 @@ const H0 = ["children", "className", "color", "component", "fontSize", "htmlColo
|
|
|
6394
6394
|
inheritViewBox: f = !1,
|
|
6395
6395
|
titleAccess: h,
|
|
6396
6396
|
viewBox: m = "0 0 24 24"
|
|
6397
|
-
} = n, b = Oe(n,
|
|
6397
|
+
} = n, b = Oe(n, B0), p = /* @__PURE__ */ W.isValidElement(o) && o.type === "svg", s = V({}, n, {
|
|
6398
6398
|
color: a,
|
|
6399
6399
|
component: l,
|
|
6400
6400
|
fontSize: c,
|
|
@@ -6720,10 +6720,10 @@ function Q0(e) {
|
|
|
6720
6720
|
}, b.componentWillUnmount = function() {
|
|
6721
6721
|
this._resetIsScrollingTimeoutId !== null && Pn(this._resetIsScrollingTimeoutId);
|
|
6722
6722
|
}, b.render = function() {
|
|
6723
|
-
var s = this.props, y = s.children, x = s.className, _ = s.direction, w = s.height, E = s.innerRef, v = s.innerElementType, g = s.innerTagName, S = s.itemCount, T = s.itemData, M = s.itemKey, A = M === void 0 ? J0 : M, C = s.layout, O = s.outerElementType, R = s.outerTagName, U = s.style, re = s.useIsScrolling, he = s.width, Re = this.state.isScrolling, _e = _ === "horizontal" || C === "horizontal", at = _e ? this._onScrollHorizontal : this._onScrollVertical, Te = this._getRangeToRender(), je = Te[0],
|
|
6723
|
+
var s = this.props, y = s.children, x = s.className, _ = s.direction, w = s.height, E = s.innerRef, v = s.innerElementType, g = s.innerTagName, S = s.itemCount, T = s.itemData, M = s.itemKey, A = M === void 0 ? J0 : M, C = s.layout, O = s.outerElementType, R = s.outerTagName, U = s.style, re = s.useIsScrolling, he = s.width, Re = this.state.isScrolling, _e = _ === "horizontal" || C === "horizontal", at = _e ? this._onScrollHorizontal : this._onScrollVertical, Te = this._getRangeToRender(), je = Te[0], He = Te[1], Be = [];
|
|
6724
6724
|
if (S > 0)
|
|
6725
|
-
for (var me = je; me <=
|
|
6726
|
-
|
|
6725
|
+
for (var me = je; me <= He; me++)
|
|
6726
|
+
Be.push(ir(y, {
|
|
6727
6727
|
data: T,
|
|
6728
6728
|
key: A(me, T),
|
|
6729
6729
|
index: me,
|
|
@@ -6745,7 +6745,7 @@ function Q0(e) {
|
|
|
6745
6745
|
direction: _
|
|
6746
6746
|
}, U)
|
|
6747
6747
|
}, ir(v || g || "div", {
|
|
6748
|
-
children:
|
|
6748
|
+
children: Be,
|
|
6749
6749
|
ref: E,
|
|
6750
6750
|
style: {
|
|
6751
6751
|
height: _e ? "100%" : Ve,
|
|
@@ -6830,8 +6830,8 @@ var e1 = function(t, r) {
|
|
|
6830
6830
|
return a[r];
|
|
6831
6831
|
}, r1 = function(t, r, n) {
|
|
6832
6832
|
var o = r.itemMetadataMap, i = r.lastMeasuredIndex, a = i > 0 ? o[i].offset : 0;
|
|
6833
|
-
return a >= n ?
|
|
6834
|
-
},
|
|
6833
|
+
return a >= n ? Bo(t, r, i, 0, n) : n1(t, r, Math.max(0, i), n);
|
|
6834
|
+
}, Bo = function(t, r, n, o, i) {
|
|
6835
6835
|
for (; o <= n; ) {
|
|
6836
6836
|
var a = o + Math.floor((n - o) / 2), l = Je(t, a, r).offset;
|
|
6837
6837
|
if (l === i)
|
|
@@ -6842,7 +6842,7 @@ var e1 = function(t, r) {
|
|
|
6842
6842
|
}, n1 = function(t, r, n, o) {
|
|
6843
6843
|
for (var i = t.itemCount, a = 1; n < i && Je(t, n, r).offset < o; )
|
|
6844
6844
|
n += a, a *= 2;
|
|
6845
|
-
return
|
|
6845
|
+
return Bo(t, r, Math.min(n, i - 1), Math.floor(n / 2), o);
|
|
6846
6846
|
}, Ln = function(t, r) {
|
|
6847
6847
|
var n = t.itemCount, o = r.itemMetadataMap, i = r.estimatedItemSize, a = r.lastMeasuredIndex, l = 0;
|
|
6848
6848
|
if (a >= n && (a = n - 1), a >= 0) {
|
|
@@ -6937,7 +6937,7 @@ const Vt = 37, i1 = (e, t) => {
|
|
|
6937
6937
|
return document.body.removeChild(a), l > 21 ? Vt + 21 : Vt;
|
|
6938
6938
|
};
|
|
6939
6939
|
function N1(e) {
|
|
6940
|
-
const [t, r] =
|
|
6940
|
+
const [t, r] = B(!1), [n, o] = B(""), [i, a] = B(""), [l, c] = B(!1), { isRequired: d = !1 } = e, f = kt(
|
|
6941
6941
|
Kr.debounce((g) => {
|
|
6942
6942
|
var S;
|
|
6943
6943
|
(S = e.handleChangeSearch) == null || S.call(e, g);
|
|
@@ -7172,7 +7172,7 @@ function N1(e) {
|
|
|
7172
7172
|
}
|
|
7173
7173
|
function R1(e) {
|
|
7174
7174
|
var f;
|
|
7175
|
-
const { listProps: t } = e, [r, n] =
|
|
7175
|
+
const { listProps: t } = e, [r, n] = B({
|
|
7176
7176
|
initLoading: !e.disabled,
|
|
7177
7177
|
searchLoading: !1,
|
|
7178
7178
|
hasNextPage: !1,
|
|
@@ -7343,7 +7343,7 @@ function a1(e) {
|
|
|
7343
7343
|
const s1 = "Reset date";
|
|
7344
7344
|
function P1(e) {
|
|
7345
7345
|
var l, c;
|
|
7346
|
-
const [t, r] =
|
|
7346
|
+
const [t, r] = B(e.value), n = !(t != null && t.startDate) || !(t != null && t.endDate) ? "" : Q(t == null ? void 0 : t.startDate).format("DD/MM/YYYY") + " ~ " + Q(t == null ? void 0 : t.endDate).format("DD/MM/YYYY");
|
|
7347
7347
|
q(() => {
|
|
7348
7348
|
r(e.value);
|
|
7349
7349
|
}, [e.value]);
|
|
@@ -7498,7 +7498,7 @@ function z1(e) {
|
|
|
7498
7498
|
const jn = (e) => {
|
|
7499
7499
|
"serviceWorker" in navigator && navigator.serviceWorker.register(e.path).then(function(t) {
|
|
7500
7500
|
console.log("Registration successful, scope is:", t.scope), console.log("initialize service worker props ", e);
|
|
7501
|
-
const r =
|
|
7501
|
+
const r = Bn(
|
|
7502
7502
|
Vn({
|
|
7503
7503
|
apiKey: e.apiKey,
|
|
7504
7504
|
authDomain: e.authDomain,
|
|
@@ -7549,7 +7549,7 @@ const jn = (e) => {
|
|
|
7549
7549
|
}));
|
|
7550
7550
|
};
|
|
7551
7551
|
}, d1 = (e) => new Promise((t) => {
|
|
7552
|
-
const r =
|
|
7552
|
+
const r = Bn(
|
|
7553
7553
|
Vn({
|
|
7554
7554
|
apiKey: e.apiKey,
|
|
7555
7555
|
authDomain: e.authDomain,
|
|
@@ -7564,7 +7564,7 @@ const jn = (e) => {
|
|
|
7564
7564
|
console.log("payload", n), t(n);
|
|
7565
7565
|
});
|
|
7566
7566
|
}), f1 = (e) => {
|
|
7567
|
-
const [t, r] =
|
|
7567
|
+
const [t, r] = B({
|
|
7568
7568
|
actorName: "",
|
|
7569
7569
|
message: "",
|
|
7570
7570
|
context: "",
|
|
@@ -7669,8 +7669,8 @@ export {
|
|
|
7669
7669
|
Fn as AutocompleteOption,
|
|
7670
7670
|
z1 as BaseCheckbox,
|
|
7671
7671
|
c1 as CheckedIcon,
|
|
7672
|
-
|
|
7673
|
-
|
|
7672
|
+
H1 as FavoriteMenu,
|
|
7673
|
+
B1 as GlobalMenu,
|
|
7674
7674
|
O1 as HomePage,
|
|
7675
7675
|
V1 as IconComponent,
|
|
7676
7676
|
Na as LanguageDropdown,
|
package/package.json
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import "../react-to-web-component-d5889290.js";
|
|
2
|
-
import { F as a, u as s } from "../index-
|
|
2
|
+
import { F as a, u as s } from "../index-106dff30.js";
|
|
3
3
|
import "../index-c91ec106.js";
|
|
4
4
|
import "../react-toastify.esm-d8df41b8.js";
|
|
5
5
|
import "../toast-config/index.js";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import "../react-to-web-component-d5889290.js";
|
|
2
|
-
import { L as e, T as g } from "../index-
|
|
2
|
+
import { L as e, T as g } from "../index-106dff30.js";
|
|
3
3
|
import "../index-c91ec106.js";
|
|
4
4
|
import "../react-toastify.esm-d8df41b8.js";
|
|
5
5
|
import "../toast-config/index.js";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import "../react-to-web-component-d5889290.js";
|
|
2
|
-
import { H as e, g as a } from "../index-
|
|
2
|
+
import { H as e, g as a } from "../index-106dff30.js";
|
|
3
3
|
import "../index-c91ec106.js";
|
|
4
4
|
import "../react-toastify.esm-d8df41b8.js";
|
|
5
5
|
import "../toast-config/index.js";
|
|
@@ -16337,7 +16337,7 @@ function wI({ classNames: e = "", ...t }) {
|
|
|
16337
16337
|
className: `navbar-wrapper ${e}`,
|
|
16338
16338
|
style: a ? p : s,
|
|
16339
16339
|
children: /* @__PURE__ */ N.jsxs("div", { className: "navbar-container", children: [
|
|
16340
|
-
/* @__PURE__ */ N.jsx("a", { href: "/home", className: "logo-container", children: /* @__PURE__ */ N.jsx("img", { src: n || "#", alt: " ", style: {
|
|
16340
|
+
/* @__PURE__ */ N.jsx("a", { href: "/home", className: "logo-container", children: /* @__PURE__ */ N.jsx("img", { src: n || "#", alt: " ", style: { maxHeight: "40px" } }) }),
|
|
16341
16341
|
/* @__PURE__ */ N.jsxs("div", { className: "right-side-container", children: [
|
|
16342
16342
|
f && R.hasPermission ? /* @__PURE__ */ N.jsx("span", { children: /* @__PURE__ */ N.jsx(
|
|
16343
16343
|
"label",
|