@fluid-topics/ft-reader-saved-bookmarks 2.0.11 → 2.0.12

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.
@@ -909,7 +909,7 @@ svg:not(:root).svg-inline--fa, svg:not(:host).svg-inline--fa {
909
909
  `);t.setAttribute(Et,""),t.innerHTML=a}};function e1(e){e()}function H1(e,t){let o=typeof t=="function"?t:bo;if(e.length===0)o();else{let n=e1;N.mutateApproach===Hp&&(n=tt.requestAnimationFrame||e1),n(()=>{let a=z6(),i=Ra.begin("mutate");e.map(a),i(),o()})}}var wa=!1;function W1(){wa=!0}function ga(){wa=!1}var So=null;function t1(e){if(!Hl||!N.observeMutations)return;let{treeCallback:t=bo,nodeCallback:o=bo,pseudoElementsCallback:n=bo,observeMutationsRoot:a=G}=e;So=new Hl(i=>{if(wa)return;let s=rt();er(i).forEach(l=>{if(l.type==="childList"&&l.addedNodes.length>0&&!Jl(l.addedNodes[0])&&(N.searchPseudoElements&&n(l.target),t(l.target)),l.type==="attributes"&&l.target.parentNode&&N.searchPseudoElements&&n(l.target.parentNode),l.type==="attributes"&&Jl(l.target)&&~Vp.indexOf(l.attributeName))if(l.attributeName==="class"&&k6(l.target)){let{prefix:f,iconName:u}=Lo(Ca(l.target));l.target.setAttribute(xa,f||s),u&&l.target.setAttribute(va,u)}else P6(l.target)&&o(l.target)})}),je&&So.observe(a,{childList:!0,attributes:!0,characterData:!0,subtree:!0})}function B6(){So&&So.disconnect()}function G6(e){let t=e.getAttribute("style"),o=[];return t&&(o=t.split(";").reduce((n,a)=>{let i=a.split(":"),s=i[0],l=i.slice(1);return s&&l.length>0&&(n[s]=l.join(":").trim()),n},{})),o}function H6(e){let t=e.getAttribute("data-prefix"),o=e.getAttribute("data-icon"),n=e.innerText!==void 0?e.innerText.trim():"",a=Lo(Ca(e));return a.prefix||(a.prefix=rt()),t&&o&&(a.prefix=t,a.iconName=o),a.iconName&&a.prefix||(a.prefix&&n.length>0&&(a.iconName=p6(a.prefix,e.innerText)||La(a.prefix,ca(e.innerText))),!a.iconName&&N.autoFetchSvg&&e.firstChild&&e.firstChild.nodeType===Node.TEXT_NODE&&(a.iconName=e.firstChild.data)),a}function W6(e){let t=er(e.attributes).reduce((a,i)=>(a.name!=="class"&&a.name!=="style"&&(a[i.name]=i.value),a),{}),o=e.getAttribute("title"),n=e.getAttribute("data-fa-title-id");return N.autoA11y&&(o?t["aria-labelledby"]="".concat(N.replacementClass,"-title-").concat(n||_r()):(t["aria-hidden"]="true",t.focusable="false")),t}function F6(){return{iconName:null,title:null,titleId:null,prefix:null,transform:Me,symbol:!1,mask:{iconName:null,prefix:null,rest:[]},maskId:null,extra:{classes:[],styles:{},attributes:{}}}}function r1(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{styleParser:!0},{iconName:o,prefix:n,rest:a}=H6(e),i=W6(e),s=fa("parseNodeAttributes",{},e),l=t.styleParser?G6(e):[];return E({iconName:o,title:e.getAttribute("title"),titleId:e.getAttribute("data-fa-title-id"),prefix:n,transform:Me,mask:{iconName:null,prefix:null,rest:[]},maskId:null,symbol:!1,extra:{classes:a,styles:l,attributes:i}},s)}var{styles:$6}=ke;function F1(e){let t=N.autoReplaceSvg==="nest"?r1(e,{styleParser:!1}):r1(e);return~t.extra.classes.indexOf(E1)?ot("generateLayersText",e,t):ot("generateSvgReplacementMutation",e,t)}function j6(){return[...Lp,...ra]}function o1(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null;if(!je)return Promise.resolve();let o=G.documentElement.classList,n=m=>o.add("".concat($l,"-").concat(m)),a=m=>o.remove("".concat($l,"-").concat(m)),i=N.autoFetchSvg?j6():g1.concat(Object.keys($6));i.includes("fa")||i.push("fa");let s=[".".concat(E1,":not([").concat(Et,"])")].concat(i.map(m=>".".concat(m,":not([").concat(Et,"])"))).join(", ");if(s.length===0)return Promise.resolve();let l=[];try{l=er(e.querySelectorAll(s))}catch{}if(l.length>0)n("pending"),a("complete");else return Promise.resolve();let f=Ra.begin("onTree"),u=l.reduce((m,g)=>{try{let y=F1(g);y&&m.push(y)}catch(y){S1||y.name==="MissingIcon"&&console.error(y)}return m},[]);return new Promise((m,g)=>{Promise.all(u).then(y=>{H1(y,()=>{n("active"),n("complete"),a("pending"),typeof t=="function"&&t(),f(),m()})}).catch(y=>{f(),g(y)})})}function K6(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null;F1(e).then(o=>{o&&H1([o],t)})}function V6(e){return function(t){let o=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n=(t||{}).icon?t:ua(t||{}),{mask:a}=o;return a&&(a=(a||{}).icon?a:ua(a||{})),e(n,E(E({},o),{},{mask:a}))}}var Z6=function(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},{transform:o=Me,symbol:n=!1,mask:a=null,maskId:i=null,title:s=null,titleId:l=null,classes:f=[],attributes:u={},styles:m={}}=t;if(!e)return;let{prefix:g,iconName:y,icon:x}=e;return Oo(E({type:"icon"},e),()=>(At("beforeDOMElementCreation",{iconDefinition:e,params:t}),N.autoA11y&&(s?u["aria-labelledby"]="".concat(N.replacementClass,"-title-").concat(l||_r()):(u["aria-hidden"]="true",u.focusable="false")),Oa({icons:{main:pa(x),mask:a?pa(a.icon):{found:!1,width:null,height:null,icon:{}}},prefix:g,iconName:y,transform:E(E({},Me),o),symbol:n,title:s,maskId:i,titleId:l,extra:{attributes:u,styles:m,classes:f}})))},Y6={mixout(){return{icon:V6(Z6)}},hooks(){return{mutationObserverCallbacks(e){return e.treeCallback=o1,e.nodeCallback=K6,e}}},provides(e){e.i2svg=function(t){let{node:o=G,callback:n=()=>{}}=t;return o1(o,n)},e.generateSvgReplacementMutation=function(t,o){let{iconName:n,title:a,titleId:i,prefix:s,transform:l,symbol:f,mask:u,maskId:m,extra:g}=o;return new Promise((y,x)=>{Promise.all([ha(n,s),u.iconName?ha(u.iconName,u.prefix):Promise.resolve({found:!1,width:512,height:512,icon:{}})]).then(v=>{let[C,O]=v;y([t,Oa({icons:{main:C,mask:O},prefix:s,iconName:n,transform:l,symbol:f,maskId:m,title:a,titleId:i,extra:g,watchable:!0})])}).catch(x)})},e.generateAbstractIcon=function(t){let{children:o,attributes:n,main:a,transform:i,styles:s}=t,l=Eo(s);l.length>0&&(n.style=l);let f;return Ea(i)&&(f=ot("generateAbstractTransformGrouping",{main:a,transform:i,containerWidth:a.width,iconWidth:a.width})),o.push(f||a.icon),{children:o,attributes:n}}}},q6={mixout(){return{layer(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},{classes:o=[]}=t;return Oo({type:"layer"},()=>{At("beforeDOMElementCreation",{assembler:e,params:t});let n=[];return e(a=>{Array.isArray(a)?a.map(i=>{n=n.concat(i.abstract)}):n=n.concat(a.abstract)}),[{tag:"span",attributes:{class:["".concat(N.cssPrefix,"-layers"),...o].join(" ")},children:n}]})}}}},X6={mixout(){return{counter(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},{title:o=null,classes:n=[],attributes:a={},styles:i={}}=t;return Oo({type:"counter",content:e},()=>(At("beforeDOMElementCreation",{content:e,params:t}),_6({content:e.toString(),title:o,extra:{attributes:a,styles:i,classes:["".concat(N.cssPrefix,"-layers-counter"),...n]}})))}}}},Q6={mixout(){return{text(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},{transform:o=Me,title:n=null,classes:a=[],attributes:i={},styles:s={}}=t;return Oo({type:"text",content:e},()=>(At("beforeDOMElementCreation",{content:e,params:t}),Xl({content:e,transform:E(E({},Me),o),title:n,extra:{attributes:i,styles:s,classes:["".concat(N.cssPrefix,"-layers-text"),...a]}})))}}},provides(e){e.generateLayersText=function(t,o){let{title:n,transform:a,extra:i}=o,s=null,l=null;if(h1){let f=parseInt(getComputedStyle(t).fontSize,10),u=t.getBoundingClientRect();s=u.width/f,l=u.height/f}return N.autoA11y&&!n&&(i.attributes["aria-hidden"]="true"),Promise.resolve([t,Xl({content:t.innerHTML,width:s,height:l,transform:a,title:n,extra:i,watchable:!0})])}}},J6=new RegExp('"',"ug"),n1=[1105920,1112319],a1=E(E(E(E({},{FontAwesome:{normal:"fas",400:"fas"}}),Cp),Bp),Mp),ya=Object.keys(a1).reduce((e,t)=>(e[t.toLowerCase()]=a1[t],e),{}),e8=Object.keys(ya).reduce((e,t)=>{let o=ya[t];return e[t]=o[900]||[...Object.entries(o)][0][1],e},{});function t8(e){let t=e.replace(J6,""),o=c6(t,0),n=o>=n1[0]&&o<=n1[1],a=t.length===2?t[0]===t[1]:!1;return{value:ca(a?t[0]:t),isSecondary:n||a}}function r8(e,t){let o=e.replace(/^['"]|['"]$/g,"").toLowerCase(),n=parseInt(t),a=isNaN(n)?"normal":n;return(ya[o]||{})[a]||e8[o]}function i1(e,t){let o="".concat(Gp).concat(t.replace(":","-"));return new Promise((n,a)=>{if(e.getAttribute(o)!==null)return n();let s=er(e.children).filter(y=>y.getAttribute(na)===t)[0],l=tt.getComputedStyle(e,t),f=l.getPropertyValue("font-family"),u=f.match(jp),m=l.getPropertyValue("font-weight"),g=l.getPropertyValue("content");if(s&&!u)return e.removeChild(s),n();if(u&&g!=="none"&&g!==""){let y=l.getPropertyValue("content"),x=r8(f,m),{value:v,isSecondary:C}=t8(y),O=u[0].startsWith("FontAwesome"),_=La(x,v),R=_;if(O){let M=h6(v);M.iconName&&M.prefix&&(_=M.iconName,x=M.prefix)}if(_&&!C&&(!s||s.getAttribute(xa)!==x||s.getAttribute(va)!==R)){e.setAttribute(o,R),s&&e.removeChild(s);let M=F6(),{extra:k}=M;k.attributes[na]=t,ha(_,x).then(I=>{let W=Oa(E(E({},M),{},{icons:{main:I,mask:D1()},prefix:x,iconName:R,extra:k,watchable:!0})),se=G.createElementNS("http://www.w3.org/2000/svg","svg");t==="::before"?e.insertBefore(se,e.firstChild):e.appendChild(se),se.outerHTML=W.map(Q=>Mr(Q)).join(`
910
910
  `),e.removeAttribute(o),n()}).catch(a)}else n()}else n()})}function o8(e){return Promise.all([i1(e,"::before"),i1(e,"::after")])}function n8(e){return e.parentNode!==document.head&&!~Wp.indexOf(e.tagName.toUpperCase())&&!e.getAttribute(na)&&(!e.parentNode||e.parentNode.tagName!=="svg")}function s1(e){if(je)return new Promise((t,o)=>{let n=er(e.querySelectorAll("*")).filter(n8).map(o8),a=Ra.begin("searchPseudoElements");W1(),Promise.all(n).then(()=>{a(),ga(),t()}).catch(()=>{a(),ga(),o()})})}var a8={hooks(){return{mutationObserverCallbacks(e){return e.pseudoElementsCallback=s1,e}}},provides(e){e.pseudoElements2svg=function(t){let{node:o=G}=t;N.searchPseudoElements&&s1(o)}}},c1=!1,i8={mixout(){return{dom:{unwatch(){W1(),c1=!0}}}},hooks(){return{bootstrap(){t1(fa("mutationObserverCallbacks",{}))},noAuto(){B6()},watch(e){let{observeMutationsRoot:t}=e;c1?ga():t1(fa("mutationObserverCallbacks",{observeMutationsRoot:t}))}}}},l1=e=>{let t={size:16,x:0,y:0,flipX:!1,flipY:!1,rotate:0};return e.toLowerCase().split(" ").reduce((o,n)=>{let a=n.toLowerCase().split("-"),i=a[0],s=a.slice(1).join("-");if(i&&s==="h")return o.flipX=!0,o;if(i&&s==="v")return o.flipY=!0,o;if(s=parseFloat(s),isNaN(s))return o;switch(i){case"grow":o.size=o.size+s;break;case"shrink":o.size=o.size-s;break;case"left":o.x=o.x-s;break;case"right":o.x=o.x+s;break;case"up":o.y=o.y-s;break;case"down":o.y=o.y+s;break;case"rotate":o.rotate=o.rotate+s;break}return o},t)},s8={mixout(){return{parse:{transform:e=>l1(e)}}},hooks(){return{parseNodeAttributes(e,t){let o=t.getAttribute("data-fa-transform");return o&&(e.transform=l1(o)),e}}},provides(e){e.generateAbstractTransformGrouping=function(t){let{main:o,transform:n,containerWidth:a,iconWidth:i}=t,s={transform:"translate(".concat(a/2," 256)")},l="translate(".concat(n.x*32,", ").concat(n.y*32,") "),f="scale(".concat(n.size/16*(n.flipX?-1:1),", ").concat(n.size/16*(n.flipY?-1:1),") "),u="rotate(".concat(n.rotate," 0 0)"),m={transform:"".concat(l," ").concat(f," ").concat(u)},g={transform:"translate(".concat(i/2*-1," -256)")},y={outer:s,inner:m,path:g};return{tag:"g",attributes:E({},y.outer),children:[{tag:"g",attributes:E({},y.inner),children:[{tag:o.icon.tag,children:o.icon.children,attributes:E(E({},o.icon.attributes),y.path)}]}]}}}},ea={x:0,y:0,width:"100%",height:"100%"};function d1(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0;return e.attributes&&(e.attributes.fill||t)&&(e.attributes.fill="black"),e}function c8(e){return e.tag==="g"?e.children:[e]}var l8={hooks(){return{parseNodeAttributes(e,t){let o=t.getAttribute("data-fa-mask"),n=o?Lo(o.split(" ").map(a=>a.trim())):D1();return n.prefix||(n.prefix=rt()),e.mask=n,e.maskId=t.getAttribute("data-fa-mask-id"),e}}},provides(e){e.generateAbstractMask=function(t){let{children:o,attributes:n,main:a,mask:i,maskId:s,transform:l}=t,{width:f,icon:u}=a,{width:m,icon:g}=i,y=t6({transform:l,containerWidth:m,iconWidth:f}),x={tag:"rect",attributes:E(E({},ea),{},{fill:"white"})},v=u.children?{children:u.children.map(d1)}:{},C={tag:"g",attributes:E({},y.inner),children:[d1(E({tag:u.tag,attributes:E(E({},u.attributes),y.path)},v))]},O={tag:"g",attributes:E({},y.outer),children:[C]},_="mask-".concat(s||_r()),R="clip-".concat(s||_r()),M={tag:"mask",attributes:E(E({},ea),{},{id:_,maskUnits:"userSpaceOnUse",maskContentUnits:"userSpaceOnUse"}),children:[x,O]},k={tag:"defs",children:[{tag:"clipPath",attributes:{id:R},children:c8(g)},M]};return o.push(k,{tag:"rect",attributes:E({fill:"currentColor","clip-path":"url(#".concat(R,")"),mask:"url(#".concat(_,")")},ea)}),{children:o,attributes:n}}}},d8={provides(e){let t=!1;tt.matchMedia&&(t=tt.matchMedia("(prefers-reduced-motion: reduce)").matches),e.missingIconAbstract=function(){let o=[],n={fill:"currentColor"},a={attributeType:"XML",repeatCount:"indefinite",dur:"2s"};o.push({tag:"path",attributes:E(E({},n),{},{d:"M156.5,447.7l-12.6,29.5c-18.7-9.5-35.9-21.2-51.5-34.9l22.7-22.7C127.6,430.5,141.5,440,156.5,447.7z M40.6,272H8.5 c1.4,21.2,5.4,41.7,11.7,61.1L50,321.2C45.1,305.5,41.8,289,40.6,272z M40.6,240c1.4-18.8,5.2-37,11.1-54.1l-29.5-12.6 C14.7,194.3,10,216.7,8.5,240H40.6z M64.3,156.5c7.8-14.9,17.2-28.8,28.1-41.5L69.7,92.3c-13.7,15.6-25.5,32.8-34.9,51.5 L64.3,156.5z M397,419.6c-13.9,12-29.4,22.3-46.1,30.4l11.9,29.8c20.7-9.9,39.8-22.6,56.9-37.6L397,419.6z M115,92.4 c13.9-12,29.4-22.3,46.1-30.4l-11.9-29.8c-20.7,9.9-39.8,22.6-56.8,37.6L115,92.4z M447.7,355.5c-7.8,14.9-17.2,28.8-28.1,41.5 l22.7,22.7c13.7-15.6,25.5-32.9,34.9-51.5L447.7,355.5z M471.4,272c-1.4,18.8-5.2,37-11.1,54.1l29.5,12.6 c7.5-21.1,12.2-43.5,13.6-66.8H471.4z M321.2,462c-15.7,5-32.2,8.2-49.2,9.4v32.1c21.2-1.4,41.7-5.4,61.1-11.7L321.2,462z M240,471.4c-18.8-1.4-37-5.2-54.1-11.1l-12.6,29.5c21.1,7.5,43.5,12.2,66.8,13.6V471.4z M462,190.8c5,15.7,8.2,32.2,9.4,49.2h32.1 c-1.4-21.2-5.4-41.7-11.7-61.1L462,190.8z M92.4,397c-12-13.9-22.3-29.4-30.4-46.1l-29.8,11.9c9.9,20.7,22.6,39.8,37.6,56.9 L92.4,397z M272,40.6c18.8,1.4,36.9,5.2,54.1,11.1l12.6-29.5C317.7,14.7,295.3,10,272,8.5V40.6z M190.8,50 c15.7-5,32.2-8.2,49.2-9.4V8.5c-21.2,1.4-41.7,5.4-61.1,11.7L190.8,50z M442.3,92.3L419.6,115c12,13.9,22.3,29.4,30.5,46.1 l29.8-11.9C470,128.5,457.3,109.4,442.3,92.3z M397,92.4l22.7-22.7c-15.6-13.7-32.8-25.5-51.5-34.9l-12.6,29.5 C370.4,72.1,384.4,81.5,397,92.4z"})});let i=E(E({},a),{},{attributeName:"opacity"}),s={tag:"circle",attributes:E(E({},n),{},{cx:"256",cy:"364",r:"28"}),children:[]};return t||s.children.push({tag:"animate",attributes:E(E({},a),{},{attributeName:"r",values:"28;14;28;28;14;28;"})},{tag:"animate",attributes:E(E({},i),{},{values:"1;0;1;1;0;1;"})}),o.push(s),o.push({tag:"path",attributes:E(E({},n),{},{opacity:"1",d:"M263.7,312h-16c-6.6,0-12-5.4-12-12c0-71,77.4-63.9,77.4-107.8c0-20-17.8-40.2-57.4-40.2c-29.1,0-44.3,9.6-59.2,28.7 c-3.9,5-11.1,6-16.2,2.4l-13.1-9.2c-5.6-3.9-6.9-11.8-2.6-17.2c21.2-27.2,46.4-44.7,91.2-44.7c52.3,0,97.4,29.8,97.4,80.2 c0,67.6-77.4,63.5-77.4,107.8C275.7,306.6,270.3,312,263.7,312z"}),children:t?[]:[{tag:"animate",attributes:E(E({},i),{},{values:"1;0;0;0;0;1;"})}]}),t||o.push({tag:"path",attributes:E(E({},n),{},{opacity:"0",d:"M232.5,134.5l7,168c0.3,6.4,5.6,11.5,12,11.5h9c6.4,0,11.7-5.1,12-11.5l7-168c0.3-6.8-5.2-12.5-12-12.5h-23 C237.7,122,232.2,127.7,232.5,134.5z"}),children:[{tag:"animate",attributes:E(E({},i),{},{values:"0;0;1;1;0;0;"})}]}),{tag:"g",attributes:{class:"missing"},children:o}}}},f8={hooks(){return{parseNodeAttributes(e,t){let o=t.getAttribute("data-fa-symbol"),n=o===null?!1:o===""?!0:o;return e.symbol=n,e}}}},u8=[n6,Y6,q6,X6,Q6,a8,i8,s8,l8,d8,f8];C6(u8,{mixoutsTo:pe});var My=pe.noAuto,ky=pe.config,$1=pe.library,Py=pe.dom,zy=pe.parse,Iy=pe.findIconDefinition,Dy=pe.toHtml,j1=pe.icon,Uy=pe.layer,By=pe.text,Gy=pe.counter;var h;(function(e){e.LOCK_KEYHOLE="lock-keyhole",e.LINK_SIMPLE_SLASH="link-simple-slash",e.TABLE_LAYOUT="table-layout",e.LAYER_GROUP="layer-group",e.CIRCLE_INFO="circle-info",e.BARS_PROGRESS="bars-progress",e.CODE_COMPARE="code-compare",e.HOURGLASS_END="hourglass-end",e.BOX_ARCHIVE="box-archive",e.ARROWS_ROTATE="arrows-rotate",e.CIRCLE_DOT="circle-dot",e.ANGLES_LEFT="angles-left",e.ROUTE="route",e.BARS="bars",e.ARROW_DOWN="arrow-down",e.LOCK_KEYHOLE_OPEN="lock-keyhole-open",e.DESKTOP="desktop",e.ANGLES_RIGHT="angles-right",e.PIGGY_BANK="piggy-bank",e.ANGLE_UP="angle-up",e.PEN_NIB="pen-nib",e.ARROW_UP_RIGHT_FROM_SQUARE="arrow-up-right-from-square",e.GRID_2="grid-2",e.BOOKS="books",e.TAG="tag",e.ANGLES_UP_DOWN="angles-up-down",e.ARROW_ROTATE_LEFT="arrow-rotate-left",e.EYE_SLASH="eye-slash",e.CIRCLE_DOLLAR="circle-dollar",e.COMPRESS="compress",e.RADAR="radar",e.ARROW_ROTATE_RIGHT="arrow-rotate-right",e.CHART_NETWORK="chart-network",e.PLUS="plus",e.UNDERLINE="underline",e.ARROW_LEFT="arrow-left",e.UPLOAD="upload",e.GLOBE="globe",e.LANGUAGE="language",e.TOGGLE_ON="toggle-on",e.DOWNLOAD="download",e.MESSAGE_QUOTE="message-quote",e.TRIANGLE_EXCLAMATION="triangle-exclamation",e.STAR="star",e.BELL_SLASH="bell-slash",e.HOURGLASS_HALF="hourglass-half",e.INBOX="inbox",e.COMMENT_DOTS="comment-dots",e.ANGLE_DOWN="angle-down",e.CLOUD_ARROW_DOWN="cloud-arrow-down",e.BOOKMARK_SLASH="bookmark-slash",e.LINK_SIMPLE="link-simple",e.CLOCK_ROTATE_LEFT="clock-rotate-left",e.SPINNER_THIRD="spinner-third",e.PLUG="plug",e.CHART_SIMPLE="chart-simple",e.CIRCLE_PLAY="circle-play",e.FILE_MAGNIFYING_GLASS="file-magnifying-glass",e.PEN="pen",e.TABLET="tablet",e.CIRCLE_CHECK="circle-check",e.FILE_INVOICE="file-invoice",e.XMARK="xmark",e.ARROW_RIGHT="arrow-right",e.BOOKMARK="bookmark",e.EXPAND_WIDE="expand-wide",e.USER="user",e.SERVER="server",e.CALENDAR_RANGE="calendar-range",e.BROOM_WIDE="broom-wide",e.ARROWS_UP_DOWN_LEFT_RIGHT="arrows-up-down-left-right",e.WIFI_SLASH="wifi-slash",e.CHECK="check",e.ITALIC="italic",e.LIFE_RING="life-ring",e.TABLE_CELLS="table-cells",e.TRASH_CAN="trash-can",e.WRENCH="wrench",e.PAPERCLIP="paperclip",e.CABINET_FILING="cabinet-filing",e.ARROW_UP="arrow-up",e.FILE="file",e.CIRCLE_QUESTION="circle-question",e.COLUMNS_3="columns-3",e.GEAR="gear",e.CHART_LINE="chart-line",e.THUMBS_UP="thumbs-up",e.HAND="hand",e.CIRCLE="circle",e.CALENDAR_DAY="calendar-day",e.CLOUD="cloud",e.LIST_TREE="list-tree",e.ANGLE_RIGHT="angle-right",e.CODE="code",e.ALIGN_CENTER="align-center",e.COMMENT_QUESTION="comment-question",e.IMAGE="image",e.ARROW_UP_RIGHT_AND_ARROW_DOWN_LEFT_FROM_CENTER="arrow-up-right-and-arrow-down-left-from-center",e.THUMBS_DOWN="thumbs-down",e.DIAGRAM_SANKEY="diagram-sankey",e.MESSAGE_CHECK="message-check",e.BOLD="bold",e.CIRCLE_STOP="circle-stop",e.ARROW_RIGHT_TO_BRACKET="arrow-right-to-bracket",e.USERS="users",e.ARROW_TURN_DOWN_RIGHT="arrow-turn-down-right",e.PRINT="print",e.ALIGN_RIGHT="align-right",e.FLASK="flask",e.MAGNIFYING_GLASS_PLUS="magnifying-glass-plus",e.SHIELD_CHECK="shield-check",e.STRIKETHROUGH="strikethrough",e.FOLDER_OPEN="folder-open",e.CLONE="clone",e.HEART="heart",e.PAPER_PLANE="paper-plane",e.MAGNIFYING_GLASS_MINUS="magnifying-glass-minus",e.BOOK="book",e.CLOCK="clock",e.ELLIPSIS_VERTICAL="ellipsis-vertical",e.ARROW_RIGHT_TO_LINE="arrow-right-to-line",e.ANGLE_LEFT="angle-left",e.CALENDAR_CIRCLE_EXCLAMATION="calendar-circle-exclamation",e.EXPAND="expand",e.EQUALS="equals",e.RECEIPT="receipt",e.EYE="eye",e.ALIGN_LEFT="align-left",e.PAINTBRUSH="paintbrush",e.KEY="key",e.PALETTE="palette",e.FLOPPY_DISK="floppy-disk",e.MAGNIFYING_GLASS="magnifying-glass",e.ELLIPSIS="ellipsis",e.SHARE_NODES="share-nodes",e.ARROWS_FROM_LINE="arrows-from-line",e.POWER_OFF="power-off",e.ENVELOPE_OPEN_TEXT="envelope-open-text",e.CIRCLE_PAUSE="circle-pause",e.MOBILE="mobile",e.BELL="bell",e.FILTER="filter",e.MEDAL="medal",e.CLOUD_SLASH="cloud-slash",e.MINUS="minus",e.PASTE="paste",e.CALENDAR_CHECK="calendar-check",e.HEXAGON_XMARK="hexagon-xmark",e.PAUSE="pause",e.CHART_MIXED="chart-mixed",e.ROBOT="robot",e.WAND_MAGIC_SPARKLES="wand-magic-sparkles",e.HEXAGON_EXCLAMATION="hexagon-exclamation",e.CUBES="cubes",e.TURN_RIGHT="turn-right",e.SQUARE_INFO="square-info",e.MESSAGE_BOT="message-bot",e.PLAY="play",e.TURN_LEFT="turn-left",e.ADDRESS_CARD="address-card",e.CROWN="crown",e.GRIP_LINES="grip-lines",e.CHART_AREA="chart-area",e.TRASH="trash",e.USER_TIE="user-tie",e.CIRCLE_SMALL="circle-small",e.REGULAR_FOLDER_OPEN_LOCK="regular-folder-open-lock",e.REGULAR_USER_CIRCLE_CHECK="regular-user-circle-check",e.SOLID_LEFT_PANEL="solid-left-panel",e.REGULAR_BINDER_OPEN="regular-binder-open",e.REGULAR_BOOKMARK_CIRCLE_PLUS="regular-bookmark-circle-plus",e.REGULAR_DIAGRAM_SUNBURST="regular-diagram-sunburst",e.REGULAR_PREVIEW="regular-preview",e.REGULAR_CONTEXT="regular-context",e.REGULAR_MOBILE_LANDSCAPE="regular-mobile-landscape",e.SOLID_FILE_ROTATE_RIGHT="solid-file-rotate-right",e.REGULAR_PIP_WIDE="regular-pip-wide",e.REGULAR_CLONE_LINK_SIMPLE="regular-clone-link-simple",e.REGULAR_LEFT_PANEL="regular-left-panel",e.LIGHT_FILE_LINES_GEAR="light-file-lines-gear",e.REGULAR_FILE_LINES_GEAR="regular-file-lines-gear",e.REGULAR_CIRCLE_DASHED_DOLLAR_QUESTION="regular-circle-dashed-dollar-question",e.REGULAR_TABLE_CELLS_SLASH="regular-table-cells-slash",e.REGULAR_BOOK_OPEN_GEAR_SLASH="regular-book-open-gear-slash",e.REGULAR_TABLET_LANDSCAPE="regular-tablet-landscape",e.REGULAR_CHART_BAR_STACKED="regular-chart-bar-stacked",e.SOLID_CIRCLE_USER_CIRCLE_CHECK="solid-circle-user-circle-check",e.REGULAR_BULLETS_LINE="regular-bullets-line",e.REGULAR_LANGUAGE_CIRCLE_EXCLAMATION="regular-language-circle-exclamation",e.SOLID_CODE_COMPARE="solid-code-compare",e.REGULAR_FORMAT_CLEAR="regular-format-clear",e.REGULAR_MAGNIFYING_GLASS_BACK="regular-magnifying-glass-back",e.LIGHT_RECEIPT_GEAR="light-receipt-gear",e.REGULAR_BINDER_OPEN_ARROW_LEFT="regular-binder-open-arrow-left",e.REGULAR_HOURGLASS_HALF_CIRCLE_CHECK="regular-hourglass-half-circle-check",e.REGULAR_THRESHOLD="regular-threshold",e.REGULAR_PIP="regular-pip",e.REGULAR_USER_GEAR="regular-user-gear",e.REGULAR_BELL_CIRCLE_PLUS="regular-bell-circle-plus",e.REGULAR_CLOUD_SLASH_GEAR="regular-cloud-slash-gear",e.REGULAR_HOUSE_MAGNIFYING_GLASS="regular-house-magnifying-glass",e.SOLID_CIRCLE_USER_SLASH="solid-circle-user-slash",e.REGULAR_LIST_MAGNIFYING_GLASS="regular-list-magnifying-glass",e.REGULAR_COMPUTER_MOUSE_MAGNIFYING_GLASS="regular-computer-mouse-magnifying-glass",e.REGULAR_LANGUAGE_SLASH="regular-language-slash",e.REGULAR_CHART_BAR_GROUPED="regular-chart-bar-grouped",e.REGULAR_CONSUMER="regular-consumer",e.REGULAR_CHART_BAR_NORMALIZED="regular-chart-bar-normalized",e.REGULAR_USER_LOCK="regular-user-lock",e.REGULAR_CIRCLE_DOLLAR_SLASH="regular-circle-dollar-slash",e.REGULAR_BINDER_OPEN_ARROW_RIGHT="regular-binder-open-arrow-right",e.REGULAR_BULLETS_LINES="regular-bullets-lines",e.REGULAR_BINDER_OPEN_PEN="regular-binder-open-pen",e.REGULAR_BOOKMARK_CIRCLE_MINUS="regular-bookmark-circle-minus",e.REGULAR_MAGNIFYING_GLASS_ONE="regular-magnifying-glass-one",e.REGULAR_BOOK_OPEN_GEAR="regular-book-open-gear",e.LIGHT_BOOK_OPEN_GEAR="light-book-open-gear"})(h||(h={}));var Fy={[h.LOCK_KEYHOLE]:[p.regular,p.solid],[h.LINK_SIMPLE_SLASH]:[p.regular],[h.TABLE_LAYOUT]:[p.regular],[h.LAYER_GROUP]:[p.regular],[h.CIRCLE_INFO]:[p.regular],[h.BARS_PROGRESS]:[p.regular],[h.CODE_COMPARE]:[p.regular,p.solid],[h.HOURGLASS_END]:[p.regular],[h.BOX_ARCHIVE]:[p.regular,p.solid],[h.ARROWS_ROTATE]:[p.regular],[h.CIRCLE_DOT]:[p.regular],[h.ANGLES_LEFT]:[p.regular],[h.ROUTE]:[p.regular],[h.BARS]:[p.regular],[h.ARROW_DOWN]:[p.regular],[h.LOCK_KEYHOLE_OPEN]:[p.regular,p.solid],[h.DESKTOP]:[p.regular],[h.ANGLES_RIGHT]:[p.regular],[h.PIGGY_BANK]:[p.regular],[h.ANGLE_UP]:[p.regular],[h.PEN_NIB]:[p.regular],[h.ARROW_UP_RIGHT_FROM_SQUARE]:[p.regular],[h.GRID_2]:[p.regular],[h.BOOKS]:[p.regular],[h.TAG]:[p.regular,p.solid],[h.ANGLES_UP_DOWN]:[p.regular],[h.ARROW_ROTATE_LEFT]:[p.regular],[h.EYE_SLASH]:[p.regular],[h.CIRCLE_DOLLAR]:[p.regular,p.solid],[h.COMPRESS]:[p.regular],[h.RADAR]:[p.regular],[h.ARROW_ROTATE_RIGHT]:[p.regular],[h.CHART_NETWORK]:[p.regular],[h.PLUS]:[p.regular],[h.UNDERLINE]:[p.regular],[h.ARROW_LEFT]:[p.regular],[h.UPLOAD]:[p.regular],[h.GLOBE]:[p.regular],[h.LANGUAGE]:[p.regular],[h.TOGGLE_ON]:[p.regular],[h.DOWNLOAD]:[p.regular],[h.MESSAGE_QUOTE]:[p.regular,p.solid],[h.TRIANGLE_EXCLAMATION]:[p.regular,p.solid],[h.STAR]:[p.regular,p.solid],[h.BELL_SLASH]:[p.regular,p.solid],[h.HOURGLASS_HALF]:[p.regular],[h.INBOX]:[p.regular],[h.COMMENT_DOTS]:[p.regular],[h.ANGLE_DOWN]:[p.regular],[h.CLOUD_ARROW_DOWN]:[p.regular],[h.BOOKMARK_SLASH]:[p.regular],[h.LINK_SIMPLE]:[p.regular],[h.CLOCK_ROTATE_LEFT]:[p.regular],[h.SPINNER_THIRD]:[p.regular],[h.PLUG]:[p.regular],[h.CHART_SIMPLE]:[p.regular],[h.CIRCLE_PLAY]:[p.regular],[h.FILE_MAGNIFYING_GLASS]:[p.regular],[h.PEN]:[p.regular],[h.TABLET]:[p.regular],[h.CIRCLE_CHECK]:[p.regular,p.solid],[h.FILE_INVOICE]:[p.regular],[h.XMARK]:[p.regular,p.solid],[h.ARROW_RIGHT]:[p.regular],[h.BOOKMARK]:[p.regular,p.solid],[h.EXPAND_WIDE]:[p.regular],[h.USER]:[p.regular,p.solid],[h.SERVER]:[p.regular,p.solid],[h.CALENDAR_RANGE]:[p.regular],[h.BROOM_WIDE]:[p.regular],[h.ARROWS_UP_DOWN_LEFT_RIGHT]:[p.regular],[h.WIFI_SLASH]:[p.regular],[h.CHECK]:[p.regular,p.solid],[h.ITALIC]:[p.regular],[h.LIFE_RING]:[p.regular],[h.TABLE_CELLS]:[p.regular],[h.TRASH_CAN]:[p.regular],[h.WRENCH]:[p.regular],[h.PAPERCLIP]:[p.regular],[h.CABINET_FILING]:[p.regular],[h.ARROW_UP]:[p.regular],[h.FILE]:[p.regular],[h.CIRCLE_QUESTION]:[p.regular,p.solid],[h.COLUMNS_3]:[p.regular],[h.GEAR]:[p.regular,p.solid],[h.CHART_LINE]:[p.regular],[h.THUMBS_UP]:[p.regular,p.solid],[h.HAND]:[p.regular],[h.CIRCLE]:[p.regular,p.solid],[h.CALENDAR_DAY]:[p.regular],[h.CLOUD]:[p.regular],[h.LIST_TREE]:[p.regular],[h.ANGLE_RIGHT]:[p.regular],[h.CODE]:[p.regular],[h.ALIGN_CENTER]:[p.regular],[h.COMMENT_QUESTION]:[p.regular,p.solid],[h.IMAGE]:[p.regular],[h.ARROW_UP_RIGHT_AND_ARROW_DOWN_LEFT_FROM_CENTER]:[p.regular],[h.THUMBS_DOWN]:[p.regular,p.solid],[h.DIAGRAM_SANKEY]:[p.regular],[h.MESSAGE_CHECK]:[p.regular,p.solid],[h.BOLD]:[p.regular],[h.CIRCLE_STOP]:[p.regular,p.solid],[h.ARROW_RIGHT_TO_BRACKET]:[p.regular],[h.USERS]:[p.regular,p.solid],[h.ARROW_TURN_DOWN_RIGHT]:[p.regular],[h.PRINT]:[p.regular],[h.ALIGN_RIGHT]:[p.regular],[h.FLASK]:[p.regular],[h.MAGNIFYING_GLASS_PLUS]:[p.regular],[h.SHIELD_CHECK]:[p.regular],[h.STRIKETHROUGH]:[p.regular],[h.FOLDER_OPEN]:[p.regular],[h.CLONE]:[p.regular],[h.HEART]:[p.regular,p.solid],[h.PAPER_PLANE]:[p.regular],[h.MAGNIFYING_GLASS_MINUS]:[p.regular],[h.BOOK]:[p.regular],[h.CLOCK]:[p.regular,p.solid],[h.ELLIPSIS_VERTICAL]:[p.regular],[h.ARROW_RIGHT_TO_LINE]:[p.regular],[h.ANGLE_LEFT]:[p.regular],[h.CALENDAR_CIRCLE_EXCLAMATION]:[p.regular],[h.EXPAND]:[p.regular],[h.EQUALS]:[p.regular],[h.RECEIPT]:[p.regular],[h.EYE]:[p.regular],[h.ALIGN_LEFT]:[p.regular],[h.PAINTBRUSH]:[p.regular],[h.KEY]:[p.regular],[h.PALETTE]:[p.regular],[h.FLOPPY_DISK]:[p.regular],[h.MAGNIFYING_GLASS]:[p.regular],[h.ELLIPSIS]:[p.regular],[h.SHARE_NODES]:[p.regular],[h.ARROWS_FROM_LINE]:[p.regular],[h.POWER_OFF]:[p.regular],[h.ENVELOPE_OPEN_TEXT]:[p.regular],[h.CIRCLE_PAUSE]:[p.regular,p.solid],[h.MOBILE]:[p.regular],[h.BELL]:[p.regular,p.solid],[h.FILTER]:[p.regular,p.solid],[h.MEDAL]:[p.regular],[h.CLOUD_SLASH]:[p.regular],[h.MINUS]:[p.regular,p.solid],[h.PASTE]:[p.regular],[h.CALENDAR_CHECK]:[p.regular],[h.HEXAGON_XMARK]:[p.solid],[h.PAUSE]:[p.solid],[h.CHART_MIXED]:[p.solid],[h.ROBOT]:[p.solid],[h.WAND_MAGIC_SPARKLES]:[p.solid],[h.HEXAGON_EXCLAMATION]:[p.solid],[h.CUBES]:[p.solid],[h.TURN_RIGHT]:[p.solid],[h.SQUARE_INFO]:[p.solid],[h.MESSAGE_BOT]:[p.solid],[h.PLAY]:[p.solid],[h.TURN_LEFT]:[p.solid],[h.ADDRESS_CARD]:[p.solid],[h.CROWN]:[p.solid],[h.GRIP_LINES]:[p.solid],[h.CHART_AREA]:[p.solid],[h.TRASH]:[p.solid],[h.USER_TIE]:[p.solid],[h.CIRCLE_SMALL]:[p.solid],[h.REGULAR_FOLDER_OPEN_LOCK]:[p.custom],[h.REGULAR_USER_CIRCLE_CHECK]:[p.custom],[h.SOLID_LEFT_PANEL]:[p.custom],[h.REGULAR_BINDER_OPEN]:[p.custom],[h.REGULAR_BOOKMARK_CIRCLE_PLUS]:[p.custom],[h.REGULAR_DIAGRAM_SUNBURST]:[p.custom],[h.REGULAR_PREVIEW]:[p.custom],[h.REGULAR_CONTEXT]:[p.custom],[h.REGULAR_MOBILE_LANDSCAPE]:[p.custom],[h.SOLID_FILE_ROTATE_RIGHT]:[p.custom],[h.REGULAR_PIP_WIDE]:[p.custom],[h.REGULAR_CLONE_LINK_SIMPLE]:[p.custom],[h.REGULAR_LEFT_PANEL]:[p.custom],[h.LIGHT_FILE_LINES_GEAR]:[p.custom],[h.REGULAR_FILE_LINES_GEAR]:[p.custom],[h.REGULAR_CIRCLE_DASHED_DOLLAR_QUESTION]:[p.custom],[h.REGULAR_TABLE_CELLS_SLASH]:[p.custom],[h.REGULAR_BOOK_OPEN_GEAR_SLASH]:[p.custom],[h.REGULAR_TABLET_LANDSCAPE]:[p.custom],[h.REGULAR_CHART_BAR_STACKED]:[p.custom],[h.SOLID_CIRCLE_USER_CIRCLE_CHECK]:[p.custom],[h.REGULAR_BULLETS_LINE]:[p.custom],[h.REGULAR_LANGUAGE_CIRCLE_EXCLAMATION]:[p.custom],[h.SOLID_CODE_COMPARE]:[p.custom],[h.REGULAR_FORMAT_CLEAR]:[p.custom],[h.REGULAR_MAGNIFYING_GLASS_BACK]:[p.custom],[h.LIGHT_RECEIPT_GEAR]:[p.custom],[h.REGULAR_BINDER_OPEN_ARROW_LEFT]:[p.custom],[h.REGULAR_HOURGLASS_HALF_CIRCLE_CHECK]:[p.custom],[h.REGULAR_THRESHOLD]:[p.custom],[h.REGULAR_PIP]:[p.custom],[h.REGULAR_USER_GEAR]:[p.custom],[h.REGULAR_BELL_CIRCLE_PLUS]:[p.custom],[h.REGULAR_CLOUD_SLASH_GEAR]:[p.custom],[h.REGULAR_HOUSE_MAGNIFYING_GLASS]:[p.custom],[h.SOLID_CIRCLE_USER_SLASH]:[p.custom],[h.REGULAR_LIST_MAGNIFYING_GLASS]:[p.custom],[h.REGULAR_COMPUTER_MOUSE_MAGNIFYING_GLASS]:[p.custom],[h.REGULAR_LANGUAGE_SLASH]:[p.custom],[h.REGULAR_CHART_BAR_GROUPED]:[p.custom],[h.REGULAR_CONSUMER]:[p.custom],[h.REGULAR_CHART_BAR_NORMALIZED]:[p.custom],[h.REGULAR_USER_LOCK]:[p.custom],[h.REGULAR_CIRCLE_DOLLAR_SLASH]:[p.custom],[h.REGULAR_BINDER_OPEN_ARROW_RIGHT]:[p.custom],[h.REGULAR_BULLETS_LINES]:[p.custom],[h.REGULAR_BINDER_OPEN_PEN]:[p.custom],[h.REGULAR_BOOKMARK_CIRCLE_MINUS]:[p.custom],[h.REGULAR_MAGNIFYING_GLASS_ONE]:[p.custom],[h.REGULAR_BOOK_OPEN_GEAR]:[p.custom],[h.LIGHT_BOOK_OPEN_GEAR]:[p.custom]},K1={[p.regular]:"far",[p.solid]:"fas",[p.custom]:"fak"};var Ro=function(e,t,o,n){var a=arguments.length,i=a<3?t:n===null?n=Object.getOwnPropertyDescriptor(t,o):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(e,t,o,n);else for(var l=e.length-1;l>=0;l--)(s=e[l])&&(i=(a<3?s(i):a>3?s(t,o,i):s(t,o))||i);return a>3&&i&&Object.defineProperty(t,o,i),i},Pe=class extends Z1.FtLitElement{constructor(){super(...arguments),this.monospace=!1,this.ariaHidden="true"}render(){let t={"ftds-icon":!0,"ftds-icon--monospace":this.monospace};return V1.html`
911
911
  <div class="${(0,q1.classMap)(t)}">${(0,Y1.unsafeHTML)(this.buildIcon())}</div>
912
- `}buildIcon(){let t=this.variant?K1[this.variant]:void 0,o=Zn.find(n=>n.iconName===this.icon&&(t?n.prefix===t:!0));return o?($1.add(o),j1(o).html[0]):(console.log(`Attempted usage of unknown ftds-icon : ${this.icon}/${this.variant}`),"")}};Pe.elementDefinitions={};Pe.styles=Nc;Ro([(0,kr.property)()],Pe.prototype,"variant",void 0);Ro([(0,kr.property)()],Pe.prototype,"icon",void 0);Ro([(0,kr.property)({type:Boolean})],Pe.prototype,"monospace",void 0);Ro([(0,kr.property)({reflect:!0,attribute:"aria-hidden"})],Pe.prototype,"ariaHidden",void 0);var _a=A(D());(0,_a.customElement)("ft-icon")(ue);(0,_a.customElement)("ftds-icon")(Pe);var ei=A(oe());function p8(e,t){if(e===t)return!0;if(e&&t&&typeof e=="object"&&typeof t=="object"){if(e.constructor!==t.constructor)return!1;let o,n,a;if(Array.isArray(e)){if(o=e.length,o!=t.length)return!1;for(n=o;n--!==0;)if(!wo(e[n],t[n]))return!1;return!0}if(e instanceof Map&&t instanceof Map){if(e.size!==t.size)return!1;for(n of e.entries())if(!t.has(n[0]))return!1;for(n of e.entries())if(!wo(n[1],t.get(n[0])))return!1;return!0}if(e instanceof Set&&t instanceof Set){if(e.size!==t.size)return!1;for(n of e.entries())if(!t.has(n[0]))return!1;return!0}if(e.constructor===RegExp)return e.source===t.source&&e.flags===t.flags;if(e.valueOf!==Object.prototype.valueOf)return e.valueOf()===t.valueOf();let i=s=>Object.keys(s).filter(l=>s[l]!=null);if(a=i(e),o=a.length,o!==i(t).length)return!1;for(n=o;n--!==0;)if(!Object.prototype.hasOwnProperty.call(t,a[n]))return!1;for(n=o;n--!==0;){let s=a[n];if(!wo(e[s],t[s]))return!1}return!0}return e!==e&&t!==t||e==null&&t==null}function wo(e,t){try{return p8(e,t)}catch{return!1}}function Pr(e,t){return!wo(e,t)}function X1(e){return typeof window.structuredClone=="function"?structuredClone(e):e!=null?JSON.parse(JSON.stringify(e)):e}function _o(e,t){let o=n=>n[e]===!0;return n=>{if(o(n))return n;let a=t(n);return a[e]=!0,a}}var Q1=A(oe(),1);var Na=e=>{let t=e??{};return(o,n)=>{var a;let i={hasChanged:Pr,attribute:!1,...t};(0,Q1.property)(i)(o,n);let s=o.constructor;s.reduxProperties=new Map(s.reduxProperties),s.reduxProperties.set(n,{selector:(a=t.selector)!==null&&a!==void 0?a:l=>l[n],store:t.store})}};var No=class{constructor(){this.queue=[]}add(t,o=!1){o&&this.clear(t.type),this.queue.push(t)}consume(t){let o=this.queue.find(n=>n.type===t);return o&&(this.queue=this.queue.filter(n=>n!==o)),o}clear(t){typeof t=="string"?this.queue=this.queue.filter(o=>o.type!==t):this.queue=this.queue.filter(o=>!t.test(o.type))}};var Lt=A(oe(),1);var J1=A(oe(),1);function e2(e,t){let o=()=>JSON.parse(JSON.stringify(e));return(0,J1.property)({type:Object,converter:{fromAttribute:n=>{if(n==null)return o();try{return JSON.parse(n)}catch{return o()}},toAttribute:n=>JSON.stringify(n)},hasChanged:Pr,...t??{}})}var To=class{constructor(t=0){this.timeout=t,this.callbacks=[]}run(t,o){return this.callbacks=[t],this.debounce(o)}queue(t,o){return this.callbacks.push(t),this.debounce(o)}cancel(){this.clearTimeout(),this.resolvePromise&&this.resolvePromise(!1),this.clearPromise()}debounce(t){return this.promise==null&&(this.promise=new Promise((o,n)=>{this.resolvePromise=o,this.rejectPromise=n})),this.clearTimeout(),this._debounce=window.setTimeout(()=>this.runCallbacks(),t??this.timeout),this.promise}async runCallbacks(){var t,o;let n=[...this.callbacks];this.callbacks=[];let a=(t=this.rejectPromise)!==null&&t!==void 0?t:()=>null,i=(o=this.resolvePromise)!==null&&o!==void 0?o:()=>null;this.clearPromise();for(let s of n)try{await s()}catch(l){a(l);return}i(!0)}clearTimeout(){this._debounce!=null&&window.clearTimeout(this._debounce)}clearPromise(){this.promise=void 0,this.resolvePromise=void 0,this.rejectPromise=void 0}};var r2=A(Z(),1);var Mo=globalThis,h8=Mo.ShadowRoot&&(Mo.ShadyCSS===void 0||Mo.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,gb=Symbol();var t2=(e,t)=>{if(h8)e.adoptedStyleSheets=t.map(o=>o instanceof CSSStyleSheet?o:o.styleSheet);else for(let o of t){let n=document.createElement("style"),a=Mo.litNonce;a!==void 0&&n.setAttribute("nonce",a),n.textContent=o.cssText,e.appendChild(n)}};var ko=class extends r2.LitElement{createRenderRoot(){let t=this.constructor;t.elementDefinitions&&!t.registry&&(t.registry=new CustomElementRegistry,Object.entries(t.elementDefinitions).forEach(([a,i])=>t.registry.define(a,i)));let o={...t.shadowRootOptions,customElements:t.registry},n=this.renderOptions.creationScope=this.attachShadow(o);return t2(n,t.elementStyles),n}};function o2(e,t,...o){var n;let a=e.querySelector(t);for(let i of o)a=(n=a?.shadowRoot)===null||n===void 0?void 0:n.querySelector(i);return a}var rr=function(e,t,o,n){var a=arguments.length,i=a<3?t:n===null?n=Object.getOwnPropertyDescriptor(t,o):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(e,t,o,n);else for(var l=e.length-1;l>=0;l--)(s=e[l])&&(i=(a<3?s(i):a>3?s(t,o,i):s(t,o))||i);return a>3&&i&&Object.defineProperty(t,o,i),i},s2,n2=Symbol("constructorPrototype"),a2=Symbol("constructorName"),c2=Symbol("exportpartsDebouncer"),i2=Symbol("dynamicDependenciesLoaded"),tr=class e extends CustomEvent{constructor(){super(e.eventName,{bubbles:!0})}};tr.eventName="exportparts-updated";var ze=class extends ko{constructor(){super(),this.useAdoptedStyleSheets=!0,this.adoptedCustomStyleSheet=new CSSStyleSheet,this[s2]=new To(5),this.scheduleExportpartsUpdate=()=>{var t,o,n;(!((t=this.exportpartsPrefix)===null||t===void 0)&&t.trim()||(n=(o=this.exportpartsPrefixes)===null||o===void 0?void 0:o.length)!==null&&n!==void 0&&n)&&this[c2].run(()=>{var a,i;!((a=this.exportpartsPrefix)===null||a===void 0)&&a.trim()?this.setExportpartsAttribute([this.exportpartsPrefix]):this.exportpartsPrefixes!=null&&((i=this.exportpartsPrefixes)===null||i===void 0?void 0:i.length)>0&&this.setExportpartsAttribute(this.exportpartsPrefixes)})},this[a2]=this.constructor.name,this[n2]=this.constructor.prototype}adoptedCallback(){this.constructor.name!==this[a2]&&Object.setPrototypeOf(this,this[n2])}connectedCallback(){var t;super.connectedCallback();try{this.shadowRoot&&!this.shadowRoot.adoptedStyleSheets.includes(this.adoptedCustomStyleSheet)&&(this.shadowRoot.adoptedStyleSheets=[...this.shadowRoot.adoptedStyleSheets,this.adoptedCustomStyleSheet]),this.useAdoptedStyleSheets=!0}catch(n){this.useAdoptedStyleSheets=!1,console.error("Cannot use adopted stylesheets",n)}let o=this.constructor;o[i2]||(o[i2]=!0,this.importDynamicDependencies()),(t=this.shadowRoot)===null||t===void 0||t.addEventListener(tr.eventName,this.scheduleExportpartsUpdate)}disconnectedCallback(){var t;super.disconnectedCallback(),(t=this.shadowRoot)===null||t===void 0||t.removeEventListener(tr.eventName,this.scheduleExportpartsUpdate)}importDynamicDependencies(){}updated(t){super.updated(t),this.updateComplete.then(()=>{this.contentAvailableCallback(t),this.focusElementToFocus(t),this.applyCustomStylesheet(t),this.scheduleExportpartsUpdate(),t.has("exportparts")&&this.dispatchEvent(new tr)})}contentAvailableCallback(t){}focusElementToFocus(t){if(t.has("elementToFocus")&&this.elementToFocus!=null){let{element:o,selector:n,shadowPath:a}=this.elementToFocus;if(n!=null){let i=[...a??[],n];o=o2(this.shadowRoot,...i)}o?.focus(),window.FluidTopicsA11yHints.isKeyboardNavigation||o?.blur(),this.elementToFocus=void 0}}applyCustomStylesheet(t){var o,n,a;if(((n=(o=this.shadowRoot)===null||o===void 0?void 0:o.querySelectorAll(".ft-lit-element--custom-stylesheet"))!==null&&n!==void 0?n:[]).forEach(i=>i.remove()),this.useAdoptedStyleSheets){if(t.has("customStylesheet"))try{this.adoptedCustomStyleSheet.replaceSync((a=this.customStylesheet)!==null&&a!==void 0?a:"")}catch(i){console.error(i,this.customStylesheet),this.useAdoptedStyleSheets=!1}}else if(this.customStylesheet){let i=document.createElement("style");i.classList.add("ft-lit-element--custom-stylesheet"),i.innerHTML=this.customStylesheet,this.shadowRoot.append(i)}}setExportpartsAttribute(t){var o,n,a,i,s,l;let f=y=>y!=null&&y.trim().length>0,u=t.filter(f).map(y=>y.trim());if(u.length===0){this.exportparts=void 0;return}let m=new Set;for(let y of(n=(o=this.shadowRoot)===null||o===void 0?void 0:o.querySelectorAll("[part],[exportparts]"))!==null&&n!==void 0?n:[]){let x=(i=(a=y.getAttribute("part"))===null||a===void 0?void 0:a.split(" "))!==null&&i!==void 0?i:[],v=(l=(s=y.getAttribute("exportparts"))===null||s===void 0?void 0:s.split(",").map(O=>O.split(":")[1]))!==null&&l!==void 0?l:[],C=[...x,...v].filter(f).map(O=>O.trim());for(let O of C)m.add(O)}if(m.size===0){this.exportparts=void 0;return}let g=[...m.values()].flatMap(y=>u.map(x=>`${y}:${x}--${y}`));this.exportparts=[...this.part,...g].join(", ")}};s2=c2;rr([(0,Lt.property)()],ze.prototype,"exportpartsPrefix",void 0);rr([e2([])],ze.prototype,"exportpartsPrefixes",void 0);rr([(0,Lt.property)({reflect:!0})],ze.prototype,"exportparts",void 0);rr([(0,Lt.property)()],ze.prototype,"customStylesheet",void 0);rr([(0,Lt.property)()],ze.prototype,"elementToFocus",void 0);rr([(0,Lt.state)()],ze.prototype,"useAdoptedStyleSheets",void 0);function Po(e){var t;return(t=e?.isFtReduxStore)!==null&&t!==void 0?t:!1}var zr=Symbol("internalReduxEventsUnsubscribers"),nt=Symbol("internalStoresUnsubscribers"),Ot=Symbol("internalStores"),m8=_o(Symbol("withRedux"),function(e){var t,o,n;class a extends e{constructor(){super(...arguments),this[t]=new Map,this[o]=new Map,this[n]=new Map}get reduxConstructor(){return this.constructor}willUpdate(s){super.willUpdate(s),[...this.reduxConstructor.reduxReactiveProperties].some(l=>s.has(l))&&this.updateFromStores()}getUnnamedStore(){if(this[Ot].size>1)throw new Error("Cannot resolve unnamed store when multiple stores are configured.");return[...this[Ot].values()][0]}getStore(s){return s==null?this.getUnnamedStore():this[Ot].get(s)}addStore(s,l){var f;l=(f=l??s.name)!==null&&f!==void 0?f:"default-store",this.unsubscribeFromStore(l),this[Ot].set(l,s),this.subscribeToStore(l,s),this.updateFromStores()}removeStore(s){let l=typeof s=="string"?s:s.name;this.unsubscribeFromStore(l),this[Ot].delete(l)}setupStores(){this.unsubscribeFromStores(),this[Ot].forEach((s,l)=>this.subscribeToStore(l,s)),this.updateFromStores()}updateFromStores(){this.reduxConstructor.reduxProperties.forEach((s,l)=>{let f=this.constructor.getPropertyOptions(l);if(!f?.attribute||!this.hasAttribute(typeof f?.attribute=="string"?f.attribute:l)){let u=this.getStore(s.store);u&&(s.store?this[nt].has(s.store):this[nt].size>0)&&(this[l]=s.selector(u.getState(),this))}})}subscribeToStore(s,l){var f;this[nt].set(s,l.subscribe(()=>this.updateFromStores())),this[zr].set(s,[]),Po(l)&&l.eventBus&&((f=this.reduxConstructor.reduxEventListeners)===null||f===void 0||f.forEach((u,m)=>{if(typeof this[m]=="function"&&(!u.store||l.name===u.store)){let g=y=>this[m](y);l.addEventListener(u.eventName,g),this[zr].get(s).push(()=>l.removeEventListener(u.eventName,g))}})),this.onStoreAvailable(s)}unsubscribeFromStores(){this[nt].forEach((s,l)=>this.unsubscribeFromStore(l))}unsubscribeFromStore(s){var l;this[nt].has(s)&&this[nt].get(s)(),this[nt].delete(s),(l=this[zr].get(s))===null||l===void 0||l.forEach(f=>f()),this[zr].delete(s)}onStoreAvailable(s){}connectedCallback(){super.connectedCallback(),this.setupStores()}disconnectedCallback(){super.disconnectedCallback(),this.unsubscribeFromStores()}}return t=nt,o=Ot,n=zr,a.reduxProperties=new Map,a.reduxReactiveProperties=new Set,a.reduxEventListeners=new Map,a}),l2=class extends m8(ze){};function ye(e){for(var t=arguments.length,o=Array(t>1?t-1:0),n=1;n<t;n++)o[n-1]=arguments[n];if(0)var a,i;throw Error("[Immer] minified error nr: "+e+(o.length?" "+o.map(function(s){return"'"+s+"'"}).join(","):"")+". Find the full error at: https://bit.ly/3cXEKWf")}function Ke(e){return!!e&&!!e[F]}function Oe(e){var t;return!!e&&(function(o){if(!o||typeof o!="object")return!1;var n=Object.getPrototypeOf(o);if(n===null)return!0;var a=Object.hasOwnProperty.call(n,"constructor")&&n.constructor;return a===Object||typeof a=="function"&&Function.toString.call(a)===E8}(e)||Array.isArray(e)||!!e[g2]||!!(!((t=e.constructor)===null||t===void 0)&&t[g2])||Ba(e)||Ga(e))}function Rt(e,t,o){o===void 0&&(o=!1),ar(e)===0?(o?Object.keys:nr)(e).forEach(function(n){o&&typeof n=="symbol"||t(n,e[n],e)}):e.forEach(function(n,a){return t(a,n,e)})}function ar(e){var t=e[F];return t?t.i>3?t.i-4:t.i:Array.isArray(e)?1:Ba(e)?2:Ga(e)?3:0}function or(e,t){return ar(e)===2?e.has(t):Object.prototype.hasOwnProperty.call(e,t)}function g8(e,t){return ar(e)===2?e.get(t):e[t]}function y2(e,t,o){var n=ar(e);n===2?e.set(t,o):n===3?e.add(o):e[t]=o}function b2(e,t){return e===t?e!==0||1/e==1/t:e!=e&&t!=t}function Ba(e){return S8&&e instanceof Map}function Ga(e){return C8&&e instanceof Set}function at(e){return e.o||e.t}function Ha(e){if(Array.isArray(e))return Array.prototype.slice.call(e);var t=S2(e);delete t[F];for(var o=nr(t),n=0;n<o.length;n++){var a=o[n],i=t[a];i.writable===!1&&(i.writable=!0,i.configurable=!0),(i.get||i.set)&&(t[a]={configurable:!0,writable:!0,enumerable:i.enumerable,value:e[a]})}return Object.create(Object.getPrototypeOf(e),t)}function Wa(e,t){return t===void 0&&(t=!1),Fa(e)||Ke(e)||!Oe(e)||(ar(e)>1&&(e.set=e.add=e.clear=e.delete=y8),Object.freeze(e),t&&Rt(e,function(o,n){return Wa(n,!0)},!0)),e}function y8(){ye(2)}function Fa(e){return e==null||typeof e!="object"||Object.isFrozen(e)}function Ie(e){var t=Ua[e];return t||ye(18,e),t}function b8(e,t){Ua[e]||(Ua[e]=t)}function za(){return Dr}function Ta(e,t){t&&(Ie("Patches"),e.u=[],e.s=[],e.v=t)}function zo(e){Ia(e),e.p.forEach(x8),e.p=null}function Ia(e){e===Dr&&(Dr=e.l)}function d2(e){return Dr={p:[],l:Dr,h:e,m:!0,_:0}}function x8(e){var t=e[F];t.i===0||t.i===1?t.j():t.g=!0}function Ma(e,t){t._=t.p.length;var o=t.p[0],n=e!==void 0&&e!==o;return t.h.O||Ie("ES5").S(t,e,n),n?(o[F].P&&(zo(t),ye(4)),Oe(e)&&(e=Io(t,e),t.l||Do(t,e)),t.u&&Ie("Patches").M(o[F].t,e,t.u,t.s)):e=Io(t,o,[]),zo(t),t.u&&t.v(t.u,t.s),e!==v2?e:void 0}function Io(e,t,o){if(Fa(t))return t;var n=t[F];if(!n)return Rt(t,function(l,f){return f2(e,n,t,l,f,o)},!0),t;if(n.A!==e)return t;if(!n.P)return Do(e,n.t,!0),n.t;if(!n.I){n.I=!0,n.A._--;var a=n.i===4||n.i===5?n.o=Ha(n.k):n.o,i=a,s=!1;n.i===3&&(i=new Set(a),a.clear(),s=!0),Rt(i,function(l,f){return f2(e,n,a,l,f,o,s)}),Do(e,a,!1),o&&e.u&&Ie("Patches").N(n,o,e.u,e.s)}return n.o}function f2(e,t,o,n,a,i,s){if(Ke(a)){var l=Io(e,a,i&&t&&t.i!==3&&!or(t.R,n)?i.concat(n):void 0);if(y2(o,n,l),!Ke(l))return;e.m=!1}else s&&o.add(a);if(Oe(a)&&!Fa(a)){if(!e.h.D&&e._<1)return;Io(e,a),t&&t.A.l||Do(e,a)}}function Do(e,t,o){o===void 0&&(o=!1),!e.l&&e.h.D&&e.m&&Wa(t,o)}function ka(e,t){var o=e[F];return(o?at(o):e)[t]}function u2(e,t){if(t in e)for(var o=Object.getPrototypeOf(e);o;){var n=Object.getOwnPropertyDescriptor(o,t);if(n)return n;o=Object.getPrototypeOf(o)}}function it(e){e.P||(e.P=!0,e.l&&it(e.l))}function Pa(e){e.o||(e.o=Ha(e.t))}function Da(e,t,o){var n=Ba(t)?Ie("MapSet").F(t,o):Ga(t)?Ie("MapSet").T(t,o):e.O?function(a,i){var s=Array.isArray(a),l={i:s?1:0,A:i?i.A:za(),P:!1,I:!1,R:{},l:i,t:a,k:null,o:null,j:null,C:!1},f=l,u=Ur;s&&(f=[l],u=Ir);var m=Proxy.revocable(f,u),g=m.revoke,y=m.proxy;return l.k=y,l.j=g,y}(t,o):Ie("ES5").J(t,o);return(o?o.A:za()).p.push(n),n}function v8(e){return Ke(e)||ye(22,e),function t(o){if(!Oe(o))return o;var n,a=o[F],i=ar(o);if(a){if(!a.P&&(a.i<4||!Ie("ES5").K(a)))return a.t;a.I=!0,n=p2(o,i),a.I=!1}else n=p2(o,i);return Rt(n,function(s,l){a&&g8(a.t,s)===l||y2(n,s,t(l))}),i===3?new Set(n):n}(e)}function p2(e,t){switch(t){case 2:return new Map(e);case 3:return Array.from(e)}return Ha(e)}function x2(){function e(s,l){var f=i[s];return f?f.enumerable=l:i[s]=f={configurable:!0,enumerable:l,get:function(){var u=this[F];return Ur.get(u,s)},set:function(u){var m=this[F];Ur.set(m,s,u)}},f}function t(s){for(var l=s.length-1;l>=0;l--){var f=s[l][F];if(!f.P)switch(f.i){case 5:n(f)&&it(f);break;case 4:o(f)&&it(f)}}}function o(s){for(var l=s.t,f=s.k,u=nr(f),m=u.length-1;m>=0;m--){var g=u[m];if(g!==F){var y=l[g];if(y===void 0&&!or(l,g))return!0;var x=f[g],v=x&&x[F];if(v?v.t!==y:!b2(x,y))return!0}}var C=!!l[F];return u.length!==nr(l).length+(C?0:1)}function n(s){var l=s.k;if(l.length!==s.t.length)return!0;var f=Object.getOwnPropertyDescriptor(l,l.length-1);if(f&&!f.get)return!0;for(var u=0;u<l.length;u++)if(!l.hasOwnProperty(u))return!0;return!1}function a(s){s.g&&ye(3,JSON.stringify(at(s)))}var i={};b8("ES5",{J:function(s,l){var f=Array.isArray(s),u=function(g,y){if(g){for(var x=Array(y.length),v=0;v<y.length;v++)Object.defineProperty(x,""+v,e(v,!0));return x}var C=S2(y);delete C[F];for(var O=nr(C),_=0;_<O.length;_++){var R=O[_];C[R]=e(R,g||!!C[R].enumerable)}return Object.create(Object.getPrototypeOf(y),C)}(f,s),m={i:f?5:4,A:l?l.A:za(),P:!1,I:!1,R:{},l,t:s,k:u,o:null,g:!1,C:!1};return Object.defineProperty(u,F,{value:m,writable:!0}),u},S:function(s,l,f){f?Ke(l)&&l[F].A===s&&t(s.p):(s.u&&function u(m){if(m&&typeof m=="object"){var g=m[F];if(g){var y=g.t,x=g.k,v=g.R,C=g.i;if(C===4)Rt(x,function(k){k!==F&&(y[k]!==void 0||or(y,k)?v[k]||u(x[k]):(v[k]=!0,it(g)))}),Rt(y,function(k){x[k]!==void 0||or(x,k)||(v[k]=!1,it(g))});else if(C===5){if(n(g)&&(it(g),v.length=!0),x.length<y.length)for(var O=x.length;O<y.length;O++)v[O]=!1;else for(var _=y.length;_<x.length;_++)v[_]=!0;for(var R=Math.min(x.length,y.length),M=0;M<R;M++)x.hasOwnProperty(M)||(v[M]=!0),v[M]===void 0&&u(x[M])}}}}(s.p[0]),t(s.p))},K:function(s){return s.i===4?o(s):n(s)}})}var h2,Dr,$a=typeof Symbol<"u"&&typeof Symbol("x")=="symbol",S8=typeof Map<"u",C8=typeof Set<"u",m2=typeof Proxy<"u"&&Proxy.revocable!==void 0&&typeof Reflect<"u",v2=$a?Symbol.for("immer-nothing"):((h2={})["immer-nothing"]=!0,h2),g2=$a?Symbol.for("immer-draftable"):"__$immer_draftable",F=$a?Symbol.for("immer-state"):"__$immer_state";var E8=""+Object.prototype.constructor,nr=typeof Reflect<"u"&&Reflect.ownKeys?Reflect.ownKeys:Object.getOwnPropertySymbols!==void 0?function(e){return Object.getOwnPropertyNames(e).concat(Object.getOwnPropertySymbols(e))}:Object.getOwnPropertyNames,S2=Object.getOwnPropertyDescriptors||function(e){var t={};return nr(e).forEach(function(o){t[o]=Object.getOwnPropertyDescriptor(e,o)}),t},Ua={},Ur={get:function(e,t){if(t===F)return e;var o=at(e);if(!or(o,t))return function(a,i,s){var l,f=u2(i,s);return f?"value"in f?f.value:(l=f.get)===null||l===void 0?void 0:l.call(a.k):void 0}(e,o,t);var n=o[t];return e.I||!Oe(n)?n:n===ka(e.t,t)?(Pa(e),e.o[t]=Da(e.A.h,n,e)):n},has:function(e,t){return t in at(e)},ownKeys:function(e){return Reflect.ownKeys(at(e))},set:function(e,t,o){var n=u2(at(e),t);if(n?.set)return n.set.call(e.k,o),!0;if(!e.P){var a=ka(at(e),t),i=a?.[F];if(i&&i.t===o)return e.o[t]=o,e.R[t]=!1,!0;if(b2(o,a)&&(o!==void 0||or(e.t,t)))return!0;Pa(e),it(e)}return e.o[t]===o&&(o!==void 0||t in e.o)||Number.isNaN(o)&&Number.isNaN(e.o[t])||(e.o[t]=o,e.R[t]=!0),!0},deleteProperty:function(e,t){return ka(e.t,t)!==void 0||t in e.t?(e.R[t]=!1,Pa(e),it(e)):delete e.R[t],e.o&&delete e.o[t],!0},getOwnPropertyDescriptor:function(e,t){var o=at(e),n=Reflect.getOwnPropertyDescriptor(o,t);return n&&{writable:!0,configurable:e.i!==1||t!=="length",enumerable:n.enumerable,value:o[t]}},defineProperty:function(){ye(11)},getPrototypeOf:function(e){return Object.getPrototypeOf(e.t)},setPrototypeOf:function(){ye(12)}},Ir={};Rt(Ur,function(e,t){Ir[e]=function(){return arguments[0]=arguments[0][0],t.apply(this,arguments)}}),Ir.deleteProperty=function(e,t){return Ir.set.call(this,e,t,void 0)},Ir.set=function(e,t,o){return Ur.set.call(this,e[0],t,o,e[0])};var A8=function(){function e(o){var n=this;this.O=m2,this.D=!0,this.produce=function(a,i,s){if(typeof a=="function"&&typeof i!="function"){var l=i;i=a;var f=n;return function(C){var O=this;C===void 0&&(C=l);for(var _=arguments.length,R=Array(_>1?_-1:0),M=1;M<_;M++)R[M-1]=arguments[M];return f.produce(C,function(k){var I;return(I=i).call.apply(I,[O,k].concat(R))})}}var u;if(typeof i!="function"&&ye(6),s!==void 0&&typeof s!="function"&&ye(7),Oe(a)){var m=d2(n),g=Da(n,a,void 0),y=!0;try{u=i(g),y=!1}finally{y?zo(m):Ia(m)}return typeof Promise<"u"&&u instanceof Promise?u.then(function(C){return Ta(m,s),Ma(C,m)},function(C){throw zo(m),C}):(Ta(m,s),Ma(u,m))}if(!a||typeof a!="object"){if((u=i(a))===void 0&&(u=a),u===v2&&(u=void 0),n.D&&Wa(u,!0),s){var x=[],v=[];Ie("Patches").M(a,u,x,v),s(x,v)}return u}ye(21,a)},this.produceWithPatches=function(a,i){if(typeof a=="function")return function(u){for(var m=arguments.length,g=Array(m>1?m-1:0),y=1;y<m;y++)g[y-1]=arguments[y];return n.produceWithPatches(u,function(x){return a.apply(void 0,[x].concat(g))})};var s,l,f=n.produce(a,i,function(u,m){s=u,l=m});return typeof Promise<"u"&&f instanceof Promise?f.then(function(u){return[u,s,l]}):[f,s,l]},typeof o?.useProxies=="boolean"&&this.setUseProxies(o.useProxies),typeof o?.autoFreeze=="boolean"&&this.setAutoFreeze(o.autoFreeze)}var t=e.prototype;return t.createDraft=function(o){Oe(o)||ye(8),Ke(o)&&(o=v8(o));var n=d2(this),a=Da(this,o,void 0);return a[F].C=!0,Ia(n),a},t.finishDraft=function(o,n){var a=o&&o[F],i=a.A;return Ta(i,n),Ma(void 0,i)},t.setAutoFreeze=function(o){this.D=o},t.setUseProxies=function(o){o&&!m2&&ye(20),this.O=o},t.applyPatches=function(o,n){var a;for(a=n.length-1;a>=0;a--){var i=n[a];if(i.path.length===0&&i.op==="replace"){o=i.value;break}}a>-1&&(n=n.slice(a+1));var s=Ie("Patches").$;return Ke(o)?s(o,n):this.produce(o,function(l){return s(l,n)})},e}(),he=new A8,L8=he.produce,Tb=he.produceWithPatches.bind(he),Mb=he.setAutoFreeze.bind(he),kb=he.setUseProxies.bind(he),Pb=he.applyPatches.bind(he),zb=he.createDraft.bind(he),Ib=he.finishDraft.bind(he),Uo=L8;function wt(e){"@babel/helpers - typeof";return wt=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},wt(e)}function C2(e,t){if(wt(e)!="object"||!e)return e;var o=e[Symbol.toPrimitive];if(o!==void 0){var n=o.call(e,t||"default");if(wt(n)!="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function E2(e){var t=C2(e,"string");return wt(t)=="symbol"?t:t+""}function A2(e,t,o){return(t=E2(t))in e?Object.defineProperty(e,t,{value:o,enumerable:!0,configurable:!0,writable:!0}):e[t]=o,e}function L2(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(a){return Object.getOwnPropertyDescriptor(e,a).enumerable})),o.push.apply(o,n)}return o}function ja(e){for(var t=1;t<arguments.length;t++){var o=arguments[t]!=null?arguments[t]:{};t%2?L2(Object(o),!0).forEach(function(n){A2(e,n,o[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):L2(Object(o)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(o,n))})}return e}function ie(e){return"Minified Redux error #"+e+"; visit https://redux.js.org/Errors?code="+e+" for the full message or use the non-minified dev environment for full errors. "}var O2=function(){return typeof Symbol=="function"&&Symbol.observable||"@@observable"}(),Ka=function(){return Math.random().toString(36).substring(7).split("").join(".")},Bo={INIT:"@@redux/INIT"+Ka(),REPLACE:"@@redux/REPLACE"+Ka(),PROBE_UNKNOWN_ACTION:function(){return"@@redux/PROBE_UNKNOWN_ACTION"+Ka()}};function O8(e){if(typeof e!="object"||e===null)return!1;for(var t=e;Object.getPrototypeOf(t)!==null;)t=Object.getPrototypeOf(t);return Object.getPrototypeOf(e)===t}function Va(e,t,o){var n;if(typeof t=="function"&&typeof o=="function"||typeof o=="function"&&typeof arguments[3]=="function")throw new Error(ie(0));if(typeof t=="function"&&typeof o>"u"&&(o=t,t=void 0),typeof o<"u"){if(typeof o!="function")throw new Error(ie(1));return o(Va)(e,t)}if(typeof e!="function")throw new Error(ie(2));var a=e,i=t,s=[],l=s,f=!1;function u(){l===s&&(l=s.slice())}function m(){if(f)throw new Error(ie(3));return i}function g(C){if(typeof C!="function")throw new Error(ie(4));if(f)throw new Error(ie(5));var O=!0;return u(),l.push(C),function(){if(O){if(f)throw new Error(ie(6));O=!1,u();var R=l.indexOf(C);l.splice(R,1),s=null}}}function y(C){if(!O8(C))throw new Error(ie(7));if(typeof C.type>"u")throw new Error(ie(8));if(f)throw new Error(ie(9));try{f=!0,i=a(i,C)}finally{f=!1}for(var O=s=l,_=0;_<O.length;_++){var R=O[_];R()}return C}function x(C){if(typeof C!="function")throw new Error(ie(10));a=C,y({type:Bo.REPLACE})}function v(){var C,O=g;return C={subscribe:function(R){if(typeof R!="object"||R===null)throw new Error(ie(11));function M(){R.next&&R.next(m())}M();var k=O(M);return{unsubscribe:k}}},C[O2]=function(){return this},C}return y({type:Bo.INIT}),n={dispatch:y,subscribe:g,getState:m,replaceReducer:x},n[O2]=v,n}function R8(e){Object.keys(e).forEach(function(t){var o=e[t],n=o(void 0,{type:Bo.INIT});if(typeof n>"u")throw new Error(ie(12));if(typeof o(void 0,{type:Bo.PROBE_UNKNOWN_ACTION()})>"u")throw new Error(ie(13))})}function R2(e){for(var t=Object.keys(e),o={},n=0;n<t.length;n++){var a=t[n];typeof e[a]=="function"&&(o[a]=e[a])}var i=Object.keys(o),s,l;try{R8(o)}catch(f){l=f}return function(u,m){if(u===void 0&&(u={}),l)throw l;if(0)var g;for(var y=!1,x={},v=0;v<i.length;v++){var C=i[v],O=o[C],_=u[C],R=O(_,m);if(typeof R>"u"){var M=m&&m.type;throw new Error(ie(14))}x[C]=R,y=y||R!==_}return y=y||i.length!==Object.keys(u).length,y?x:u}}function ir(){for(var e=arguments.length,t=new Array(e),o=0;o<e;o++)t[o]=arguments[o];return t.length===0?function(n){return n}:t.length===1?t[0]:t.reduce(function(n,a){return function(){return n(a.apply(void 0,arguments))}})}function w2(){for(var e=arguments.length,t=new Array(e),o=0;o<e;o++)t[o]=arguments[o];return function(n){return function(){var a=n.apply(void 0,arguments),i=function(){throw new Error(ie(15))},s={getState:a.getState,dispatch:function(){return i.apply(void 0,arguments)}},l=t.map(function(f){return f(s)});return i=ir.apply(void 0,l)(a.dispatch),ja(ja({},a),{},{dispatch:i})}}}function _2(e){var t=function(n){var a=n.dispatch,i=n.getState;return function(s){return function(l){return typeof l=="function"?l(a,i,e):s(l)}}};return t}var N2=_2();N2.withExtraArgument=_2;var Za=N2;var z2=function(){var e=function(t,o){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(n,a){n.__proto__=a}||function(n,a){for(var i in a)Object.prototype.hasOwnProperty.call(a,i)&&(n[i]=a[i])},e(t,o)};return function(t,o){if(typeof o!="function"&&o!==null)throw new TypeError("Class extends value "+String(o)+" is not a constructor or null");e(t,o);function n(){this.constructor=t}t.prototype=o===null?Object.create(o):(n.prototype=o.prototype,new n)}}(),w8=function(e,t){var o={label:0,sent:function(){if(i[0]&1)throw i[1];return i[1]},trys:[],ops:[]},n,a,i,s;return s={next:l(0),throw:l(1),return:l(2)},typeof Symbol=="function"&&(s[Symbol.iterator]=function(){return this}),s;function l(u){return function(m){return f([u,m])}}function f(u){if(n)throw new TypeError("Generator is already executing.");for(;o;)try{if(n=1,a&&(i=u[0]&2?a.return:u[0]?a.throw||((i=a.return)&&i.call(a),0):a.next)&&!(i=i.call(a,u[1])).done)return i;switch(a=0,i&&(u=[u[0]&2,i.value]),u[0]){case 0:case 1:i=u;break;case 4:return o.label++,{value:u[1],done:!1};case 5:o.label++,a=u[1],u=[0];continue;case 7:u=o.ops.pop(),o.trys.pop();continue;default:if(i=o.trys,!(i=i.length>0&&i[i.length-1])&&(u[0]===6||u[0]===2)){o=0;continue}if(u[0]===3&&(!i||u[1]>i[0]&&u[1]<i[3])){o.label=u[1];break}if(u[0]===6&&o.label<i[1]){o.label=i[1],i=u;break}if(i&&o.label<i[2]){o.label=i[2],o.ops.push(u);break}i[2]&&o.ops.pop(),o.trys.pop();continue}u=t.call(e,o)}catch(m){u=[6,m],a=0}finally{n=i=0}if(u[0]&5)throw u[1];return{value:u[0]?u[1]:void 0,done:!0}}},sr=function(e,t){for(var o=0,n=t.length,a=e.length;o<n;o++,a++)e[a]=t[o];return e},_8=Object.defineProperty,N8=Object.defineProperties,T8=Object.getOwnPropertyDescriptors,T2=Object.getOwnPropertySymbols,M8=Object.prototype.hasOwnProperty,k8=Object.prototype.propertyIsEnumerable,M2=function(e,t,o){return t in e?_8(e,t,{enumerable:!0,configurable:!0,writable:!0,value:o}):e[t]=o},st=function(e,t){for(var o in t||(t={}))M8.call(t,o)&&M2(e,o,t[o]);if(T2)for(var n=0,a=T2(t);n<a.length;n++){var o=a[n];k8.call(t,o)&&M2(e,o,t[o])}return e},Ya=function(e,t){return N8(e,T8(t))},P8=function(e,t,o){return new Promise(function(n,a){var i=function(f){try{l(o.next(f))}catch(u){a(u)}},s=function(f){try{l(o.throw(f))}catch(u){a(u)}},l=function(f){return f.done?n(f.value):Promise.resolve(f.value).then(i,s)};l((o=o.apply(e,t)).next())})};var z8=typeof window<"u"&&window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__?window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__:function(){if(arguments.length!==0)return typeof arguments[0]=="object"?ir:ir.apply(null,arguments)},ex=typeof window<"u"&&window.__REDUX_DEVTOOLS_EXTENSION__?window.__REDUX_DEVTOOLS_EXTENSION__:function(){return function(e){return e}};function I8(e){if(typeof e!="object"||e===null)return!1;var t=Object.getPrototypeOf(e);if(t===null)return!0;for(var o=t;Object.getPrototypeOf(o)!==null;)o=Object.getPrototypeOf(o);return t===o}var D8=function(e){z2(t,e);function t(){for(var o=[],n=0;n<arguments.length;n++)o[n]=arguments[n];var a=e.apply(this,o)||this;return Object.setPrototypeOf(a,t.prototype),a}return Object.defineProperty(t,Symbol.species,{get:function(){return t},enumerable:!1,configurable:!0}),t.prototype.concat=function(){for(var o=[],n=0;n<arguments.length;n++)o[n]=arguments[n];return e.prototype.concat.apply(this,o)},t.prototype.prepend=function(){for(var o=[],n=0;n<arguments.length;n++)o[n]=arguments[n];return o.length===1&&Array.isArray(o[0])?new(t.bind.apply(t,sr([void 0],o[0].concat(this)))):new(t.bind.apply(t,sr([void 0],o.concat(this))))},t}(Array),U8=function(e){z2(t,e);function t(){for(var o=[],n=0;n<arguments.length;n++)o[n]=arguments[n];var a=e.apply(this,o)||this;return Object.setPrototypeOf(a,t.prototype),a}return Object.defineProperty(t,Symbol.species,{get:function(){return t},enumerable:!1,configurable:!0}),t.prototype.concat=function(){for(var o=[],n=0;n<arguments.length;n++)o[n]=arguments[n];return e.prototype.concat.apply(this,o)},t.prototype.prepend=function(){for(var o=[],n=0;n<arguments.length;n++)o[n]=arguments[n];return o.length===1&&Array.isArray(o[0])?new(t.bind.apply(t,sr([void 0],o[0].concat(this)))):new(t.bind.apply(t,sr([void 0],o.concat(this))))},t}(Array);function Qa(e){return Oe(e)?Uo(e,function(){}):e}function B8(e){return typeof e=="boolean"}function G8(){return function(t){return H8(t)}}function H8(e){e===void 0&&(e={});var t=e.thunk,o=t===void 0?!0:t,n=e.immutableCheck,a=n===void 0?!0:n,i=e.serializableCheck,s=i===void 0?!0:i,l=new D8;if(o&&(B8(o)?l.push(Za):l.push(Za.withExtraArgument(o.extraArgument))),0){if(a)var f;if(s)var u}return l}var qa=!0;function I2(e){var t=G8(),o=e||{},n=o.reducer,a=n===void 0?void 0:n,i=o.middleware,s=i===void 0?t():i,l=o.devTools,f=l===void 0?!0:l,u=o.preloadedState,m=u===void 0?void 0:u,g=o.enhancers,y=g===void 0?void 0:g,x;if(typeof a=="function")x=a;else if(I8(a))x=R2(a);else throw new Error('"reducer" is a required argument, and must be a function or an object of functions that can be passed to combineReducers');var v=s;if(typeof v=="function"&&(v=v(t),!qa&&!Array.isArray(v)))throw new Error("when using a middleware builder function, an array of middleware must be returned");if(!qa&&v.some(function(k){return typeof k!="function"}))throw new Error("each middleware provided to configureStore must be a function");var C=w2.apply(void 0,v),O=ir;f&&(O=z8(st({trace:!qa},typeof f=="object"&&f)));var _=new U8(C),R=_;Array.isArray(y)?R=sr([C],y):typeof y=="function"&&(R=y(_));var M=O.apply(void 0,R);return Va(x,m,M)}function ct(e,t){function o(){for(var n=[],a=0;a<arguments.length;a++)n[a]=arguments[a];if(t){var i=t.apply(void 0,n);if(!i)throw new Error("prepareAction did not return an object");return st(st({type:e,payload:i.payload},"meta"in i&&{meta:i.meta}),"error"in i&&{error:i.error})}return{type:e,payload:n[0]}}return o.toString=function(){return""+e},o.type=e,o.match=function(n){return n.type===e},o}function D2(e){var t={},o=[],n,a={addCase:function(i,s){var l=typeof i=="string"?i:i.type;if(l in t)throw new Error("addCase cannot be called with two reducers for the same action type");return t[l]=s,a},addMatcher:function(i,s){return o.push({matcher:i,reducer:s}),a},addDefaultCase:function(i){return n=i,a}};return e(a),[t,o,n]}function W8(e){return typeof e=="function"}function F8(e,t,o,n){o===void 0&&(o=[]);var a=typeof t=="function"?D2(t):[t,o,n],i=a[0],s=a[1],l=a[2],f;if(W8(e))f=function(){return Qa(e())};else{var u=Qa(e);f=function(){return u}}function m(g,y){g===void 0&&(g=f());var x=sr([i[y.type]],s.filter(function(v){var C=v.matcher;return C(y)}).map(function(v){var C=v.reducer;return C}));return x.filter(function(v){return!!v}).length===0&&(x=[l]),x.reduce(function(v,C){if(C)if(Ke(v)){var O=v,_=C(O,y);return _===void 0?v:_}else{if(Oe(v))return Uo(v,function(R){return C(R,y)});var _=C(v,y);if(_===void 0){if(v===null)return v;throw Error("A case reducer on a non-draftable value must not return undefined")}return _}return v},g)}return m.getInitialState=f,m}function $8(e,t){return e+"/"+t}function U2(e){var t=e.name;if(!t)throw new Error("`name` is a required option for createSlice");typeof process<"u";var o=typeof e.initialState=="function"?e.initialState:Qa(e.initialState),n=e.reducers||{},a=Object.keys(n),i={},s={},l={};a.forEach(function(m){var g=n[m],y=$8(t,m),x,v;"reducer"in g?(x=g.reducer,v=g.prepare):x=g,i[m]=x,s[y]=x,l[m]=v?ct(y,v):ct(y)});function f(){var m=typeof e.extraReducers=="function"?D2(e.extraReducers):[e.extraReducers],g=m[0],y=g===void 0?{}:g,x=m[1],v=x===void 0?[]:x,C=m[2],O=C===void 0?void 0:C,_=st(st({},y),s);return F8(o,function(R){for(var M in _)R.addCase(M,_[M]);for(var k=0,I=v;k<I.length;k++){var W=I[k];R.addMatcher(W.matcher,W.reducer)}O&&R.addDefaultCase(O)})}var u;return{name:t,reducer:function(m,g){return u||(u=f()),u(m,g)},actions:l,caseReducers:i,getInitialState:function(){return u||(u=f()),u.getInitialState()}}}var j8="ModuleSymbhasOwnPr-0123456789ABCDEFGHNRVfgctiUvz_KqYTJkLxpZXIjQW",K8=function(e){e===void 0&&(e=21);for(var t="",o=e;o--;)t+=j8[Math.random()*64|0];return t},V8=["name","message","stack","code"],Xa=function(){function e(t,o){this.payload=t,this.meta=o}return e}(),k2=function(){function e(t,o){this.payload=t,this.meta=o}return e}(),Z8=function(e){if(typeof e=="object"&&e!==null){for(var t={},o=0,n=V8;o<n.length;o++){var a=n[o];typeof e[a]=="string"&&(t[a]=e[a])}return t}return{message:String(e)}},nx=function(){function e(t,o,n){var a=ct(t+"/fulfilled",function(m,g,y,x){return{payload:m,meta:Ya(st({},x||{}),{arg:y,requestId:g,requestStatus:"fulfilled"})}}),i=ct(t+"/pending",function(m,g,y){return{payload:void 0,meta:Ya(st({},y||{}),{arg:g,requestId:m,requestStatus:"pending"})}}),s=ct(t+"/rejected",function(m,g,y,x,v){return{payload:x,error:(n&&n.serializeError||Z8)(m||"Rejected"),meta:Ya(st({},v||{}),{arg:y,requestId:g,rejectedWithValue:!!x,requestStatus:"rejected",aborted:m?.name==="AbortError",condition:m?.name==="ConditionError"})}}),l=!1,f=typeof AbortController<"u"?AbortController:function(){function m(){this.signal={aborted:!1,addEventListener:function(){},dispatchEvent:function(){return!1},onabort:function(){},removeEventListener:function(){},reason:void 0,throwIfAborted:function(){}}}return m.prototype.abort=function(){},m}();function u(m){return function(g,y,x){var v=n?.idGenerator?n.idGenerator(m):K8(),C=new f,O,_=!1;function R(k){O=k,C.abort()}var M=function(){return P8(this,null,function(){var k,I,W,se,Q,Te,J;return w8(this,function(b){switch(b.label){case 0:return b.trys.push([0,4,,5]),se=(k=n?.condition)==null?void 0:k.call(n,m,{getState:y,extra:x}),q8(se)?[4,se]:[3,2];case 1:se=b.sent(),b.label=2;case 2:if(se===!1||C.signal.aborted)throw{name:"ConditionError",message:"Aborted due to condition callback returning false."};return _=!0,Q=new Promise(function(S,z){return C.signal.addEventListener("abort",function(){return z({name:"AbortError",message:O||"Aborted"})})}),g(i(v,m,(I=n?.getPendingMeta)==null?void 0:I.call(n,{requestId:v,arg:m},{getState:y,extra:x}))),[4,Promise.race([Q,Promise.resolve(o(m,{dispatch:g,getState:y,extra:x,requestId:v,signal:C.signal,abort:R,rejectWithValue:function(S,z){return new Xa(S,z)},fulfillWithValue:function(S,z){return new k2(S,z)}})).then(function(S){if(S instanceof Xa)throw S;return S instanceof k2?a(S.payload,v,m,S.meta):a(S,v,m)})])];case 3:return W=b.sent(),[3,5];case 4:return Te=b.sent(),W=Te instanceof Xa?s(null,v,m,Te.payload,Te.meta):s(Te,v,m),[3,5];case 5:return J=n&&!n.dispatchConditionRejection&&s.match(W)&&W.meta.condition,J||g(W),[2,W]}})})}();return Object.assign(M,{abort:R,requestId:v,arg:m,unwrap:function(){return M.then(Y8)}})}}return Object.assign(u,{pending:i,rejected:s,fulfilled:a,typePrefix:t})}return e.withTypes=function(){return e},e}();function Y8(e){if(e.meta&&e.meta.rejectedWithValue)throw e.payload;if(e.error)throw e.error;return e.payload}function q8(e){return e!==null&&typeof e=="object"&&typeof e.then=="function"}var B2="listener",G2="completed",H2="cancelled",ax="task-"+H2,ix="task-"+G2,sx=B2+"-"+H2,cx=B2+"-"+G2;var Ja="listenerMiddleware";var lx=ct(Ja+"/add"),dx=ct(Ja+"/removeAll"),fx=ct(Ja+"/remove");var P2,ux=typeof queueMicrotask=="function"?queueMicrotask.bind(typeof window<"u"?window:typeof global<"u"?global:globalThis):function(e){return(P2||(P2=Promise.resolve())).then(e).catch(function(t){return setTimeout(function(){throw t},0)})},X8=function(e){return function(t){setTimeout(t,e)}},px=typeof window<"u"&&window.requestAnimationFrame?window.requestAnimationFrame:X8(10);x2();var Q8=_o(Symbol("withEventBus"),function(e,t){return class extends e{constructor(){super(...arguments),this.eventBus=t??document.createElement("span")}addEventListener(o,n,a){this.eventBus.addEventListener(o,n,a)}dispatchEvent(o){return this.eventBus.dispatchEvent(o)}removeEventListener(o,n,a){this.eventBus.removeEventListener(o,n,a)}}}),Go=class extends Q8(Object){};window.ftReduxStores||(window.ftReduxStores={});var W2=class e extends Go{static get(t){var o;let n=typeof t=="string"?t:t.name,a=typeof t=="string"?void 0:t,i=window.ftReduxStores[n];if(Po(i))return i;if(a==null)return;let s=U2({...a,reducers:(o=a.reducers)!==null&&o!==void 0?o:{}}),l=I2({reducer:(f,u)=>{if(u.type==="CLEAR_FT_REDUX_STORE"){let m=X1(s.getInitialState());for(let g of u.keeping)m[g]=(f??m)[g];return m}else if(typeof u.type=="string"&&u.type.startsWith("DEFAULT_VALUE_SETTER__"))return{...f,...u.overwrites};return s.reducer(f,u)}});return window.ftReduxStores[a.name]=new e(s,l,a.eventBus)}constructor(t,o,n){super(),this.reduxSlice=t,this.reduxStore=o,this.isFtReduxStore=!0,this.commands=new No;let a=i=>i!=null?JSON.parse(JSON.stringify(i)):i;this.actions=new Proxy(this.reduxSlice.actions,{get:(i,s,l)=>{let f=s,u=i[f];return u?(...m)=>{let g=u(...m.map(a));return this.reduxStore.dispatch(g),g}:m=>{this.setState({[f]:a(m)})}}}),this.eventBus=n??this.eventBus}clear(){this.reduxStore.dispatch({type:"CLEAR_FT_REDUX_STORE",keeping:[]})}clearKeeping(...t){this.reduxStore.dispatch({type:"CLEAR_FT_REDUX_STORE",keeping:t})}setState(t){this.reduxStore.dispatch({type:"DEFAULT_VALUE_SETTER__"+Object.keys(t).join("_"),overwrites:t})}get dispatch(){throw new Error("Don't use this method, actions are automatically dispatched when called.")}[Symbol.observable](){return this.reduxStore[Symbol.observable]()}getState(){return this.reduxStore.getState()}replaceReducer(t){throw new Error("Not implemented yet.")}subscribe(t){return this.reduxStore.subscribe(t)}get name(){return this.reduxSlice.name}get reducer(){return this.reduxSlice.reducer}get caseReducers(){return this.reduxSlice.caseReducers}getInitialState(){return this.reduxSlice.getInitialState()}};var Ho=class{static format(t,o,n,a){return window.moment?window.moment(t).locale(o).format(this.getMomentDateFormat(n,a)):this.getIntlDateTime(t,o,n,a)}static getMomentDateFormat(t,o){return t?o?"lll":"ll":o?"L LT":"L"}static getIntlDateTime(t,o,n,a){let i=typeof t=="string"?new Date(t):t,s=new Intl.DateTimeFormat(o,{dateStyle:n?"medium":"short"}).format(i);if(!a)return s;let l=new Intl.DateTimeFormat(o,{timeStyle:"short"}).format(i);return`${s} ${l}`}static getTimezoneAsString(){let t=n=>String(Math.floor(n)).padStart(2,"0"),o=new Date().getTimezoneOffset();return`${o<0?"+":"-"}${t(Math.abs(o)/60)}:${t(Math.abs(o)%60)}`}};var F2=A(D()),Wo=function(e,t,o,n){var a=arguments.length,i=a<3?t:n===null?n=Object.getOwnPropertyDescriptor(t,o):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(e,t,o,n);else for(var l=e.length-1;l>=0;l--)(s=e[l])&&(i=(a<3?s(i):a>3?s(t,o,i):s(t,o))||i);return a>3&&i&&Object.defineProperty(t,o,i),i},Gx=(0,F2.applyMixinOnce)(Symbol("withDateFormat"),function(e){class t extends e{constructor(...n){super(n),this.useLongDateFormat=!1,this.useDateTimeFormat=!1,this.metadataDescriptors=[],this.uiLocale="en-US",this.addStore(T)}dateFormatOptionsChanged(n){return n.has("metadataDescriptors")||n.has("useLongDateFormat")||n.has("useDateTimeFormat")||n.has("uiLocale")}getDateFormatter(n){var a,i;return((i=(a=this.metadataDescriptors.find(l=>l.key===n))===null||a===void 0?void 0:a.date)!==null&&i!==void 0?i:!1)?l=>Ho.format(l,this.uiLocale,this.useLongDateFormat,this.useDateTimeFormat):void 0}}return Wo([(0,ei.property)({type:Boolean})],t.prototype,"useLongDateFormat",void 0),Wo([(0,ei.property)({type:Boolean})],t.prototype,"useDateTimeFormat",void 0),Wo([Na({store:T.name,selector:o=>{var n,a;return(a=(n=o.metadataConfiguration)===null||n===void 0?void 0:n.descriptors)!==null&&a!==void 0?a:[]}})],t.prototype,"metadataDescriptors",void 0),Wo([Na({store:T.name})],t.prototype,"uiLocale",void 0),t});var ti=class{addCommand(t,o=!1){T.commands.add(t,o)}consumeCommand(t){return T.commands.consume(t)}};window.FluidTopicsAppInfoStoreService=new ti;var be=A(D());var $2,cr=class extends CustomEvent{constructor(t){super("ft-i18n-context-loaded",{detail:t})}},J8=Symbol("clearAfterUnitTest"),Fo=class extends(0,be.withEventBus)(fe){constructor(t){super(),this.messageContextProvider=t,this.defaultMessages={},this.listeners={},this.currentUiLocale="",this[$2]=()=>{this.defaultMessages={},this.cache=new be.CacheRegistry,this.listeners={}},this.currentUiLocale=T.getState().uiLocale,T.subscribe(()=>this.clearWhenUiLocaleChanges())}clearWhenUiLocaleChanges(){let{uiLocale:t}=T.getState();this.currentUiLocale!==t&&(this.currentUiLocale=t,this.cache.clearAll(),this.notifyAll())}addContext(t){let o=t.name.toLowerCase();this.cache.setFinal(o,t),this.notify(o)}getAllContexts(){return this.cache.resolvedValues()}async prepareContext(t,o){var n;if(t=t.toLowerCase(),o&&Object.keys(o).length>0){let a={...(n=this.defaultMessages[t])!==null&&n!==void 0?n:{},...o};(0,be.deepEqual)(this.defaultMessages[t],a)||(this.defaultMessages[t]=a,await this.notify(t))}return this.fetchContext(t)}resolveContext(t){var o,n;return this.fetchContext(t),(n=(o=this.cache.getNow(t))===null||o===void 0?void 0:o.messages)!==null&&n!==void 0?n:{}}resolveRawMessage(t,o){let n=t.toLowerCase();return this.resolveContext(n)[o]}resolveMessage(t,o,...n){var a;let i=t.toLowerCase(),s=this.resolveContext(i);return new be.ParametrizedLabelResolver((a=this.defaultMessages[i])!==null&&a!==void 0?a:{},s).resolve(o,...n)}async fetchContext(t){let o=!this.cache.has(t),n;try{n=await this.cache.get(t,()=>this.messageContextProvider(this.currentUiLocale,t)),o&&await this.notify(t)}catch(a){!(a instanceof be.CanceledPromiseError)&&o&&console.error(a)}return n}subscribe(t,o){var n;return t=t.toLowerCase(),this.listeners[t]=(n=this.listeners[t])!==null&&n!==void 0?n:new Set,this.listeners[t].add(o),()=>{var a;return(a=this.listeners[t])===null||a===void 0?void 0:a.delete(o)}}async notifyAll(){let t=Object.keys(this.listeners);document.body.dispatchEvent(new cr({loadedContexts:t})),this.dispatchEvent(new cr({loadedContexts:t})),await Promise.all(t.map(o=>this.notify(o,!1)))}async notify(t,o=!0){o&&(document.body.dispatchEvent(new cr({loadedContexts:[t]})),this.dispatchEvent(new cr({loadedContexts:[t]}))),this.listeners[t]!=null&&await Promise.all([...this.listeners[t].values()].map(n=>(0,be.delay)(0).then(()=>n()).catch(()=>null)))}};$2=J8;window.FluidTopicsI18nService==null&&(window.FluidTopicsI18nService=new class extends Fo{constructor(){super(async(e,t)=>(await this.awaitApi).getFluidTopicsMessageContext(e,t))}});window.FluidTopicsCustomI18nService==null&&(window.FluidTopicsCustomI18nService=new class extends Fo{constructor(){super(async(e,t)=>(await this.awaitApi).getCustomMessageContext(e,t))}});var lr=window.FluidTopicsI18nService,$o=window.FluidTopicsCustomI18nService;var j2=A(D()),ri=class{highlightHtml(t,o,n){(0,j2.highlightHtml)(t,o,n)}};window.FluidTopicsHighlightHtmlService=new ri;var K2=A(D());var oi=class{isDate(t){var o,n,a,i;return(i=(a=((n=(o=T.getState().metadataConfiguration)===null||o===void 0?void 0:o.descriptors)!==null&&n!==void 0?n:[]).find(l=>l.key===t))===null||a===void 0?void 0:a.date)!==null&&i!==void 0?i:!1}format(t,o){var n,a,i;if(t==null)return"";try{return K2.DateFormatter.format(t,(n=o?.locale)!==null&&n!==void 0?n:T.getState().uiLocale,(a=o?.longFormat)!==null&&a!==void 0?a:!1,(i=o?.withTime)!==null&&i!==void 0?i:!1)}catch(s){throw console.error(`Date ${JSON.stringify(t)} is not valid`,s),s}}};window.FluidTopicsDateService=new oi;var V2=A(D());var Br=class{static get(t,o){var n,a;let i=T.getState(),{lang:s,region:l}=(a=(n=i.defaultLocales)===null||n===void 0?void 0:n.defaultContentLocale)!==null&&a!==void 0?a:{lang:"en",region:"US"};return new V2.SearchPlaceConverter(i.baseUrl,t??20,i.searchInAllLanguagesAllowed,o??`${s}-${l}`)}};var ni=class{urlToSearchRequest(t){return Br.get().parse(t)}searchRequestToUrl(t){return Br.get().serialize(t)}};window.FluidTopicsUrlService=new ni;var lt=A(D());var _t=class e extends CustomEvent{constructor(t){super(e.eventName,{detail:{currentItem:t}})}};_t.eventName="change";var ai=class{itemName(t){return`fluid-topics-history-item-${t}`}get(t){let o=sessionStorage.getItem(this.itemName(t));return o?JSON.parse(o):void 0}set(t,o){sessionStorage.setItem(this.itemName(t),JSON.stringify(o))}},Z2=new ai;var jo=class e extends lt.WithEventBus{static build(){return new e(window.history,Z2,()=>window.location,!1)}constructor(t,o,n,a){var i,s;super(),this.history=t,this.historyStorage=o,this.windowLocation=n,this.states=[],this.realPushState=t.pushState,this.realReplaceState=t.replaceState,this.initialIndex=(s=(i=t.state)===null||i===void 0?void 0:i.index)!==null&&s!==void 0?s:t.length-1,this.currentIndex=this.initialIndex,this.setCurrentState(this.buildCurrentState()),this.installProxies(),this.initEventListeners(),this.initData(a)}setCurrentState(t,o=!1){let n=o&&this.currentIndex===t.index-1;this.currentState={...this.buildCurrentState(),...t},this.currentIndex=this.currentState.index,this.states[this.currentIndex]=this.currentState,n&&(this.states=this.states.slice(0,this.currentIndex+1)),this.historyStorage.set(this.currentIndex,this.currentState),(0,lt.deepEqual)(this.currentState,this.history.state)||this.realReplaceState.apply(this.history,[this.currentState,this.currentState.title,window.location.href]),setTimeout(()=>this.dispatchEvent(new _t(this.currentItem())),0)}installProxies(){let t=o=>(n,a,[i,s,l])=>{let f=o(),u={...f===this.currentIndex?this.currentState:void 0,...i,index:f,href:typeof l=="string"?l:(l??this.windowLocation()).href};n.apply(a,[u,s,l]),this.setCurrentState(u,!0)};this.history.pushState=new Proxy(this.history.pushState,{apply:t(()=>this.currentIndex+1)}),this.history.replaceState=new Proxy(this.history.replaceState,{apply:t(()=>this.currentIndex)})}initEventListeners(){window.addEventListener("popstate",t=>this.setCurrentState(t.state)),document.querySelector("title")==null&&document.head.append(document.createElement("title")),new MutationObserver(()=>this.updateCurrentState({title:document.title})).observe(document.querySelector("title"),{subtree:!0,characterData:!0,childList:!0})}initData(t){for(let o=this.history.length-1;o>=0;o--)t?this.states[o]=this.historyStorage.get(o):setTimeout(()=>this.states[o]=this.historyStorage.get(o),this.history.length-o)}updateCurrentState(t){var o;let n={...this.buildCurrentState(),...t,index:this.currentIndex,title:(o=t?.title)!==null&&o!==void 0?o:this.currentState.title};this.setCurrentState(n)}addHistoryChangeListener(t){this.addEventListener(_t.eventName,t)}removeHistoryChangeListener(t){this.removeEventListener(_t.eventName,t)}currentItem(){return(0,lt.deepCopy)(this.currentState)}back(){let t=this.previousDifferentMajorPosition();t>=0?this.history.go(t-this.currentIndex):this.currentIndex!==this.initialIndex?this.history.go(this.initialIndex-this.currentIndex):this.history.back()}backwardItem(){return(0,lt.deepCopy)(this.states[this.previousDifferentMajorPosition()])}previousDifferentMajorPosition(){let t=this.currentIndex>0?this.currentIndex-1:0;for(;t>0&&!this.isDifferentMajorState(t);)t--;return t}forward(){let t=this.nextMajorPosition();t&&t<this.states.length?this.history.go(t-this.currentIndex):this.history.forward()}forwardItem(){let t=this.nextMajorPosition();if(t)return(0,lt.deepCopy)(this.states[t])}nextMajorPosition(){let t=this.currentIndex;if(!(t>=this.states.length)){do t++;while(t<this.states.length&&!this.isDifferentMajorState(t));return this.getHigherPositionInTheSameState(t)}}getHigherPositionInTheSameState(t){var o;let n=(o=this.states[t])===null||o===void 0?void 0:o.majorStateId;if(!n)return t;let a=t,i=t+1;for(;this.states.length>i&&!this.isDifferentMajorState(i,n);)this.hasState(i)&&(a=i),i++;return a}buildCurrentState(){var t,o;return{...this.history.state,index:this.currentIndex,href:this.windowLocation().href,title:(o=(t=this.history.state)===null||t===void 0?void 0:t.title)!==null&&o!==void 0?o:document.title}}hasState(t){return this.states[t]!=null}isDifferentMajorState(t,o){var n;if(!this.hasState(t))return!1;let a=o??this.currentState.majorStateId,i=(n=this.states[t])===null||n===void 0?void 0:n.majorStateId;return i==null||i!=a}};window.FluidTopicsInternalHistoryService==null&&(window.FluidTopicsInternalHistoryService=jo.build(),window.FluidTopicsHistoryService={currentItem:()=>window.FluidTopicsInternalHistoryService.currentItem(),back:()=>window.FluidTopicsInternalHistoryService.back(),forward:()=>window.FluidTopicsInternalHistoryService.forward(),backwardItem:()=>window.FluidTopicsInternalHistoryService.backwardItem(),forwardItem:()=>window.FluidTopicsInternalHistoryService.forwardItem(),addHistoryChangeListener:e=>window.FluidTopicsInternalHistoryService.addHistoryChangeListener(e),removeHistoryChangeListener:e=>window.FluidTopicsInternalHistoryService.removeHistoryChangeListener(e)});var Y2=A(Z());var q2=Y2.css`
912
+ `}buildIcon(){let t=this.variant?K1[this.variant]:void 0,o=Zn.find(n=>n.iconName===this.icon&&(t?n.prefix===t:!0));return o?($1.add(o),j1(o).html[0]):(console.log(`Attempted usage of unknown ftds-icon : ${this.icon}/${this.variant}`),"")}};Pe.elementDefinitions={};Pe.styles=Nc;Ro([(0,kr.property)()],Pe.prototype,"variant",void 0);Ro([(0,kr.property)()],Pe.prototype,"icon",void 0);Ro([(0,kr.property)({type:Boolean})],Pe.prototype,"monospace",void 0);Ro([(0,kr.property)({reflect:!0,attribute:"aria-hidden"})],Pe.prototype,"ariaHidden",void 0);var _a=A(D());(0,_a.customElement)("ft-icon")(ue);(0,_a.customElement)("ftds-icon")(Pe);var ei=A(oe());function p8(e,t){if(e===t)return!0;if(e&&t&&typeof e=="object"&&typeof t=="object"){if(e.constructor!==t.constructor)return!1;let o,n,a;if(Array.isArray(e)){if(o=e.length,o!=t.length)return!1;for(n=o;n--!==0;)if(!wo(e[n],t[n]))return!1;return!0}if(e instanceof Map&&t instanceof Map){if(e.size!==t.size)return!1;for(n of e.entries())if(!t.has(n[0]))return!1;for(n of e.entries())if(!wo(n[1],t.get(n[0])))return!1;return!0}if(e instanceof Set&&t instanceof Set){if(e.size!==t.size)return!1;for(n of e.entries())if(!t.has(n[0]))return!1;return!0}if(e.constructor===RegExp)return e.source===t.source&&e.flags===t.flags;if(e.valueOf!==Object.prototype.valueOf)return e.valueOf()===t.valueOf();let i=s=>Object.keys(s).filter(l=>s[l]!=null);if(a=i(e),o=a.length,o!==i(t).length)return!1;for(n=o;n--!==0;)if(!Object.prototype.hasOwnProperty.call(t,a[n]))return!1;for(n=o;n--!==0;){let s=a[n];if(!wo(e[s],t[s]))return!1}return!0}return e!==e&&t!==t||e==null&&t==null}function wo(e,t){try{return p8(e,t)}catch{return!1}}function Pr(e,t){return!wo(e,t)}function X1(e){return typeof window.structuredClone=="function"?structuredClone(e):e!=null?JSON.parse(JSON.stringify(e)):e}function _o(e,t){let o=n=>n[e]===!0;return n=>{if(o(n))return n;let a=t(n);return a[e]=!0,a}}var Q1=A(oe(),1);var Na=e=>{let t=e??{};return(o,n)=>{var a;let i={hasChanged:Pr,attribute:!1,...t};(0,Q1.property)(i)(o,n);let s=o.constructor;s.reduxProperties=new Map(s.reduxProperties),s.reduxProperties.set(n,{selector:(a=t.selector)!==null&&a!==void 0?a:l=>l[n],store:t.store})}};var No=class{constructor(){this.queue=[]}add(t,o=!1){o&&this.clear(t.type),this.queue.push(t)}consume(t){let o=this.queue.find(n=>n.type===t);return o&&(this.queue=this.queue.filter(n=>n!==o)),o}clear(t){typeof t=="string"?this.queue=this.queue.filter(o=>o.type!==t):this.queue=this.queue.filter(o=>!t.test(o.type))}};var Lt=A(oe(),1);var J1=A(oe(),1);function e2(e,t){let o=()=>JSON.parse(JSON.stringify(e));return(0,J1.property)({type:Object,converter:{fromAttribute:n=>{if(n==null)return o();try{return JSON.parse(n)}catch{return o()}},toAttribute:n=>JSON.stringify(n)},hasChanged:Pr,...t??{}})}var To=class{constructor(t=0){this.timeout=t,this.callbacks=[]}run(t,o){return this.callbacks=[t],this.debounce(o)}queue(t,o){return this.callbacks.push(t),this.debounce(o)}cancel(){this.clearTimeout(),this.resolvePromise&&this.resolvePromise(!1),this.clearPromise()}debounce(t){return this.promise==null&&(this.promise=new Promise((o,n)=>{this.resolvePromise=o,this.rejectPromise=n})),this.clearTimeout(),this._debounce=window.setTimeout(()=>this.runCallbacks(),t??this.timeout),this.promise}async runCallbacks(){var t,o;let n=[...this.callbacks];this.callbacks=[];let a=(t=this.rejectPromise)!==null&&t!==void 0?t:()=>null,i=(o=this.resolvePromise)!==null&&o!==void 0?o:()=>null;this.clearPromise();for(let s of n)try{await s()}catch(l){a(l);return}i(!0)}clearTimeout(){this._debounce!=null&&window.clearTimeout(this._debounce)}clearPromise(){this.promise=void 0,this.resolvePromise=void 0,this.rejectPromise=void 0}};var r2=A(Z(),1);var Mo=globalThis,h8=Mo.ShadowRoot&&(Mo.ShadyCSS===void 0||Mo.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,gb=Symbol();var t2=(e,t)=>{if(h8)e.adoptedStyleSheets=t.map(o=>o instanceof CSSStyleSheet?o:o.styleSheet);else for(let o of t){let n=document.createElement("style"),a=Mo.litNonce;a!==void 0&&n.setAttribute("nonce",a),n.textContent=o.cssText,e.appendChild(n)}};var ko=class extends r2.LitElement{createRenderRoot(){let t=this.constructor;t.elementDefinitions&&!t.registry&&(t.registry=new CustomElementRegistry,Object.entries(t.elementDefinitions).forEach(([a,i])=>t.registry.define(a,i)));let o={...t.shadowRootOptions,customElements:t.registry},n=this.renderOptions.creationScope=this.attachShadow(o);return t2(n,t.elementStyles),n}};function o2(e,t,...o){var n;let a=e.querySelector(t);for(let i of o)a=(n=a?.shadowRoot)===null||n===void 0?void 0:n.querySelector(i);return a}var rr=function(e,t,o,n){var a=arguments.length,i=a<3?t:n===null?n=Object.getOwnPropertyDescriptor(t,o):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(e,t,o,n);else for(var l=e.length-1;l>=0;l--)(s=e[l])&&(i=(a<3?s(i):a>3?s(t,o,i):s(t,o))||i);return a>3&&i&&Object.defineProperty(t,o,i),i},s2,n2=Symbol("constructorPrototype"),a2=Symbol("constructorName"),c2=Symbol("exportpartsDebouncer"),i2=Symbol("dynamicDependenciesLoaded"),tr=class e extends CustomEvent{constructor(){super(e.eventName,{bubbles:!0})}};tr.eventName="exportparts-updated";var ze=class extends ko{constructor(){super(),this.useAdoptedStyleSheets=!0,this.adoptedCustomStyleSheet=new CSSStyleSheet,this[s2]=new To(5),this.scheduleExportpartsUpdate=()=>{var t,o,n;(!((t=this.exportpartsPrefix)===null||t===void 0)&&t.trim()||(n=(o=this.exportpartsPrefixes)===null||o===void 0?void 0:o.length)!==null&&n!==void 0&&n)&&this[c2].run(()=>{var a,i;!((a=this.exportpartsPrefix)===null||a===void 0)&&a.trim()?this.setExportpartsAttribute([this.exportpartsPrefix]):this.exportpartsPrefixes!=null&&((i=this.exportpartsPrefixes)===null||i===void 0?void 0:i.length)>0&&this.setExportpartsAttribute(this.exportpartsPrefixes)})},this[a2]=this.constructor.name,this[n2]=this.constructor.prototype}adoptedCallback(){this.constructor.name!==this[a2]&&Object.setPrototypeOf(this,this[n2])}connectedCallback(){var t;super.connectedCallback();try{this.shadowRoot&&!this.shadowRoot.adoptedStyleSheets.includes(this.adoptedCustomStyleSheet)&&(this.shadowRoot.adoptedStyleSheets=[...this.shadowRoot.adoptedStyleSheets,this.adoptedCustomStyleSheet]),this.useAdoptedStyleSheets=!0}catch(n){this.useAdoptedStyleSheets=!1,console.error("Cannot use adopted stylesheets",n)}let o=this.constructor;o[i2]||(o[i2]=!0,this.importDynamicDependencies()),(t=this.shadowRoot)===null||t===void 0||t.addEventListener(tr.eventName,this.scheduleExportpartsUpdate)}disconnectedCallback(){var t;super.disconnectedCallback(),(t=this.shadowRoot)===null||t===void 0||t.removeEventListener(tr.eventName,this.scheduleExportpartsUpdate)}importDynamicDependencies(){}updated(t){super.updated(t),this.updateComplete.then(()=>{this.contentAvailableCallback(t),this.focusElementToFocus(t),this.applyCustomStylesheet(t),this.scheduleExportpartsUpdate(),t.has("exportparts")&&this.dispatchEvent(new tr)})}contentAvailableCallback(t){}focusElementToFocus(t){if(t.has("elementToFocus")&&this.elementToFocus!=null){let{element:o,selector:n,shadowPath:a}=this.elementToFocus;if(n!=null){let i=[...a??[],n];o=o2(this.shadowRoot,...i)}o?.focus(),window.FluidTopicsA11yHints.isKeyboardNavigation||o?.blur(),this.elementToFocus=void 0}}applyCustomStylesheet(t){var o,n,a;if(((n=(o=this.shadowRoot)===null||o===void 0?void 0:o.querySelectorAll(".ft-lit-element--custom-stylesheet"))!==null&&n!==void 0?n:[]).forEach(i=>i.remove()),this.useAdoptedStyleSheets){if(t.has("customStylesheet"))try{this.adoptedCustomStyleSheet.replaceSync((a=this.customStylesheet)!==null&&a!==void 0?a:"")}catch(i){console.error(i,this.customStylesheet),this.useAdoptedStyleSheets=!1}}else if(this.customStylesheet){let i=document.createElement("style");i.classList.add("ft-lit-element--custom-stylesheet"),i.innerHTML=this.customStylesheet,this.shadowRoot.append(i)}}setExportpartsAttribute(t){var o,n,a,i,s,l;let f=y=>y!=null&&y.trim().length>0,u=t.filter(f).map(y=>y.trim());if(u.length===0){this.exportparts=void 0;return}let m=new Set;for(let y of(n=(o=this.shadowRoot)===null||o===void 0?void 0:o.querySelectorAll("[part],[exportparts]"))!==null&&n!==void 0?n:[]){let x=(i=(a=y.getAttribute("part"))===null||a===void 0?void 0:a.split(" "))!==null&&i!==void 0?i:[],v=(l=(s=y.getAttribute("exportparts"))===null||s===void 0?void 0:s.split(",").map(O=>O.split(":")[1]))!==null&&l!==void 0?l:[],C=[...x,...v].filter(f).map(O=>O.trim());for(let O of C)m.add(O)}if(m.size===0){this.exportparts=void 0;return}let g=[...m.values()].flatMap(y=>u.map(x=>`${y}:${x}--${y}`));this.exportparts=[...this.part,...g].join(", ")}};s2=c2;rr([(0,Lt.property)()],ze.prototype,"exportpartsPrefix",void 0);rr([e2([])],ze.prototype,"exportpartsPrefixes",void 0);rr([(0,Lt.property)({reflect:!0})],ze.prototype,"exportparts",void 0);rr([(0,Lt.property)()],ze.prototype,"customStylesheet",void 0);rr([(0,Lt.property)()],ze.prototype,"elementToFocus",void 0);rr([(0,Lt.state)()],ze.prototype,"useAdoptedStyleSheets",void 0);function Po(e){var t;return(t=e?.isFtReduxStore)!==null&&t!==void 0?t:!1}var zr=Symbol("internalReduxEventsUnsubscribers"),nt=Symbol("internalStoresUnsubscribers"),Ot=Symbol("internalStores"),m8=_o(Symbol("withRedux"),function(e){var t,o,n;class a extends e{constructor(){super(...arguments),this[t]=new Map,this[o]=new Map,this[n]=new Map}get reduxConstructor(){return this.constructor}willUpdate(s){super.willUpdate(s),[...this.reduxConstructor.reduxReactiveProperties].some(l=>s.has(l))&&this.updateFromStores()}getUnnamedStore(){if(this[Ot].size>1)throw new Error("Cannot resolve unnamed store when multiple stores are configured.");return[...this[Ot].values()][0]}getStore(s){return s==null?this.getUnnamedStore():this[Ot].get(s)}addStore(s,l){var f;l=(f=l??s.name)!==null&&f!==void 0?f:"default-store",this.unsubscribeFromStore(l),this[Ot].set(l,s),this.subscribeToStore(l,s),this.updateFromStores()}removeStore(s){let l=typeof s=="string"?s:s.name;this.unsubscribeFromStore(l),this[Ot].delete(l)}setupStores(){this.unsubscribeFromStores(),this[Ot].forEach((s,l)=>this.subscribeToStore(l,s)),this.updateFromStores()}updateFromStores(){this.reduxConstructor.reduxProperties.forEach((s,l)=>{let f=this.constructor.getPropertyOptions(l);if(!f?.attribute||!this.hasAttribute(typeof f?.attribute=="string"?f.attribute:l)){let u=this.getStore(s.store);u&&(s.store?this[nt].has(s.store):this[nt].size>0)&&(this[l]=s.selector(u.getState(),this))}})}subscribeToStore(s,l){var f;this[nt].set(s,l.subscribe(()=>this.updateFromStores())),this[zr].set(s,[]),Po(l)&&l.eventBus&&((f=this.reduxConstructor.reduxEventListeners)===null||f===void 0||f.forEach((u,m)=>{if(typeof this[m]=="function"&&(!u.store||l.name===u.store)){let g=y=>this[m](y);l.addEventListener(u.eventName,g),this[zr].get(s).push(()=>l.removeEventListener(u.eventName,g))}})),this.onStoreAvailable(s)}unsubscribeFromStores(){this[nt].forEach((s,l)=>this.unsubscribeFromStore(l))}unsubscribeFromStore(s){var l;this[nt].has(s)&&this[nt].get(s)(),this[nt].delete(s),(l=this[zr].get(s))===null||l===void 0||l.forEach(f=>f()),this[zr].delete(s)}onStoreAvailable(s){}connectedCallback(){super.connectedCallback(),this.setupStores()}disconnectedCallback(){super.disconnectedCallback(),this.unsubscribeFromStores()}}return t=nt,o=Ot,n=zr,a.reduxProperties=new Map,a.reduxReactiveProperties=new Set,a.reduxEventListeners=new Map,a}),l2=class extends m8(ze){};function ye(e){for(var t=arguments.length,o=Array(t>1?t-1:0),n=1;n<t;n++)o[n-1]=arguments[n];if(0)var a,i;throw Error("[Immer] minified error nr: "+e+(o.length?" "+o.map(function(s){return"'"+s+"'"}).join(","):"")+". Find the full error at: https://bit.ly/3cXEKWf")}function Ke(e){return!!e&&!!e[F]}function Oe(e){var t;return!!e&&(function(o){if(!o||typeof o!="object")return!1;var n=Object.getPrototypeOf(o);if(n===null)return!0;var a=Object.hasOwnProperty.call(n,"constructor")&&n.constructor;return a===Object||typeof a=="function"&&Function.toString.call(a)===E8}(e)||Array.isArray(e)||!!e[g2]||!!(!((t=e.constructor)===null||t===void 0)&&t[g2])||Ba(e)||Ga(e))}function Rt(e,t,o){o===void 0&&(o=!1),ar(e)===0?(o?Object.keys:nr)(e).forEach(function(n){o&&typeof n=="symbol"||t(n,e[n],e)}):e.forEach(function(n,a){return t(a,n,e)})}function ar(e){var t=e[F];return t?t.i>3?t.i-4:t.i:Array.isArray(e)?1:Ba(e)?2:Ga(e)?3:0}function or(e,t){return ar(e)===2?e.has(t):Object.prototype.hasOwnProperty.call(e,t)}function g8(e,t){return ar(e)===2?e.get(t):e[t]}function y2(e,t,o){var n=ar(e);n===2?e.set(t,o):n===3?e.add(o):e[t]=o}function b2(e,t){return e===t?e!==0||1/e==1/t:e!=e&&t!=t}function Ba(e){return S8&&e instanceof Map}function Ga(e){return C8&&e instanceof Set}function at(e){return e.o||e.t}function Ha(e){if(Array.isArray(e))return Array.prototype.slice.call(e);var t=S2(e);delete t[F];for(var o=nr(t),n=0;n<o.length;n++){var a=o[n],i=t[a];i.writable===!1&&(i.writable=!0,i.configurable=!0),(i.get||i.set)&&(t[a]={configurable:!0,writable:!0,enumerable:i.enumerable,value:e[a]})}return Object.create(Object.getPrototypeOf(e),t)}function Wa(e,t){return t===void 0&&(t=!1),Fa(e)||Ke(e)||!Oe(e)||(ar(e)>1&&(e.set=e.add=e.clear=e.delete=y8),Object.freeze(e),t&&Rt(e,function(o,n){return Wa(n,!0)},!0)),e}function y8(){ye(2)}function Fa(e){return e==null||typeof e!="object"||Object.isFrozen(e)}function Ie(e){var t=Ua[e];return t||ye(18,e),t}function b8(e,t){Ua[e]||(Ua[e]=t)}function za(){return Dr}function Ta(e,t){t&&(Ie("Patches"),e.u=[],e.s=[],e.v=t)}function zo(e){Ia(e),e.p.forEach(x8),e.p=null}function Ia(e){e===Dr&&(Dr=e.l)}function d2(e){return Dr={p:[],l:Dr,h:e,m:!0,_:0}}function x8(e){var t=e[F];t.i===0||t.i===1?t.j():t.g=!0}function Ma(e,t){t._=t.p.length;var o=t.p[0],n=e!==void 0&&e!==o;return t.h.O||Ie("ES5").S(t,e,n),n?(o[F].P&&(zo(t),ye(4)),Oe(e)&&(e=Io(t,e),t.l||Do(t,e)),t.u&&Ie("Patches").M(o[F].t,e,t.u,t.s)):e=Io(t,o,[]),zo(t),t.u&&t.v(t.u,t.s),e!==v2?e:void 0}function Io(e,t,o){if(Fa(t))return t;var n=t[F];if(!n)return Rt(t,function(l,f){return f2(e,n,t,l,f,o)},!0),t;if(n.A!==e)return t;if(!n.P)return Do(e,n.t,!0),n.t;if(!n.I){n.I=!0,n.A._--;var a=n.i===4||n.i===5?n.o=Ha(n.k):n.o,i=a,s=!1;n.i===3&&(i=new Set(a),a.clear(),s=!0),Rt(i,function(l,f){return f2(e,n,a,l,f,o,s)}),Do(e,a,!1),o&&e.u&&Ie("Patches").N(n,o,e.u,e.s)}return n.o}function f2(e,t,o,n,a,i,s){if(Ke(a)){var l=Io(e,a,i&&t&&t.i!==3&&!or(t.R,n)?i.concat(n):void 0);if(y2(o,n,l),!Ke(l))return;e.m=!1}else s&&o.add(a);if(Oe(a)&&!Fa(a)){if(!e.h.D&&e._<1)return;Io(e,a),t&&t.A.l||Do(e,a)}}function Do(e,t,o){o===void 0&&(o=!1),!e.l&&e.h.D&&e.m&&Wa(t,o)}function ka(e,t){var o=e[F];return(o?at(o):e)[t]}function u2(e,t){if(t in e)for(var o=Object.getPrototypeOf(e);o;){var n=Object.getOwnPropertyDescriptor(o,t);if(n)return n;o=Object.getPrototypeOf(o)}}function it(e){e.P||(e.P=!0,e.l&&it(e.l))}function Pa(e){e.o||(e.o=Ha(e.t))}function Da(e,t,o){var n=Ba(t)?Ie("MapSet").F(t,o):Ga(t)?Ie("MapSet").T(t,o):e.O?function(a,i){var s=Array.isArray(a),l={i:s?1:0,A:i?i.A:za(),P:!1,I:!1,R:{},l:i,t:a,k:null,o:null,j:null,C:!1},f=l,u=Ur;s&&(f=[l],u=Ir);var m=Proxy.revocable(f,u),g=m.revoke,y=m.proxy;return l.k=y,l.j=g,y}(t,o):Ie("ES5").J(t,o);return(o?o.A:za()).p.push(n),n}function v8(e){return Ke(e)||ye(22,e),function t(o){if(!Oe(o))return o;var n,a=o[F],i=ar(o);if(a){if(!a.P&&(a.i<4||!Ie("ES5").K(a)))return a.t;a.I=!0,n=p2(o,i),a.I=!1}else n=p2(o,i);return Rt(n,function(s,l){a&&g8(a.t,s)===l||y2(n,s,t(l))}),i===3?new Set(n):n}(e)}function p2(e,t){switch(t){case 2:return new Map(e);case 3:return Array.from(e)}return Ha(e)}function x2(){function e(s,l){var f=i[s];return f?f.enumerable=l:i[s]=f={configurable:!0,enumerable:l,get:function(){var u=this[F];return Ur.get(u,s)},set:function(u){var m=this[F];Ur.set(m,s,u)}},f}function t(s){for(var l=s.length-1;l>=0;l--){var f=s[l][F];if(!f.P)switch(f.i){case 5:n(f)&&it(f);break;case 4:o(f)&&it(f)}}}function o(s){for(var l=s.t,f=s.k,u=nr(f),m=u.length-1;m>=0;m--){var g=u[m];if(g!==F){var y=l[g];if(y===void 0&&!or(l,g))return!0;var x=f[g],v=x&&x[F];if(v?v.t!==y:!b2(x,y))return!0}}var C=!!l[F];return u.length!==nr(l).length+(C?0:1)}function n(s){var l=s.k;if(l.length!==s.t.length)return!0;var f=Object.getOwnPropertyDescriptor(l,l.length-1);if(f&&!f.get)return!0;for(var u=0;u<l.length;u++)if(!l.hasOwnProperty(u))return!0;return!1}function a(s){s.g&&ye(3,JSON.stringify(at(s)))}var i={};b8("ES5",{J:function(s,l){var f=Array.isArray(s),u=function(g,y){if(g){for(var x=Array(y.length),v=0;v<y.length;v++)Object.defineProperty(x,""+v,e(v,!0));return x}var C=S2(y);delete C[F];for(var O=nr(C),_=0;_<O.length;_++){var R=O[_];C[R]=e(R,g||!!C[R].enumerable)}return Object.create(Object.getPrototypeOf(y),C)}(f,s),m={i:f?5:4,A:l?l.A:za(),P:!1,I:!1,R:{},l,t:s,k:u,o:null,g:!1,C:!1};return Object.defineProperty(u,F,{value:m,writable:!0}),u},S:function(s,l,f){f?Ke(l)&&l[F].A===s&&t(s.p):(s.u&&function u(m){if(m&&typeof m=="object"){var g=m[F];if(g){var y=g.t,x=g.k,v=g.R,C=g.i;if(C===4)Rt(x,function(k){k!==F&&(y[k]!==void 0||or(y,k)?v[k]||u(x[k]):(v[k]=!0,it(g)))}),Rt(y,function(k){x[k]!==void 0||or(x,k)||(v[k]=!1,it(g))});else if(C===5){if(n(g)&&(it(g),v.length=!0),x.length<y.length)for(var O=x.length;O<y.length;O++)v[O]=!1;else for(var _=y.length;_<x.length;_++)v[_]=!0;for(var R=Math.min(x.length,y.length),M=0;M<R;M++)x.hasOwnProperty(M)||(v[M]=!0),v[M]===void 0&&u(x[M])}}}}(s.p[0]),t(s.p))},K:function(s){return s.i===4?o(s):n(s)}})}var h2,Dr,$a=typeof Symbol<"u"&&typeof Symbol("x")=="symbol",S8=typeof Map<"u",C8=typeof Set<"u",m2=typeof Proxy<"u"&&Proxy.revocable!==void 0&&typeof Reflect<"u",v2=$a?Symbol.for("immer-nothing"):((h2={})["immer-nothing"]=!0,h2),g2=$a?Symbol.for("immer-draftable"):"__$immer_draftable",F=$a?Symbol.for("immer-state"):"__$immer_state";var E8=""+Object.prototype.constructor,nr=typeof Reflect<"u"&&Reflect.ownKeys?Reflect.ownKeys:Object.getOwnPropertySymbols!==void 0?function(e){return Object.getOwnPropertyNames(e).concat(Object.getOwnPropertySymbols(e))}:Object.getOwnPropertyNames,S2=Object.getOwnPropertyDescriptors||function(e){var t={};return nr(e).forEach(function(o){t[o]=Object.getOwnPropertyDescriptor(e,o)}),t},Ua={},Ur={get:function(e,t){if(t===F)return e;var o=at(e);if(!or(o,t))return function(a,i,s){var l,f=u2(i,s);return f?"value"in f?f.value:(l=f.get)===null||l===void 0?void 0:l.call(a.k):void 0}(e,o,t);var n=o[t];return e.I||!Oe(n)?n:n===ka(e.t,t)?(Pa(e),e.o[t]=Da(e.A.h,n,e)):n},has:function(e,t){return t in at(e)},ownKeys:function(e){return Reflect.ownKeys(at(e))},set:function(e,t,o){var n=u2(at(e),t);if(n?.set)return n.set.call(e.k,o),!0;if(!e.P){var a=ka(at(e),t),i=a?.[F];if(i&&i.t===o)return e.o[t]=o,e.R[t]=!1,!0;if(b2(o,a)&&(o!==void 0||or(e.t,t)))return!0;Pa(e),it(e)}return e.o[t]===o&&(o!==void 0||t in e.o)||Number.isNaN(o)&&Number.isNaN(e.o[t])||(e.o[t]=o,e.R[t]=!0),!0},deleteProperty:function(e,t){return ka(e.t,t)!==void 0||t in e.t?(e.R[t]=!1,Pa(e),it(e)):delete e.R[t],e.o&&delete e.o[t],!0},getOwnPropertyDescriptor:function(e,t){var o=at(e),n=Reflect.getOwnPropertyDescriptor(o,t);return n&&{writable:!0,configurable:e.i!==1||t!=="length",enumerable:n.enumerable,value:o[t]}},defineProperty:function(){ye(11)},getPrototypeOf:function(e){return Object.getPrototypeOf(e.t)},setPrototypeOf:function(){ye(12)}},Ir={};Rt(Ur,function(e,t){Ir[e]=function(){return arguments[0]=arguments[0][0],t.apply(this,arguments)}}),Ir.deleteProperty=function(e,t){return Ir.set.call(this,e,t,void 0)},Ir.set=function(e,t,o){return Ur.set.call(this,e[0],t,o,e[0])};var A8=function(){function e(o){var n=this;this.O=m2,this.D=!0,this.produce=function(a,i,s){if(typeof a=="function"&&typeof i!="function"){var l=i;i=a;var f=n;return function(C){var O=this;C===void 0&&(C=l);for(var _=arguments.length,R=Array(_>1?_-1:0),M=1;M<_;M++)R[M-1]=arguments[M];return f.produce(C,function(k){var I;return(I=i).call.apply(I,[O,k].concat(R))})}}var u;if(typeof i!="function"&&ye(6),s!==void 0&&typeof s!="function"&&ye(7),Oe(a)){var m=d2(n),g=Da(n,a,void 0),y=!0;try{u=i(g),y=!1}finally{y?zo(m):Ia(m)}return typeof Promise<"u"&&u instanceof Promise?u.then(function(C){return Ta(m,s),Ma(C,m)},function(C){throw zo(m),C}):(Ta(m,s),Ma(u,m))}if(!a||typeof a!="object"){if((u=i(a))===void 0&&(u=a),u===v2&&(u=void 0),n.D&&Wa(u,!0),s){var x=[],v=[];Ie("Patches").M(a,u,x,v),s(x,v)}return u}ye(21,a)},this.produceWithPatches=function(a,i){if(typeof a=="function")return function(u){for(var m=arguments.length,g=Array(m>1?m-1:0),y=1;y<m;y++)g[y-1]=arguments[y];return n.produceWithPatches(u,function(x){return a.apply(void 0,[x].concat(g))})};var s,l,f=n.produce(a,i,function(u,m){s=u,l=m});return typeof Promise<"u"&&f instanceof Promise?f.then(function(u){return[u,s,l]}):[f,s,l]},typeof o?.useProxies=="boolean"&&this.setUseProxies(o.useProxies),typeof o?.autoFreeze=="boolean"&&this.setAutoFreeze(o.autoFreeze)}var t=e.prototype;return t.createDraft=function(o){Oe(o)||ye(8),Ke(o)&&(o=v8(o));var n=d2(this),a=Da(this,o,void 0);return a[F].C=!0,Ia(n),a},t.finishDraft=function(o,n){var a=o&&o[F],i=a.A;return Ta(i,n),Ma(void 0,i)},t.setAutoFreeze=function(o){this.D=o},t.setUseProxies=function(o){o&&!m2&&ye(20),this.O=o},t.applyPatches=function(o,n){var a;for(a=n.length-1;a>=0;a--){var i=n[a];if(i.path.length===0&&i.op==="replace"){o=i.value;break}}a>-1&&(n=n.slice(a+1));var s=Ie("Patches").$;return Ke(o)?s(o,n):this.produce(o,function(l){return s(l,n)})},e}(),he=new A8,L8=he.produce,Tb=he.produceWithPatches.bind(he),Mb=he.setAutoFreeze.bind(he),kb=he.setUseProxies.bind(he),Pb=he.applyPatches.bind(he),zb=he.createDraft.bind(he),Ib=he.finishDraft.bind(he),Uo=L8;function wt(e){"@babel/helpers - typeof";return wt=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},wt(e)}function C2(e,t){if(wt(e)!="object"||!e)return e;var o=e[Symbol.toPrimitive];if(o!==void 0){var n=o.call(e,t||"default");if(wt(n)!="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function E2(e){var t=C2(e,"string");return wt(t)=="symbol"?t:t+""}function A2(e,t,o){return(t=E2(t))in e?Object.defineProperty(e,t,{value:o,enumerable:!0,configurable:!0,writable:!0}):e[t]=o,e}function L2(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(a){return Object.getOwnPropertyDescriptor(e,a).enumerable})),o.push.apply(o,n)}return o}function ja(e){for(var t=1;t<arguments.length;t++){var o=arguments[t]!=null?arguments[t]:{};t%2?L2(Object(o),!0).forEach(function(n){A2(e,n,o[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):L2(Object(o)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(o,n))})}return e}function ie(e){return"Minified Redux error #"+e+"; visit https://redux.js.org/Errors?code="+e+" for the full message or use the non-minified dev environment for full errors. "}var O2=function(){return typeof Symbol=="function"&&Symbol.observable||"@@observable"}(),Ka=function(){return Math.random().toString(36).substring(7).split("").join(".")},Bo={INIT:"@@redux/INIT"+Ka(),REPLACE:"@@redux/REPLACE"+Ka(),PROBE_UNKNOWN_ACTION:function(){return"@@redux/PROBE_UNKNOWN_ACTION"+Ka()}};function O8(e){if(typeof e!="object"||e===null)return!1;for(var t=e;Object.getPrototypeOf(t)!==null;)t=Object.getPrototypeOf(t);return Object.getPrototypeOf(e)===t}function Va(e,t,o){var n;if(typeof t=="function"&&typeof o=="function"||typeof o=="function"&&typeof arguments[3]=="function")throw new Error(ie(0));if(typeof t=="function"&&typeof o>"u"&&(o=t,t=void 0),typeof o<"u"){if(typeof o!="function")throw new Error(ie(1));return o(Va)(e,t)}if(typeof e!="function")throw new Error(ie(2));var a=e,i=t,s=[],l=s,f=!1;function u(){l===s&&(l=s.slice())}function m(){if(f)throw new Error(ie(3));return i}function g(C){if(typeof C!="function")throw new Error(ie(4));if(f)throw new Error(ie(5));var O=!0;return u(),l.push(C),function(){if(O){if(f)throw new Error(ie(6));O=!1,u();var R=l.indexOf(C);l.splice(R,1),s=null}}}function y(C){if(!O8(C))throw new Error(ie(7));if(typeof C.type>"u")throw new Error(ie(8));if(f)throw new Error(ie(9));try{f=!0,i=a(i,C)}finally{f=!1}for(var O=s=l,_=0;_<O.length;_++){var R=O[_];R()}return C}function x(C){if(typeof C!="function")throw new Error(ie(10));a=C,y({type:Bo.REPLACE})}function v(){var C,O=g;return C={subscribe:function(R){if(typeof R!="object"||R===null)throw new Error(ie(11));function M(){R.next&&R.next(m())}M();var k=O(M);return{unsubscribe:k}}},C[O2]=function(){return this},C}return y({type:Bo.INIT}),n={dispatch:y,subscribe:g,getState:m,replaceReducer:x},n[O2]=v,n}function R8(e){Object.keys(e).forEach(function(t){var o=e[t],n=o(void 0,{type:Bo.INIT});if(typeof n>"u")throw new Error(ie(12));if(typeof o(void 0,{type:Bo.PROBE_UNKNOWN_ACTION()})>"u")throw new Error(ie(13))})}function R2(e){for(var t=Object.keys(e),o={},n=0;n<t.length;n++){var a=t[n];typeof e[a]=="function"&&(o[a]=e[a])}var i=Object.keys(o),s,l;try{R8(o)}catch(f){l=f}return function(u,m){if(u===void 0&&(u={}),l)throw l;if(0)var g;for(var y=!1,x={},v=0;v<i.length;v++){var C=i[v],O=o[C],_=u[C],R=O(_,m);if(typeof R>"u"){var M=m&&m.type;throw new Error(ie(14))}x[C]=R,y=y||R!==_}return y=y||i.length!==Object.keys(u).length,y?x:u}}function ir(){for(var e=arguments.length,t=new Array(e),o=0;o<e;o++)t[o]=arguments[o];return t.length===0?function(n){return n}:t.length===1?t[0]:t.reduce(function(n,a){return function(){return n(a.apply(void 0,arguments))}})}function w2(){for(var e=arguments.length,t=new Array(e),o=0;o<e;o++)t[o]=arguments[o];return function(n){return function(){var a=n.apply(void 0,arguments),i=function(){throw new Error(ie(15))},s={getState:a.getState,dispatch:function(){return i.apply(void 0,arguments)}},l=t.map(function(f){return f(s)});return i=ir.apply(void 0,l)(a.dispatch),ja(ja({},a),{},{dispatch:i})}}}function _2(e){var t=function(n){var a=n.dispatch,i=n.getState;return function(s){return function(l){return typeof l=="function"?l(a,i,e):s(l)}}};return t}var N2=_2();N2.withExtraArgument=_2;var Za=N2;var z2=function(){var e=function(t,o){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(n,a){n.__proto__=a}||function(n,a){for(var i in a)Object.prototype.hasOwnProperty.call(a,i)&&(n[i]=a[i])},e(t,o)};return function(t,o){if(typeof o!="function"&&o!==null)throw new TypeError("Class extends value "+String(o)+" is not a constructor or null");e(t,o);function n(){this.constructor=t}t.prototype=o===null?Object.create(o):(n.prototype=o.prototype,new n)}}(),w8=function(e,t){var o={label:0,sent:function(){if(i[0]&1)throw i[1];return i[1]},trys:[],ops:[]},n,a,i,s;return s={next:l(0),throw:l(1),return:l(2)},typeof Symbol=="function"&&(s[Symbol.iterator]=function(){return this}),s;function l(u){return function(m){return f([u,m])}}function f(u){if(n)throw new TypeError("Generator is already executing.");for(;o;)try{if(n=1,a&&(i=u[0]&2?a.return:u[0]?a.throw||((i=a.return)&&i.call(a),0):a.next)&&!(i=i.call(a,u[1])).done)return i;switch(a=0,i&&(u=[u[0]&2,i.value]),u[0]){case 0:case 1:i=u;break;case 4:return o.label++,{value:u[1],done:!1};case 5:o.label++,a=u[1],u=[0];continue;case 7:u=o.ops.pop(),o.trys.pop();continue;default:if(i=o.trys,!(i=i.length>0&&i[i.length-1])&&(u[0]===6||u[0]===2)){o=0;continue}if(u[0]===3&&(!i||u[1]>i[0]&&u[1]<i[3])){o.label=u[1];break}if(u[0]===6&&o.label<i[1]){o.label=i[1],i=u;break}if(i&&o.label<i[2]){o.label=i[2],o.ops.push(u);break}i[2]&&o.ops.pop(),o.trys.pop();continue}u=t.call(e,o)}catch(m){u=[6,m],a=0}finally{n=i=0}if(u[0]&5)throw u[1];return{value:u[0]?u[1]:void 0,done:!0}}},sr=function(e,t){for(var o=0,n=t.length,a=e.length;o<n;o++,a++)e[a]=t[o];return e},_8=Object.defineProperty,N8=Object.defineProperties,T8=Object.getOwnPropertyDescriptors,T2=Object.getOwnPropertySymbols,M8=Object.prototype.hasOwnProperty,k8=Object.prototype.propertyIsEnumerable,M2=function(e,t,o){return t in e?_8(e,t,{enumerable:!0,configurable:!0,writable:!0,value:o}):e[t]=o},st=function(e,t){for(var o in t||(t={}))M8.call(t,o)&&M2(e,o,t[o]);if(T2)for(var n=0,a=T2(t);n<a.length;n++){var o=a[n];k8.call(t,o)&&M2(e,o,t[o])}return e},Ya=function(e,t){return N8(e,T8(t))},P8=function(e,t,o){return new Promise(function(n,a){var i=function(f){try{l(o.next(f))}catch(u){a(u)}},s=function(f){try{l(o.throw(f))}catch(u){a(u)}},l=function(f){return f.done?n(f.value):Promise.resolve(f.value).then(i,s)};l((o=o.apply(e,t)).next())})};var z8=typeof window<"u"&&window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__?window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__:function(){if(arguments.length!==0)return typeof arguments[0]=="object"?ir:ir.apply(null,arguments)},ex=typeof window<"u"&&window.__REDUX_DEVTOOLS_EXTENSION__?window.__REDUX_DEVTOOLS_EXTENSION__:function(){return function(e){return e}};function I8(e){if(typeof e!="object"||e===null)return!1;var t=Object.getPrototypeOf(e);if(t===null)return!0;for(var o=t;Object.getPrototypeOf(o)!==null;)o=Object.getPrototypeOf(o);return t===o}var D8=function(e){z2(t,e);function t(){for(var o=[],n=0;n<arguments.length;n++)o[n]=arguments[n];var a=e.apply(this,o)||this;return Object.setPrototypeOf(a,t.prototype),a}return Object.defineProperty(t,Symbol.species,{get:function(){return t},enumerable:!1,configurable:!0}),t.prototype.concat=function(){for(var o=[],n=0;n<arguments.length;n++)o[n]=arguments[n];return e.prototype.concat.apply(this,o)},t.prototype.prepend=function(){for(var o=[],n=0;n<arguments.length;n++)o[n]=arguments[n];return o.length===1&&Array.isArray(o[0])?new(t.bind.apply(t,sr([void 0],o[0].concat(this)))):new(t.bind.apply(t,sr([void 0],o.concat(this))))},t}(Array),U8=function(e){z2(t,e);function t(){for(var o=[],n=0;n<arguments.length;n++)o[n]=arguments[n];var a=e.apply(this,o)||this;return Object.setPrototypeOf(a,t.prototype),a}return Object.defineProperty(t,Symbol.species,{get:function(){return t},enumerable:!1,configurable:!0}),t.prototype.concat=function(){for(var o=[],n=0;n<arguments.length;n++)o[n]=arguments[n];return e.prototype.concat.apply(this,o)},t.prototype.prepend=function(){for(var o=[],n=0;n<arguments.length;n++)o[n]=arguments[n];return o.length===1&&Array.isArray(o[0])?new(t.bind.apply(t,sr([void 0],o[0].concat(this)))):new(t.bind.apply(t,sr([void 0],o.concat(this))))},t}(Array);function Qa(e){return Oe(e)?Uo(e,function(){}):e}function B8(e){return typeof e=="boolean"}function G8(){return function(t){return H8(t)}}function H8(e){e===void 0&&(e={});var t=e.thunk,o=t===void 0?!0:t,n=e.immutableCheck,a=n===void 0?!0:n,i=e.serializableCheck,s=i===void 0?!0:i,l=new D8;if(o&&(B8(o)?l.push(Za):l.push(Za.withExtraArgument(o.extraArgument))),0){if(a)var f;if(s)var u}return l}var qa=!0;function I2(e){var t=G8(),o=e||{},n=o.reducer,a=n===void 0?void 0:n,i=o.middleware,s=i===void 0?t():i,l=o.devTools,f=l===void 0?!0:l,u=o.preloadedState,m=u===void 0?void 0:u,g=o.enhancers,y=g===void 0?void 0:g,x;if(typeof a=="function")x=a;else if(I8(a))x=R2(a);else throw new Error('"reducer" is a required argument, and must be a function or an object of functions that can be passed to combineReducers');var v=s;if(typeof v=="function"&&(v=v(t),!qa&&!Array.isArray(v)))throw new Error("when using a middleware builder function, an array of middleware must be returned");if(!qa&&v.some(function(k){return typeof k!="function"}))throw new Error("each middleware provided to configureStore must be a function");var C=w2.apply(void 0,v),O=ir;f&&(O=z8(st({trace:!qa},typeof f=="object"&&f)));var _=new U8(C),R=_;Array.isArray(y)?R=sr([C],y):typeof y=="function"&&(R=y(_));var M=O.apply(void 0,R);return Va(x,m,M)}function ct(e,t){function o(){for(var n=[],a=0;a<arguments.length;a++)n[a]=arguments[a];if(t){var i=t.apply(void 0,n);if(!i)throw new Error("prepareAction did not return an object");return st(st({type:e,payload:i.payload},"meta"in i&&{meta:i.meta}),"error"in i&&{error:i.error})}return{type:e,payload:n[0]}}return o.toString=function(){return""+e},o.type=e,o.match=function(n){return n.type===e},o}function D2(e){var t={},o=[],n,a={addCase:function(i,s){var l=typeof i=="string"?i:i.type;if(l in t)throw new Error("addCase cannot be called with two reducers for the same action type");return t[l]=s,a},addMatcher:function(i,s){return o.push({matcher:i,reducer:s}),a},addDefaultCase:function(i){return n=i,a}};return e(a),[t,o,n]}function W8(e){return typeof e=="function"}function F8(e,t,o,n){o===void 0&&(o=[]);var a=typeof t=="function"?D2(t):[t,o,n],i=a[0],s=a[1],l=a[2],f;if(W8(e))f=function(){return Qa(e())};else{var u=Qa(e);f=function(){return u}}function m(g,y){g===void 0&&(g=f());var x=sr([i[y.type]],s.filter(function(v){var C=v.matcher;return C(y)}).map(function(v){var C=v.reducer;return C}));return x.filter(function(v){return!!v}).length===0&&(x=[l]),x.reduce(function(v,C){if(C)if(Ke(v)){var O=v,_=C(O,y);return _===void 0?v:_}else{if(Oe(v))return Uo(v,function(R){return C(R,y)});var _=C(v,y);if(_===void 0){if(v===null)return v;throw Error("A case reducer on a non-draftable value must not return undefined")}return _}return v},g)}return m.getInitialState=f,m}function $8(e,t){return e+"/"+t}function U2(e){var t=e.name;if(!t)throw new Error("`name` is a required option for createSlice");typeof process<"u";var o=typeof e.initialState=="function"?e.initialState:Qa(e.initialState),n=e.reducers||{},a=Object.keys(n),i={},s={},l={};a.forEach(function(m){var g=n[m],y=$8(t,m),x,v;"reducer"in g?(x=g.reducer,v=g.prepare):x=g,i[m]=x,s[y]=x,l[m]=v?ct(y,v):ct(y)});function f(){var m=typeof e.extraReducers=="function"?D2(e.extraReducers):[e.extraReducers],g=m[0],y=g===void 0?{}:g,x=m[1],v=x===void 0?[]:x,C=m[2],O=C===void 0?void 0:C,_=st(st({},y),s);return F8(o,function(R){for(var M in _)R.addCase(M,_[M]);for(var k=0,I=v;k<I.length;k++){var W=I[k];R.addMatcher(W.matcher,W.reducer)}O&&R.addDefaultCase(O)})}var u;return{name:t,reducer:function(m,g){return u||(u=f()),u(m,g)},actions:l,caseReducers:i,getInitialState:function(){return u||(u=f()),u.getInitialState()}}}var j8="ModuleSymbhasOwnPr-0123456789ABCDEFGHNRVfgctiUvz_KqYTJkLxpZXIjQW",K8=function(e){e===void 0&&(e=21);for(var t="",o=e;o--;)t+=j8[Math.random()*64|0];return t},V8=["name","message","stack","code"],Xa=function(){function e(t,o){this.payload=t,this.meta=o}return e}(),k2=function(){function e(t,o){this.payload=t,this.meta=o}return e}(),Z8=function(e){if(typeof e=="object"&&e!==null){for(var t={},o=0,n=V8;o<n.length;o++){var a=n[o];typeof e[a]=="string"&&(t[a]=e[a])}return t}return{message:String(e)}},nx=function(){function e(t,o,n){var a=ct(t+"/fulfilled",function(m,g,y,x){return{payload:m,meta:Ya(st({},x||{}),{arg:y,requestId:g,requestStatus:"fulfilled"})}}),i=ct(t+"/pending",function(m,g,y){return{payload:void 0,meta:Ya(st({},y||{}),{arg:g,requestId:m,requestStatus:"pending"})}}),s=ct(t+"/rejected",function(m,g,y,x,v){return{payload:x,error:(n&&n.serializeError||Z8)(m||"Rejected"),meta:Ya(st({},v||{}),{arg:y,requestId:g,rejectedWithValue:!!x,requestStatus:"rejected",aborted:m?.name==="AbortError",condition:m?.name==="ConditionError"})}}),l=!1,f=typeof AbortController<"u"?AbortController:function(){function m(){this.signal={aborted:!1,addEventListener:function(){},dispatchEvent:function(){return!1},onabort:function(){},removeEventListener:function(){},reason:void 0,throwIfAborted:function(){}}}return m.prototype.abort=function(){},m}();function u(m){return function(g,y,x){var v=n?.idGenerator?n.idGenerator(m):K8(),C=new f,O,_=!1;function R(k){O=k,C.abort()}var M=function(){return P8(this,null,function(){var k,I,W,se,Q,Te,J;return w8(this,function(b){switch(b.label){case 0:return b.trys.push([0,4,,5]),se=(k=n?.condition)==null?void 0:k.call(n,m,{getState:y,extra:x}),q8(se)?[4,se]:[3,2];case 1:se=b.sent(),b.label=2;case 2:if(se===!1||C.signal.aborted)throw{name:"ConditionError",message:"Aborted due to condition callback returning false."};return _=!0,Q=new Promise(function(S,z){return C.signal.addEventListener("abort",function(){return z({name:"AbortError",message:O||"Aborted"})})}),g(i(v,m,(I=n?.getPendingMeta)==null?void 0:I.call(n,{requestId:v,arg:m},{getState:y,extra:x}))),[4,Promise.race([Q,Promise.resolve(o(m,{dispatch:g,getState:y,extra:x,requestId:v,signal:C.signal,abort:R,rejectWithValue:function(S,z){return new Xa(S,z)},fulfillWithValue:function(S,z){return new k2(S,z)}})).then(function(S){if(S instanceof Xa)throw S;return S instanceof k2?a(S.payload,v,m,S.meta):a(S,v,m)})])];case 3:return W=b.sent(),[3,5];case 4:return Te=b.sent(),W=Te instanceof Xa?s(null,v,m,Te.payload,Te.meta):s(Te,v,m),[3,5];case 5:return J=n&&!n.dispatchConditionRejection&&s.match(W)&&W.meta.condition,J||g(W),[2,W]}})})}();return Object.assign(M,{abort:R,requestId:v,arg:m,unwrap:function(){return M.then(Y8)}})}}return Object.assign(u,{pending:i,rejected:s,fulfilled:a,typePrefix:t})}return e.withTypes=function(){return e},e}();function Y8(e){if(e.meta&&e.meta.rejectedWithValue)throw e.payload;if(e.error)throw e.error;return e.payload}function q8(e){return e!==null&&typeof e=="object"&&typeof e.then=="function"}var B2="listener",G2="completed",H2="cancelled",ax="task-"+H2,ix="task-"+G2,sx=B2+"-"+H2,cx=B2+"-"+G2;var Ja="listenerMiddleware";var lx=ct(Ja+"/add"),dx=ct(Ja+"/removeAll"),fx=ct(Ja+"/remove");var P2,ux=typeof queueMicrotask=="function"?queueMicrotask.bind(typeof window<"u"?window:typeof global<"u"?global:globalThis):function(e){return(P2||(P2=Promise.resolve())).then(e).catch(function(t){return setTimeout(function(){throw t},0)})},X8=function(e){return function(t){setTimeout(t,e)}},px=typeof window<"u"&&window.requestAnimationFrame?window.requestAnimationFrame:X8(10);x2();var Q8=_o(Symbol("withEventBus"),function(e,t){return class extends e{constructor(){super(...arguments),this.eventBus=t??document.createElement("span")}addEventListener(o,n,a){this.eventBus.addEventListener(o,n,a)}dispatchEvent(o){return this.eventBus.dispatchEvent(o)}removeEventListener(o,n,a){this.eventBus.removeEventListener(o,n,a)}}}),Go=class extends Q8(Object){};window.ftReduxStores||(window.ftReduxStores={});var W2=class e extends Go{static get(t){var o;let n=typeof t=="string"?t:t.name,a=typeof t=="string"?void 0:t,i=window.ftReduxStores[n];if(Po(i))return i;if(a==null)return;let s=U2({...a,reducers:(o=a.reducers)!==null&&o!==void 0?o:{}}),l=I2({reducer:(f,u)=>{if(u.type==="CLEAR_FT_REDUX_STORE"){let m=X1(s.getInitialState());for(let g of u.keeping)m[g]=(f??m)[g];return m}else if(typeof u.type=="string"&&u.type.startsWith("DEFAULT_VALUE_SETTER__"))return{...f,...u.overwrites};return s.reducer(f,u)}});return window.ftReduxStores[a.name]=new e(s,l,a.eventBus)}constructor(t,o,n){super(),this.reduxSlice=t,this.reduxStore=o,this.isFtReduxStore=!0,this.commands=new No;let a=i=>i!=null?JSON.parse(JSON.stringify(i)):i;this.actions=new Proxy(this.reduxSlice.actions,{get:(i,s,l)=>{let f=s,u=i[f];return u?(...m)=>{let g=u(...m.map(a));return this.reduxStore.dispatch(g),g}:m=>{this.setState({[f]:a(m)})}}}),this.eventBus=n??this.eventBus}clear(){this.reduxStore.dispatch({type:"CLEAR_FT_REDUX_STORE",keeping:[]})}clearKeeping(...t){this.reduxStore.dispatch({type:"CLEAR_FT_REDUX_STORE",keeping:t})}setState(t){this.reduxStore.dispatch({type:"DEFAULT_VALUE_SETTER__"+Object.keys(t).join("_"),overwrites:t})}get dispatch(){throw new Error("Don't use this method, actions are automatically dispatched when called.")}[Symbol.observable](){return this.reduxStore[Symbol.observable]()}getState(){return this.reduxStore.getState()}replaceReducer(t){throw new Error("Not implemented yet.")}subscribe(t){return this.reduxStore.subscribe(t)}get name(){return this.reduxSlice.name}get reducer(){return this.reduxSlice.reducer}get caseReducers(){return this.reduxSlice.caseReducers}getInitialState(){return this.reduxSlice.getInitialState()}};var Ho=class{static format(t,o,n,a,i){return window.moment?window.moment(t).locale(o).format(this.getMomentDateFormat(n,a,!!i)):this.getIntlDateTime(t,o,n,a,!!i)}static getMomentDateFormat(t,o,n){return n?"LT":t?o?"lll":"ll":o?"L LT":"L"}static getIntlDateTime(t,o,n,a,i){let s=typeof t=="string"?new Date(t):t,l=new Intl.DateTimeFormat(o,{dateStyle:n?"medium":"short"}).format(s),f=new Intl.DateTimeFormat(o,{timeStyle:"short"}).format(s);return i?f:a?`${l} ${f}`:l}static getTimezoneAsString(){let t=n=>String(Math.floor(n)).padStart(2,"0"),o=new Date().getTimezoneOffset();return`${o<0?"+":"-"}${t(Math.abs(o)/60)}:${t(Math.abs(o)%60)}`}};var F2=A(D()),Wo=function(e,t,o,n){var a=arguments.length,i=a<3?t:n===null?n=Object.getOwnPropertyDescriptor(t,o):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(e,t,o,n);else for(var l=e.length-1;l>=0;l--)(s=e[l])&&(i=(a<3?s(i):a>3?s(t,o,i):s(t,o))||i);return a>3&&i&&Object.defineProperty(t,o,i),i},Gx=(0,F2.applyMixinOnce)(Symbol("withDateFormat"),function(e){class t extends e{constructor(...n){super(n),this.useLongDateFormat=!1,this.useDateTimeFormat=!1,this.metadataDescriptors=[],this.uiLocale="en-US",this.addStore(T)}dateFormatOptionsChanged(n){return n.has("metadataDescriptors")||n.has("useLongDateFormat")||n.has("useDateTimeFormat")||n.has("uiLocale")}getDateFormatter(n){var a,i;return((i=(a=this.metadataDescriptors.find(l=>l.key===n))===null||a===void 0?void 0:a.date)!==null&&i!==void 0?i:!1)?l=>Ho.format(l,this.uiLocale,this.useLongDateFormat,this.useDateTimeFormat):void 0}}return Wo([(0,ei.property)({type:Boolean})],t.prototype,"useLongDateFormat",void 0),Wo([(0,ei.property)({type:Boolean})],t.prototype,"useDateTimeFormat",void 0),Wo([Na({store:T.name,selector:o=>{var n,a;return(a=(n=o.metadataConfiguration)===null||n===void 0?void 0:n.descriptors)!==null&&a!==void 0?a:[]}})],t.prototype,"metadataDescriptors",void 0),Wo([Na({store:T.name})],t.prototype,"uiLocale",void 0),t});var ti=class{addCommand(t,o=!1){T.commands.add(t,o)}consumeCommand(t){return T.commands.consume(t)}};window.FluidTopicsAppInfoStoreService=new ti;var be=A(D());var $2,cr=class extends CustomEvent{constructor(t){super("ft-i18n-context-loaded",{detail:t})}},J8=Symbol("clearAfterUnitTest"),Fo=class extends(0,be.withEventBus)(fe){constructor(t){super(),this.messageContextProvider=t,this.defaultMessages={},this.listeners={},this.currentUiLocale="",this[$2]=()=>{this.defaultMessages={},this.cache=new be.CacheRegistry,this.listeners={}},this.currentUiLocale=T.getState().uiLocale,T.subscribe(()=>this.clearWhenUiLocaleChanges())}clearWhenUiLocaleChanges(){let{uiLocale:t}=T.getState();this.currentUiLocale!==t&&(this.currentUiLocale=t,this.cache.clearAll(),this.notifyAll())}addContext(t){let o=t.name.toLowerCase();this.cache.setFinal(o,t),this.notify(o)}getAllContexts(){return this.cache.resolvedValues()}async prepareContext(t,o){var n;if(t=t.toLowerCase(),o&&Object.keys(o).length>0){let a={...(n=this.defaultMessages[t])!==null&&n!==void 0?n:{},...o};(0,be.deepEqual)(this.defaultMessages[t],a)||(this.defaultMessages[t]=a,await this.notify(t))}return this.fetchContext(t)}resolveContext(t){var o,n;return this.fetchContext(t),(n=(o=this.cache.getNow(t))===null||o===void 0?void 0:o.messages)!==null&&n!==void 0?n:{}}resolveRawMessage(t,o){let n=t.toLowerCase();return this.resolveContext(n)[o]}resolveMessage(t,o,...n){var a;let i=t.toLowerCase(),s=this.resolveContext(i);return new be.ParametrizedLabelResolver((a=this.defaultMessages[i])!==null&&a!==void 0?a:{},s).resolve(o,...n)}async fetchContext(t){let o=!this.cache.has(t),n;try{n=await this.cache.get(t,()=>this.messageContextProvider(this.currentUiLocale,t)),o&&await this.notify(t)}catch(a){!(a instanceof be.CanceledPromiseError)&&o&&console.error(a)}return n}subscribe(t,o){var n;return t=t.toLowerCase(),this.listeners[t]=(n=this.listeners[t])!==null&&n!==void 0?n:new Set,this.listeners[t].add(o),()=>{var a;return(a=this.listeners[t])===null||a===void 0?void 0:a.delete(o)}}async notifyAll(){let t=Object.keys(this.listeners);document.body.dispatchEvent(new cr({loadedContexts:t})),this.dispatchEvent(new cr({loadedContexts:t})),await Promise.all(t.map(o=>this.notify(o,!1)))}async notify(t,o=!0){o&&(document.body.dispatchEvent(new cr({loadedContexts:[t]})),this.dispatchEvent(new cr({loadedContexts:[t]}))),this.listeners[t]!=null&&await Promise.all([...this.listeners[t].values()].map(n=>(0,be.delay)(0).then(()=>n()).catch(()=>null)))}};$2=J8;window.FluidTopicsI18nService==null&&(window.FluidTopicsI18nService=new class extends Fo{constructor(){super(async(e,t)=>(await this.awaitApi).getFluidTopicsMessageContext(e,t))}});window.FluidTopicsCustomI18nService==null&&(window.FluidTopicsCustomI18nService=new class extends Fo{constructor(){super(async(e,t)=>(await this.awaitApi).getCustomMessageContext(e,t))}});var lr=window.FluidTopicsI18nService,$o=window.FluidTopicsCustomI18nService;var j2=A(D()),ri=class{highlightHtml(t,o,n){(0,j2.highlightHtml)(t,o,n)}};window.FluidTopicsHighlightHtmlService=new ri;var K2=A(D());var oi=class{isDate(t){var o,n,a,i;return(i=(a=((n=(o=T.getState().metadataConfiguration)===null||o===void 0?void 0:o.descriptors)!==null&&n!==void 0?n:[]).find(l=>l.key===t))===null||a===void 0?void 0:a.date)!==null&&i!==void 0?i:!1}format(t,o){var n,a,i,s;if(t==null)return"";try{return K2.DateFormatter.format(t,(n=o?.locale)!==null&&n!==void 0?n:T.getState().uiLocale,(a=o?.longFormat)!==null&&a!==void 0?a:!1,(i=o?.withTime)!==null&&i!==void 0?i:!1,(s=o?.onlyTime)!==null&&s!==void 0?s:!1)}catch(l){throw console.error(`Date ${JSON.stringify(t)} is not valid`,l),l}}};window.FluidTopicsDateService=new oi;var V2=A(D());var Br=class{static get(t,o){var n,a;let i=T.getState(),{lang:s,region:l}=(a=(n=i.defaultLocales)===null||n===void 0?void 0:n.defaultContentLocale)!==null&&a!==void 0?a:{lang:"en",region:"US"};return new V2.SearchPlaceConverter(i.baseUrl,t??20,i.searchInAllLanguagesAllowed,o??`${s}-${l}`)}};var ni=class{urlToSearchRequest(t){return Br.get().parse(t)}searchRequestToUrl(t){return Br.get().serialize(t)}};window.FluidTopicsUrlService=new ni;var lt=A(D());var _t=class e extends CustomEvent{constructor(t){super(e.eventName,{detail:{currentItem:t}})}};_t.eventName="change";var ai=class{itemName(t){return`fluid-topics-history-item-${t}`}get(t){let o=sessionStorage.getItem(this.itemName(t));return o?JSON.parse(o):void 0}set(t,o){sessionStorage.setItem(this.itemName(t),JSON.stringify(o))}},Z2=new ai;var jo=class e extends lt.WithEventBus{static build(){return new e(window.history,Z2,()=>window.location,!1)}constructor(t,o,n,a){var i,s;super(),this.history=t,this.historyStorage=o,this.windowLocation=n,this.states=[],this.realPushState=t.pushState,this.realReplaceState=t.replaceState,this.initialIndex=(s=(i=t.state)===null||i===void 0?void 0:i.index)!==null&&s!==void 0?s:t.length-1,this.currentIndex=this.initialIndex,this.setCurrentState(this.buildCurrentState()),this.installProxies(),this.initEventListeners(),this.initData(a)}setCurrentState(t,o=!1){let n=o&&this.currentIndex===t.index-1;this.currentState={...this.buildCurrentState(),...t},this.currentIndex=this.currentState.index,this.states[this.currentIndex]=this.currentState,n&&(this.states=this.states.slice(0,this.currentIndex+1)),this.historyStorage.set(this.currentIndex,this.currentState),(0,lt.deepEqual)(this.currentState,this.history.state)||this.realReplaceState.apply(this.history,[this.currentState,this.currentState.title,window.location.href]),setTimeout(()=>this.dispatchEvent(new _t(this.currentItem())),0)}installProxies(){let t=o=>(n,a,[i,s,l])=>{let f=o(),u={...f===this.currentIndex?this.currentState:void 0,...i,index:f,href:typeof l=="string"?l:(l??this.windowLocation()).href};n.apply(a,[u,s,l]),this.setCurrentState(u,!0)};this.history.pushState=new Proxy(this.history.pushState,{apply:t(()=>this.currentIndex+1)}),this.history.replaceState=new Proxy(this.history.replaceState,{apply:t(()=>this.currentIndex)})}initEventListeners(){window.addEventListener("popstate",t=>this.setCurrentState(t.state)),document.querySelector("title")==null&&document.head.append(document.createElement("title")),new MutationObserver(()=>this.updateCurrentState({title:document.title})).observe(document.querySelector("title"),{subtree:!0,characterData:!0,childList:!0})}initData(t){for(let o=this.history.length-1;o>=0;o--)t?this.states[o]=this.historyStorage.get(o):setTimeout(()=>this.states[o]=this.historyStorage.get(o),this.history.length-o)}updateCurrentState(t){var o;let n={...this.buildCurrentState(),...t,index:this.currentIndex,title:(o=t?.title)!==null&&o!==void 0?o:this.currentState.title};this.setCurrentState(n)}addHistoryChangeListener(t){this.addEventListener(_t.eventName,t)}removeHistoryChangeListener(t){this.removeEventListener(_t.eventName,t)}currentItem(){return(0,lt.deepCopy)(this.currentState)}back(){let t=this.previousDifferentMajorPosition();t>=0?this.history.go(t-this.currentIndex):this.currentIndex!==this.initialIndex?this.history.go(this.initialIndex-this.currentIndex):this.history.back()}backwardItem(){return(0,lt.deepCopy)(this.states[this.previousDifferentMajorPosition()])}previousDifferentMajorPosition(){let t=this.currentIndex>0?this.currentIndex-1:0;for(;t>0&&!this.isDifferentMajorState(t);)t--;return t}forward(){let t=this.nextMajorPosition();t&&t<this.states.length?this.history.go(t-this.currentIndex):this.history.forward()}forwardItem(){let t=this.nextMajorPosition();if(t)return(0,lt.deepCopy)(this.states[t])}nextMajorPosition(){let t=this.currentIndex;if(!(t>=this.states.length)){do t++;while(t<this.states.length&&!this.isDifferentMajorState(t));return this.getHigherPositionInTheSameState(t)}}getHigherPositionInTheSameState(t){var o;let n=(o=this.states[t])===null||o===void 0?void 0:o.majorStateId;if(!n)return t;let a=t,i=t+1;for(;this.states.length>i&&!this.isDifferentMajorState(i,n);)this.hasState(i)&&(a=i),i++;return a}buildCurrentState(){var t,o;return{...this.history.state,index:this.currentIndex,href:this.windowLocation().href,title:(o=(t=this.history.state)===null||t===void 0?void 0:t.title)!==null&&o!==void 0?o:document.title}}hasState(t){return this.states[t]!=null}isDifferentMajorState(t,o){var n;if(!this.hasState(t))return!1;let a=o??this.currentState.majorStateId,i=(n=this.states[t])===null||n===void 0?void 0:n.majorStateId;return i==null||i!=a}};window.FluidTopicsInternalHistoryService==null&&(window.FluidTopicsInternalHistoryService=jo.build(),window.FluidTopicsHistoryService={currentItem:()=>window.FluidTopicsInternalHistoryService.currentItem(),back:()=>window.FluidTopicsInternalHistoryService.back(),forward:()=>window.FluidTopicsInternalHistoryService.forward(),backwardItem:()=>window.FluidTopicsInternalHistoryService.backwardItem(),forwardItem:()=>window.FluidTopicsInternalHistoryService.forwardItem(),addHistoryChangeListener:e=>window.FluidTopicsInternalHistoryService.addHistoryChangeListener(e),removeHistoryChangeListener:e=>window.FluidTopicsInternalHistoryService.removeHistoryChangeListener(e)});var Y2=A(Z());var q2=Y2.css`
913
913
  `;var Q2=A(Z()),re=A(oe()),Re=A(D());function X2(e,t){let{authenticationRequired:o,session:n}=T.getState();return o&&!n?.sessionAuthenticated?Promise.resolve(t):e()}var Y=function(e,t,o,n){var a=arguments.length,i=a<3?t:n===null?n=Object.getOwnPropertyDescriptor(t,o):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(e,t,o,n);else for(var l=e.length-1;l>=0;l--)(s=e[l])&&(i=(a<3?s(i):a>3?s(t,o,i):s(t,o))||i);return a>3&&i&&Object.defineProperty(t,o,i),i},H=class extends Re.FtLitElement{constructor(){super(...arguments),this.apiIntegrationIdentifier="ft-integration",this.apiIntegrationAppVersion="ft-integration-app-version",this.uiLocale="en-US",this.editorMode=!1,this.noCustom=!1,this.openExternalDocumentInNewTab=!1,this.noCustomComponent=!1,this.withManualResources=!1,this.navigatorOnline=!1,this.forcedOffline=!1,this.apiProvider=()=>vt.get(),this.authenticationRequired=!1,this.messageContexts=[],this.cache=new Re.CacheRegistry,this.cleanSessionDebouncer=new Re.Debouncer,this.reloadConfiguration=()=>{this.cache.clear("availableContentLocales"),this.updateAvailableContentLocales()}}render(){return Q2.html`
914
914
  <slot></slot>
915
915
  `}connectedCallback(){super.connectedCallback(),T.addEventListener(xt.eventName,this.reloadConfiguration)}disconnectedCallback(){T.addEventListener(xt.eventName,this.reloadConfiguration),super.disconnectedCallback()}update(t){var o,n,a,i,s,l,f;super.update(t),t.has("baseUrl")&&(T.actions.baseUrl(this.baseUrl),window.fluidTopicsBaseUrl=this.baseUrl),t.has("apiIntegrationIdentifier")&&T.actions.apiIntegrationIdentifier(this.apiIntegrationIdentifier),t.has("apiIntegrationAppVersion")&&T.actions.apiIntegrationAppVersion(this.apiIntegrationAppVersion),t.has("uiLocale")&&T.actions.uiLocale(this.uiLocale),t.has("metadataConfiguration")&&T.actions.metadataConfiguration(this.metadataConfiguration),t.has("noCustom")&&T.actions.noCustom(this.noCustom),t.has("editorMode")&&T.actions.editorMode(this.editorMode),t.has("noCustomComponent")&&T.actions.noCustomComponent(this.noCustomComponent),t.has("session")&&T.actions.session(this.session),t.has("messageContexts")&&this.messageContexts!=null&&this.messageContexts.forEach(u=>lr.addContext(u)),t.has("openExternalDocumentInNewTab")&&T.actions.openExternalDocumentInNewTab(this.openExternalDocumentInNewTab),t.has("navigatorOnline")&&T.actions.navigatorOnline(this.navigatorOnline),t.has("forcedOffline")&&T.actions.forcedOffline(this.forcedOffline),t.has("localesConfiguration")&&(T.actions.defaultLocales((o=this.localesConfiguration)===null||o===void 0?void 0:o.defaultLocales),T.actions.availableUiLocales((a=(n=this.localesConfiguration)===null||n===void 0?void 0:n.availableUiLocales)!==null&&a!==void 0?a:[]),T.actions.searchInAllLanguagesAllowed((s=(i=this.localesConfiguration)===null||i===void 0?void 0:i.allLanguagesAllowed)!==null&&s!==void 0?s:!1)),t.has("authenticationRequired")&&T.actions.authenticationRequired(this.authenticationRequired),t.has("availableContentLocales")&&T.actions.availableContentLocales((f=(l=this.availableContentLocales)===null||l===void 0?void 0:l.contentLocales)!==null&&f!==void 0?f:[]),setTimeout(()=>this.updateIfNeeded())}async updateIfNeeded(){this.apiProvider()&&(this.withManualResources||(this.session==null&&this.updateSession(),this.metadataConfiguration==null&&this.updateMetadataConfiguration()),this.localesConfiguration==null&&this.updateLocalesConfiguration(),this.availableContentLocales==null&&this.updateAvailableContentLocales())}async updateSession(){this.session=await this.cache.get("session",async()=>{let t=await this.apiProvider().getCurrentSession();return t.idleTimeoutInMillis>0&&this.cleanSessionDebouncer.run(()=>{this.cache.clear("session"),this.session=void 0},t.idleTimeoutInMillis),t})}async updateMetadataConfiguration(){this.metadataConfiguration=await this.cache.get("metadataConfiguration",()=>this.apiProvider().getMetadataConfiguration())}async updateLocalesConfiguration(){this.localesConfiguration=await this.cache.get("localesConfiguration",()=>this.apiProvider().getLocalesConfiguration())}async updateAvailableContentLocales(){this.availableContentLocales=await this.cache.get("availableContentLocales",()=>X2(()=>this.apiProvider().getAvailableSearchLocales(),{contentLocales:[]}))}};H.elementDefinitions={};H.styles=q2;Y([(0,re.property)()],H.prototype,"baseUrl",void 0);Y([(0,re.property)()],H.prototype,"apiIntegrationIdentifier",void 0);Y([(0,re.property)()],H.prototype,"apiIntegrationAppVersion",void 0);Y([(0,re.property)()],H.prototype,"uiLocale",void 0);Y([(0,Re.jsonProperty)(null)],H.prototype,"availableUiLocales",void 0);Y([(0,Re.jsonProperty)(null)],H.prototype,"metadataConfiguration",void 0);Y([(0,re.property)({type:Boolean})],H.prototype,"editorMode",void 0);Y([(0,re.property)({type:Boolean})],H.prototype,"noCustom",void 0);Y([(0,re.property)({type:Boolean})],H.prototype,"openExternalDocumentInNewTab",void 0);Y([(0,re.property)({converter:{fromAttribute(e){return e==="false"?!1:e==="true"||(e??!1)}}})],H.prototype,"noCustomComponent",void 0);Y([(0,re.property)({type:Boolean})],H.prototype,"withManualResources",void 0);Y([(0,re.property)({type:Boolean})],H.prototype,"navigatorOnline",void 0);Y([(0,re.property)({type:Boolean})],H.prototype,"forcedOffline",void 0);Y([(0,re.property)({type:Object})],H.prototype,"apiProvider",void 0);Y([(0,re.property)({type:Boolean})],H.prototype,"authenticationRequired",void 0);Y([(0,Re.jsonProperty)([])],H.prototype,"messageContexts",void 0);Y([(0,Re.jsonProperty)(void 0)],H.prototype,"session",void 0);Y([(0,re.state)()],H.prototype,"localesConfiguration",void 0);Y([(0,re.state)()],H.prototype,"availableContentLocales",void 0);var J2=A(D());(0,J2.customElement)("ft-app-context")(H);var Ko=class e{static build(t){return new e(t)}static buildCustom(t){return new e(t,!0)}static fromGwt(t){return new e(t)}get service(){return this.custom?$o:lr}constructor(t,o=!1){this.name=t,this.custom=o,this.properties=new Proxy({},{get:(n,a)=>{let i=a;return s=>({context:this.name,key:i,custom:this.custom,args:typeof s=="function"?void 0:s,argsProvider:typeof s=="function"?s:void 0})}}),this.messages=new Proxy({},{get:(n,a)=>(...i)=>this.service.resolveMessage(this.name,a,...i)}),this.rawMessages=new Proxy({},{get:(n,a)=>this.service.resolveRawMessage(this.name,a)}),this.keys=new Proxy({},{get:(n,a)=>()=>a}),this.attributes=new Proxy({},{get:(n,a)=>()=>({context:this.name,key:a,message:this.service.resolveRawMessage(this.name,a)})})}};var fr=A(D());var e4=A(oe());var ii=class{fromLocalizableLabel(t){return t.type=="PLAIN_TEXT"?{message:t.text}:{key:t.key,custom:t.type=="LOCALIZED_CUSTOM",context:t.context,message:t.key}}fromAttribute(t){if(t!=null)try{return JSON.parse(t)}catch{if(this.isI18nKey(t)){let[o,n]=t.split(".");return{context:o,key:n,custom:o!=="officialContext",message:""}}return{message:t}}}toAttribute(t){if(t!=null)return JSON.stringify(t)}isI18nKey(t){return t.match(/^[\w-]+\.[\w-]+$/)}},dr=new ii;var eh=function(e,t,o,n){var a=arguments.length,i=a<3?t:n===null?n=Object.getOwnPropertyDescriptor(t,o):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(e,t,o,n);else for(var l=e.length-1;l>=0;l--)(s=e[l])&&(i=(a<3?s(i):a>3?s(t,o,i):s(t,o))||i);return a>3&&i&&Object.defineProperty(t,o,i),i},Hr=Symbol("i18nAttributes"),t4=Symbol("i18nListAttributes"),r4=Symbol("i18nProperties"),Vo=Symbol("i18nContexts"),Gr=Symbol("i18nUnsubs"),qo=(0,fr.applyMixinOnce)(Symbol("withI18n"),function(e){var t,o;class n extends e{constructor(){super(...arguments),this.useCustomMessageContexts=!1,this[t]=new Map,this[o]=new Map}getI18nService(i){return i??this.useCustomMessageContexts?$o:lr}i18n(i){let{context:s,key:l,message:f}=i,{custom:u,args:m,argsProvider:g}=i;if(s&&l){this.hasI18nContext(s)||this.addI18nContext(s,void 0,u);let y=m??(g?g(this):[]);return this.getI18nService(u).resolveMessage(s,l,...y)}return f}async awaitI18n(i){let{context:s,custom:l}=i;return s&&await this.getI18nService(l).prepareContext(s),this.i18n(i)}customI18n(i,s){if(dr.isI18nKey(i)){let[l,f]=i.split(".");return this.i18n({custom:!0,context:l,key:f,...s})||i}return i}firstUpdated(i){super.firstUpdated(i),this.updateI18nAttributes(()=>!0),this.updateI18nProperties(()=>!0)}update(i){super.update(i),this.updateI18nAttributes((s,l,f)=>i.has(l)||typeof s.argsProvider=="function"),this.updateI18nProperties(s=>typeof s.argsProvider=="function")}onI18nUpdate(i){this.updateI18nAttributes((s,l,f)=>{var u;return((u=f?.context)===null||u===void 0?void 0:u.toLowerCase())===i}),this.updateI18nProperties(s=>s.context.toLowerCase()===i),this.requestUpdate()}updateI18nAttributes(i){var s,l;let f=this,u=(m,g,y)=>y?.context&&y.key&&i(m,g,y)?{...y,message:this.i18n({context:y.context,key:y.key,custom:y.custom,...m})}:y;(s=this[Hr])===null||s===void 0||s.forEach((m,g)=>f[g]=u(m,g,f[g])),(l=this[t4])===null||l===void 0||l.forEach((m,g)=>{var y;return f[g]=(y=f[g])===null||y===void 0?void 0:y.map(x=>u(m,g,x))})}updateI18nProperties(i){var s;(s=this[r4])===null||s===void 0||s.forEach((l,f)=>{i(l,f)&&(this[f]=this.i18n(l))})}addI18nMessages(i,s,l){console.warn('Deprecated usage of method "addI18nMessages", use "addI18nContext" instead.'),this.addI18nContext(i,s,l)}addI18nContext(i,s,l){let f=(typeof i=="string"?i:i.name).toLowerCase();l=typeof i=="string"?l:i.custom,this[Vo].set(f,{isCustomContext:l}),this[Gr].has(f)||this[Gr].set(f,this.getI18nService(l).subscribe(f,()=>this.onI18nUpdate(f))),this.getI18nService(l).prepareContext(f,s)}hasI18nContext(i){return this[Vo].has(i.toLowerCase())}connectedCallback(){super.connectedCallback(),this[Vo].forEach((i,s)=>this.addI18nContext(s,void 0,i.isCustomContext))}disconnectedCallback(){super.disconnectedCallback(),this[Gr].forEach(i=>i()),this[Gr].clear()}}return t=Vo,o=Gr,eh([(0,e4.property)({type:Boolean})],n.prototype,"useCustomMessageContexts",void 0),n}),Zo=class extends qo(fr.FtLitElement){},Yo=class extends qo(fr.FtLitElementRedux){};var o4=A(Z());var n4=o4.css`
@@ -45,7 +45,7 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:n.extend("--ftds-con
45
45
  input::-webkit-search-results-decoration {
46
46
  display: none;
47
47
  }
48
- `;var Pl={};var Ci={};H(Ci,{ParametrizedLabelResolver:()=>uo});var uo=class e{constructor(t,r){this.defaultLabels=t,this.labels=r}resolve(t,...r){var o,a;t=this.resolvePluralKey(t,r);let i=(a=(o=this.labels[t])!==null&&o!==void 0?o:this.defaultLabels[t])!==null&&a!==void 0?a:"";return e.replaceParameters(i,...r)}static replaceParameters(t,...r){return r.forEach((o,a)=>t=t.replace(new RegExp(`\\{${a}([^}]*)\\}`,"g"),(i,s)=>e.formatValue(o,s))),t}resolvePluralKey(t,r){for(let o of r)if(typeof o=="number"){let a=`${String(t)}[\\=${o}]`;if(a in this.labels||a in this.defaultLabels)return a}return t}static formatValue(t,r){return t instanceof Date?e.formatDate(t,r):t??""}static formatDate(t,r){let o=a=>r?.includes("date")?t.toLocaleDateString(a):r?.includes("time")?t.toLocaleTimeString(a):t.toLocaleString(a);try{return o(document.documentElement.lang)}catch{return o()}}};var Zi={};H(Zi,{FtCommandQueue:()=>po,FtLitElementRedux:()=>Ht,FtReduxStore:()=>$t,FtStateManager:()=>Ki,ReduxWatcher:()=>fn,clearAllStores:()=>$u,isFtReduxStore:()=>hr,redux:()=>$e,reduxEventListener:()=>iu,reduxReactive:()=>au,watch:()=>Wu,withRedux:()=>kl});var au=()=>(e,t)=>{var r;let o=e.constructor;o.reduxReactiveProperties=new Set(o.reduxReactiveProperties),(r=o.reduxReactiveProperties)===null||r===void 0||r.add(t)},$e=e=>{let t=e??{};return(r,o)=>{var a;let i={hasChanged:qe,attribute:!1,...t};N(i)(r,o);let s=r.constructor;s.reduxProperties=new Map(s.reduxProperties),s.reduxProperties.set(o,{selector:(a=t.selector)!==null&&a!==void 0?a:c=>c[o],store:t.store})}},iu=e=>(t,r)=>{let o=t.constructor;o.reduxEventListeners=new Map(o.reduxEventListeners),o.reduxEventListeners.set(r,e)};var po=class{constructor(){this.queue=[]}add(t,r=!1){r&&this.clear(t.type),this.queue.push(t)}consume(t){let r=this.queue.find(o=>o.type===t);return r&&(this.queue=this.queue.filter(o=>o!==r)),r}clear(t){typeof t=="string"?this.queue=this.queue.filter(r=>r.type!==t):this.queue=this.queue.filter(r=>!t.test(r.type))}};function hr(e){var t;return(t=e?.isFtReduxStore)!==null&&t!==void 0?t:!1}var ho=Symbol("internalReduxEventsUnsubscribers"),dt=Symbol("internalStoresUnsubscribers"),Bt=Symbol("internalStores"),kl=oe(Symbol("withRedux"),function(e){var t,r,o;class a extends e{constructor(){super(...arguments),this[t]=new Map,this[r]=new Map,this[o]=new Map}get reduxConstructor(){return this.constructor}willUpdate(s){super.willUpdate(s),[...this.reduxConstructor.reduxReactiveProperties].some(c=>s.has(c))&&this.updateFromStores()}getUnnamedStore(){if(this[Bt].size>1)throw new Error("Cannot resolve unnamed store when multiple stores are configured.");return[...this[Bt].values()][0]}getStore(s){return s==null?this.getUnnamedStore():this[Bt].get(s)}addStore(s,c){var d;c=(d=c??s.name)!==null&&d!==void 0?d:"default-store",this.unsubscribeFromStore(c),this[Bt].set(c,s),this.subscribeToStore(c,s),this.updateFromStores()}removeStore(s){let c=typeof s=="string"?s:s.name;this.unsubscribeFromStore(c),this[Bt].delete(c)}setupStores(){this.unsubscribeFromStores(),this[Bt].forEach((s,c)=>this.subscribeToStore(c,s)),this.updateFromStores()}updateFromStores(){this.reduxConstructor.reduxProperties.forEach((s,c)=>{let d=this.constructor.getPropertyOptions(c);if(!d?.attribute||!this.hasAttribute(typeof d?.attribute=="string"?d.attribute:c)){let f=this.getStore(s.store);f&&(s.store?this[dt].has(s.store):this[dt].size>0)&&(this[c]=s.selector(f.getState(),this))}})}subscribeToStore(s,c){var d;this[dt].set(s,c.subscribe(()=>this.updateFromStores())),this[ho].set(s,[]),hr(c)&&c.eventBus&&((d=this.reduxConstructor.reduxEventListeners)===null||d===void 0||d.forEach((f,h)=>{if(typeof this[h]=="function"&&(!f.store||c.name===f.store)){let p=g=>this[h](g);c.addEventListener(f.eventName,p),this[ho].get(s).push(()=>c.removeEventListener(f.eventName,p))}})),this.onStoreAvailable(s)}unsubscribeFromStores(){this[dt].forEach((s,c)=>this.unsubscribeFromStore(c))}unsubscribeFromStore(s){var c;this[dt].has(s)&&this[dt].get(s)(),this[dt].delete(s),(c=this[ho].get(s))===null||c===void 0||c.forEach(d=>d()),this[ho].delete(s)}onStoreAvailable(s){}connectedCallback(){super.connectedCallback(),this.setupStores()}disconnectedCallback(){super.disconnectedCallback(),this.unsubscribeFromStores()}}return t=dt,r=Bt,o=ho,a.reduxProperties=new Map,a.reduxReactiveProperties=new Set,a.reduxEventListeners=new Map,a}),Ht=class extends kl(K){};function Oe(e){for(var t=arguments.length,r=Array(t>1?t-1:0),o=1;o<t;o++)r[o-1]=arguments[o];if(0)var a,i;throw Error("[Immer] minified error nr: "+e+(r.length?" "+r.map(function(s){return"'"+s+"'"}).join(","):"")+". Find the full error at: https://bit.ly/3cXEKWf")}function Je(e){return!!e&&!!e[J]}function Me(e){var t;return!!e&&(function(r){if(!r||typeof r!="object")return!1;var o=Object.getPrototypeOf(r);if(o===null)return!0;var a=Object.hasOwnProperty.call(o,"constructor")&&o.constructor;return a===Object||typeof a=="function"&&Function.toString.call(a)===hu}(e)||Array.isArray(e)||!!e[Gl]||!!(!((t=e.constructor)===null||t===void 0)&&t[Gl])||Mi(e)||Pi(e))}function Gt(e,t,r){r===void 0&&(r=!1),yr(e)===0?(r?Object.keys:gr)(e).forEach(function(o){r&&typeof o=="symbol"||t(o,e[o],e)}):e.forEach(function(o,a){return t(a,o,e)})}function yr(e){var t=e[J];return t?t.i>3?t.i-4:t.i:Array.isArray(e)?1:Mi(e)?2:Pi(e)?3:0}function mr(e,t){return yr(e)===2?e.has(t):Object.prototype.hasOwnProperty.call(e,t)}function su(e,t){return yr(e)===2?e.get(t):e[t]}function Fl(e,t,r){var o=yr(e);o===2?e.set(t,r):o===3?e.add(r):e[t]=r}function $l(e,t){return e===t?e!==0||1/e==1/t:e!=e&&t!=t}function Mi(e){return uu&&e instanceof Map}function Pi(e){return pu&&e instanceof Set}function ft(e){return e.o||e.t}function ki(e){if(Array.isArray(e))return Array.prototype.slice.call(e);var t=Vl(e);delete t[J];for(var r=gr(t),o=0;o<r.length;o++){var a=r[o],i=t[a];i.writable===!1&&(i.writable=!0,i.configurable=!0),(i.get||i.set)&&(t[a]={configurable:!0,writable:!0,enumerable:i.enumerable,value:e[a]})}return Object.create(Object.getPrototypeOf(e),t)}function Ii(e,t){return t===void 0&&(t=!1),zi(e)||Je(e)||!Me(e)||(yr(e)>1&&(e.set=e.add=e.clear=e.delete=cu),Object.freeze(e),t&&Gt(e,function(r,o){return Ii(o,!0)},!0)),e}function cu(){Oe(2)}function zi(e){return e==null||typeof e!="object"||Object.isFrozen(e)}function We(e){var t=Ti[e];return t||Oe(18,e),t}function lu(e,t){Ti[e]||(Ti[e]=t)}function wi(){return go}function Ai(e,t){t&&(We("Patches"),e.u=[],e.s=[],e.v=t)}function an(e){_i(e),e.p.forEach(du),e.p=null}function _i(e){e===go&&(go=e.l)}function Il(e){return go={p:[],l:go,h:e,m:!0,_:0}}function du(e){var t=e[J];t.i===0||t.i===1?t.j():t.g=!0}function Li(e,t){t._=t.p.length;var r=t.p[0],o=e!==void 0&&e!==r;return t.h.O||We("ES5").S(t,e,o),o?(r[J].P&&(an(t),Oe(4)),Me(e)&&(e=sn(t,e),t.l||cn(t,e)),t.u&&We("Patches").M(r[J].t,e,t.u,t.s)):e=sn(t,r,[]),an(t),t.u&&t.v(t.u,t.s),e!==jl?e:void 0}function sn(e,t,r){if(zi(t))return t;var o=t[J];if(!o)return Gt(t,function(c,d){return zl(e,o,t,c,d,r)},!0),t;if(o.A!==e)return t;if(!o.P)return cn(e,o.t,!0),o.t;if(!o.I){o.I=!0,o.A._--;var a=o.i===4||o.i===5?o.o=ki(o.k):o.o,i=a,s=!1;o.i===3&&(i=new Set(a),a.clear(),s=!0),Gt(i,function(c,d){return zl(e,o,a,c,d,r,s)}),cn(e,a,!1),r&&e.u&&We("Patches").N(o,r,e.u,e.s)}return o.o}function zl(e,t,r,o,a,i,s){if(Je(a)){var c=sn(e,a,i&&t&&t.i!==3&&!mr(t.R,o)?i.concat(o):void 0);if(Fl(r,o,c),!Je(c))return;e.m=!1}else s&&r.add(a);if(Me(a)&&!zi(a)){if(!e.h.D&&e._<1)return;sn(e,a),t&&t.A.l||cn(e,a)}}function cn(e,t,r){r===void 0&&(r=!1),!e.l&&e.h.D&&e.m&&Ii(t,r)}function Oi(e,t){var r=e[J];return(r?ft(r):e)[t]}function Dl(e,t){if(t in e)for(var r=Object.getPrototypeOf(e);r;){var o=Object.getOwnPropertyDescriptor(r,t);if(o)return o;r=Object.getPrototypeOf(r)}}function ut(e){e.P||(e.P=!0,e.l&&ut(e.l))}function Ri(e){e.o||(e.o=ki(e.t))}function Ni(e,t,r){var o=Mi(t)?We("MapSet").F(t,r):Pi(t)?We("MapSet").T(t,r):e.O?function(a,i){var s=Array.isArray(a),c={i:s?1:0,A:i?i.A:wi(),P:!1,I:!1,R:{},l:i,t:a,k:null,o:null,j:null,C:!1},d=c,f=yo;s&&(d=[c],f=mo);var h=Proxy.revocable(d,f),p=h.revoke,g=h.proxy;return c.k=g,c.j=p,g}(t,r):We("ES5").J(t,r);return(r?r.A:wi()).p.push(o),o}function fu(e){return Je(e)||Oe(22,e),function t(r){if(!Me(r))return r;var o,a=r[J],i=yr(r);if(a){if(!a.P&&(a.i<4||!We("ES5").K(a)))return a.t;a.I=!0,o=Ul(r,i),a.I=!1}else o=Ul(r,i);return Gt(o,function(s,c){a&&su(a.t,s)===c||Fl(o,s,t(c))}),i===3?new Set(o):o}(e)}function Ul(e,t){switch(t){case 2:return new Map(e);case 3:return Array.from(e)}return ki(e)}function Wl(){function e(s,c){var d=i[s];return d?d.enumerable=c:i[s]=d={configurable:!0,enumerable:c,get:function(){var f=this[J];return yo.get(f,s)},set:function(f){var h=this[J];yo.set(h,s,f)}},d}function t(s){for(var c=s.length-1;c>=0;c--){var d=s[c][J];if(!d.P)switch(d.i){case 5:o(d)&&ut(d);break;case 4:r(d)&&ut(d)}}}function r(s){for(var c=s.t,d=s.k,f=gr(d),h=f.length-1;h>=0;h--){var p=f[h];if(p!==J){var g=c[p];if(g===void 0&&!mr(c,p))return!0;var x=d[p],v=x&&x[J];if(v?v.t!==g:!$l(x,g))return!0}}var A=!!c[J];return f.length!==gr(c).length+(A?0:1)}function o(s){var c=s.k;if(c.length!==s.t.length)return!0;var d=Object.getOwnPropertyDescriptor(c,c.length-1);if(d&&!d.get)return!0;for(var f=0;f<c.length;f++)if(!c.hasOwnProperty(f))return!0;return!1}function a(s){s.g&&Oe(3,JSON.stringify(ft(s)))}var i={};lu("ES5",{J:function(s,c){var d=Array.isArray(s),f=function(p,g){if(p){for(var x=Array(g.length),v=0;v<g.length;v++)Object.defineProperty(x,""+v,e(v,!0));return x}var A=Vl(g);delete A[J];for(var O=gr(A),w=0;w<O.length;w++){var _=O[w];A[_]=e(_,p||!!A[_].enumerable)}return Object.create(Object.getPrototypeOf(g),A)}(d,s),h={i:d?5:4,A:c?c.A:wi(),P:!1,I:!1,R:{},l:c,t:s,k:f,o:null,g:!1,C:!1};return Object.defineProperty(f,J,{value:h,writable:!0}),f},S:function(s,c,d){d?Je(c)&&c[J].A===s&&t(s.p):(s.u&&function f(h){if(h&&typeof h=="object"){var p=h[J];if(p){var g=p.t,x=p.k,v=p.R,A=p.i;if(A===4)Gt(x,function(S){S!==J&&(g[S]!==void 0||mr(g,S)?v[S]||f(x[S]):(v[S]=!0,ut(p)))}),Gt(g,function(S){x[S]!==void 0||mr(x,S)||(v[S]=!1,ut(p))});else if(A===5){if(o(p)&&(ut(p),v.length=!0),x.length<g.length)for(var O=x.length;O<g.length;O++)v[O]=!1;else for(var w=g.length;w<x.length;w++)v[w]=!0;for(var _=Math.min(x.length,g.length),E=0;E<_;E++)x.hasOwnProperty(E)||(v[E]=!0),v[E]===void 0&&f(x[E])}}}}(s.p[0]),t(s.p))},K:function(s){return s.i===4?r(s):o(s)}})}var Bl,go,Di=typeof Symbol<"u"&&typeof Symbol("x")=="symbol",uu=typeof Map<"u",pu=typeof Set<"u",Hl=typeof Proxy<"u"&&Proxy.revocable!==void 0&&typeof Reflect<"u",jl=Di?Symbol.for("immer-nothing"):((Bl={})["immer-nothing"]=!0,Bl),Gl=Di?Symbol.for("immer-draftable"):"__$immer_draftable",J=Di?Symbol.for("immer-state"):"__$immer_state";var hu=""+Object.prototype.constructor,gr=typeof Reflect<"u"&&Reflect.ownKeys?Reflect.ownKeys:Object.getOwnPropertySymbols!==void 0?function(e){return Object.getOwnPropertyNames(e).concat(Object.getOwnPropertySymbols(e))}:Object.getOwnPropertyNames,Vl=Object.getOwnPropertyDescriptors||function(e){var t={};return gr(e).forEach(function(r){t[r]=Object.getOwnPropertyDescriptor(e,r)}),t},Ti={},yo={get:function(e,t){if(t===J)return e;var r=ft(e);if(!mr(r,t))return function(a,i,s){var c,d=Dl(i,s);return d?"value"in d?d.value:(c=d.get)===null||c===void 0?void 0:c.call(a.k):void 0}(e,r,t);var o=r[t];return e.I||!Me(o)?o:o===Oi(e.t,t)?(Ri(e),e.o[t]=Ni(e.A.h,o,e)):o},has:function(e,t){return t in ft(e)},ownKeys:function(e){return Reflect.ownKeys(ft(e))},set:function(e,t,r){var o=Dl(ft(e),t);if(o?.set)return o.set.call(e.k,r),!0;if(!e.P){var a=Oi(ft(e),t),i=a?.[J];if(i&&i.t===r)return e.o[t]=r,e.R[t]=!1,!0;if($l(r,a)&&(r!==void 0||mr(e.t,t)))return!0;Ri(e),ut(e)}return e.o[t]===r&&(r!==void 0||t in e.o)||Number.isNaN(r)&&Number.isNaN(e.o[t])||(e.o[t]=r,e.R[t]=!0),!0},deleteProperty:function(e,t){return Oi(e.t,t)!==void 0||t in e.t?(e.R[t]=!1,Ri(e),ut(e)):delete e.R[t],e.o&&delete e.o[t],!0},getOwnPropertyDescriptor:function(e,t){var r=ft(e),o=Reflect.getOwnPropertyDescriptor(r,t);return o&&{writable:!0,configurable:e.i!==1||t!=="length",enumerable:o.enumerable,value:r[t]}},defineProperty:function(){Oe(11)},getPrototypeOf:function(e){return Object.getPrototypeOf(e.t)},setPrototypeOf:function(){Oe(12)}},mo={};Gt(yo,function(e,t){mo[e]=function(){return arguments[0]=arguments[0][0],t.apply(this,arguments)}}),mo.deleteProperty=function(e,t){return mo.set.call(this,e,t,void 0)},mo.set=function(e,t,r){return yo.set.call(this,e[0],t,r,e[0])};var mu=function(){function e(r){var o=this;this.O=Hl,this.D=!0,this.produce=function(a,i,s){if(typeof a=="function"&&typeof i!="function"){var c=i;i=a;var d=o;return function(A){var O=this;A===void 0&&(A=c);for(var w=arguments.length,_=Array(w>1?w-1:0),E=1;E<w;E++)_[E-1]=arguments[E];return d.produce(A,function(S){var L;return(L=i).call.apply(L,[O,S].concat(_))})}}var f;if(typeof i!="function"&&Oe(6),s!==void 0&&typeof s!="function"&&Oe(7),Me(a)){var h=Il(o),p=Ni(o,a,void 0),g=!0;try{f=i(p),g=!1}finally{g?an(h):_i(h)}return typeof Promise<"u"&&f instanceof Promise?f.then(function(A){return Ai(h,s),Li(A,h)},function(A){throw an(h),A}):(Ai(h,s),Li(f,h))}if(!a||typeof a!="object"){if((f=i(a))===void 0&&(f=a),f===jl&&(f=void 0),o.D&&Ii(f,!0),s){var x=[],v=[];We("Patches").M(a,f,x,v),s(x,v)}return f}Oe(21,a)},this.produceWithPatches=function(a,i){if(typeof a=="function")return function(f){for(var h=arguments.length,p=Array(h>1?h-1:0),g=1;g<h;g++)p[g-1]=arguments[g];return o.produceWithPatches(f,function(x){return a.apply(void 0,[x].concat(p))})};var s,c,d=o.produce(a,i,function(f,h){s=f,c=h});return typeof Promise<"u"&&d instanceof Promise?d.then(function(f){return[f,s,c]}):[d,s,c]},typeof r?.useProxies=="boolean"&&this.setUseProxies(r.useProxies),typeof r?.autoFreeze=="boolean"&&this.setAutoFreeze(r.autoFreeze)}var t=e.prototype;return t.createDraft=function(r){Me(r)||Oe(8),Je(r)&&(r=fu(r));var o=Il(this),a=Ni(this,r,void 0);return a[J].C=!0,_i(o),a},t.finishDraft=function(r,o){var a=r&&r[J],i=a.A;return Ai(i,o),Li(void 0,i)},t.setAutoFreeze=function(r){this.D=r},t.setUseProxies=function(r){r&&!Hl&&Oe(20),this.O=r},t.applyPatches=function(r,o){var a;for(a=o.length-1;a>=0;a--){var i=o[a];if(i.path.length===0&&i.op==="replace"){r=i.value;break}}a>-1&&(o=o.slice(a+1));var s=We("Patches").$;return Je(r)?s(r,o):this.produce(r,function(c){return s(c,o)})},e}(),be=new mu,gu=be.produce,Xx=be.produceWithPatches.bind(be),Qx=be.setAutoFreeze.bind(be),Jx=be.setUseProxies.bind(be),ev=be.applyPatches.bind(be),tv=be.createDraft.bind(be),rv=be.finishDraft.bind(be),ln=gu;function Ft(e){"@babel/helpers - typeof";return Ft=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Ft(e)}function Kl(e,t){if(Ft(e)!="object"||!e)return e;var r=e[Symbol.toPrimitive];if(r!==void 0){var o=r.call(e,t||"default");if(Ft(o)!="object")return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function Zl(e){var t=Kl(e,"string");return Ft(t)=="symbol"?t:t+""}function Yl(e,t,r){return(t=Zl(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function ql(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter(function(a){return Object.getOwnPropertyDescriptor(e,a).enumerable})),r.push.apply(r,o)}return r}function Ui(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?ql(Object(r),!0).forEach(function(o){Yl(e,o,r[o])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):ql(Object(r)).forEach(function(o){Object.defineProperty(e,o,Object.getOwnPropertyDescriptor(r,o))})}return e}function de(e){return"Minified Redux error #"+e+"; visit https://redux.js.org/Errors?code="+e+" for the full message or use the non-minified dev environment for full errors. "}var Xl=function(){return typeof Symbol=="function"&&Symbol.observable||"@@observable"}(),Bi=function(){return Math.random().toString(36).substring(7).split("").join(".")},dn={INIT:"@@redux/INIT"+Bi(),REPLACE:"@@redux/REPLACE"+Bi(),PROBE_UNKNOWN_ACTION:function(){return"@@redux/PROBE_UNKNOWN_ACTION"+Bi()}};function yu(e){if(typeof e!="object"||e===null)return!1;for(var t=e;Object.getPrototypeOf(t)!==null;)t=Object.getPrototypeOf(t);return Object.getPrototypeOf(e)===t}function Hi(e,t,r){var o;if(typeof t=="function"&&typeof r=="function"||typeof r=="function"&&typeof arguments[3]=="function")throw new Error(de(0));if(typeof t=="function"&&typeof r>"u"&&(r=t,t=void 0),typeof r<"u"){if(typeof r!="function")throw new Error(de(1));return r(Hi)(e,t)}if(typeof e!="function")throw new Error(de(2));var a=e,i=t,s=[],c=s,d=!1;function f(){c===s&&(c=s.slice())}function h(){if(d)throw new Error(de(3));return i}function p(A){if(typeof A!="function")throw new Error(de(4));if(d)throw new Error(de(5));var O=!0;return f(),c.push(A),function(){if(O){if(d)throw new Error(de(6));O=!1,f();var _=c.indexOf(A);c.splice(_,1),s=null}}}function g(A){if(!yu(A))throw new Error(de(7));if(typeof A.type>"u")throw new Error(de(8));if(d)throw new Error(de(9));try{d=!0,i=a(i,A)}finally{d=!1}for(var O=s=c,w=0;w<O.length;w++){var _=O[w];_()}return A}function x(A){if(typeof A!="function")throw new Error(de(10));a=A,g({type:dn.REPLACE})}function v(){var A,O=p;return A={subscribe:function(_){if(typeof _!="object"||_===null)throw new Error(de(11));function E(){_.next&&_.next(h())}E();var S=O(E);return{unsubscribe:S}}},A[Xl]=function(){return this},A}return g({type:dn.INIT}),o={dispatch:g,subscribe:p,getState:h,replaceReducer:x},o[Xl]=v,o}function bu(e){Object.keys(e).forEach(function(t){var r=e[t],o=r(void 0,{type:dn.INIT});if(typeof o>"u")throw new Error(de(12));if(typeof r(void 0,{type:dn.PROBE_UNKNOWN_ACTION()})>"u")throw new Error(de(13))})}function Ql(e){for(var t=Object.keys(e),r={},o=0;o<t.length;o++){var a=t[o];typeof e[a]=="function"&&(r[a]=e[a])}var i=Object.keys(r),s,c;try{bu(r)}catch(d){c=d}return function(f,h){if(f===void 0&&(f={}),c)throw c;if(0)var p;for(var g=!1,x={},v=0;v<i.length;v++){var A=i[v],O=r[A],w=f[A],_=O(w,h);if(typeof _>"u"){var E=h&&h.type;throw new Error(de(14))}x[A]=_,g=g||_!==w}return g=g||i.length!==Object.keys(f).length,g?x:f}}function br(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return t.length===0?function(o){return o}:t.length===1?t[0]:t.reduce(function(o,a){return function(){return o(a.apply(void 0,arguments))}})}function Jl(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return function(o){return function(){var a=o.apply(void 0,arguments),i=function(){throw new Error(de(15))},s={getState:a.getState,dispatch:function(){return i.apply(void 0,arguments)}},c=t.map(function(d){return d(s)});return i=br.apply(void 0,c)(a.dispatch),Ui(Ui({},a),{},{dispatch:i})}}}function e1(e){var t=function(o){var a=o.dispatch,i=o.getState;return function(s){return function(c){return typeof c=="function"?c(a,i,e):s(c)}}};return t}var t1=e1();t1.withExtraArgument=e1;var Gi=t1;var i1=function(){var e=function(t,r){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(o,a){o.__proto__=a}||function(o,a){for(var i in a)Object.prototype.hasOwnProperty.call(a,i)&&(o[i]=a[i])},e(t,r)};return function(t,r){if(typeof r!="function"&&r!==null)throw new TypeError("Class extends value "+String(r)+" is not a constructor or null");e(t,r);function o(){this.constructor=t}t.prototype=r===null?Object.create(r):(o.prototype=r.prototype,new o)}}(),xu=function(e,t){var r={label:0,sent:function(){if(i[0]&1)throw i[1];return i[1]},trys:[],ops:[]},o,a,i,s;return s={next:c(0),throw:c(1),return:c(2)},typeof Symbol=="function"&&(s[Symbol.iterator]=function(){return this}),s;function c(f){return function(h){return d([f,h])}}function d(f){if(o)throw new TypeError("Generator is already executing.");for(;r;)try{if(o=1,a&&(i=f[0]&2?a.return:f[0]?a.throw||((i=a.return)&&i.call(a),0):a.next)&&!(i=i.call(a,f[1])).done)return i;switch(a=0,i&&(f=[f[0]&2,i.value]),f[0]){case 0:case 1:i=f;break;case 4:return r.label++,{value:f[1],done:!1};case 5:r.label++,a=f[1],f=[0];continue;case 7:f=r.ops.pop(),r.trys.pop();continue;default:if(i=r.trys,!(i=i.length>0&&i[i.length-1])&&(f[0]===6||f[0]===2)){r=0;continue}if(f[0]===3&&(!i||f[1]>i[0]&&f[1]<i[3])){r.label=f[1];break}if(f[0]===6&&r.label<i[1]){r.label=i[1],i=f;break}if(i&&r.label<i[2]){r.label=i[2],r.ops.push(f);break}i[2]&&r.ops.pop(),r.trys.pop();continue}f=t.call(e,r)}catch(h){f=[6,h],a=0}finally{o=i=0}if(f[0]&5)throw f[1];return{value:f[0]?f[1]:void 0,done:!0}}},xr=function(e,t){for(var r=0,o=t.length,a=e.length;r<o;r++,a++)e[a]=t[r];return e},vu=Object.defineProperty,Su=Object.defineProperties,Eu=Object.getOwnPropertyDescriptors,r1=Object.getOwnPropertySymbols,Cu=Object.prototype.hasOwnProperty,Au=Object.prototype.propertyIsEnumerable,o1=function(e,t,r){return t in e?vu(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r},pt=function(e,t){for(var r in t||(t={}))Cu.call(t,r)&&o1(e,r,t[r]);if(r1)for(var o=0,a=r1(t);o<a.length;o++){var r=a[o];Au.call(t,r)&&o1(e,r,t[r])}return e},Fi=function(e,t){return Su(e,Eu(t))},Lu=function(e,t,r){return new Promise(function(o,a){var i=function(d){try{c(r.next(d))}catch(f){a(f)}},s=function(d){try{c(r.throw(d))}catch(f){a(f)}},c=function(d){return d.done?o(d.value):Promise.resolve(d.value).then(i,s)};c((r=r.apply(e,t)).next())})};var Ou=typeof window<"u"&&window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__?window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__:function(){if(arguments.length!==0)return typeof arguments[0]=="object"?br:br.apply(null,arguments)},vv=typeof window<"u"&&window.__REDUX_DEVTOOLS_EXTENSION__?window.__REDUX_DEVTOOLS_EXTENSION__:function(){return function(e){return e}};function Ru(e){if(typeof e!="object"||e===null)return!1;var t=Object.getPrototypeOf(e);if(t===null)return!0;for(var r=t;Object.getPrototypeOf(r)!==null;)r=Object.getPrototypeOf(r);return t===r}var wu=function(e){i1(t,e);function t(){for(var r=[],o=0;o<arguments.length;o++)r[o]=arguments[o];var a=e.apply(this,r)||this;return Object.setPrototypeOf(a,t.prototype),a}return Object.defineProperty(t,Symbol.species,{get:function(){return t},enumerable:!1,configurable:!0}),t.prototype.concat=function(){for(var r=[],o=0;o<arguments.length;o++)r[o]=arguments[o];return e.prototype.concat.apply(this,r)},t.prototype.prepend=function(){for(var r=[],o=0;o<arguments.length;o++)r[o]=arguments[o];return r.length===1&&Array.isArray(r[0])?new(t.bind.apply(t,xr([void 0],r[0].concat(this)))):new(t.bind.apply(t,xr([void 0],r.concat(this))))},t}(Array),_u=function(e){i1(t,e);function t(){for(var r=[],o=0;o<arguments.length;o++)r[o]=arguments[o];var a=e.apply(this,r)||this;return Object.setPrototypeOf(a,t.prototype),a}return Object.defineProperty(t,Symbol.species,{get:function(){return t},enumerable:!1,configurable:!0}),t.prototype.concat=function(){for(var r=[],o=0;o<arguments.length;o++)r[o]=arguments[o];return e.prototype.concat.apply(this,r)},t.prototype.prepend=function(){for(var r=[],o=0;o<arguments.length;o++)r[o]=arguments[o];return r.length===1&&Array.isArray(r[0])?new(t.bind.apply(t,xr([void 0],r[0].concat(this)))):new(t.bind.apply(t,xr([void 0],r.concat(this))))},t}(Array);function ji(e){return Me(e)?ln(e,function(){}):e}function Nu(e){return typeof e=="boolean"}function Tu(){return function(t){return Mu(t)}}function Mu(e){e===void 0&&(e={});var t=e.thunk,r=t===void 0?!0:t,o=e.immutableCheck,a=o===void 0?!0:o,i=e.serializableCheck,s=i===void 0?!0:i,c=new wu;if(r&&(Nu(r)?c.push(Gi):c.push(Gi.withExtraArgument(r.extraArgument))),0){if(a)var d;if(s)var f}return c}var $i=!0;function s1(e){var t=Tu(),r=e||{},o=r.reducer,a=o===void 0?void 0:o,i=r.middleware,s=i===void 0?t():i,c=r.devTools,d=c===void 0?!0:c,f=r.preloadedState,h=f===void 0?void 0:f,p=r.enhancers,g=p===void 0?void 0:p,x;if(typeof a=="function")x=a;else if(Ru(a))x=Ql(a);else throw new Error('"reducer" is a required argument, and must be a function or an object of functions that can be passed to combineReducers');var v=s;if(typeof v=="function"&&(v=v(t),!$i&&!Array.isArray(v)))throw new Error("when using a middleware builder function, an array of middleware must be returned");if(!$i&&v.some(function(S){return typeof S!="function"}))throw new Error("each middleware provided to configureStore must be a function");var A=Jl.apply(void 0,v),O=br;d&&(O=Ou(pt({trace:!$i},typeof d=="object"&&d)));var w=new _u(A),_=w;Array.isArray(g)?_=xr([A],g):typeof g=="function"&&(_=g(w));var E=O.apply(void 0,_);return Hi(x,h,E)}function ht(e,t){function r(){for(var o=[],a=0;a<arguments.length;a++)o[a]=arguments[a];if(t){var i=t.apply(void 0,o);if(!i)throw new Error("prepareAction did not return an object");return pt(pt({type:e,payload:i.payload},"meta"in i&&{meta:i.meta}),"error"in i&&{error:i.error})}return{type:e,payload:o[0]}}return r.toString=function(){return""+e},r.type=e,r.match=function(o){return o.type===e},r}function c1(e){var t={},r=[],o,a={addCase:function(i,s){var c=typeof i=="string"?i:i.type;if(c in t)throw new Error("addCase cannot be called with two reducers for the same action type");return t[c]=s,a},addMatcher:function(i,s){return r.push({matcher:i,reducer:s}),a},addDefaultCase:function(i){return o=i,a}};return e(a),[t,r,o]}function Pu(e){return typeof e=="function"}function ku(e,t,r,o){r===void 0&&(r=[]);var a=typeof t=="function"?c1(t):[t,r,o],i=a[0],s=a[1],c=a[2],d;if(Pu(e))d=function(){return ji(e())};else{var f=ji(e);d=function(){return f}}function h(p,g){p===void 0&&(p=d());var x=xr([i[g.type]],s.filter(function(v){var A=v.matcher;return A(g)}).map(function(v){var A=v.reducer;return A}));return x.filter(function(v){return!!v}).length===0&&(x=[c]),x.reduce(function(v,A){if(A)if(Je(v)){var O=v,w=A(O,g);return w===void 0?v:w}else{if(Me(v))return ln(v,function(_){return A(_,g)});var w=A(v,g);if(w===void 0){if(v===null)return v;throw Error("A case reducer on a non-draftable value must not return undefined")}return w}return v},p)}return h.getInitialState=d,h}function Iu(e,t){return e+"/"+t}function l1(e){var t=e.name;if(!t)throw new Error("`name` is a required option for createSlice");typeof process<"u";var r=typeof e.initialState=="function"?e.initialState:ji(e.initialState),o=e.reducers||{},a=Object.keys(o),i={},s={},c={};a.forEach(function(h){var p=o[h],g=Iu(t,h),x,v;"reducer"in p?(x=p.reducer,v=p.prepare):x=p,i[h]=x,s[g]=x,c[h]=v?ht(g,v):ht(g)});function d(){var h=typeof e.extraReducers=="function"?c1(e.extraReducers):[e.extraReducers],p=h[0],g=p===void 0?{}:p,x=h[1],v=x===void 0?[]:x,A=h[2],O=A===void 0?void 0:A,w=pt(pt({},g),s);return ku(r,function(_){for(var E in w)_.addCase(E,w[E]);for(var S=0,L=v;S<L.length;S++){var M=L[S];_.addMatcher(M.matcher,M.reducer)}O&&_.addDefaultCase(O)})}var f;return{name:t,reducer:function(h,p){return f||(f=d()),f(h,p)},actions:c,caseReducers:i,getInitialState:function(){return f||(f=d()),f.getInitialState()}}}var zu="ModuleSymbhasOwnPr-0123456789ABCDEFGHNRVfgctiUvz_KqYTJkLxpZXIjQW",Du=function(e){e===void 0&&(e=21);for(var t="",r=e;r--;)t+=zu[Math.random()*64|0];return t},Uu=["name","message","stack","code"],Wi=function(){function e(t,r){this.payload=t,this.meta=r}return e}(),n1=function(){function e(t,r){this.payload=t,this.meta=r}return e}(),Bu=function(e){if(typeof e=="object"&&e!==null){for(var t={},r=0,o=Uu;r<o.length;r++){var a=o[r];typeof e[a]=="string"&&(t[a]=e[a])}return t}return{message:String(e)}},Av=function(){function e(t,r,o){var a=ht(t+"/fulfilled",function(h,p,g,x){return{payload:h,meta:Fi(pt({},x||{}),{arg:g,requestId:p,requestStatus:"fulfilled"})}}),i=ht(t+"/pending",function(h,p,g){return{payload:void 0,meta:Fi(pt({},g||{}),{arg:p,requestId:h,requestStatus:"pending"})}}),s=ht(t+"/rejected",function(h,p,g,x,v){return{payload:x,error:(o&&o.serializeError||Bu)(h||"Rejected"),meta:Fi(pt({},v||{}),{arg:g,requestId:p,rejectedWithValue:!!x,requestStatus:"rejected",aborted:h?.name==="AbortError",condition:h?.name==="ConditionError"})}}),c=!1,d=typeof AbortController<"u"?AbortController:function(){function h(){this.signal={aborted:!1,addEventListener:function(){},dispatchEvent:function(){return!1},onabort:function(){},removeEventListener:function(){},reason:void 0,throwIfAborted:function(){}}}return h.prototype.abort=function(){},h}();function f(h){return function(p,g,x){var v=o?.idGenerator?o.idGenerator(h):Du(),A=new d,O,w=!1;function _(S){O=S,A.abort()}var E=function(){return Lu(this,null,function(){var S,L,M,B,F,G,z;return xu(this,function(b){switch(b.label){case 0:return b.trys.push([0,4,,5]),B=(S=o?.condition)==null?void 0:S.call(o,h,{getState:g,extra:x}),Gu(B)?[4,B]:[3,2];case 1:B=b.sent(),b.label=2;case 2:if(B===!1||A.signal.aborted)throw{name:"ConditionError",message:"Aborted due to condition callback returning false."};return w=!0,F=new Promise(function(C,P){return A.signal.addEventListener("abort",function(){return P({name:"AbortError",message:O||"Aborted"})})}),p(i(v,h,(L=o?.getPendingMeta)==null?void 0:L.call(o,{requestId:v,arg:h},{getState:g,extra:x}))),[4,Promise.race([F,Promise.resolve(r(h,{dispatch:p,getState:g,extra:x,requestId:v,signal:A.signal,abort:_,rejectWithValue:function(C,P){return new Wi(C,P)},fulfillWithValue:function(C,P){return new n1(C,P)}})).then(function(C){if(C instanceof Wi)throw C;return C instanceof n1?a(C.payload,v,h,C.meta):a(C,v,h)})])];case 3:return M=b.sent(),[3,5];case 4:return G=b.sent(),M=G instanceof Wi?s(null,v,h,G.payload,G.meta):s(G,v,h),[3,5];case 5:return z=o&&!o.dispatchConditionRejection&&s.match(M)&&M.meta.condition,z||p(M),[2,M]}})})}();return Object.assign(E,{abort:_,requestId:v,arg:h,unwrap:function(){return E.then(Hu)}})}}return Object.assign(f,{pending:i,rejected:s,fulfilled:a,typePrefix:t})}return e.withTypes=function(){return e},e}();function Hu(e){if(e.meta&&e.meta.rejectedWithValue)throw e.payload;if(e.error)throw e.error;return e.payload}function Gu(e){return e!==null&&typeof e=="object"&&typeof e.then=="function"}var d1="listener",f1="completed",u1="cancelled",Lv="task-"+u1,Ov="task-"+f1,Rv=d1+"-"+u1,wv=d1+"-"+f1;var Vi="listenerMiddleware";var _v=ht(Vi+"/add"),Nv=ht(Vi+"/removeAll"),Tv=ht(Vi+"/remove");var a1,Mv=typeof queueMicrotask=="function"?queueMicrotask.bind(typeof window<"u"?window:typeof global<"u"?global:globalThis):function(e){return(a1||(a1=Promise.resolve())).then(e).catch(function(t){return setTimeout(function(){throw t},0)})},Fu=function(e){return function(t){setTimeout(t,e)}},Pv=typeof window<"u"&&window.requestAnimationFrame?window.requestAnimationFrame:Fu(10);Wl();window.ftReduxStores||(window.ftReduxStores={});var $t=class e extends Xe{static get(t){var r;let o=typeof t=="string"?t:t.name,a=typeof t=="string"?void 0:t,i=window.ftReduxStores[o];if(hr(i))return i;if(a==null)return;let s=l1({...a,reducers:(r=a.reducers)!==null&&r!==void 0?r:{}}),c=s1({reducer:(d,f)=>{if(f.type==="CLEAR_FT_REDUX_STORE"){let h=Tt(s.getInitialState());for(let p of f.keeping)h[p]=(d??h)[p];return h}else if(typeof f.type=="string"&&f.type.startsWith("DEFAULT_VALUE_SETTER__"))return{...d,...f.overwrites};return s.reducer(d,f)}});return window.ftReduxStores[a.name]=new e(s,c,a.eventBus)}constructor(t,r,o){super(),this.reduxSlice=t,this.reduxStore=r,this.isFtReduxStore=!0,this.commands=new po;let a=i=>i!=null?JSON.parse(JSON.stringify(i)):i;this.actions=new Proxy(this.reduxSlice.actions,{get:(i,s,c)=>{let d=s,f=i[d];return f?(...h)=>{let p=f(...h.map(a));return this.reduxStore.dispatch(p),p}:h=>{this.setState({[d]:a(h)})}}}),this.eventBus=o??this.eventBus}clear(){this.reduxStore.dispatch({type:"CLEAR_FT_REDUX_STORE",keeping:[]})}clearKeeping(...t){this.reduxStore.dispatch({type:"CLEAR_FT_REDUX_STORE",keeping:t})}setState(t){this.reduxStore.dispatch({type:"DEFAULT_VALUE_SETTER__"+Object.keys(t).join("_"),overwrites:t})}get dispatch(){throw new Error("Don't use this method, actions are automatically dispatched when called.")}[Symbol.observable](){return this.reduxStore[Symbol.observable]()}getState(){return this.reduxStore.getState()}replaceReducer(t){throw new Error("Not implemented yet.")}subscribe(t){return this.reduxStore.subscribe(t)}get name(){return this.reduxSlice.name}get reducer(){return this.reduxSlice.reducer}get caseReducers(){return this.reduxSlice.caseReducers}getInitialState(){return this.reduxSlice.getInitialState()}};function $u(){var e;for(let t of Object.values((e=window.ftReduxStores)!==null&&e!==void 0?e:{}))hr(t)&&t.clear()}var fn=class{constructor(t,r,o){this.store=t,this.valueSelector=r,this.callback=o}watch(){return this.stop(),this.lastValue=this.valueSelector(this.store.getState()),this.unsubscribe=this.store.subscribe(()=>{let t=this.store.getState(),r=this.valueSelector(t);qe(this.lastValue,r)&&(this.callback(r,t),this.lastValue=r)}),this}stop(){return this.unsubscribe!=null&&(this.unsubscribe(),this.unsubscribe=void 0),this.lastValue=void 0,this}};function Wu(e,t,r){return new fn(e,t,r).watch()}var Ki=class{constructor(){this.requestConsumers=new Map}getOrCreateRequestConsumers(t){var r;return(r=this.requestConsumers.get(t))!==null&&r!==void 0?r:this.requestConsumers.set(t,new Set).get(t)}registerComponent(t,r){for(let o of r)this.getOrCreateRequestConsumers(o).add(t).size==1&&this.onNewNeededRequest(o)}unregisterComponent(t,r){for(let o of r)this.getOrCreateRequestConsumers(o).delete(t)}isRequestNeeded(t){return this.getOrCreateRequestConsumers(t).size>0}};var Xi={};H(Xi,{scrollHelper:()=>ju});var Yi,un=new Map,qi=class{lock(t,r){if(r){let o=un.get(r);if(o==null||o===t)return un.set(r,t),r}}release(t,r){r&&un.get(r)===t&&un.delete(r)}findFirstScrollableParent(t){var r;let o,a;for(let i of xa(t)){let s=i,c=this.elementCanScroll(s);if(c&&s.clientHeight&&s.clientHeight<s.scrollHeight){o=s;break}else c&&a==null&&(a=s)}return(r=o??a)!==null&&r!==void 0?r:document.body}elementCanScroll(t){try{return["auto","scroll"].includes(getComputedStyle(t).overflowY)&&!["contents"].includes(getComputedStyle(t).display)}catch{return!1}}getAbsoluteScrollOffset(t,r){var o,a;let i=0;for(;r&&r.offsetParent!==t.offsetParent;)i+=(o=r.offsetTop)!==null&&o!==void 0?o:0,r=r.offsetParent;return i+((a=r?.offsetTop)!==null&&a!==void 0?a:0)-t.offsetTop}computeTopOffsetRatio(t,r){if(typeof t=="number")return t;switch(t){case"end":return 1;case"center":return .5;case"nearest":return r;default:return 0}}scrollIntoViewIfPossible(t,r){let o=this.findFirstScrollableParent(t);if(t&&this.lock(this,o)){let a=this.getAbsoluteScrollOffset(o,t),i=a-o.clientHeight+t.clientHeight,s=a,c=Nt(0,(s-o.scrollTop)/(s-i),1),d=this.computeTopOffsetRatio(r?.position,c)*(i-s)+s;o.scrollTo({behavior:r?.behavior,top:d})}else console.warn("Could not scroll element into view because the scrollable parent is already locked",t,o);this.release(this,o)}};window.FluidTopicsScrollHelper=(Yi=window.FluidTopicsScrollHelper)!==null&&Yi!==void 0?Yi:new qi;var ju=window.FluidTopicsScrollHelper;var Ji={};H(Ji,{SearchPlaceConverter:()=>Cr,SearchPlaceQueryParams:()=>j,isSearchPlaceQueryParams:()=>X1,serializeRequest:()=>Yu});var Ku=u4(h1(),1);var m1;(function(e){e.black="black",e.green="green",e.blue="blue",e.purple="purple",e.red="red",e.orange="orange",e.yellow="yellow"})(m1||(m1={}));var g1;(function(e){e.OFFICIAL="OFFICIAL",e.PERSONAL="PERSONAL",e.SHARED="SHARED"})(g1||(g1={}));var y1;(function(e){e.STRUCTURED_DOCUMENT="STRUCTURED_DOCUMENT",e.UNSTRUCTURED_DOCUMENT="UNSTRUCTURED_DOCUMENT",e.SHARED_PERSONAL_BOOK="SHARED_PERSONAL_BOOK",e.PERSONAL_BOOK="PERSONAL_BOOK",e.ATTACHMENT="ATTACHMENT",e.RESOURCE="RESOURCE",e.HTML_PACKAGE="HTML_PACKAGE"})(y1||(y1={}));var b1;(function(e){e.STRUCTURED_DOCUMENT="STRUCTURED_DOCUMENT",e.UNSTRUCTURED_DOCUMENT="UNSTRUCTURED_DOCUMENT",e.SHARED_PERSONAL_BOOK="SHARED_PERSONAL_BOOK",e.PERSONAL_BOOK="PERSONAL_BOOK",e.ATTACHMENT="ATTACHMENT",e.RESOURCE="RESOURCE",e.HTML_PACKAGE="HTML_PACKAGE"})(b1||(b1={}));var x1;(function(e){e.LAST_WEEK="LAST_WEEK",e.LAST_MONTH="LAST_MONTH",e.LAST_QUARTER="LAST_QUARTER",e.LAST_YEAR="LAST_YEAR"})(x1||(x1={}));var v1;(function(e){e.VALUE="VALUE",e.DATE="DATE",e.RANGE="RANGE"})(v1||(v1={}));var S1;(function(e){e.BOOKMARK__CREATE="BOOKMARK__CREATE",e.BOOKMARK__DELETE="BOOKMARK__DELETE",e.CASE_DEFLECTION__START="CASE_DEFLECTION__START",e.CASE_DEFLECTION__OPEN_TICKET="CASE_DEFLECTION__OPEN_TICKET",e.CASE_DEFLECTION__RATE="CASE_DEFLECTION__RATE",e.CHATBOT__RATE="CHATBOT__RATE",e.COLLECTION__CREATE="COLLECTION__CREATE",e.COLLECTION__UPDATE="COLLECTION__UPDATE",e.COLLECTION__DELETE="COLLECTION__DELETE",e.CUSTOM_EVENT__TRIGGER="CUSTOM_EVENT__TRIGGER",e.DOCUMENT__ON_DEMAND_TRANSLATE="DOCUMENT__ON_DEMAND_TRANSLATE",e.DOCUMENT__DOWNLOAD="DOCUMENT__DOWNLOAD",e.DOCUMENT__PRINT="DOCUMENT__PRINT",e.DOCUMENT__PROCESS="DOCUMENT__PROCESS",e.DOCUMENT__RATE="DOCUMENT__RATE",e.DOCUMENT__SEARCH="DOCUMENT__SEARCH",e.DOCUMENT__START_DISPLAY="DOCUMENT__START_DISPLAY",e.DOCUMENT__UNRATE="DOCUMENT__UNRATE",e.FEEDBACK__SEND="FEEDBACK__SEND",e.AI__COMPLETED_QUERY="AI__COMPLETED_QUERY",e.AI__RATE="AI__RATE",e.AI_CASE_DEFLECTION__START="AI_CASE_DEFLECTION__START",e.AI_CASE_DEFLECTION__OPEN_TICKET="AI_CASE_DEFLECTION__OPEN_TICKET",e.KHUB__PROCESS="KHUB__PROCESS",e.KHUB__SEARCH="KHUB__SEARCH",e.LABELS__DOWNLOAD="LABELS__DOWNLOAD",e.LINK__SHARE="LINK__SHARE",e.PAGE__DISPLAY="PAGE__DISPLAY",e.PERSONAL_BOOK__CREATE="PERSONAL_BOOK__CREATE",e.PERSONAL_BOOK__DELETE="PERSONAL_BOOK__DELETE",e.PERSONAL_BOOK__UPDATE="PERSONAL_BOOK__UPDATE",e.PERSONAL_TOPIC__CREATE="PERSONAL_TOPIC__CREATE",e.PERSONAL_TOPIC__UPDATE="PERSONAL_TOPIC__UPDATE",e.PERSONAL_TOPIC__DELETE="PERSONAL_TOPIC__DELETE",e.SAVED_SEARCH__CREATE="SAVED_SEARCH__CREATE",e.SAVED_SEARCH__DELETE="SAVED_SEARCH__DELETE",e.SAVED_SEARCH__UPDATE="SAVED_SEARCH__UPDATE",e.SEARCH_PAGE__SELECT="SEARCH_PAGE__SELECT",e.SEARCH_RESULT__OPEN_BROWSER_CONTEXT_MENU="SEARCH_RESULT__OPEN_BROWSER_CONTEXT_MENU",e.TOPIC__AI_TRANSLATE="TOPIC__AI_TRANSLATE",e.TOPIC__RATE="TOPIC__RATE",e.TOPIC__START_DISPLAY="TOPIC__START_DISPLAY",e.TOPIC__UNRATE="TOPIC__UNRATE",e.USER__LOGIN="USER__LOGIN",e.USER__LOGOUT="USER__LOGOUT",e.HEARTBEAT="HEARTBEAT"})(S1||(S1={}));var E1;(function(e){e.THIRD_PARTY="THIRD_PARTY",e.OFF_THE_GRID="OFF_THE_GRID",e.CONTENT_PACKAGER="CONTENT_PACKAGER",e.PAGES="PAGES",e.DESIGNED_READER="DESIGNED_READER"})(E1||(E1={}));var C1;(function(e){e.HOMEPAGE="HOMEPAGE",e.CUSTOM="CUSTOM",e.HEADER="HEADER",e.READER="READER",e.TOPIC_TEMPLATE="TOPIC_TEMPLATE",e.SEARCH="SEARCH",e.SEARCH_RESULT="SEARCH_RESULT",e.SEARCH_ANNOUNCEMENT="SEARCH_ANNOUNCEMENT",e.LINK_PREVIEW="LINK_PREVIEW",e.UD_VIEWER="UD_VIEWER",e.ASSET_VIEWER="ASSET_VIEWER"})(C1||(C1={}));var A1;(function(e){e.CLASSIC="CLASSIC",e.CUSTOM="CUSTOM",e.DESIGNER="DESIGNER"})(A1||(A1={}));var L1;(function(e){e.AND="AND",e.OR="OR",e.MONOVALUED="MONOVALUED"})(L1||(L1={}));var O1;(function(e){e.NONE="NONE",e.ALPHABET="ALPHABET",e.VERSION="VERSION"})(O1||(O1={}));var R1;(function(e){e.STARS="STARS",e.LIKE="LIKE",e.DICHOTOMOUS="DICHOTOMOUS",e.NO_RATING="NO_RATING"})(R1||(R1={}));var w1;(function(e){e.LAST_WEEK="LAST_WEEK",e.LAST_MONTH="LAST_MONTH",e.LAST_QUARTER="LAST_QUARTER",e.LAST_YEAR="LAST_YEAR",e.CUSTOM="CUSTOM"})(w1||(w1={}));var Sr;(function(e){e.OPTIONAL="OPTIONAL",e.MANDATORY="MANDATORY"})(Sr||(Sr={}));var _1;(function(e){e.ASC="ASC",e.DESC="DESC"})(_1||(_1={}));var N1;(function(e){e.ALPHA="ALPHA",e.NATURAL="NATURAL"})(N1||(N1={}));var Qi;(function(e){e.EVERYWHERE="EVERYWHERE",e.TITLE_ONLY="TITLE_ONLY",e.NONE="NONE"})(Qi||(Qi={}));var U1=e=>Object.keys(Qi).includes(e);var T1;(function(e){e.ARTICLE="ARTICLE",e.BOOK="BOOK",e.SHARED_BOOK="SHARED_BOOK",e.HTML_PACKAGE="HTML_PACKAGE"})(T1||(T1={}));var M1;(function(e){e.FLUIDTOPICS="FLUIDTOPICS",e.EXTERNAL="EXTERNAL"})(M1||(M1={}));var P1;(function(e){e.MAP="MAP",e.DOCUMENT="DOCUMENT",e.TOPIC="TOPIC",e.PERSONAL_BOOK="PERSONAL_BOOK",e.SHARED_BOOK="SHARED_BOOK",e.HTML_PACKAGE="HTML_PACKAGE"})(P1||(P1={}));var Er;(function(e){e.LAST_WEEK="LAST_WEEK",e.LAST_MONTH="LAST_MONTH",e.LAST_QUARTER="LAST_QUARTER",e.LAST_YEAR="LAST_YEAR"})(Er||(Er={}));var B1=e=>Object.keys(Er).includes(e);var k1;(function(e){e.MAP="MAP",e.DOCUMENT="DOCUMENT",e.TOPIC="TOPIC",e.HTML_PACKAGE="HTML_PACKAGE",e.HTML_PACKAGE_PAGE="HTML_PACKAGE_PAGE"})(k1||(k1={}));var I1;(function(e){e.DEFAULT="DEFAULT",e.DOCUMENTS="DOCUMENTS",e.ALL_TOPICS="ALL_TOPICS",e.TOPICS_AND_UNSTRUCTURED_DOCUMENTS="TOPICS_AND_UNSTRUCTURED_DOCUMENTS"})(I1||(I1={}));var z1;(function(e){e.PLAIN_TEXT="PLAIN_TEXT",e.LOCALIZED_OFFICIAL="LOCALIZED_OFFICIAL",e.LOCALIZED_CUSTOM="LOCALIZED_CUSTOM"})(z1||(z1={}));var re;(function(e){e.PERSONAL_BOOK_USER="PERSONAL_BOOK_USER",e.PERSONAL_BOOK_SHARE_USER="PERSONAL_BOOK_SHARE_USER",e.HTML_EXPORT_USER="HTML_EXPORT_USER",e.PDF_EXPORT_USER="PDF_EXPORT_USER",e.SAVED_SEARCH_USER="SAVED_SEARCH_USER",e.COLLECTION_USER="COLLECTION_USER",e.OFFLINE_USER="OFFLINE_USER",e.ANALYTICS_USER="ANALYTICS_USER",e.BETA_USER="BETA_USER",e.DEBUG_USER="DEBUG_USER",e.PRINT_USER="PRINT_USER",e.RATING_USER="RATING_USER",e.FEEDBACK_USER="FEEDBACK_USER",e.GENERATIVE_AI_USER="GENERATIVE_AI_USER",e.GENERATIVE_AI_EXPORT_USER="GENERATIVE_AI_EXPORT_USER",e.CONTENT_PUBLISHER="CONTENT_PUBLISHER",e.BEHAVIOR_DATA_USER="BEHAVIOR_DATA_USER",e.ANNOUNCEMENT_ADMIN="ANNOUNCEMENT_ADMIN",e.KHUB_ADMIN="KHUB_ADMIN",e.USERS_ADMIN="USERS_ADMIN",e.PORTAL_ADMIN="PORTAL_ADMIN",e.ADMIN="ADMIN"})(re||(re={}));var Re;(function(e){e.SEARCHES="SEARCHES",e.BOOKMARKS="BOOKMARKS",e.BOOKS="BOOKS",e.COLLECTIONS="COLLECTIONS"})(Re||(Re={}));var D1;(function(e){e.UNAUTHENTICATED="UNAUTHENTICATED",e.USER_INCOMPLETE="USER_INCOMPLETE",e.MFA_REQUIRED="MFA_REQUIRED",e.AUTHENTICATED="AUTHENTICATED"})(D1||(D1={}));var H1;(function(e){e.VALID="VALID",e.INVALID="INVALID"})(H1||(H1={}));var G1;(function(e){e.INACCURATE="INACCURATE",e.INCOMPLETE="INCOMPLETE",e.OFF_TOPIC="OFF_TOPIC",e.IRRELEVANT_SOURCES="IRRELEVANT_SOURCES",e.SUMMARY="SUMMARY",e.SEMANTIC_SEARCH="SEMANTIC_SEARCH",e.CHATBOT_INSTRUCTIONS="CHATBOT_INSTRUCTIONS",e.OTHER="OTHER"})(G1||(G1={}));var F1;(function(e){e.INACCURATE="INACCURATE",e.INCOMPLETE="INCOMPLETE",e.OFF_TOPIC="OFF_TOPIC",e.IRRELEVANT_SOURCES="IRRELEVANT_SOURCES",e.SLOW="SLOW",e.OTHER="OTHER"})(F1||(F1={}));var $1;(function(e){e.JSON="JSON",e.TEXT="TEXT"})($1||($1={}));var W1;(function(e){e.USER="USER",e.ASSISTANT="ASSISTANT"})(W1||(W1={}));var j1;(function(e){e.TEXT="TEXT",e.HTML="HTML"})(j1||(j1={}));var V1;(function(e){e.HTML="HTML",e.MARKDOWN="MARKDOWN"})(V1||(V1={}));var K1;(function(e){e.MAP="MAP",e.UNSTRUCTURED_DOCUMENT="UNSTRUCTURED_DOCUMENT"})(K1||(K1={}));var Vu={[re.PERSONAL_BOOK_SHARE_USER]:[re.PERSONAL_BOOK_USER],[re.HTML_EXPORT_USER]:[re.PERSONAL_BOOK_USER],[re.PDF_EXPORT_USER]:[re.PERSONAL_BOOK_USER],[re.KHUB_ADMIN]:[re.CONTENT_PUBLISHER],[re.ADMIN]:[re.KHUB_ADMIN,re.USERS_ADMIN,re.PORTAL_ADMIN,re.BEHAVIOR_DATA_USER],[re.GENERATIVE_AI_EXPORT_USER]:[re.GENERATIVE_AI_USER]};function Z1(e,t){return e===t||(Vu[e]??[]).some(r=>Z1(r,t))}function Y1(e,t){return e==null?!1:(Array.isArray(e)?e:Array.isArray(e.roles)?e.roles:Array.isArray(e.profile?.roles)?e.profile.roles:[]).some(o=>Z1(o,t))}function Zu(e){return`"${e}"`}function q1(e){return e.startsWith('"')&&e.endsWith('"')?e.replace(/(^"+)|("+$)/g,""):e}function Yu(e,t){return new Cr(e).serialize(t)}var j;(function(e){e.LOCALE="content-lang",e.QUERY="query",e.SCOPE="scope",e.FILTERS="filters",e.VIRTUAL_FIELD="virtual-field",e.PERIOD="period",e.VALUE_FILTERS="value-filters",e.DATE_FILTERS="date-filters",e.RANGE_FILTERS="range-filters",e.SORT="sort",e.PER_PAGE="per-page",e.KEYWORD_MATCH="keyword-match"})(j||(j={}));var qu=new Set(Object.values(j));function X1(e){return qu.has(e)}var Cr=class{constructor(t,r=20,o=!1,a="en-US"){this.baseUrl=t,this.defaultPerPage=r,this.allLanguagesAllowed=o,this.defaultContentLocale=a,this.scopeMapping={documents:"DOCUMENTS",topics:"ALL_TOPICS"},this.filtersEscapeMapping=[["*","\\*","[ft-escaped-star-character]"],["~","\\\\~","[ft-escaped-tilde-character]"],["_","\\\\\\\\_","[ft-escaped-underscore-character]"]]}serialize(t,r){return this.serializeToCurrentPageIfPossible(t,r??"/search")}serializeToCurrentPageIfPossible(t,r){let o=r==null||r.trim().length===0,a=new URL(o?window.location.href:`${this.baseUrl.replace(/\/+$/,"")}${r}`);return a.search=this.toURLSearchParams(t),a.toString()}toURLSearchParams(t,r=!1){var o,a,i,s,c,d,f,h,p,g,x;let v=new URLSearchParams;t.contentLocale?(!r||t.contentLocale!==this.defaultContentLocale)&&v.append(j.LOCALE,t.contentLocale):v.append(j.LOCALE,this.allLanguagesAllowed?"all":this.defaultContentLocale),((o=t.query)===null||o===void 0?void 0:o.length)>0&&v.append(j.QUERY,t.query);let A=(i=(a=t.metadataFilters)===null||a===void 0?void 0:a.filter(S=>S.valueFilter&&!S.valueFilter.negative))!==null&&i!==void 0?i:[];if(A.length>0){let S=A.map(L=>{var M,B;let F=((B=(M=L.valueFilter)===null||M===void 0?void 0:M.values)!==null&&B!==void 0?B:[]).map(G=>this.escapeFilters(G)).map(G=>Zu(q1(G))).join("_");return`${L.key}~${F}`}).join("*");v.append(j.VALUE_FILTERS,S)}let O=(c=(s=t.metadataFilters)===null||s===void 0?void 0:s.filter(S=>S.dateFilter))!==null&&c!==void 0?c:[];if(O.length>0){let S=O.map(L=>{var M;return`${L.key}~${(M=L.dateFilter)===null||M===void 0?void 0:M.type.toLowerCase()}`}).join("*");v.append(j.DATE_FILTERS,S)}let w=(f=(d=t.metadataFilters)===null||d===void 0?void 0:d.filter(S=>S.rangeFilter))!==null&&f!==void 0?f:[];if(w.length>0){let S=w.map(L=>{var M,B;return`${L.key}~${(M=L.rangeFilter)===null||M===void 0?void 0:M.from}_${(B=L.rangeFilter)===null||B===void 0?void 0:B.to}`}).join("*");v.append(j.RANGE_FILTERS,S)}t.virtualField&&t.virtualField!=="EVERYWHERE"&&v.append(j.VIRTUAL_FIELD,t.virtualField.toLowerCase()),t.scope&&t.scope!=="DEFAULT"&&v.append(j.SCOPE,t.scope.toLowerCase()),t.sortId!=null&&v.append(j.SORT,t.sortId),!((h=t.paging)===null||h===void 0)&&h.perPage&&((g=(p=t.paging)===null||p===void 0?void 0:p.perPage)!==null&&g!==void 0?g:this.defaultPerPage)!=this.defaultPerPage&&v.append(j.PER_PAGE,String(t.paging.perPage)),t.keywordMatch!=null&&v.append(j.KEYWORD_MATCH,t.keywordMatch.toLowerCase());let _=(x=t.otherQueryParams)!==null&&x!==void 0?x:{};for(let S in _)v.append(S,_[S]);let E=new Array;return v.forEach((S,L)=>{E.push(this.encodeQueryString(L)+"="+this.encodeQueryString(S))}),encodeURI(E.join("&")).replace(/#/g,"%23")}encodeQueryString(t){return encodeURIComponent(t).replace(/%20/g,"+")}parse(t){var r;let o=t.split("?"),a=this.fromURLSearchParams(o.slice(1).join("?")),i=o[0].split("/search/")[1];return i==null?a:{...a,scope:(r=this.scopeMapping[i])!==null&&r!==void 0?r:a.scope}}fromURLSearchParams(t){var r,o,a,i,s,c;try{t=decodeURI(t).replace(/%23/g,"#")}catch(w){console.warn("Could not decode search request query params, fallback on raw value",w)}let d=new URLSearchParams(t),f=d.get(j.LOCALE)==="all"?void 0:d.get(j.LOCALE),h=((r=d.get(j.VIRTUAL_FIELD))!==null&&r!==void 0?r:"EVERYWHERE").toUpperCase(),p=(o=d.get(j.SORT))===null||o===void 0?void 0:o.toLowerCase(),g=(a=d.get(j.SCOPE))!==null&&a!==void 0?a:"default",x=+((i=d.get(j.PER_PAGE))!==null&&i!==void 0?i:this.defaultPerPage),v=d.get(j.KEYWORD_MATCH),A=v?v.toUpperCase()===Sr.MANDATORY?Sr.MANDATORY:Sr.OPTIONAL:void 0,O={};for(let w of d.keys())X1(w)||(O[w]=d.get(w));return{contentLocale:f??(this.allLanguagesAllowed?void 0:this.defaultContentLocale),query:(s=d.get(j.QUERY))!==null&&s!==void 0?s:"",scope:(c=this.scopeMapping[g])!==null&&c!==void 0?c:"DEFAULT",virtualField:U1(h)?h:"EVERYWHERE",sortId:p,metadataFilters:this.parseCompatFilters(d),facets:[],paging:{page:1,perPage:Nt(1,isNaN(x)?this.defaultPerPage:x,1e3)},keywordMatch:A,otherQueryParams:O}}parseCompatFilters(t){var r,o,a,i,s,c;let d=[];return t.has(j.FILTERS)&&(d=this.parseValueFilters((r=t.get(j.FILTERS))!==null&&r!==void 0?r:"")),(o=t.has(j.PERIOD))!==null&&o!==void 0&&o&&(d=[...d,...this.parseLegacyPeriodFilter(((a=t.get(j.PERIOD))!==null&&a!==void 0?a:"").toUpperCase())]),[...d,...this.parseValueFilters((i=t.get(j.VALUE_FILTERS))!==null&&i!==void 0?i:""),...this.parseDateFilters((s=t.get(j.DATE_FILTERS))!==null&&s!==void 0?s:""),...this.parseRangeFilters((c=t.get(j.RANGE_FILTERS))!==null&&c!==void 0?c:"")]}splitUnknownFilter(t){return this.superEscapeFilters(t).split("*").map(r=>r.split("~"))}parseValueFilters(t){return t.length===0?[]:this.splitUnknownFilter(t).map(r=>({key:r[0],valueFilter:{values:r[1].split("_").map(q1).map(o=>this.unescapeFilterValue(o)),negative:!1}}))}parseDateFilters(t){return t.length===0?[]:this.splitUnknownFilter(t).map(r=>({key:r[0],dateFilter:{type:Er[r[1].toUpperCase()]}}))}parseRangeFilters(t){return t.length===0?[]:this.splitUnknownFilter(t).map(r=>({key:r[0],rangeFilter:{from:r[1].split("_")[0],to:r[1].split("_")[1]}}))}escapeFilters(t){for(let[r,o,a]of this.filtersEscapeMapping)t=t.replaceAll(r,o);return t}superEscapeFilters(t){for(let[r,o,a]of this.filtersEscapeMapping)t=t.replaceAll(o,a);return t}unescapeFilterValue(t){for(let[r,o,a]of this.filtersEscapeMapping)t=t.replace(a,r);return t}parseLegacyPeriodFilter(t){if(B1(t))return[{key:"ft:lastEdition",dateFilter:{type:Er[t]}}];if(t.startsWith("CUSTOM_")){let[r,o,a]=t.split("_");return[{key:"ft:lastEdition",rangeFilter:{from:o,to:a}}]}return[]}};var ts={};H(ts,{toFtFormComponent:()=>Xu});var es=Symbol("elementInternals"),Xu=oe(Symbol("toFtFormComponent"),function(e){class t extends e{static get formAssociated(){return!0}get form(){return this[es].form}constructor(...o){super(o),this[es]=this.attachInternals()}setFormValue(o){this[es].setFormValue(o)}}return t});var rs={};H(rs,{DateFormatter:()=>Wt});var Wt=class{static format(t,r,o,a){return window.moment?window.moment(t).locale(r).format(this.getMomentDateFormat(o,a)):this.getIntlDateTime(t,r,o,a)}static getMomentDateFormat(t,r){return t?r?"lll":"ll":r?"L LT":"L"}static getIntlDateTime(t,r,o,a){let i=typeof t=="string"?new Date(t):t,s=new Intl.DateTimeFormat(r,{dateStyle:o?"medium":"short"}).format(i);if(!a)return s;let c=new Intl.DateTimeFormat(r,{timeStyle:"short"}).format(i);return`${s} ${c}`}static getTimezoneAsString(){let t=o=>String(Math.floor(o)).padStart(2,"0"),r=new Date().getTimezoneOffset();return`${r<0?"+":"-"}${t(Math.abs(r)/60)}:${t(Math.abs(r)%60)}`}};var ns={};H(ns,{ALL_KEYS_VALUE:()=>os,SameWindowStorageEvent:()=>Ar});var os="__all__",Ar=class extends CustomEvent{constructor(t,r,o){super("same-window-storage",{detail:{key:t,oldValue:r,newValue:o}})}keyMatch(t){return this.detail.key.includes(t)||this.detail.key==os}};Storage.prototype.setItem=new Proxy(Storage.prototype.setItem,{apply(e,t,r){let o=t.getItem(r[0]);Reflect.apply(e,t,r),window.dispatchEvent(new Ar(r[0],o,r[1]))}});Storage.prototype.removeItem=new Proxy(Storage.prototype.removeItem,{apply(e,t,r){let o=t.getItem(r[0]);Reflect.apply(e,t,r),window.dispatchEvent(new Ar(r[0],o))}});Storage.prototype.clear=new Proxy(Storage.prototype.clear,{apply(e,t,r){Reflect.apply(e,t,r),window.dispatchEvent(new Ar(os))}});var is={};H(is,{FocusMainContentEvent:()=>as});var as=class extends Event{constructor(){super("ft-focus-main-content",{composed:!0,bubbles:!0})}};var Q1={};window.FluidTopicsA11yHints={isKeyboardNavigation:!1,lastPressedKey:""};function Qu(e){(e.key==="Enter"||e.key===" "||e.key==="Tab")&&(window.FluidTopicsA11yHints.isKeyboardNavigation=!0),window.FluidTopicsA11yHints.lastPressedKey=e.key}function Ju(e){window.FluidTopicsA11yHints.isKeyboardNavigation=e.detail==0}document.addEventListener("keydown",Qu);document.addEventListener("click",Ju);var mn=U`
48
+ `;var Pl={};var Ci={};H(Ci,{ParametrizedLabelResolver:()=>uo});var uo=class e{constructor(t,r){this.defaultLabels=t,this.labels=r}resolve(t,...r){var o,a;t=this.resolvePluralKey(t,r);let i=(a=(o=this.labels[t])!==null&&o!==void 0?o:this.defaultLabels[t])!==null&&a!==void 0?a:"";return e.replaceParameters(i,...r)}static replaceParameters(t,...r){return r.forEach((o,a)=>t=t.replace(new RegExp(`\\{${a}([^}]*)\\}`,"g"),(i,s)=>e.formatValue(o,s))),t}resolvePluralKey(t,r){for(let o of r)if(typeof o=="number"){let a=`${String(t)}[\\=${o}]`;if(a in this.labels||a in this.defaultLabels)return a}return t}static formatValue(t,r){return t instanceof Date?e.formatDate(t,r):t??""}static formatDate(t,r){let o=a=>r?.includes("date")?t.toLocaleDateString(a):r?.includes("time")?t.toLocaleTimeString(a):t.toLocaleString(a);try{return o(document.documentElement.lang)}catch{return o()}}};var Zi={};H(Zi,{FtCommandQueue:()=>po,FtLitElementRedux:()=>Ht,FtReduxStore:()=>$t,FtStateManager:()=>Ki,ReduxWatcher:()=>fn,clearAllStores:()=>$u,isFtReduxStore:()=>hr,redux:()=>$e,reduxEventListener:()=>iu,reduxReactive:()=>au,watch:()=>Wu,withRedux:()=>kl});var au=()=>(e,t)=>{var r;let o=e.constructor;o.reduxReactiveProperties=new Set(o.reduxReactiveProperties),(r=o.reduxReactiveProperties)===null||r===void 0||r.add(t)},$e=e=>{let t=e??{};return(r,o)=>{var a;let i={hasChanged:qe,attribute:!1,...t};N(i)(r,o);let s=r.constructor;s.reduxProperties=new Map(s.reduxProperties),s.reduxProperties.set(o,{selector:(a=t.selector)!==null&&a!==void 0?a:c=>c[o],store:t.store})}},iu=e=>(t,r)=>{let o=t.constructor;o.reduxEventListeners=new Map(o.reduxEventListeners),o.reduxEventListeners.set(r,e)};var po=class{constructor(){this.queue=[]}add(t,r=!1){r&&this.clear(t.type),this.queue.push(t)}consume(t){let r=this.queue.find(o=>o.type===t);return r&&(this.queue=this.queue.filter(o=>o!==r)),r}clear(t){typeof t=="string"?this.queue=this.queue.filter(r=>r.type!==t):this.queue=this.queue.filter(r=>!t.test(r.type))}};function hr(e){var t;return(t=e?.isFtReduxStore)!==null&&t!==void 0?t:!1}var ho=Symbol("internalReduxEventsUnsubscribers"),dt=Symbol("internalStoresUnsubscribers"),Bt=Symbol("internalStores"),kl=oe(Symbol("withRedux"),function(e){var t,r,o;class a extends e{constructor(){super(...arguments),this[t]=new Map,this[r]=new Map,this[o]=new Map}get reduxConstructor(){return this.constructor}willUpdate(s){super.willUpdate(s),[...this.reduxConstructor.reduxReactiveProperties].some(c=>s.has(c))&&this.updateFromStores()}getUnnamedStore(){if(this[Bt].size>1)throw new Error("Cannot resolve unnamed store when multiple stores are configured.");return[...this[Bt].values()][0]}getStore(s){return s==null?this.getUnnamedStore():this[Bt].get(s)}addStore(s,c){var d;c=(d=c??s.name)!==null&&d!==void 0?d:"default-store",this.unsubscribeFromStore(c),this[Bt].set(c,s),this.subscribeToStore(c,s),this.updateFromStores()}removeStore(s){let c=typeof s=="string"?s:s.name;this.unsubscribeFromStore(c),this[Bt].delete(c)}setupStores(){this.unsubscribeFromStores(),this[Bt].forEach((s,c)=>this.subscribeToStore(c,s)),this.updateFromStores()}updateFromStores(){this.reduxConstructor.reduxProperties.forEach((s,c)=>{let d=this.constructor.getPropertyOptions(c);if(!d?.attribute||!this.hasAttribute(typeof d?.attribute=="string"?d.attribute:c)){let f=this.getStore(s.store);f&&(s.store?this[dt].has(s.store):this[dt].size>0)&&(this[c]=s.selector(f.getState(),this))}})}subscribeToStore(s,c){var d;this[dt].set(s,c.subscribe(()=>this.updateFromStores())),this[ho].set(s,[]),hr(c)&&c.eventBus&&((d=this.reduxConstructor.reduxEventListeners)===null||d===void 0||d.forEach((f,h)=>{if(typeof this[h]=="function"&&(!f.store||c.name===f.store)){let p=g=>this[h](g);c.addEventListener(f.eventName,p),this[ho].get(s).push(()=>c.removeEventListener(f.eventName,p))}})),this.onStoreAvailable(s)}unsubscribeFromStores(){this[dt].forEach((s,c)=>this.unsubscribeFromStore(c))}unsubscribeFromStore(s){var c;this[dt].has(s)&&this[dt].get(s)(),this[dt].delete(s),(c=this[ho].get(s))===null||c===void 0||c.forEach(d=>d()),this[ho].delete(s)}onStoreAvailable(s){}connectedCallback(){super.connectedCallback(),this.setupStores()}disconnectedCallback(){super.disconnectedCallback(),this.unsubscribeFromStores()}}return t=dt,r=Bt,o=ho,a.reduxProperties=new Map,a.reduxReactiveProperties=new Set,a.reduxEventListeners=new Map,a}),Ht=class extends kl(K){};function Oe(e){for(var t=arguments.length,r=Array(t>1?t-1:0),o=1;o<t;o++)r[o-1]=arguments[o];if(0)var a,i;throw Error("[Immer] minified error nr: "+e+(r.length?" "+r.map(function(s){return"'"+s+"'"}).join(","):"")+". Find the full error at: https://bit.ly/3cXEKWf")}function Je(e){return!!e&&!!e[J]}function Me(e){var t;return!!e&&(function(r){if(!r||typeof r!="object")return!1;var o=Object.getPrototypeOf(r);if(o===null)return!0;var a=Object.hasOwnProperty.call(o,"constructor")&&o.constructor;return a===Object||typeof a=="function"&&Function.toString.call(a)===hu}(e)||Array.isArray(e)||!!e[Gl]||!!(!((t=e.constructor)===null||t===void 0)&&t[Gl])||Mi(e)||Pi(e))}function Gt(e,t,r){r===void 0&&(r=!1),yr(e)===0?(r?Object.keys:gr)(e).forEach(function(o){r&&typeof o=="symbol"||t(o,e[o],e)}):e.forEach(function(o,a){return t(a,o,e)})}function yr(e){var t=e[J];return t?t.i>3?t.i-4:t.i:Array.isArray(e)?1:Mi(e)?2:Pi(e)?3:0}function mr(e,t){return yr(e)===2?e.has(t):Object.prototype.hasOwnProperty.call(e,t)}function su(e,t){return yr(e)===2?e.get(t):e[t]}function Fl(e,t,r){var o=yr(e);o===2?e.set(t,r):o===3?e.add(r):e[t]=r}function $l(e,t){return e===t?e!==0||1/e==1/t:e!=e&&t!=t}function Mi(e){return uu&&e instanceof Map}function Pi(e){return pu&&e instanceof Set}function ft(e){return e.o||e.t}function ki(e){if(Array.isArray(e))return Array.prototype.slice.call(e);var t=Vl(e);delete t[J];for(var r=gr(t),o=0;o<r.length;o++){var a=r[o],i=t[a];i.writable===!1&&(i.writable=!0,i.configurable=!0),(i.get||i.set)&&(t[a]={configurable:!0,writable:!0,enumerable:i.enumerable,value:e[a]})}return Object.create(Object.getPrototypeOf(e),t)}function Ii(e,t){return t===void 0&&(t=!1),zi(e)||Je(e)||!Me(e)||(yr(e)>1&&(e.set=e.add=e.clear=e.delete=cu),Object.freeze(e),t&&Gt(e,function(r,o){return Ii(o,!0)},!0)),e}function cu(){Oe(2)}function zi(e){return e==null||typeof e!="object"||Object.isFrozen(e)}function We(e){var t=Ti[e];return t||Oe(18,e),t}function lu(e,t){Ti[e]||(Ti[e]=t)}function wi(){return go}function Ai(e,t){t&&(We("Patches"),e.u=[],e.s=[],e.v=t)}function an(e){_i(e),e.p.forEach(du),e.p=null}function _i(e){e===go&&(go=e.l)}function Il(e){return go={p:[],l:go,h:e,m:!0,_:0}}function du(e){var t=e[J];t.i===0||t.i===1?t.j():t.g=!0}function Li(e,t){t._=t.p.length;var r=t.p[0],o=e!==void 0&&e!==r;return t.h.O||We("ES5").S(t,e,o),o?(r[J].P&&(an(t),Oe(4)),Me(e)&&(e=sn(t,e),t.l||cn(t,e)),t.u&&We("Patches").M(r[J].t,e,t.u,t.s)):e=sn(t,r,[]),an(t),t.u&&t.v(t.u,t.s),e!==jl?e:void 0}function sn(e,t,r){if(zi(t))return t;var o=t[J];if(!o)return Gt(t,function(c,d){return zl(e,o,t,c,d,r)},!0),t;if(o.A!==e)return t;if(!o.P)return cn(e,o.t,!0),o.t;if(!o.I){o.I=!0,o.A._--;var a=o.i===4||o.i===5?o.o=ki(o.k):o.o,i=a,s=!1;o.i===3&&(i=new Set(a),a.clear(),s=!0),Gt(i,function(c,d){return zl(e,o,a,c,d,r,s)}),cn(e,a,!1),r&&e.u&&We("Patches").N(o,r,e.u,e.s)}return o.o}function zl(e,t,r,o,a,i,s){if(Je(a)){var c=sn(e,a,i&&t&&t.i!==3&&!mr(t.R,o)?i.concat(o):void 0);if(Fl(r,o,c),!Je(c))return;e.m=!1}else s&&r.add(a);if(Me(a)&&!zi(a)){if(!e.h.D&&e._<1)return;sn(e,a),t&&t.A.l||cn(e,a)}}function cn(e,t,r){r===void 0&&(r=!1),!e.l&&e.h.D&&e.m&&Ii(t,r)}function Oi(e,t){var r=e[J];return(r?ft(r):e)[t]}function Dl(e,t){if(t in e)for(var r=Object.getPrototypeOf(e);r;){var o=Object.getOwnPropertyDescriptor(r,t);if(o)return o;r=Object.getPrototypeOf(r)}}function ut(e){e.P||(e.P=!0,e.l&&ut(e.l))}function Ri(e){e.o||(e.o=ki(e.t))}function Ni(e,t,r){var o=Mi(t)?We("MapSet").F(t,r):Pi(t)?We("MapSet").T(t,r):e.O?function(a,i){var s=Array.isArray(a),c={i:s?1:0,A:i?i.A:wi(),P:!1,I:!1,R:{},l:i,t:a,k:null,o:null,j:null,C:!1},d=c,f=yo;s&&(d=[c],f=mo);var h=Proxy.revocable(d,f),p=h.revoke,g=h.proxy;return c.k=g,c.j=p,g}(t,r):We("ES5").J(t,r);return(r?r.A:wi()).p.push(o),o}function fu(e){return Je(e)||Oe(22,e),function t(r){if(!Me(r))return r;var o,a=r[J],i=yr(r);if(a){if(!a.P&&(a.i<4||!We("ES5").K(a)))return a.t;a.I=!0,o=Ul(r,i),a.I=!1}else o=Ul(r,i);return Gt(o,function(s,c){a&&su(a.t,s)===c||Fl(o,s,t(c))}),i===3?new Set(o):o}(e)}function Ul(e,t){switch(t){case 2:return new Map(e);case 3:return Array.from(e)}return ki(e)}function Wl(){function e(s,c){var d=i[s];return d?d.enumerable=c:i[s]=d={configurable:!0,enumerable:c,get:function(){var f=this[J];return yo.get(f,s)},set:function(f){var h=this[J];yo.set(h,s,f)}},d}function t(s){for(var c=s.length-1;c>=0;c--){var d=s[c][J];if(!d.P)switch(d.i){case 5:o(d)&&ut(d);break;case 4:r(d)&&ut(d)}}}function r(s){for(var c=s.t,d=s.k,f=gr(d),h=f.length-1;h>=0;h--){var p=f[h];if(p!==J){var g=c[p];if(g===void 0&&!mr(c,p))return!0;var x=d[p],v=x&&x[J];if(v?v.t!==g:!$l(x,g))return!0}}var A=!!c[J];return f.length!==gr(c).length+(A?0:1)}function o(s){var c=s.k;if(c.length!==s.t.length)return!0;var d=Object.getOwnPropertyDescriptor(c,c.length-1);if(d&&!d.get)return!0;for(var f=0;f<c.length;f++)if(!c.hasOwnProperty(f))return!0;return!1}function a(s){s.g&&Oe(3,JSON.stringify(ft(s)))}var i={};lu("ES5",{J:function(s,c){var d=Array.isArray(s),f=function(p,g){if(p){for(var x=Array(g.length),v=0;v<g.length;v++)Object.defineProperty(x,""+v,e(v,!0));return x}var A=Vl(g);delete A[J];for(var O=gr(A),w=0;w<O.length;w++){var _=O[w];A[_]=e(_,p||!!A[_].enumerable)}return Object.create(Object.getPrototypeOf(g),A)}(d,s),h={i:d?5:4,A:c?c.A:wi(),P:!1,I:!1,R:{},l:c,t:s,k:f,o:null,g:!1,C:!1};return Object.defineProperty(f,J,{value:h,writable:!0}),f},S:function(s,c,d){d?Je(c)&&c[J].A===s&&t(s.p):(s.u&&function f(h){if(h&&typeof h=="object"){var p=h[J];if(p){var g=p.t,x=p.k,v=p.R,A=p.i;if(A===4)Gt(x,function(S){S!==J&&(g[S]!==void 0||mr(g,S)?v[S]||f(x[S]):(v[S]=!0,ut(p)))}),Gt(g,function(S){x[S]!==void 0||mr(x,S)||(v[S]=!1,ut(p))});else if(A===5){if(o(p)&&(ut(p),v.length=!0),x.length<g.length)for(var O=x.length;O<g.length;O++)v[O]=!1;else for(var w=g.length;w<x.length;w++)v[w]=!0;for(var _=Math.min(x.length,g.length),E=0;E<_;E++)x.hasOwnProperty(E)||(v[E]=!0),v[E]===void 0&&f(x[E])}}}}(s.p[0]),t(s.p))},K:function(s){return s.i===4?r(s):o(s)}})}var Bl,go,Di=typeof Symbol<"u"&&typeof Symbol("x")=="symbol",uu=typeof Map<"u",pu=typeof Set<"u",Hl=typeof Proxy<"u"&&Proxy.revocable!==void 0&&typeof Reflect<"u",jl=Di?Symbol.for("immer-nothing"):((Bl={})["immer-nothing"]=!0,Bl),Gl=Di?Symbol.for("immer-draftable"):"__$immer_draftable",J=Di?Symbol.for("immer-state"):"__$immer_state";var hu=""+Object.prototype.constructor,gr=typeof Reflect<"u"&&Reflect.ownKeys?Reflect.ownKeys:Object.getOwnPropertySymbols!==void 0?function(e){return Object.getOwnPropertyNames(e).concat(Object.getOwnPropertySymbols(e))}:Object.getOwnPropertyNames,Vl=Object.getOwnPropertyDescriptors||function(e){var t={};return gr(e).forEach(function(r){t[r]=Object.getOwnPropertyDescriptor(e,r)}),t},Ti={},yo={get:function(e,t){if(t===J)return e;var r=ft(e);if(!mr(r,t))return function(a,i,s){var c,d=Dl(i,s);return d?"value"in d?d.value:(c=d.get)===null||c===void 0?void 0:c.call(a.k):void 0}(e,r,t);var o=r[t];return e.I||!Me(o)?o:o===Oi(e.t,t)?(Ri(e),e.o[t]=Ni(e.A.h,o,e)):o},has:function(e,t){return t in ft(e)},ownKeys:function(e){return Reflect.ownKeys(ft(e))},set:function(e,t,r){var o=Dl(ft(e),t);if(o?.set)return o.set.call(e.k,r),!0;if(!e.P){var a=Oi(ft(e),t),i=a?.[J];if(i&&i.t===r)return e.o[t]=r,e.R[t]=!1,!0;if($l(r,a)&&(r!==void 0||mr(e.t,t)))return!0;Ri(e),ut(e)}return e.o[t]===r&&(r!==void 0||t in e.o)||Number.isNaN(r)&&Number.isNaN(e.o[t])||(e.o[t]=r,e.R[t]=!0),!0},deleteProperty:function(e,t){return Oi(e.t,t)!==void 0||t in e.t?(e.R[t]=!1,Ri(e),ut(e)):delete e.R[t],e.o&&delete e.o[t],!0},getOwnPropertyDescriptor:function(e,t){var r=ft(e),o=Reflect.getOwnPropertyDescriptor(r,t);return o&&{writable:!0,configurable:e.i!==1||t!=="length",enumerable:o.enumerable,value:r[t]}},defineProperty:function(){Oe(11)},getPrototypeOf:function(e){return Object.getPrototypeOf(e.t)},setPrototypeOf:function(){Oe(12)}},mo={};Gt(yo,function(e,t){mo[e]=function(){return arguments[0]=arguments[0][0],t.apply(this,arguments)}}),mo.deleteProperty=function(e,t){return mo.set.call(this,e,t,void 0)},mo.set=function(e,t,r){return yo.set.call(this,e[0],t,r,e[0])};var mu=function(){function e(r){var o=this;this.O=Hl,this.D=!0,this.produce=function(a,i,s){if(typeof a=="function"&&typeof i!="function"){var c=i;i=a;var d=o;return function(A){var O=this;A===void 0&&(A=c);for(var w=arguments.length,_=Array(w>1?w-1:0),E=1;E<w;E++)_[E-1]=arguments[E];return d.produce(A,function(S){var L;return(L=i).call.apply(L,[O,S].concat(_))})}}var f;if(typeof i!="function"&&Oe(6),s!==void 0&&typeof s!="function"&&Oe(7),Me(a)){var h=Il(o),p=Ni(o,a,void 0),g=!0;try{f=i(p),g=!1}finally{g?an(h):_i(h)}return typeof Promise<"u"&&f instanceof Promise?f.then(function(A){return Ai(h,s),Li(A,h)},function(A){throw an(h),A}):(Ai(h,s),Li(f,h))}if(!a||typeof a!="object"){if((f=i(a))===void 0&&(f=a),f===jl&&(f=void 0),o.D&&Ii(f,!0),s){var x=[],v=[];We("Patches").M(a,f,x,v),s(x,v)}return f}Oe(21,a)},this.produceWithPatches=function(a,i){if(typeof a=="function")return function(f){for(var h=arguments.length,p=Array(h>1?h-1:0),g=1;g<h;g++)p[g-1]=arguments[g];return o.produceWithPatches(f,function(x){return a.apply(void 0,[x].concat(p))})};var s,c,d=o.produce(a,i,function(f,h){s=f,c=h});return typeof Promise<"u"&&d instanceof Promise?d.then(function(f){return[f,s,c]}):[d,s,c]},typeof r?.useProxies=="boolean"&&this.setUseProxies(r.useProxies),typeof r?.autoFreeze=="boolean"&&this.setAutoFreeze(r.autoFreeze)}var t=e.prototype;return t.createDraft=function(r){Me(r)||Oe(8),Je(r)&&(r=fu(r));var o=Il(this),a=Ni(this,r,void 0);return a[J].C=!0,_i(o),a},t.finishDraft=function(r,o){var a=r&&r[J],i=a.A;return Ai(i,o),Li(void 0,i)},t.setAutoFreeze=function(r){this.D=r},t.setUseProxies=function(r){r&&!Hl&&Oe(20),this.O=r},t.applyPatches=function(r,o){var a;for(a=o.length-1;a>=0;a--){var i=o[a];if(i.path.length===0&&i.op==="replace"){r=i.value;break}}a>-1&&(o=o.slice(a+1));var s=We("Patches").$;return Je(r)?s(r,o):this.produce(r,function(c){return s(c,o)})},e}(),be=new mu,gu=be.produce,Xx=be.produceWithPatches.bind(be),Qx=be.setAutoFreeze.bind(be),Jx=be.setUseProxies.bind(be),ev=be.applyPatches.bind(be),tv=be.createDraft.bind(be),rv=be.finishDraft.bind(be),ln=gu;function Ft(e){"@babel/helpers - typeof";return Ft=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Ft(e)}function Kl(e,t){if(Ft(e)!="object"||!e)return e;var r=e[Symbol.toPrimitive];if(r!==void 0){var o=r.call(e,t||"default");if(Ft(o)!="object")return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function Zl(e){var t=Kl(e,"string");return Ft(t)=="symbol"?t:t+""}function Yl(e,t,r){return(t=Zl(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function ql(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter(function(a){return Object.getOwnPropertyDescriptor(e,a).enumerable})),r.push.apply(r,o)}return r}function Ui(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?ql(Object(r),!0).forEach(function(o){Yl(e,o,r[o])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):ql(Object(r)).forEach(function(o){Object.defineProperty(e,o,Object.getOwnPropertyDescriptor(r,o))})}return e}function de(e){return"Minified Redux error #"+e+"; visit https://redux.js.org/Errors?code="+e+" for the full message or use the non-minified dev environment for full errors. "}var Xl=function(){return typeof Symbol=="function"&&Symbol.observable||"@@observable"}(),Bi=function(){return Math.random().toString(36).substring(7).split("").join(".")},dn={INIT:"@@redux/INIT"+Bi(),REPLACE:"@@redux/REPLACE"+Bi(),PROBE_UNKNOWN_ACTION:function(){return"@@redux/PROBE_UNKNOWN_ACTION"+Bi()}};function yu(e){if(typeof e!="object"||e===null)return!1;for(var t=e;Object.getPrototypeOf(t)!==null;)t=Object.getPrototypeOf(t);return Object.getPrototypeOf(e)===t}function Hi(e,t,r){var o;if(typeof t=="function"&&typeof r=="function"||typeof r=="function"&&typeof arguments[3]=="function")throw new Error(de(0));if(typeof t=="function"&&typeof r>"u"&&(r=t,t=void 0),typeof r<"u"){if(typeof r!="function")throw new Error(de(1));return r(Hi)(e,t)}if(typeof e!="function")throw new Error(de(2));var a=e,i=t,s=[],c=s,d=!1;function f(){c===s&&(c=s.slice())}function h(){if(d)throw new Error(de(3));return i}function p(A){if(typeof A!="function")throw new Error(de(4));if(d)throw new Error(de(5));var O=!0;return f(),c.push(A),function(){if(O){if(d)throw new Error(de(6));O=!1,f();var _=c.indexOf(A);c.splice(_,1),s=null}}}function g(A){if(!yu(A))throw new Error(de(7));if(typeof A.type>"u")throw new Error(de(8));if(d)throw new Error(de(9));try{d=!0,i=a(i,A)}finally{d=!1}for(var O=s=c,w=0;w<O.length;w++){var _=O[w];_()}return A}function x(A){if(typeof A!="function")throw new Error(de(10));a=A,g({type:dn.REPLACE})}function v(){var A,O=p;return A={subscribe:function(_){if(typeof _!="object"||_===null)throw new Error(de(11));function E(){_.next&&_.next(h())}E();var S=O(E);return{unsubscribe:S}}},A[Xl]=function(){return this},A}return g({type:dn.INIT}),o={dispatch:g,subscribe:p,getState:h,replaceReducer:x},o[Xl]=v,o}function bu(e){Object.keys(e).forEach(function(t){var r=e[t],o=r(void 0,{type:dn.INIT});if(typeof o>"u")throw new Error(de(12));if(typeof r(void 0,{type:dn.PROBE_UNKNOWN_ACTION()})>"u")throw new Error(de(13))})}function Ql(e){for(var t=Object.keys(e),r={},o=0;o<t.length;o++){var a=t[o];typeof e[a]=="function"&&(r[a]=e[a])}var i=Object.keys(r),s,c;try{bu(r)}catch(d){c=d}return function(f,h){if(f===void 0&&(f={}),c)throw c;if(0)var p;for(var g=!1,x={},v=0;v<i.length;v++){var A=i[v],O=r[A],w=f[A],_=O(w,h);if(typeof _>"u"){var E=h&&h.type;throw new Error(de(14))}x[A]=_,g=g||_!==w}return g=g||i.length!==Object.keys(f).length,g?x:f}}function br(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return t.length===0?function(o){return o}:t.length===1?t[0]:t.reduce(function(o,a){return function(){return o(a.apply(void 0,arguments))}})}function Jl(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return function(o){return function(){var a=o.apply(void 0,arguments),i=function(){throw new Error(de(15))},s={getState:a.getState,dispatch:function(){return i.apply(void 0,arguments)}},c=t.map(function(d){return d(s)});return i=br.apply(void 0,c)(a.dispatch),Ui(Ui({},a),{},{dispatch:i})}}}function e1(e){var t=function(o){var a=o.dispatch,i=o.getState;return function(s){return function(c){return typeof c=="function"?c(a,i,e):s(c)}}};return t}var t1=e1();t1.withExtraArgument=e1;var Gi=t1;var i1=function(){var e=function(t,r){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(o,a){o.__proto__=a}||function(o,a){for(var i in a)Object.prototype.hasOwnProperty.call(a,i)&&(o[i]=a[i])},e(t,r)};return function(t,r){if(typeof r!="function"&&r!==null)throw new TypeError("Class extends value "+String(r)+" is not a constructor or null");e(t,r);function o(){this.constructor=t}t.prototype=r===null?Object.create(r):(o.prototype=r.prototype,new o)}}(),xu=function(e,t){var r={label:0,sent:function(){if(i[0]&1)throw i[1];return i[1]},trys:[],ops:[]},o,a,i,s;return s={next:c(0),throw:c(1),return:c(2)},typeof Symbol=="function"&&(s[Symbol.iterator]=function(){return this}),s;function c(f){return function(h){return d([f,h])}}function d(f){if(o)throw new TypeError("Generator is already executing.");for(;r;)try{if(o=1,a&&(i=f[0]&2?a.return:f[0]?a.throw||((i=a.return)&&i.call(a),0):a.next)&&!(i=i.call(a,f[1])).done)return i;switch(a=0,i&&(f=[f[0]&2,i.value]),f[0]){case 0:case 1:i=f;break;case 4:return r.label++,{value:f[1],done:!1};case 5:r.label++,a=f[1],f=[0];continue;case 7:f=r.ops.pop(),r.trys.pop();continue;default:if(i=r.trys,!(i=i.length>0&&i[i.length-1])&&(f[0]===6||f[0]===2)){r=0;continue}if(f[0]===3&&(!i||f[1]>i[0]&&f[1]<i[3])){r.label=f[1];break}if(f[0]===6&&r.label<i[1]){r.label=i[1],i=f;break}if(i&&r.label<i[2]){r.label=i[2],r.ops.push(f);break}i[2]&&r.ops.pop(),r.trys.pop();continue}f=t.call(e,r)}catch(h){f=[6,h],a=0}finally{o=i=0}if(f[0]&5)throw f[1];return{value:f[0]?f[1]:void 0,done:!0}}},xr=function(e,t){for(var r=0,o=t.length,a=e.length;r<o;r++,a++)e[a]=t[r];return e},vu=Object.defineProperty,Su=Object.defineProperties,Eu=Object.getOwnPropertyDescriptors,r1=Object.getOwnPropertySymbols,Cu=Object.prototype.hasOwnProperty,Au=Object.prototype.propertyIsEnumerable,o1=function(e,t,r){return t in e?vu(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r},pt=function(e,t){for(var r in t||(t={}))Cu.call(t,r)&&o1(e,r,t[r]);if(r1)for(var o=0,a=r1(t);o<a.length;o++){var r=a[o];Au.call(t,r)&&o1(e,r,t[r])}return e},Fi=function(e,t){return Su(e,Eu(t))},Lu=function(e,t,r){return new Promise(function(o,a){var i=function(d){try{c(r.next(d))}catch(f){a(f)}},s=function(d){try{c(r.throw(d))}catch(f){a(f)}},c=function(d){return d.done?o(d.value):Promise.resolve(d.value).then(i,s)};c((r=r.apply(e,t)).next())})};var Ou=typeof window<"u"&&window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__?window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__:function(){if(arguments.length!==0)return typeof arguments[0]=="object"?br:br.apply(null,arguments)},vv=typeof window<"u"&&window.__REDUX_DEVTOOLS_EXTENSION__?window.__REDUX_DEVTOOLS_EXTENSION__:function(){return function(e){return e}};function Ru(e){if(typeof e!="object"||e===null)return!1;var t=Object.getPrototypeOf(e);if(t===null)return!0;for(var r=t;Object.getPrototypeOf(r)!==null;)r=Object.getPrototypeOf(r);return t===r}var wu=function(e){i1(t,e);function t(){for(var r=[],o=0;o<arguments.length;o++)r[o]=arguments[o];var a=e.apply(this,r)||this;return Object.setPrototypeOf(a,t.prototype),a}return Object.defineProperty(t,Symbol.species,{get:function(){return t},enumerable:!1,configurable:!0}),t.prototype.concat=function(){for(var r=[],o=0;o<arguments.length;o++)r[o]=arguments[o];return e.prototype.concat.apply(this,r)},t.prototype.prepend=function(){for(var r=[],o=0;o<arguments.length;o++)r[o]=arguments[o];return r.length===1&&Array.isArray(r[0])?new(t.bind.apply(t,xr([void 0],r[0].concat(this)))):new(t.bind.apply(t,xr([void 0],r.concat(this))))},t}(Array),_u=function(e){i1(t,e);function t(){for(var r=[],o=0;o<arguments.length;o++)r[o]=arguments[o];var a=e.apply(this,r)||this;return Object.setPrototypeOf(a,t.prototype),a}return Object.defineProperty(t,Symbol.species,{get:function(){return t},enumerable:!1,configurable:!0}),t.prototype.concat=function(){for(var r=[],o=0;o<arguments.length;o++)r[o]=arguments[o];return e.prototype.concat.apply(this,r)},t.prototype.prepend=function(){for(var r=[],o=0;o<arguments.length;o++)r[o]=arguments[o];return r.length===1&&Array.isArray(r[0])?new(t.bind.apply(t,xr([void 0],r[0].concat(this)))):new(t.bind.apply(t,xr([void 0],r.concat(this))))},t}(Array);function ji(e){return Me(e)?ln(e,function(){}):e}function Nu(e){return typeof e=="boolean"}function Tu(){return function(t){return Mu(t)}}function Mu(e){e===void 0&&(e={});var t=e.thunk,r=t===void 0?!0:t,o=e.immutableCheck,a=o===void 0?!0:o,i=e.serializableCheck,s=i===void 0?!0:i,c=new wu;if(r&&(Nu(r)?c.push(Gi):c.push(Gi.withExtraArgument(r.extraArgument))),0){if(a)var d;if(s)var f}return c}var $i=!0;function s1(e){var t=Tu(),r=e||{},o=r.reducer,a=o===void 0?void 0:o,i=r.middleware,s=i===void 0?t():i,c=r.devTools,d=c===void 0?!0:c,f=r.preloadedState,h=f===void 0?void 0:f,p=r.enhancers,g=p===void 0?void 0:p,x;if(typeof a=="function")x=a;else if(Ru(a))x=Ql(a);else throw new Error('"reducer" is a required argument, and must be a function or an object of functions that can be passed to combineReducers');var v=s;if(typeof v=="function"&&(v=v(t),!$i&&!Array.isArray(v)))throw new Error("when using a middleware builder function, an array of middleware must be returned");if(!$i&&v.some(function(S){return typeof S!="function"}))throw new Error("each middleware provided to configureStore must be a function");var A=Jl.apply(void 0,v),O=br;d&&(O=Ou(pt({trace:!$i},typeof d=="object"&&d)));var w=new _u(A),_=w;Array.isArray(g)?_=xr([A],g):typeof g=="function"&&(_=g(w));var E=O.apply(void 0,_);return Hi(x,h,E)}function ht(e,t){function r(){for(var o=[],a=0;a<arguments.length;a++)o[a]=arguments[a];if(t){var i=t.apply(void 0,o);if(!i)throw new Error("prepareAction did not return an object");return pt(pt({type:e,payload:i.payload},"meta"in i&&{meta:i.meta}),"error"in i&&{error:i.error})}return{type:e,payload:o[0]}}return r.toString=function(){return""+e},r.type=e,r.match=function(o){return o.type===e},r}function c1(e){var t={},r=[],o,a={addCase:function(i,s){var c=typeof i=="string"?i:i.type;if(c in t)throw new Error("addCase cannot be called with two reducers for the same action type");return t[c]=s,a},addMatcher:function(i,s){return r.push({matcher:i,reducer:s}),a},addDefaultCase:function(i){return o=i,a}};return e(a),[t,r,o]}function Pu(e){return typeof e=="function"}function ku(e,t,r,o){r===void 0&&(r=[]);var a=typeof t=="function"?c1(t):[t,r,o],i=a[0],s=a[1],c=a[2],d;if(Pu(e))d=function(){return ji(e())};else{var f=ji(e);d=function(){return f}}function h(p,g){p===void 0&&(p=d());var x=xr([i[g.type]],s.filter(function(v){var A=v.matcher;return A(g)}).map(function(v){var A=v.reducer;return A}));return x.filter(function(v){return!!v}).length===0&&(x=[c]),x.reduce(function(v,A){if(A)if(Je(v)){var O=v,w=A(O,g);return w===void 0?v:w}else{if(Me(v))return ln(v,function(_){return A(_,g)});var w=A(v,g);if(w===void 0){if(v===null)return v;throw Error("A case reducer on a non-draftable value must not return undefined")}return w}return v},p)}return h.getInitialState=d,h}function Iu(e,t){return e+"/"+t}function l1(e){var t=e.name;if(!t)throw new Error("`name` is a required option for createSlice");typeof process<"u";var r=typeof e.initialState=="function"?e.initialState:ji(e.initialState),o=e.reducers||{},a=Object.keys(o),i={},s={},c={};a.forEach(function(h){var p=o[h],g=Iu(t,h),x,v;"reducer"in p?(x=p.reducer,v=p.prepare):x=p,i[h]=x,s[g]=x,c[h]=v?ht(g,v):ht(g)});function d(){var h=typeof e.extraReducers=="function"?c1(e.extraReducers):[e.extraReducers],p=h[0],g=p===void 0?{}:p,x=h[1],v=x===void 0?[]:x,A=h[2],O=A===void 0?void 0:A,w=pt(pt({},g),s);return ku(r,function(_){for(var E in w)_.addCase(E,w[E]);for(var S=0,L=v;S<L.length;S++){var M=L[S];_.addMatcher(M.matcher,M.reducer)}O&&_.addDefaultCase(O)})}var f;return{name:t,reducer:function(h,p){return f||(f=d()),f(h,p)},actions:c,caseReducers:i,getInitialState:function(){return f||(f=d()),f.getInitialState()}}}var zu="ModuleSymbhasOwnPr-0123456789ABCDEFGHNRVfgctiUvz_KqYTJkLxpZXIjQW",Du=function(e){e===void 0&&(e=21);for(var t="",r=e;r--;)t+=zu[Math.random()*64|0];return t},Uu=["name","message","stack","code"],Wi=function(){function e(t,r){this.payload=t,this.meta=r}return e}(),n1=function(){function e(t,r){this.payload=t,this.meta=r}return e}(),Bu=function(e){if(typeof e=="object"&&e!==null){for(var t={},r=0,o=Uu;r<o.length;r++){var a=o[r];typeof e[a]=="string"&&(t[a]=e[a])}return t}return{message:String(e)}},Av=function(){function e(t,r,o){var a=ht(t+"/fulfilled",function(h,p,g,x){return{payload:h,meta:Fi(pt({},x||{}),{arg:g,requestId:p,requestStatus:"fulfilled"})}}),i=ht(t+"/pending",function(h,p,g){return{payload:void 0,meta:Fi(pt({},g||{}),{arg:p,requestId:h,requestStatus:"pending"})}}),s=ht(t+"/rejected",function(h,p,g,x,v){return{payload:x,error:(o&&o.serializeError||Bu)(h||"Rejected"),meta:Fi(pt({},v||{}),{arg:g,requestId:p,rejectedWithValue:!!x,requestStatus:"rejected",aborted:h?.name==="AbortError",condition:h?.name==="ConditionError"})}}),c=!1,d=typeof AbortController<"u"?AbortController:function(){function h(){this.signal={aborted:!1,addEventListener:function(){},dispatchEvent:function(){return!1},onabort:function(){},removeEventListener:function(){},reason:void 0,throwIfAborted:function(){}}}return h.prototype.abort=function(){},h}();function f(h){return function(p,g,x){var v=o?.idGenerator?o.idGenerator(h):Du(),A=new d,O,w=!1;function _(S){O=S,A.abort()}var E=function(){return Lu(this,null,function(){var S,L,M,B,F,G,z;return xu(this,function(b){switch(b.label){case 0:return b.trys.push([0,4,,5]),B=(S=o?.condition)==null?void 0:S.call(o,h,{getState:g,extra:x}),Gu(B)?[4,B]:[3,2];case 1:B=b.sent(),b.label=2;case 2:if(B===!1||A.signal.aborted)throw{name:"ConditionError",message:"Aborted due to condition callback returning false."};return w=!0,F=new Promise(function(C,P){return A.signal.addEventListener("abort",function(){return P({name:"AbortError",message:O||"Aborted"})})}),p(i(v,h,(L=o?.getPendingMeta)==null?void 0:L.call(o,{requestId:v,arg:h},{getState:g,extra:x}))),[4,Promise.race([F,Promise.resolve(r(h,{dispatch:p,getState:g,extra:x,requestId:v,signal:A.signal,abort:_,rejectWithValue:function(C,P){return new Wi(C,P)},fulfillWithValue:function(C,P){return new n1(C,P)}})).then(function(C){if(C instanceof Wi)throw C;return C instanceof n1?a(C.payload,v,h,C.meta):a(C,v,h)})])];case 3:return M=b.sent(),[3,5];case 4:return G=b.sent(),M=G instanceof Wi?s(null,v,h,G.payload,G.meta):s(G,v,h),[3,5];case 5:return z=o&&!o.dispatchConditionRejection&&s.match(M)&&M.meta.condition,z||p(M),[2,M]}})})}();return Object.assign(E,{abort:_,requestId:v,arg:h,unwrap:function(){return E.then(Hu)}})}}return Object.assign(f,{pending:i,rejected:s,fulfilled:a,typePrefix:t})}return e.withTypes=function(){return e},e}();function Hu(e){if(e.meta&&e.meta.rejectedWithValue)throw e.payload;if(e.error)throw e.error;return e.payload}function Gu(e){return e!==null&&typeof e=="object"&&typeof e.then=="function"}var d1="listener",f1="completed",u1="cancelled",Lv="task-"+u1,Ov="task-"+f1,Rv=d1+"-"+u1,wv=d1+"-"+f1;var Vi="listenerMiddleware";var _v=ht(Vi+"/add"),Nv=ht(Vi+"/removeAll"),Tv=ht(Vi+"/remove");var a1,Mv=typeof queueMicrotask=="function"?queueMicrotask.bind(typeof window<"u"?window:typeof global<"u"?global:globalThis):function(e){return(a1||(a1=Promise.resolve())).then(e).catch(function(t){return setTimeout(function(){throw t},0)})},Fu=function(e){return function(t){setTimeout(t,e)}},Pv=typeof window<"u"&&window.requestAnimationFrame?window.requestAnimationFrame:Fu(10);Wl();window.ftReduxStores||(window.ftReduxStores={});var $t=class e extends Xe{static get(t){var r;let o=typeof t=="string"?t:t.name,a=typeof t=="string"?void 0:t,i=window.ftReduxStores[o];if(hr(i))return i;if(a==null)return;let s=l1({...a,reducers:(r=a.reducers)!==null&&r!==void 0?r:{}}),c=s1({reducer:(d,f)=>{if(f.type==="CLEAR_FT_REDUX_STORE"){let h=Tt(s.getInitialState());for(let p of f.keeping)h[p]=(d??h)[p];return h}else if(typeof f.type=="string"&&f.type.startsWith("DEFAULT_VALUE_SETTER__"))return{...d,...f.overwrites};return s.reducer(d,f)}});return window.ftReduxStores[a.name]=new e(s,c,a.eventBus)}constructor(t,r,o){super(),this.reduxSlice=t,this.reduxStore=r,this.isFtReduxStore=!0,this.commands=new po;let a=i=>i!=null?JSON.parse(JSON.stringify(i)):i;this.actions=new Proxy(this.reduxSlice.actions,{get:(i,s,c)=>{let d=s,f=i[d];return f?(...h)=>{let p=f(...h.map(a));return this.reduxStore.dispatch(p),p}:h=>{this.setState({[d]:a(h)})}}}),this.eventBus=o??this.eventBus}clear(){this.reduxStore.dispatch({type:"CLEAR_FT_REDUX_STORE",keeping:[]})}clearKeeping(...t){this.reduxStore.dispatch({type:"CLEAR_FT_REDUX_STORE",keeping:t})}setState(t){this.reduxStore.dispatch({type:"DEFAULT_VALUE_SETTER__"+Object.keys(t).join("_"),overwrites:t})}get dispatch(){throw new Error("Don't use this method, actions are automatically dispatched when called.")}[Symbol.observable](){return this.reduxStore[Symbol.observable]()}getState(){return this.reduxStore.getState()}replaceReducer(t){throw new Error("Not implemented yet.")}subscribe(t){return this.reduxStore.subscribe(t)}get name(){return this.reduxSlice.name}get reducer(){return this.reduxSlice.reducer}get caseReducers(){return this.reduxSlice.caseReducers}getInitialState(){return this.reduxSlice.getInitialState()}};function $u(){var e;for(let t of Object.values((e=window.ftReduxStores)!==null&&e!==void 0?e:{}))hr(t)&&t.clear()}var fn=class{constructor(t,r,o){this.store=t,this.valueSelector=r,this.callback=o}watch(){return this.stop(),this.lastValue=this.valueSelector(this.store.getState()),this.unsubscribe=this.store.subscribe(()=>{let t=this.store.getState(),r=this.valueSelector(t);qe(this.lastValue,r)&&(this.callback(r,t),this.lastValue=r)}),this}stop(){return this.unsubscribe!=null&&(this.unsubscribe(),this.unsubscribe=void 0),this.lastValue=void 0,this}};function Wu(e,t,r){return new fn(e,t,r).watch()}var Ki=class{constructor(){this.requestConsumers=new Map}getOrCreateRequestConsumers(t){var r;return(r=this.requestConsumers.get(t))!==null&&r!==void 0?r:this.requestConsumers.set(t,new Set).get(t)}registerComponent(t,r){for(let o of r)this.getOrCreateRequestConsumers(o).add(t).size==1&&this.onNewNeededRequest(o)}unregisterComponent(t,r){for(let o of r)this.getOrCreateRequestConsumers(o).delete(t)}isRequestNeeded(t){return this.getOrCreateRequestConsumers(t).size>0}};var Xi={};H(Xi,{scrollHelper:()=>ju});var Yi,un=new Map,qi=class{lock(t,r){if(r){let o=un.get(r);if(o==null||o===t)return un.set(r,t),r}}release(t,r){r&&un.get(r)===t&&un.delete(r)}findFirstScrollableParent(t){var r;let o,a;for(let i of xa(t)){let s=i,c=this.elementCanScroll(s);if(c&&s.clientHeight&&s.clientHeight<s.scrollHeight){o=s;break}else c&&a==null&&(a=s)}return(r=o??a)!==null&&r!==void 0?r:document.body}elementCanScroll(t){try{return["auto","scroll"].includes(getComputedStyle(t).overflowY)&&!["contents"].includes(getComputedStyle(t).display)}catch{return!1}}getAbsoluteScrollOffset(t,r){var o,a;let i=0;for(;r&&r.offsetParent!==t.offsetParent;)i+=(o=r.offsetTop)!==null&&o!==void 0?o:0,r=r.offsetParent;return i+((a=r?.offsetTop)!==null&&a!==void 0?a:0)-t.offsetTop}computeTopOffsetRatio(t,r){if(typeof t=="number")return t;switch(t){case"end":return 1;case"center":return .5;case"nearest":return r;default:return 0}}scrollIntoViewIfPossible(t,r){let o=this.findFirstScrollableParent(t);if(t&&this.lock(this,o)){let a=this.getAbsoluteScrollOffset(o,t),i=a-o.clientHeight+t.clientHeight,s=a,c=Nt(0,(s-o.scrollTop)/(s-i),1),d=this.computeTopOffsetRatio(r?.position,c)*(i-s)+s;o.scrollTo({behavior:r?.behavior,top:d})}else console.warn("Could not scroll element into view because the scrollable parent is already locked",t,o);this.release(this,o)}};window.FluidTopicsScrollHelper=(Yi=window.FluidTopicsScrollHelper)!==null&&Yi!==void 0?Yi:new qi;var ju=window.FluidTopicsScrollHelper;var Ji={};H(Ji,{SearchPlaceConverter:()=>Cr,SearchPlaceQueryParams:()=>j,isSearchPlaceQueryParams:()=>X1,serializeRequest:()=>Yu});var Ku=u4(h1(),1);var m1;(function(e){e.black="black",e.green="green",e.blue="blue",e.purple="purple",e.red="red",e.orange="orange",e.yellow="yellow"})(m1||(m1={}));var g1;(function(e){e.OFFICIAL="OFFICIAL",e.PERSONAL="PERSONAL",e.SHARED="SHARED"})(g1||(g1={}));var y1;(function(e){e.STRUCTURED_DOCUMENT="STRUCTURED_DOCUMENT",e.UNSTRUCTURED_DOCUMENT="UNSTRUCTURED_DOCUMENT",e.SHARED_PERSONAL_BOOK="SHARED_PERSONAL_BOOK",e.PERSONAL_BOOK="PERSONAL_BOOK",e.ATTACHMENT="ATTACHMENT",e.RESOURCE="RESOURCE",e.HTML_PACKAGE="HTML_PACKAGE"})(y1||(y1={}));var b1;(function(e){e.STRUCTURED_DOCUMENT="STRUCTURED_DOCUMENT",e.UNSTRUCTURED_DOCUMENT="UNSTRUCTURED_DOCUMENT",e.SHARED_PERSONAL_BOOK="SHARED_PERSONAL_BOOK",e.PERSONAL_BOOK="PERSONAL_BOOK",e.ATTACHMENT="ATTACHMENT",e.RESOURCE="RESOURCE",e.HTML_PACKAGE="HTML_PACKAGE"})(b1||(b1={}));var x1;(function(e){e.LAST_WEEK="LAST_WEEK",e.LAST_MONTH="LAST_MONTH",e.LAST_QUARTER="LAST_QUARTER",e.LAST_YEAR="LAST_YEAR"})(x1||(x1={}));var v1;(function(e){e.VALUE="VALUE",e.DATE="DATE",e.RANGE="RANGE"})(v1||(v1={}));var S1;(function(e){e.BOOKMARK__CREATE="BOOKMARK__CREATE",e.BOOKMARK__DELETE="BOOKMARK__DELETE",e.CASE_DEFLECTION__START="CASE_DEFLECTION__START",e.CASE_DEFLECTION__OPEN_TICKET="CASE_DEFLECTION__OPEN_TICKET",e.CASE_DEFLECTION__RATE="CASE_DEFLECTION__RATE",e.CHATBOT__RATE="CHATBOT__RATE",e.COLLECTION__CREATE="COLLECTION__CREATE",e.COLLECTION__UPDATE="COLLECTION__UPDATE",e.COLLECTION__DELETE="COLLECTION__DELETE",e.CUSTOM_EVENT__TRIGGER="CUSTOM_EVENT__TRIGGER",e.DOCUMENT__ON_DEMAND_TRANSLATE="DOCUMENT__ON_DEMAND_TRANSLATE",e.DOCUMENT__DOWNLOAD="DOCUMENT__DOWNLOAD",e.DOCUMENT__PRINT="DOCUMENT__PRINT",e.DOCUMENT__PROCESS="DOCUMENT__PROCESS",e.DOCUMENT__RATE="DOCUMENT__RATE",e.DOCUMENT__SEARCH="DOCUMENT__SEARCH",e.DOCUMENT__START_DISPLAY="DOCUMENT__START_DISPLAY",e.DOCUMENT__UNRATE="DOCUMENT__UNRATE",e.FEEDBACK__SEND="FEEDBACK__SEND",e.AI__COMPLETED_QUERY="AI__COMPLETED_QUERY",e.AI__RATE="AI__RATE",e.AI_CASE_DEFLECTION__START="AI_CASE_DEFLECTION__START",e.AI_CASE_DEFLECTION__OPEN_TICKET="AI_CASE_DEFLECTION__OPEN_TICKET",e.KHUB__PROCESS="KHUB__PROCESS",e.KHUB__SEARCH="KHUB__SEARCH",e.LABELS__DOWNLOAD="LABELS__DOWNLOAD",e.LINK__SHARE="LINK__SHARE",e.PAGE__DISPLAY="PAGE__DISPLAY",e.PERSONAL_BOOK__CREATE="PERSONAL_BOOK__CREATE",e.PERSONAL_BOOK__DELETE="PERSONAL_BOOK__DELETE",e.PERSONAL_BOOK__UPDATE="PERSONAL_BOOK__UPDATE",e.PERSONAL_TOPIC__CREATE="PERSONAL_TOPIC__CREATE",e.PERSONAL_TOPIC__UPDATE="PERSONAL_TOPIC__UPDATE",e.PERSONAL_TOPIC__DELETE="PERSONAL_TOPIC__DELETE",e.SAVED_SEARCH__CREATE="SAVED_SEARCH__CREATE",e.SAVED_SEARCH__DELETE="SAVED_SEARCH__DELETE",e.SAVED_SEARCH__UPDATE="SAVED_SEARCH__UPDATE",e.SEARCH_PAGE__SELECT="SEARCH_PAGE__SELECT",e.SEARCH_RESULT__OPEN_BROWSER_CONTEXT_MENU="SEARCH_RESULT__OPEN_BROWSER_CONTEXT_MENU",e.TOPIC__AI_TRANSLATE="TOPIC__AI_TRANSLATE",e.TOPIC__RATE="TOPIC__RATE",e.TOPIC__START_DISPLAY="TOPIC__START_DISPLAY",e.TOPIC__UNRATE="TOPIC__UNRATE",e.USER__LOGIN="USER__LOGIN",e.USER__LOGOUT="USER__LOGOUT",e.HEARTBEAT="HEARTBEAT"})(S1||(S1={}));var E1;(function(e){e.THIRD_PARTY="THIRD_PARTY",e.OFF_THE_GRID="OFF_THE_GRID",e.CONTENT_PACKAGER="CONTENT_PACKAGER",e.PAGES="PAGES",e.DESIGNED_READER="DESIGNED_READER"})(E1||(E1={}));var C1;(function(e){e.HOMEPAGE="HOMEPAGE",e.CUSTOM="CUSTOM",e.HEADER="HEADER",e.READER="READER",e.TOPIC_TEMPLATE="TOPIC_TEMPLATE",e.SEARCH="SEARCH",e.SEARCH_RESULT="SEARCH_RESULT",e.SEARCH_ANNOUNCEMENT="SEARCH_ANNOUNCEMENT",e.LINK_PREVIEW="LINK_PREVIEW",e.UD_VIEWER="UD_VIEWER",e.ASSET_VIEWER="ASSET_VIEWER"})(C1||(C1={}));var A1;(function(e){e.CLASSIC="CLASSIC",e.CUSTOM="CUSTOM",e.DESIGNER="DESIGNER"})(A1||(A1={}));var L1;(function(e){e.AND="AND",e.OR="OR",e.MONOVALUED="MONOVALUED"})(L1||(L1={}));var O1;(function(e){e.NONE="NONE",e.ALPHABET="ALPHABET",e.VERSION="VERSION"})(O1||(O1={}));var R1;(function(e){e.STARS="STARS",e.LIKE="LIKE",e.DICHOTOMOUS="DICHOTOMOUS",e.NO_RATING="NO_RATING"})(R1||(R1={}));var w1;(function(e){e.LAST_WEEK="LAST_WEEK",e.LAST_MONTH="LAST_MONTH",e.LAST_QUARTER="LAST_QUARTER",e.LAST_YEAR="LAST_YEAR",e.CUSTOM="CUSTOM"})(w1||(w1={}));var Sr;(function(e){e.OPTIONAL="OPTIONAL",e.MANDATORY="MANDATORY"})(Sr||(Sr={}));var _1;(function(e){e.ASC="ASC",e.DESC="DESC"})(_1||(_1={}));var N1;(function(e){e.ALPHA="ALPHA",e.NATURAL="NATURAL"})(N1||(N1={}));var Qi;(function(e){e.EVERYWHERE="EVERYWHERE",e.TITLE_ONLY="TITLE_ONLY",e.NONE="NONE"})(Qi||(Qi={}));var U1=e=>Object.keys(Qi).includes(e);var T1;(function(e){e.ARTICLE="ARTICLE",e.BOOK="BOOK",e.SHARED_BOOK="SHARED_BOOK",e.HTML_PACKAGE="HTML_PACKAGE"})(T1||(T1={}));var M1;(function(e){e.FLUIDTOPICS="FLUIDTOPICS",e.EXTERNAL="EXTERNAL"})(M1||(M1={}));var P1;(function(e){e.MAP="MAP",e.DOCUMENT="DOCUMENT",e.TOPIC="TOPIC",e.PERSONAL_BOOK="PERSONAL_BOOK",e.SHARED_BOOK="SHARED_BOOK",e.HTML_PACKAGE="HTML_PACKAGE"})(P1||(P1={}));var Er;(function(e){e.LAST_WEEK="LAST_WEEK",e.LAST_MONTH="LAST_MONTH",e.LAST_QUARTER="LAST_QUARTER",e.LAST_YEAR="LAST_YEAR"})(Er||(Er={}));var B1=e=>Object.keys(Er).includes(e);var k1;(function(e){e.MAP="MAP",e.DOCUMENT="DOCUMENT",e.TOPIC="TOPIC",e.HTML_PACKAGE="HTML_PACKAGE",e.HTML_PACKAGE_PAGE="HTML_PACKAGE_PAGE"})(k1||(k1={}));var I1;(function(e){e.DEFAULT="DEFAULT",e.DOCUMENTS="DOCUMENTS",e.ALL_TOPICS="ALL_TOPICS",e.TOPICS_AND_UNSTRUCTURED_DOCUMENTS="TOPICS_AND_UNSTRUCTURED_DOCUMENTS"})(I1||(I1={}));var z1;(function(e){e.PLAIN_TEXT="PLAIN_TEXT",e.LOCALIZED_OFFICIAL="LOCALIZED_OFFICIAL",e.LOCALIZED_CUSTOM="LOCALIZED_CUSTOM"})(z1||(z1={}));var re;(function(e){e.PERSONAL_BOOK_USER="PERSONAL_BOOK_USER",e.PERSONAL_BOOK_SHARE_USER="PERSONAL_BOOK_SHARE_USER",e.HTML_EXPORT_USER="HTML_EXPORT_USER",e.PDF_EXPORT_USER="PDF_EXPORT_USER",e.SAVED_SEARCH_USER="SAVED_SEARCH_USER",e.COLLECTION_USER="COLLECTION_USER",e.OFFLINE_USER="OFFLINE_USER",e.ANALYTICS_USER="ANALYTICS_USER",e.BETA_USER="BETA_USER",e.DEBUG_USER="DEBUG_USER",e.PRINT_USER="PRINT_USER",e.RATING_USER="RATING_USER",e.FEEDBACK_USER="FEEDBACK_USER",e.GENERATIVE_AI_USER="GENERATIVE_AI_USER",e.GENERATIVE_AI_EXPORT_USER="GENERATIVE_AI_EXPORT_USER",e.CONTENT_PUBLISHER="CONTENT_PUBLISHER",e.BEHAVIOR_DATA_USER="BEHAVIOR_DATA_USER",e.ANNOUNCEMENT_ADMIN="ANNOUNCEMENT_ADMIN",e.KHUB_ADMIN="KHUB_ADMIN",e.USERS_ADMIN="USERS_ADMIN",e.PORTAL_ADMIN="PORTAL_ADMIN",e.ADMIN="ADMIN"})(re||(re={}));var Re;(function(e){e.SEARCHES="SEARCHES",e.BOOKMARKS="BOOKMARKS",e.BOOKS="BOOKS",e.COLLECTIONS="COLLECTIONS"})(Re||(Re={}));var D1;(function(e){e.UNAUTHENTICATED="UNAUTHENTICATED",e.USER_INCOMPLETE="USER_INCOMPLETE",e.MFA_REQUIRED="MFA_REQUIRED",e.AUTHENTICATED="AUTHENTICATED"})(D1||(D1={}));var H1;(function(e){e.VALID="VALID",e.INVALID="INVALID"})(H1||(H1={}));var G1;(function(e){e.INACCURATE="INACCURATE",e.INCOMPLETE="INCOMPLETE",e.OFF_TOPIC="OFF_TOPIC",e.IRRELEVANT_SOURCES="IRRELEVANT_SOURCES",e.SUMMARY="SUMMARY",e.SEMANTIC_SEARCH="SEMANTIC_SEARCH",e.CHATBOT_INSTRUCTIONS="CHATBOT_INSTRUCTIONS",e.OTHER="OTHER"})(G1||(G1={}));var F1;(function(e){e.INACCURATE="INACCURATE",e.INCOMPLETE="INCOMPLETE",e.OFF_TOPIC="OFF_TOPIC",e.IRRELEVANT_SOURCES="IRRELEVANT_SOURCES",e.SLOW="SLOW",e.OTHER="OTHER"})(F1||(F1={}));var $1;(function(e){e.JSON="JSON",e.TEXT="TEXT"})($1||($1={}));var W1;(function(e){e.USER="USER",e.ASSISTANT="ASSISTANT"})(W1||(W1={}));var j1;(function(e){e.TEXT="TEXT",e.HTML="HTML"})(j1||(j1={}));var V1;(function(e){e.HTML="HTML",e.MARKDOWN="MARKDOWN"})(V1||(V1={}));var K1;(function(e){e.MAP="MAP",e.UNSTRUCTURED_DOCUMENT="UNSTRUCTURED_DOCUMENT"})(K1||(K1={}));var Vu={[re.PERSONAL_BOOK_SHARE_USER]:[re.PERSONAL_BOOK_USER],[re.HTML_EXPORT_USER]:[re.PERSONAL_BOOK_USER],[re.PDF_EXPORT_USER]:[re.PERSONAL_BOOK_USER],[re.KHUB_ADMIN]:[re.CONTENT_PUBLISHER],[re.ADMIN]:[re.KHUB_ADMIN,re.USERS_ADMIN,re.PORTAL_ADMIN,re.BEHAVIOR_DATA_USER],[re.GENERATIVE_AI_EXPORT_USER]:[re.GENERATIVE_AI_USER]};function Z1(e,t){return e===t||(Vu[e]??[]).some(r=>Z1(r,t))}function Y1(e,t){return e==null?!1:(Array.isArray(e)?e:Array.isArray(e.roles)?e.roles:Array.isArray(e.profile?.roles)?e.profile.roles:[]).some(o=>Z1(o,t))}function Zu(e){return`"${e}"`}function q1(e){return e.startsWith('"')&&e.endsWith('"')?e.replace(/(^"+)|("+$)/g,""):e}function Yu(e,t){return new Cr(e).serialize(t)}var j;(function(e){e.LOCALE="content-lang",e.QUERY="query",e.SCOPE="scope",e.FILTERS="filters",e.VIRTUAL_FIELD="virtual-field",e.PERIOD="period",e.VALUE_FILTERS="value-filters",e.DATE_FILTERS="date-filters",e.RANGE_FILTERS="range-filters",e.SORT="sort",e.PER_PAGE="per-page",e.KEYWORD_MATCH="keyword-match"})(j||(j={}));var qu=new Set(Object.values(j));function X1(e){return qu.has(e)}var Cr=class{constructor(t,r=20,o=!1,a="en-US"){this.baseUrl=t,this.defaultPerPage=r,this.allLanguagesAllowed=o,this.defaultContentLocale=a,this.scopeMapping={documents:"DOCUMENTS",topics:"ALL_TOPICS"},this.filtersEscapeMapping=[["*","\\*","[ft-escaped-star-character]"],["~","\\\\~","[ft-escaped-tilde-character]"],["_","\\\\\\\\_","[ft-escaped-underscore-character]"]]}serialize(t,r){return this.serializeToCurrentPageIfPossible(t,r??"/search")}serializeToCurrentPageIfPossible(t,r){let o=r==null||r.trim().length===0,a=new URL(o?window.location.href:`${this.baseUrl.replace(/\/+$/,"")}${r}`);return a.search=this.toURLSearchParams(t),a.toString()}toURLSearchParams(t,r=!1){var o,a,i,s,c,d,f,h,p,g,x;let v=new URLSearchParams;t.contentLocale?(!r||t.contentLocale!==this.defaultContentLocale)&&v.append(j.LOCALE,t.contentLocale):v.append(j.LOCALE,this.allLanguagesAllowed?"all":this.defaultContentLocale),((o=t.query)===null||o===void 0?void 0:o.length)>0&&v.append(j.QUERY,t.query);let A=(i=(a=t.metadataFilters)===null||a===void 0?void 0:a.filter(S=>S.valueFilter&&!S.valueFilter.negative))!==null&&i!==void 0?i:[];if(A.length>0){let S=A.map(L=>{var M,B;let F=((B=(M=L.valueFilter)===null||M===void 0?void 0:M.values)!==null&&B!==void 0?B:[]).map(G=>this.escapeFilters(G)).map(G=>Zu(q1(G))).join("_");return`${L.key}~${F}`}).join("*");v.append(j.VALUE_FILTERS,S)}let O=(c=(s=t.metadataFilters)===null||s===void 0?void 0:s.filter(S=>S.dateFilter))!==null&&c!==void 0?c:[];if(O.length>0){let S=O.map(L=>{var M;return`${L.key}~${(M=L.dateFilter)===null||M===void 0?void 0:M.type.toLowerCase()}`}).join("*");v.append(j.DATE_FILTERS,S)}let w=(f=(d=t.metadataFilters)===null||d===void 0?void 0:d.filter(S=>S.rangeFilter))!==null&&f!==void 0?f:[];if(w.length>0){let S=w.map(L=>{var M,B;return`${L.key}~${(M=L.rangeFilter)===null||M===void 0?void 0:M.from}_${(B=L.rangeFilter)===null||B===void 0?void 0:B.to}`}).join("*");v.append(j.RANGE_FILTERS,S)}t.virtualField&&t.virtualField!=="EVERYWHERE"&&v.append(j.VIRTUAL_FIELD,t.virtualField.toLowerCase()),t.scope&&t.scope!=="DEFAULT"&&v.append(j.SCOPE,t.scope.toLowerCase()),t.sortId!=null&&v.append(j.SORT,t.sortId),!((h=t.paging)===null||h===void 0)&&h.perPage&&((g=(p=t.paging)===null||p===void 0?void 0:p.perPage)!==null&&g!==void 0?g:this.defaultPerPage)!=this.defaultPerPage&&v.append(j.PER_PAGE,String(t.paging.perPage)),t.keywordMatch!=null&&v.append(j.KEYWORD_MATCH,t.keywordMatch.toLowerCase());let _=(x=t.otherQueryParams)!==null&&x!==void 0?x:{};for(let S in _)v.append(S,_[S]);let E=new Array;return v.forEach((S,L)=>{E.push(this.encodeQueryString(L)+"="+this.encodeQueryString(S))}),encodeURI(E.join("&")).replace(/#/g,"%23")}encodeQueryString(t){return encodeURIComponent(t).replace(/%20/g,"+")}parse(t){var r;let o=t.split("?"),a=this.fromURLSearchParams(o.slice(1).join("?")),i=o[0].split("/search/")[1];return i==null?a:{...a,scope:(r=this.scopeMapping[i])!==null&&r!==void 0?r:a.scope}}fromURLSearchParams(t){var r,o,a,i,s,c;try{t=decodeURI(t).replace(/%23/g,"#")}catch(w){console.warn("Could not decode search request query params, fallback on raw value",w)}let d=new URLSearchParams(t),f=d.get(j.LOCALE)==="all"?void 0:d.get(j.LOCALE),h=((r=d.get(j.VIRTUAL_FIELD))!==null&&r!==void 0?r:"EVERYWHERE").toUpperCase(),p=(o=d.get(j.SORT))===null||o===void 0?void 0:o.toLowerCase(),g=(a=d.get(j.SCOPE))!==null&&a!==void 0?a:"default",x=+((i=d.get(j.PER_PAGE))!==null&&i!==void 0?i:this.defaultPerPage),v=d.get(j.KEYWORD_MATCH),A=v?v.toUpperCase()===Sr.MANDATORY?Sr.MANDATORY:Sr.OPTIONAL:void 0,O={};for(let w of d.keys())X1(w)||(O[w]=d.get(w));return{contentLocale:f??(this.allLanguagesAllowed?void 0:this.defaultContentLocale),query:(s=d.get(j.QUERY))!==null&&s!==void 0?s:"",scope:(c=this.scopeMapping[g])!==null&&c!==void 0?c:"DEFAULT",virtualField:U1(h)?h:"EVERYWHERE",sortId:p,metadataFilters:this.parseCompatFilters(d),facets:[],paging:{page:1,perPage:Nt(1,isNaN(x)?this.defaultPerPage:x,1e3)},keywordMatch:A,otherQueryParams:O}}parseCompatFilters(t){var r,o,a,i,s,c;let d=[];return t.has(j.FILTERS)&&(d=this.parseValueFilters((r=t.get(j.FILTERS))!==null&&r!==void 0?r:"")),(o=t.has(j.PERIOD))!==null&&o!==void 0&&o&&(d=[...d,...this.parseLegacyPeriodFilter(((a=t.get(j.PERIOD))!==null&&a!==void 0?a:"").toUpperCase())]),[...d,...this.parseValueFilters((i=t.get(j.VALUE_FILTERS))!==null&&i!==void 0?i:""),...this.parseDateFilters((s=t.get(j.DATE_FILTERS))!==null&&s!==void 0?s:""),...this.parseRangeFilters((c=t.get(j.RANGE_FILTERS))!==null&&c!==void 0?c:"")]}splitUnknownFilter(t){return this.superEscapeFilters(t).split("*").map(r=>r.split("~"))}parseValueFilters(t){return t.length===0?[]:this.splitUnknownFilter(t).map(r=>({key:r[0],valueFilter:{values:r[1].split("_").map(q1).map(o=>this.unescapeFilterValue(o)),negative:!1}}))}parseDateFilters(t){return t.length===0?[]:this.splitUnknownFilter(t).map(r=>({key:r[0],dateFilter:{type:Er[r[1].toUpperCase()]}}))}parseRangeFilters(t){return t.length===0?[]:this.splitUnknownFilter(t).map(r=>({key:r[0],rangeFilter:{from:r[1].split("_")[0],to:r[1].split("_")[1]}}))}escapeFilters(t){for(let[r,o,a]of this.filtersEscapeMapping)t=t.replaceAll(r,o);return t}superEscapeFilters(t){for(let[r,o,a]of this.filtersEscapeMapping)t=t.replaceAll(o,a);return t}unescapeFilterValue(t){for(let[r,o,a]of this.filtersEscapeMapping)t=t.replace(a,r);return t}parseLegacyPeriodFilter(t){if(B1(t))return[{key:"ft:lastEdition",dateFilter:{type:Er[t]}}];if(t.startsWith("CUSTOM_")){let[r,o,a]=t.split("_");return[{key:"ft:lastEdition",rangeFilter:{from:o,to:a}}]}return[]}};var ts={};H(ts,{toFtFormComponent:()=>Xu});var es=Symbol("elementInternals"),Xu=oe(Symbol("toFtFormComponent"),function(e){class t extends e{static get formAssociated(){return!0}get form(){return this[es].form}constructor(...o){super(o),this[es]=this.attachInternals()}setFormValue(o){this[es].setFormValue(o)}}return t});var rs={};H(rs,{DateFormatter:()=>Wt});var Wt=class{static format(t,r,o,a,i){return window.moment?window.moment(t).locale(r).format(this.getMomentDateFormat(o,a,!!i)):this.getIntlDateTime(t,r,o,a,!!i)}static getMomentDateFormat(t,r,o){return o?"LT":t?r?"lll":"ll":r?"L LT":"L"}static getIntlDateTime(t,r,o,a,i){let s=typeof t=="string"?new Date(t):t,c=new Intl.DateTimeFormat(r,{dateStyle:o?"medium":"short"}).format(s),d=new Intl.DateTimeFormat(r,{timeStyle:"short"}).format(s);return i?d:a?`${c} ${d}`:c}static getTimezoneAsString(){let t=o=>String(Math.floor(o)).padStart(2,"0"),r=new Date().getTimezoneOffset();return`${r<0?"+":"-"}${t(Math.abs(r)/60)}:${t(Math.abs(r)%60)}`}};var ns={};H(ns,{ALL_KEYS_VALUE:()=>os,SameWindowStorageEvent:()=>Ar});var os="__all__",Ar=class extends CustomEvent{constructor(t,r,o){super("same-window-storage",{detail:{key:t,oldValue:r,newValue:o}})}keyMatch(t){return this.detail.key.includes(t)||this.detail.key==os}};Storage.prototype.setItem=new Proxy(Storage.prototype.setItem,{apply(e,t,r){let o=t.getItem(r[0]);Reflect.apply(e,t,r),window.dispatchEvent(new Ar(r[0],o,r[1]))}});Storage.prototype.removeItem=new Proxy(Storage.prototype.removeItem,{apply(e,t,r){let o=t.getItem(r[0]);Reflect.apply(e,t,r),window.dispatchEvent(new Ar(r[0],o))}});Storage.prototype.clear=new Proxy(Storage.prototype.clear,{apply(e,t,r){Reflect.apply(e,t,r),window.dispatchEvent(new Ar(os))}});var is={};H(is,{FocusMainContentEvent:()=>as});var as=class extends Event{constructor(){super("ft-focus-main-content",{composed:!0,bubbles:!0})}};var Q1={};window.FluidTopicsA11yHints={isKeyboardNavigation:!1,lastPressedKey:""};function Qu(e){(e.key==="Enter"||e.key===" "||e.key==="Tab")&&(window.FluidTopicsA11yHints.isKeyboardNavigation=!0),window.FluidTopicsA11yHints.lastPressedKey=e.key}function Ju(e){window.FluidTopicsA11yHints.isKeyboardNavigation=e.detail==0}document.addEventListener("keydown",Qu);document.addEventListener("click",Ju);var mn=U`
49
49
  .sr-only {
50
50
  position:absolute;
51
51
  left:-10000px;
@@ -989,7 +989,7 @@ svg:not(:root).svg-inline--fa, svg:not(:host).svg-inline--fa {
989
989
  `);t.setAttribute(Qt,""),t.innerHTML=a}};function rd(e){e()}function $d(e,t){let r=typeof t=="function"?t:_n;if(e.length===0)r();else{let o=rd;k.mutateApproach===$m&&(o=xt.requestAnimationFrame||rd),o(()=>{let a=D5(),i=fc.begin("mutate");e.map(a),i(),r()})}}var uc=!1;function Wd(){uc=!0}function ec(){uc=!1}var Mn=null;function od(e){if(!$0||!k.observeMutations)return;let{treeCallback:t=_n,nodeCallback:r=_n,pseudoElementsCallback:o=_n,observeMutationsRoot:a=q}=e;Mn=new $0(i=>{if(uc)return;let s=vt();Gr(i).forEach(c=>{if(c.type==="childList"&&c.addedNodes.length>0&&!td(c.addedNodes[0])&&(k.searchPseudoElements&&o(c.target),t(c.target)),c.type==="attributes"&&c.target.parentNode&&k.searchPseudoElements&&o(c.target.parentNode),c.type==="attributes"&&td(c.target)&&~Ym.indexOf(c.attributeName))if(c.attributeName==="class"&&I5(c.target)){let{prefix:d,iconName:f}=zn(ic(c.target));c.target.setAttribute(oc,d||s),f&&c.target.setAttribute(nc,f)}else z5(c.target)&&r(c.target)})}),at&&Mn.observe(a,{childList:!0,attributes:!0,characterData:!0,subtree:!0})}function G5(){Mn&&Mn.disconnect()}function F5(e){let t=e.getAttribute("style"),r=[];return t&&(r=t.split(";").reduce((o,a)=>{let i=a.split(":"),s=i[0],c=i.slice(1);return s&&c.length>0&&(o[s]=c.join(":").trim()),o},{})),r}function $5(e){let t=e.getAttribute("data-prefix"),r=e.getAttribute("data-icon"),o=e.innerText!==void 0?e.innerText.trim():"",a=zn(ic(e));return a.prefix||(a.prefix=vt()),t&&r&&(a.prefix=t,a.iconName=r),a.iconName&&a.prefix||(a.prefix&&o.length>0&&(a.iconName=m5(a.prefix,e.innerText)||lc(a.prefix,Vs(e.innerText))),!a.iconName&&k.autoFetchSvg&&e.firstChild&&e.firstChild.nodeType===Node.TEXT_NODE&&(a.iconName=e.firstChild.data)),a}function W5(e){let t=Gr(e.attributes).reduce((a,i)=>(a.name!=="class"&&a.name!=="style"&&(a[i.name]=i.value),a),{}),r=e.getAttribute("title"),o=e.getAttribute("data-fa-title-id");return k.autoA11y&&(r?t["aria-labelledby"]="".concat(k.replacementClass,"-title-").concat(o||Oo()):(t["aria-hidden"]="true",t.focusable="false")),t}function j5(){return{iconName:null,title:null,titleId:null,prefix:null,transform:je,symbol:!1,mask:{iconName:null,prefix:null,rest:[]},maskId:null,extra:{classes:[],styles:{},attributes:{}}}}function nd(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{styleParser:!0},{iconName:r,prefix:o,rest:a}=$5(e),i=W5(e),s=Ys("parseNodeAttributes",{},e),c=t.styleParser?F5(e):[];return R({iconName:r,title:e.getAttribute("title"),titleId:e.getAttribute("data-fa-title-id"),prefix:o,transform:je,mask:{iconName:null,prefix:null,rest:[]},maskId:null,symbol:!1,extra:{classes:a,styles:c,attributes:i}},s)}var{styles:V5}=Ve;function jd(e){let t=k.autoReplaceSvg==="nest"?nd(e,{styleParser:!1}):nd(e);return~t.extra.classes.indexOf(Ld)?St("generateLayersText",e,t):St("generateSvgReplacementMutation",e,t)}function K5(){return[...Rm,...Hs]}function ad(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null;if(!at)return Promise.resolve();let r=q.documentElement.classList,o=h=>r.add("".concat(V0,"-").concat(h)),a=h=>r.remove("".concat(V0,"-").concat(h)),i=k.autoFetchSvg?K5():bd.concat(Object.keys(V5));i.includes("fa")||i.push("fa");let s=[".".concat(Ld,":not([").concat(Qt,"])")].concat(i.map(h=>".".concat(h,":not([").concat(Qt,"])"))).join(", ");if(s.length===0)return Promise.resolve();let c=[];try{c=Gr(e.querySelectorAll(s))}catch{}if(c.length>0)o("pending"),a("complete");else return Promise.resolve();let d=fc.begin("onTree"),f=c.reduce((h,p)=>{try{let g=jd(p);g&&h.push(g)}catch(g){Cd||g.name==="MissingIcon"&&console.error(g)}return h},[]);return new Promise((h,p)=>{Promise.all(f).then(g=>{$d(g,()=>{o("active"),o("complete"),a("pending"),typeof t=="function"&&t(),d(),h()})}).catch(g=>{d(),p(g)})})}function Z5(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null;jd(e).then(r=>{r&&$d([r],t)})}function Y5(e){return function(t){let r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},o=(t||{}).icon?t:qs(t||{}),{mask:a}=r;return a&&(a=(a||{}).icon?a:qs(a||{})),e(o,R(R({},r),{},{mask:a}))}}var q5=function(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},{transform:r=je,symbol:o=!1,mask:a=null,maskId:i=null,title:s=null,titleId:c=null,classes:d=[],attributes:f={},styles:h={}}=t;if(!e)return;let{prefix:p,iconName:g,icon:x}=e;return Dn(R({type:"icon"},e),()=>(Jt("beforeDOMElementCreation",{iconDefinition:e,params:t}),k.autoA11y&&(s?f["aria-labelledby"]="".concat(k.replacementClass,"-title-").concat(c||Oo()):(f["aria-hidden"]="true",f.focusable="false")),dc({icons:{main:Xs(x),mask:a?Xs(a.icon):{found:!1,width:null,height:null,icon:{}}},prefix:p,iconName:g,transform:R(R({},je),r),symbol:o,title:s,maskId:i,titleId:c,extra:{attributes:f,styles:h,classes:d}})))},X5={mixout(){return{icon:Y5(q5)}},hooks(){return{mutationObserverCallbacks(e){return e.treeCallback=ad,e.nodeCallback=Z5,e}}},provides(e){e.i2svg=function(t){let{node:r=q,callback:o=()=>{}}=t;return ad(r,o)},e.generateSvgReplacementMutation=function(t,r){let{iconName:o,title:a,titleId:i,prefix:s,transform:c,symbol:d,mask:f,maskId:h,extra:p}=r;return new Promise((g,x)=>{Promise.all([Qs(o,s),f.iconName?Qs(f.iconName,f.prefix):Promise.resolve({found:!1,width:512,height:512,icon:{}})]).then(v=>{let[A,O]=v;g([t,dc({icons:{main:A,mask:O},prefix:s,iconName:o,transform:c,symbol:d,maskId:h,title:a,titleId:i,extra:p,watchable:!0})])}).catch(x)})},e.generateAbstractIcon=function(t){let{children:r,attributes:o,main:a,transform:i,styles:s}=t,c=kn(s);c.length>0&&(o.style=c);let d;return sc(i)&&(d=St("generateAbstractTransformGrouping",{main:a,transform:i,containerWidth:a.width,iconWidth:a.width})),r.push(d||a.icon),{children:r,attributes:o}}}},Q5={mixout(){return{layer(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},{classes:r=[]}=t;return Dn({type:"layer"},()=>{Jt("beforeDOMElementCreation",{assembler:e,params:t});let o=[];return e(a=>{Array.isArray(a)?a.map(i=>{o=o.concat(i.abstract)}):o=o.concat(a.abstract)}),[{tag:"span",attributes:{class:["".concat(k.cssPrefix,"-layers"),...r].join(" ")},children:o}]})}}}},J5={mixout(){return{counter(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},{title:r=null,classes:o=[],attributes:a={},styles:i={}}=t;return Dn({type:"counter",content:e},()=>(Jt("beforeDOMElementCreation",{content:e,params:t}),T5({content:e.toString(),title:r,extra:{attributes:a,styles:i,classes:["".concat(k.cssPrefix,"-layers-counter"),...o]}})))}}}},e7={mixout(){return{text(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},{transform:r=je,title:o=null,classes:a=[],attributes:i={},styles:s={}}=t;return Dn({type:"text",content:e},()=>(Jt("beforeDOMElementCreation",{content:e,params:t}),J0({content:e,transform:R(R({},je),r),title:o,extra:{attributes:i,styles:s,classes:["".concat(k.cssPrefix,"-layers-text"),...a]}})))}}},provides(e){e.generateLayersText=function(t,r){let{title:o,transform:a,extra:i}=r,s=null,c=null;if(gd){let d=parseInt(getComputedStyle(t).fontSize,10),f=t.getBoundingClientRect();s=f.width/d,c=f.height/d}return k.autoA11y&&!o&&(i.attributes["aria-hidden"]="true"),Promise.resolve([t,J0({content:t.innerHTML,width:s,height:c,transform:a,title:o,extra:i,watchable:!0})])}}},t7=new RegExp('"',"ug"),id=[1105920,1112319],sd=R(R(R(R({},{FontAwesome:{normal:"fas",400:"fas"}}),Am),Gm),km),tc=Object.keys(sd).reduce((e,t)=>(e[t.toLowerCase()]=sd[t],e),{}),r7=Object.keys(tc).reduce((e,t)=>{let r=tc[t];return e[t]=r[900]||[...Object.entries(r)][0][1],e},{});function o7(e){let t=e.replace(t7,""),r=d5(t,0),o=r>=id[0]&&r<=id[1],a=t.length===2?t[0]===t[1]:!1;return{value:Vs(a?t[0]:t),isSecondary:o||a}}function n7(e,t){let r=e.replace(/^['"]|['"]$/g,"").toLowerCase(),o=parseInt(t),a=isNaN(o)?"normal":o;return(tc[r]||{})[a]||r7[r]}function cd(e,t){let r="".concat(Fm).concat(t.replace(":","-"));return new Promise((o,a)=>{if(e.getAttribute(r)!==null)return o();let s=Gr(e.children).filter(g=>g.getAttribute(Fs)===t)[0],c=xt.getComputedStyle(e,t),d=c.getPropertyValue("font-family"),f=d.match(Km),h=c.getPropertyValue("font-weight"),p=c.getPropertyValue("content");if(s&&!f)return e.removeChild(s),o();if(f&&p!=="none"&&p!==""){let g=c.getPropertyValue("content"),x=n7(d,h),{value:v,isSecondary:A}=o7(g),O=f[0].startsWith("FontAwesome"),w=lc(x,v),_=w;if(O){let E=g5(v);E.iconName&&E.prefix&&(w=E.iconName,x=E.prefix)}if(w&&!A&&(!s||s.getAttribute(oc)!==x||s.getAttribute(nc)!==_)){e.setAttribute(r,_),s&&e.removeChild(s);let E=j5(),{extra:S}=E;S.attributes[Fs]=t,Qs(w,x).then(L=>{let M=dc(R(R({},E),{},{icons:{main:L,mask:Bd()},prefix:x,iconName:_,extra:S,watchable:!0})),B=q.createElementNS("http://www.w3.org/2000/svg","svg");t==="::before"?e.insertBefore(B,e.firstChild):e.appendChild(B),B.outerHTML=M.map(F=>_o(F)).join(`
990
990
  `),e.removeAttribute(r),o()}).catch(a)}else o()}else o()})}function a7(e){return Promise.all([cd(e,"::before"),cd(e,"::after")])}function i7(e){return e.parentNode!==document.head&&!~Wm.indexOf(e.tagName.toUpperCase())&&!e.getAttribute(Fs)&&(!e.parentNode||e.parentNode.tagName!=="svg")}function ld(e){if(at)return new Promise((t,r)=>{let o=Gr(e.querySelectorAll("*")).filter(i7).map(a7),a=fc.begin("searchPseudoElements");Wd(),Promise.all(o).then(()=>{a(),ec(),t()}).catch(()=>{a(),ec(),r()})})}var s7={hooks(){return{mutationObserverCallbacks(e){return e.pseudoElementsCallback=ld,e}}},provides(e){e.pseudoElements2svg=function(t){let{node:r=q}=t;k.searchPseudoElements&&ld(r)}}},dd=!1,c7={mixout(){return{dom:{unwatch(){Wd(),dd=!0}}}},hooks(){return{bootstrap(){od(Ys("mutationObserverCallbacks",{}))},noAuto(){G5()},watch(e){let{observeMutationsRoot:t}=e;dd?ec():od(Ys("mutationObserverCallbacks",{observeMutationsRoot:t}))}}}},fd=e=>{let t={size:16,x:0,y:0,flipX:!1,flipY:!1,rotate:0};return e.toLowerCase().split(" ").reduce((r,o)=>{let a=o.toLowerCase().split("-"),i=a[0],s=a.slice(1).join("-");if(i&&s==="h")return r.flipX=!0,r;if(i&&s==="v")return r.flipY=!0,r;if(s=parseFloat(s),isNaN(s))return r;switch(i){case"grow":r.size=r.size+s;break;case"shrink":r.size=r.size-s;break;case"left":r.x=r.x-s;break;case"right":r.x=r.x+s;break;case"up":r.y=r.y-s;break;case"down":r.y=r.y+s;break;case"rotate":r.rotate=r.rotate+s;break}return r},t)},l7={mixout(){return{parse:{transform:e=>fd(e)}}},hooks(){return{parseNodeAttributes(e,t){let r=t.getAttribute("data-fa-transform");return r&&(e.transform=fd(r)),e}}},provides(e){e.generateAbstractTransformGrouping=function(t){let{main:r,transform:o,containerWidth:a,iconWidth:i}=t,s={transform:"translate(".concat(a/2," 256)")},c="translate(".concat(o.x*32,", ").concat(o.y*32,") "),d="scale(".concat(o.size/16*(o.flipX?-1:1),", ").concat(o.size/16*(o.flipY?-1:1),") "),f="rotate(".concat(o.rotate," 0 0)"),h={transform:"".concat(c," ").concat(d," ").concat(f)},p={transform:"translate(".concat(i/2*-1," -256)")},g={outer:s,inner:h,path:p};return{tag:"g",attributes:R({},g.outer),children:[{tag:"g",attributes:R({},g.inner),children:[{tag:r.icon.tag,children:r.icon.children,attributes:R(R({},r.icon.attributes),g.path)}]}]}}}},Us={x:0,y:0,width:"100%",height:"100%"};function ud(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0;return e.attributes&&(e.attributes.fill||t)&&(e.attributes.fill="black"),e}function d7(e){return e.tag==="g"?e.children:[e]}var f7={hooks(){return{parseNodeAttributes(e,t){let r=t.getAttribute("data-fa-mask"),o=r?zn(r.split(" ").map(a=>a.trim())):Bd();return o.prefix||(o.prefix=vt()),e.mask=o,e.maskId=t.getAttribute("data-fa-mask-id"),e}}},provides(e){e.generateAbstractMask=function(t){let{children:r,attributes:o,main:a,mask:i,maskId:s,transform:c}=t,{width:d,icon:f}=a,{width:h,icon:p}=i,g=o5({transform:c,containerWidth:h,iconWidth:d}),x={tag:"rect",attributes:R(R({},Us),{},{fill:"white"})},v=f.children?{children:f.children.map(ud)}:{},A={tag:"g",attributes:R({},g.inner),children:[ud(R({tag:f.tag,attributes:R(R({},f.attributes),g.path)},v))]},O={tag:"g",attributes:R({},g.outer),children:[A]},w="mask-".concat(s||Oo()),_="clip-".concat(s||Oo()),E={tag:"mask",attributes:R(R({},Us),{},{id:w,maskUnits:"userSpaceOnUse",maskContentUnits:"userSpaceOnUse"}),children:[x,O]},S={tag:"defs",children:[{tag:"clipPath",attributes:{id:_},children:d7(p)},E]};return r.push(S,{tag:"rect",attributes:R({fill:"currentColor","clip-path":"url(#".concat(_,")"),mask:"url(#".concat(w,")")},Us)}),{children:r,attributes:o}}}},u7={provides(e){let t=!1;xt.matchMedia&&(t=xt.matchMedia("(prefers-reduced-motion: reduce)").matches),e.missingIconAbstract=function(){let r=[],o={fill:"currentColor"},a={attributeType:"XML",repeatCount:"indefinite",dur:"2s"};r.push({tag:"path",attributes:R(R({},o),{},{d:"M156.5,447.7l-12.6,29.5c-18.7-9.5-35.9-21.2-51.5-34.9l22.7-22.7C127.6,430.5,141.5,440,156.5,447.7z M40.6,272H8.5 c1.4,21.2,5.4,41.7,11.7,61.1L50,321.2C45.1,305.5,41.8,289,40.6,272z M40.6,240c1.4-18.8,5.2-37,11.1-54.1l-29.5-12.6 C14.7,194.3,10,216.7,8.5,240H40.6z M64.3,156.5c7.8-14.9,17.2-28.8,28.1-41.5L69.7,92.3c-13.7,15.6-25.5,32.8-34.9,51.5 L64.3,156.5z M397,419.6c-13.9,12-29.4,22.3-46.1,30.4l11.9,29.8c20.7-9.9,39.8-22.6,56.9-37.6L397,419.6z M115,92.4 c13.9-12,29.4-22.3,46.1-30.4l-11.9-29.8c-20.7,9.9-39.8,22.6-56.8,37.6L115,92.4z M447.7,355.5c-7.8,14.9-17.2,28.8-28.1,41.5 l22.7,22.7c13.7-15.6,25.5-32.9,34.9-51.5L447.7,355.5z M471.4,272c-1.4,18.8-5.2,37-11.1,54.1l29.5,12.6 c7.5-21.1,12.2-43.5,13.6-66.8H471.4z M321.2,462c-15.7,5-32.2,8.2-49.2,9.4v32.1c21.2-1.4,41.7-5.4,61.1-11.7L321.2,462z M240,471.4c-18.8-1.4-37-5.2-54.1-11.1l-12.6,29.5c21.1,7.5,43.5,12.2,66.8,13.6V471.4z M462,190.8c5,15.7,8.2,32.2,9.4,49.2h32.1 c-1.4-21.2-5.4-41.7-11.7-61.1L462,190.8z M92.4,397c-12-13.9-22.3-29.4-30.4-46.1l-29.8,11.9c9.9,20.7,22.6,39.8,37.6,56.9 L92.4,397z M272,40.6c18.8,1.4,36.9,5.2,54.1,11.1l12.6-29.5C317.7,14.7,295.3,10,272,8.5V40.6z M190.8,50 c15.7-5,32.2-8.2,49.2-9.4V8.5c-21.2,1.4-41.7,5.4-61.1,11.7L190.8,50z M442.3,92.3L419.6,115c12,13.9,22.3,29.4,30.5,46.1 l29.8-11.9C470,128.5,457.3,109.4,442.3,92.3z M397,92.4l22.7-22.7c-15.6-13.7-32.8-25.5-51.5-34.9l-12.6,29.5 C370.4,72.1,384.4,81.5,397,92.4z"})});let i=R(R({},a),{},{attributeName:"opacity"}),s={tag:"circle",attributes:R(R({},o),{},{cx:"256",cy:"364",r:"28"}),children:[]};return t||s.children.push({tag:"animate",attributes:R(R({},a),{},{attributeName:"r",values:"28;14;28;28;14;28;"})},{tag:"animate",attributes:R(R({},i),{},{values:"1;0;1;1;0;1;"})}),r.push(s),r.push({tag:"path",attributes:R(R({},o),{},{opacity:"1",d:"M263.7,312h-16c-6.6,0-12-5.4-12-12c0-71,77.4-63.9,77.4-107.8c0-20-17.8-40.2-57.4-40.2c-29.1,0-44.3,9.6-59.2,28.7 c-3.9,5-11.1,6-16.2,2.4l-13.1-9.2c-5.6-3.9-6.9-11.8-2.6-17.2c21.2-27.2,46.4-44.7,91.2-44.7c52.3,0,97.4,29.8,97.4,80.2 c0,67.6-77.4,63.5-77.4,107.8C275.7,306.6,270.3,312,263.7,312z"}),children:t?[]:[{tag:"animate",attributes:R(R({},i),{},{values:"1;0;0;0;0;1;"})}]}),t||r.push({tag:"path",attributes:R(R({},o),{},{opacity:"0",d:"M232.5,134.5l7,168c0.3,6.4,5.6,11.5,12,11.5h9c6.4,0,11.7-5.1,12-11.5l7-168c0.3-6.8-5.2-12.5-12-12.5h-23 C237.7,122,232.2,127.7,232.5,134.5z"}),children:[{tag:"animate",attributes:R(R({},i),{},{values:"0;0;1;1;0;0;"})}]}),{tag:"g",attributes:{class:"missing"},children:r}}}},p7={hooks(){return{parseNodeAttributes(e,t){let r=t.getAttribute("data-fa-symbol"),o=r===null?!1:r===""?!0:r;return e.symbol=o,e}}}},h7=[i5,X5,Q5,J5,e7,s7,c7,l7,f7,u7,p7];A5(h7,{mixoutsTo:Se});var eL=Se.noAuto,tL=Se.config,Vd=Se.library,rL=Se.dom,oL=Se.parse,nL=Se.findIconDefinition,aL=Se.toHtml,Kd=Se.icon,iL=Se.layer,sL=Se.text,cL=Se.counter;var y;(function(e){e.LOCK_KEYHOLE="lock-keyhole",e.LINK_SIMPLE_SLASH="link-simple-slash",e.TABLE_LAYOUT="table-layout",e.LAYER_GROUP="layer-group",e.CIRCLE_INFO="circle-info",e.BARS_PROGRESS="bars-progress",e.CODE_COMPARE="code-compare",e.HOURGLASS_END="hourglass-end",e.BOX_ARCHIVE="box-archive",e.ARROWS_ROTATE="arrows-rotate",e.CIRCLE_DOT="circle-dot",e.ANGLES_LEFT="angles-left",e.ROUTE="route",e.BARS="bars",e.ARROW_DOWN="arrow-down",e.LOCK_KEYHOLE_OPEN="lock-keyhole-open",e.DESKTOP="desktop",e.ANGLES_RIGHT="angles-right",e.PIGGY_BANK="piggy-bank",e.ANGLE_UP="angle-up",e.PEN_NIB="pen-nib",e.ARROW_UP_RIGHT_FROM_SQUARE="arrow-up-right-from-square",e.GRID_2="grid-2",e.BOOKS="books",e.TAG="tag",e.ANGLES_UP_DOWN="angles-up-down",e.ARROW_ROTATE_LEFT="arrow-rotate-left",e.EYE_SLASH="eye-slash",e.CIRCLE_DOLLAR="circle-dollar",e.COMPRESS="compress",e.RADAR="radar",e.ARROW_ROTATE_RIGHT="arrow-rotate-right",e.CHART_NETWORK="chart-network",e.PLUS="plus",e.UNDERLINE="underline",e.ARROW_LEFT="arrow-left",e.UPLOAD="upload",e.GLOBE="globe",e.LANGUAGE="language",e.TOGGLE_ON="toggle-on",e.DOWNLOAD="download",e.MESSAGE_QUOTE="message-quote",e.TRIANGLE_EXCLAMATION="triangle-exclamation",e.STAR="star",e.BELL_SLASH="bell-slash",e.HOURGLASS_HALF="hourglass-half",e.INBOX="inbox",e.COMMENT_DOTS="comment-dots",e.ANGLE_DOWN="angle-down",e.CLOUD_ARROW_DOWN="cloud-arrow-down",e.BOOKMARK_SLASH="bookmark-slash",e.LINK_SIMPLE="link-simple",e.CLOCK_ROTATE_LEFT="clock-rotate-left",e.SPINNER_THIRD="spinner-third",e.PLUG="plug",e.CHART_SIMPLE="chart-simple",e.CIRCLE_PLAY="circle-play",e.FILE_MAGNIFYING_GLASS="file-magnifying-glass",e.PEN="pen",e.TABLET="tablet",e.CIRCLE_CHECK="circle-check",e.FILE_INVOICE="file-invoice",e.XMARK="xmark",e.ARROW_RIGHT="arrow-right",e.BOOKMARK="bookmark",e.EXPAND_WIDE="expand-wide",e.USER="user",e.SERVER="server",e.CALENDAR_RANGE="calendar-range",e.BROOM_WIDE="broom-wide",e.ARROWS_UP_DOWN_LEFT_RIGHT="arrows-up-down-left-right",e.WIFI_SLASH="wifi-slash",e.CHECK="check",e.ITALIC="italic",e.LIFE_RING="life-ring",e.TABLE_CELLS="table-cells",e.TRASH_CAN="trash-can",e.WRENCH="wrench",e.PAPERCLIP="paperclip",e.CABINET_FILING="cabinet-filing",e.ARROW_UP="arrow-up",e.FILE="file",e.CIRCLE_QUESTION="circle-question",e.COLUMNS_3="columns-3",e.GEAR="gear",e.CHART_LINE="chart-line",e.THUMBS_UP="thumbs-up",e.HAND="hand",e.CIRCLE="circle",e.CALENDAR_DAY="calendar-day",e.CLOUD="cloud",e.LIST_TREE="list-tree",e.ANGLE_RIGHT="angle-right",e.CODE="code",e.ALIGN_CENTER="align-center",e.COMMENT_QUESTION="comment-question",e.IMAGE="image",e.ARROW_UP_RIGHT_AND_ARROW_DOWN_LEFT_FROM_CENTER="arrow-up-right-and-arrow-down-left-from-center",e.THUMBS_DOWN="thumbs-down",e.DIAGRAM_SANKEY="diagram-sankey",e.MESSAGE_CHECK="message-check",e.BOLD="bold",e.CIRCLE_STOP="circle-stop",e.ARROW_RIGHT_TO_BRACKET="arrow-right-to-bracket",e.USERS="users",e.ARROW_TURN_DOWN_RIGHT="arrow-turn-down-right",e.PRINT="print",e.ALIGN_RIGHT="align-right",e.FLASK="flask",e.MAGNIFYING_GLASS_PLUS="magnifying-glass-plus",e.SHIELD_CHECK="shield-check",e.STRIKETHROUGH="strikethrough",e.FOLDER_OPEN="folder-open",e.CLONE="clone",e.HEART="heart",e.PAPER_PLANE="paper-plane",e.MAGNIFYING_GLASS_MINUS="magnifying-glass-minus",e.BOOK="book",e.CLOCK="clock",e.ELLIPSIS_VERTICAL="ellipsis-vertical",e.ARROW_RIGHT_TO_LINE="arrow-right-to-line",e.ANGLE_LEFT="angle-left",e.CALENDAR_CIRCLE_EXCLAMATION="calendar-circle-exclamation",e.EXPAND="expand",e.EQUALS="equals",e.RECEIPT="receipt",e.EYE="eye",e.ALIGN_LEFT="align-left",e.PAINTBRUSH="paintbrush",e.KEY="key",e.PALETTE="palette",e.FLOPPY_DISK="floppy-disk",e.MAGNIFYING_GLASS="magnifying-glass",e.ELLIPSIS="ellipsis",e.SHARE_NODES="share-nodes",e.ARROWS_FROM_LINE="arrows-from-line",e.POWER_OFF="power-off",e.ENVELOPE_OPEN_TEXT="envelope-open-text",e.CIRCLE_PAUSE="circle-pause",e.MOBILE="mobile",e.BELL="bell",e.FILTER="filter",e.MEDAL="medal",e.CLOUD_SLASH="cloud-slash",e.MINUS="minus",e.PASTE="paste",e.CALENDAR_CHECK="calendar-check",e.HEXAGON_XMARK="hexagon-xmark",e.PAUSE="pause",e.CHART_MIXED="chart-mixed",e.ROBOT="robot",e.WAND_MAGIC_SPARKLES="wand-magic-sparkles",e.HEXAGON_EXCLAMATION="hexagon-exclamation",e.CUBES="cubes",e.TURN_RIGHT="turn-right",e.SQUARE_INFO="square-info",e.MESSAGE_BOT="message-bot",e.PLAY="play",e.TURN_LEFT="turn-left",e.ADDRESS_CARD="address-card",e.CROWN="crown",e.GRIP_LINES="grip-lines",e.CHART_AREA="chart-area",e.TRASH="trash",e.USER_TIE="user-tie",e.CIRCLE_SMALL="circle-small",e.REGULAR_FOLDER_OPEN_LOCK="regular-folder-open-lock",e.REGULAR_USER_CIRCLE_CHECK="regular-user-circle-check",e.SOLID_LEFT_PANEL="solid-left-panel",e.REGULAR_BINDER_OPEN="regular-binder-open",e.REGULAR_BOOKMARK_CIRCLE_PLUS="regular-bookmark-circle-plus",e.REGULAR_DIAGRAM_SUNBURST="regular-diagram-sunburst",e.REGULAR_PREVIEW="regular-preview",e.REGULAR_CONTEXT="regular-context",e.REGULAR_MOBILE_LANDSCAPE="regular-mobile-landscape",e.SOLID_FILE_ROTATE_RIGHT="solid-file-rotate-right",e.REGULAR_PIP_WIDE="regular-pip-wide",e.REGULAR_CLONE_LINK_SIMPLE="regular-clone-link-simple",e.REGULAR_LEFT_PANEL="regular-left-panel",e.LIGHT_FILE_LINES_GEAR="light-file-lines-gear",e.REGULAR_FILE_LINES_GEAR="regular-file-lines-gear",e.REGULAR_CIRCLE_DASHED_DOLLAR_QUESTION="regular-circle-dashed-dollar-question",e.REGULAR_TABLE_CELLS_SLASH="regular-table-cells-slash",e.REGULAR_BOOK_OPEN_GEAR_SLASH="regular-book-open-gear-slash",e.REGULAR_TABLET_LANDSCAPE="regular-tablet-landscape",e.REGULAR_CHART_BAR_STACKED="regular-chart-bar-stacked",e.SOLID_CIRCLE_USER_CIRCLE_CHECK="solid-circle-user-circle-check",e.REGULAR_BULLETS_LINE="regular-bullets-line",e.REGULAR_LANGUAGE_CIRCLE_EXCLAMATION="regular-language-circle-exclamation",e.SOLID_CODE_COMPARE="solid-code-compare",e.REGULAR_FORMAT_CLEAR="regular-format-clear",e.REGULAR_MAGNIFYING_GLASS_BACK="regular-magnifying-glass-back",e.LIGHT_RECEIPT_GEAR="light-receipt-gear",e.REGULAR_BINDER_OPEN_ARROW_LEFT="regular-binder-open-arrow-left",e.REGULAR_HOURGLASS_HALF_CIRCLE_CHECK="regular-hourglass-half-circle-check",e.REGULAR_THRESHOLD="regular-threshold",e.REGULAR_PIP="regular-pip",e.REGULAR_USER_GEAR="regular-user-gear",e.REGULAR_BELL_CIRCLE_PLUS="regular-bell-circle-plus",e.REGULAR_CLOUD_SLASH_GEAR="regular-cloud-slash-gear",e.REGULAR_HOUSE_MAGNIFYING_GLASS="regular-house-magnifying-glass",e.SOLID_CIRCLE_USER_SLASH="solid-circle-user-slash",e.REGULAR_LIST_MAGNIFYING_GLASS="regular-list-magnifying-glass",e.REGULAR_COMPUTER_MOUSE_MAGNIFYING_GLASS="regular-computer-mouse-magnifying-glass",e.REGULAR_LANGUAGE_SLASH="regular-language-slash",e.REGULAR_CHART_BAR_GROUPED="regular-chart-bar-grouped",e.REGULAR_CONSUMER="regular-consumer",e.REGULAR_CHART_BAR_NORMALIZED="regular-chart-bar-normalized",e.REGULAR_USER_LOCK="regular-user-lock",e.REGULAR_CIRCLE_DOLLAR_SLASH="regular-circle-dollar-slash",e.REGULAR_BINDER_OPEN_ARROW_RIGHT="regular-binder-open-arrow-right",e.REGULAR_BULLETS_LINES="regular-bullets-lines",e.REGULAR_BINDER_OPEN_PEN="regular-binder-open-pen",e.REGULAR_BOOKMARK_CIRCLE_MINUS="regular-bookmark-circle-minus",e.REGULAR_MAGNIFYING_GLASS_ONE="regular-magnifying-glass-one",e.REGULAR_BOOK_OPEN_GEAR="regular-book-open-gear",e.LIGHT_BOOK_OPEN_GEAR="light-book-open-gear"})(y||(y={}));var fL={[y.LOCK_KEYHOLE]:[m.regular,m.solid],[y.LINK_SIMPLE_SLASH]:[m.regular],[y.TABLE_LAYOUT]:[m.regular],[y.LAYER_GROUP]:[m.regular],[y.CIRCLE_INFO]:[m.regular],[y.BARS_PROGRESS]:[m.regular],[y.CODE_COMPARE]:[m.regular,m.solid],[y.HOURGLASS_END]:[m.regular],[y.BOX_ARCHIVE]:[m.regular,m.solid],[y.ARROWS_ROTATE]:[m.regular],[y.CIRCLE_DOT]:[m.regular],[y.ANGLES_LEFT]:[m.regular],[y.ROUTE]:[m.regular],[y.BARS]:[m.regular],[y.ARROW_DOWN]:[m.regular],[y.LOCK_KEYHOLE_OPEN]:[m.regular,m.solid],[y.DESKTOP]:[m.regular],[y.ANGLES_RIGHT]:[m.regular],[y.PIGGY_BANK]:[m.regular],[y.ANGLE_UP]:[m.regular],[y.PEN_NIB]:[m.regular],[y.ARROW_UP_RIGHT_FROM_SQUARE]:[m.regular],[y.GRID_2]:[m.regular],[y.BOOKS]:[m.regular],[y.TAG]:[m.regular,m.solid],[y.ANGLES_UP_DOWN]:[m.regular],[y.ARROW_ROTATE_LEFT]:[m.regular],[y.EYE_SLASH]:[m.regular],[y.CIRCLE_DOLLAR]:[m.regular,m.solid],[y.COMPRESS]:[m.regular],[y.RADAR]:[m.regular],[y.ARROW_ROTATE_RIGHT]:[m.regular],[y.CHART_NETWORK]:[m.regular],[y.PLUS]:[m.regular],[y.UNDERLINE]:[m.regular],[y.ARROW_LEFT]:[m.regular],[y.UPLOAD]:[m.regular],[y.GLOBE]:[m.regular],[y.LANGUAGE]:[m.regular],[y.TOGGLE_ON]:[m.regular],[y.DOWNLOAD]:[m.regular],[y.MESSAGE_QUOTE]:[m.regular,m.solid],[y.TRIANGLE_EXCLAMATION]:[m.regular,m.solid],[y.STAR]:[m.regular,m.solid],[y.BELL_SLASH]:[m.regular,m.solid],[y.HOURGLASS_HALF]:[m.regular],[y.INBOX]:[m.regular],[y.COMMENT_DOTS]:[m.regular],[y.ANGLE_DOWN]:[m.regular],[y.CLOUD_ARROW_DOWN]:[m.regular],[y.BOOKMARK_SLASH]:[m.regular],[y.LINK_SIMPLE]:[m.regular],[y.CLOCK_ROTATE_LEFT]:[m.regular],[y.SPINNER_THIRD]:[m.regular],[y.PLUG]:[m.regular],[y.CHART_SIMPLE]:[m.regular],[y.CIRCLE_PLAY]:[m.regular],[y.FILE_MAGNIFYING_GLASS]:[m.regular],[y.PEN]:[m.regular],[y.TABLET]:[m.regular],[y.CIRCLE_CHECK]:[m.regular,m.solid],[y.FILE_INVOICE]:[m.regular],[y.XMARK]:[m.regular,m.solid],[y.ARROW_RIGHT]:[m.regular],[y.BOOKMARK]:[m.regular,m.solid],[y.EXPAND_WIDE]:[m.regular],[y.USER]:[m.regular,m.solid],[y.SERVER]:[m.regular,m.solid],[y.CALENDAR_RANGE]:[m.regular],[y.BROOM_WIDE]:[m.regular],[y.ARROWS_UP_DOWN_LEFT_RIGHT]:[m.regular],[y.WIFI_SLASH]:[m.regular],[y.CHECK]:[m.regular,m.solid],[y.ITALIC]:[m.regular],[y.LIFE_RING]:[m.regular],[y.TABLE_CELLS]:[m.regular],[y.TRASH_CAN]:[m.regular],[y.WRENCH]:[m.regular],[y.PAPERCLIP]:[m.regular],[y.CABINET_FILING]:[m.regular],[y.ARROW_UP]:[m.regular],[y.FILE]:[m.regular],[y.CIRCLE_QUESTION]:[m.regular,m.solid],[y.COLUMNS_3]:[m.regular],[y.GEAR]:[m.regular,m.solid],[y.CHART_LINE]:[m.regular],[y.THUMBS_UP]:[m.regular,m.solid],[y.HAND]:[m.regular],[y.CIRCLE]:[m.regular,m.solid],[y.CALENDAR_DAY]:[m.regular],[y.CLOUD]:[m.regular],[y.LIST_TREE]:[m.regular],[y.ANGLE_RIGHT]:[m.regular],[y.CODE]:[m.regular],[y.ALIGN_CENTER]:[m.regular],[y.COMMENT_QUESTION]:[m.regular,m.solid],[y.IMAGE]:[m.regular],[y.ARROW_UP_RIGHT_AND_ARROW_DOWN_LEFT_FROM_CENTER]:[m.regular],[y.THUMBS_DOWN]:[m.regular,m.solid],[y.DIAGRAM_SANKEY]:[m.regular],[y.MESSAGE_CHECK]:[m.regular,m.solid],[y.BOLD]:[m.regular],[y.CIRCLE_STOP]:[m.regular,m.solid],[y.ARROW_RIGHT_TO_BRACKET]:[m.regular],[y.USERS]:[m.regular,m.solid],[y.ARROW_TURN_DOWN_RIGHT]:[m.regular],[y.PRINT]:[m.regular],[y.ALIGN_RIGHT]:[m.regular],[y.FLASK]:[m.regular],[y.MAGNIFYING_GLASS_PLUS]:[m.regular],[y.SHIELD_CHECK]:[m.regular],[y.STRIKETHROUGH]:[m.regular],[y.FOLDER_OPEN]:[m.regular],[y.CLONE]:[m.regular],[y.HEART]:[m.regular,m.solid],[y.PAPER_PLANE]:[m.regular],[y.MAGNIFYING_GLASS_MINUS]:[m.regular],[y.BOOK]:[m.regular],[y.CLOCK]:[m.regular,m.solid],[y.ELLIPSIS_VERTICAL]:[m.regular],[y.ARROW_RIGHT_TO_LINE]:[m.regular],[y.ANGLE_LEFT]:[m.regular],[y.CALENDAR_CIRCLE_EXCLAMATION]:[m.regular],[y.EXPAND]:[m.regular],[y.EQUALS]:[m.regular],[y.RECEIPT]:[m.regular],[y.EYE]:[m.regular],[y.ALIGN_LEFT]:[m.regular],[y.PAINTBRUSH]:[m.regular],[y.KEY]:[m.regular],[y.PALETTE]:[m.regular],[y.FLOPPY_DISK]:[m.regular],[y.MAGNIFYING_GLASS]:[m.regular],[y.ELLIPSIS]:[m.regular],[y.SHARE_NODES]:[m.regular],[y.ARROWS_FROM_LINE]:[m.regular],[y.POWER_OFF]:[m.regular],[y.ENVELOPE_OPEN_TEXT]:[m.regular],[y.CIRCLE_PAUSE]:[m.regular,m.solid],[y.MOBILE]:[m.regular],[y.BELL]:[m.regular,m.solid],[y.FILTER]:[m.regular,m.solid],[y.MEDAL]:[m.regular],[y.CLOUD_SLASH]:[m.regular],[y.MINUS]:[m.regular,m.solid],[y.PASTE]:[m.regular],[y.CALENDAR_CHECK]:[m.regular],[y.HEXAGON_XMARK]:[m.solid],[y.PAUSE]:[m.solid],[y.CHART_MIXED]:[m.solid],[y.ROBOT]:[m.solid],[y.WAND_MAGIC_SPARKLES]:[m.solid],[y.HEXAGON_EXCLAMATION]:[m.solid],[y.CUBES]:[m.solid],[y.TURN_RIGHT]:[m.solid],[y.SQUARE_INFO]:[m.solid],[y.MESSAGE_BOT]:[m.solid],[y.PLAY]:[m.solid],[y.TURN_LEFT]:[m.solid],[y.ADDRESS_CARD]:[m.solid],[y.CROWN]:[m.solid],[y.GRIP_LINES]:[m.solid],[y.CHART_AREA]:[m.solid],[y.TRASH]:[m.solid],[y.USER_TIE]:[m.solid],[y.CIRCLE_SMALL]:[m.solid],[y.REGULAR_FOLDER_OPEN_LOCK]:[m.custom],[y.REGULAR_USER_CIRCLE_CHECK]:[m.custom],[y.SOLID_LEFT_PANEL]:[m.custom],[y.REGULAR_BINDER_OPEN]:[m.custom],[y.REGULAR_BOOKMARK_CIRCLE_PLUS]:[m.custom],[y.REGULAR_DIAGRAM_SUNBURST]:[m.custom],[y.REGULAR_PREVIEW]:[m.custom],[y.REGULAR_CONTEXT]:[m.custom],[y.REGULAR_MOBILE_LANDSCAPE]:[m.custom],[y.SOLID_FILE_ROTATE_RIGHT]:[m.custom],[y.REGULAR_PIP_WIDE]:[m.custom],[y.REGULAR_CLONE_LINK_SIMPLE]:[m.custom],[y.REGULAR_LEFT_PANEL]:[m.custom],[y.LIGHT_FILE_LINES_GEAR]:[m.custom],[y.REGULAR_FILE_LINES_GEAR]:[m.custom],[y.REGULAR_CIRCLE_DASHED_DOLLAR_QUESTION]:[m.custom],[y.REGULAR_TABLE_CELLS_SLASH]:[m.custom],[y.REGULAR_BOOK_OPEN_GEAR_SLASH]:[m.custom],[y.REGULAR_TABLET_LANDSCAPE]:[m.custom],[y.REGULAR_CHART_BAR_STACKED]:[m.custom],[y.SOLID_CIRCLE_USER_CIRCLE_CHECK]:[m.custom],[y.REGULAR_BULLETS_LINE]:[m.custom],[y.REGULAR_LANGUAGE_CIRCLE_EXCLAMATION]:[m.custom],[y.SOLID_CODE_COMPARE]:[m.custom],[y.REGULAR_FORMAT_CLEAR]:[m.custom],[y.REGULAR_MAGNIFYING_GLASS_BACK]:[m.custom],[y.LIGHT_RECEIPT_GEAR]:[m.custom],[y.REGULAR_BINDER_OPEN_ARROW_LEFT]:[m.custom],[y.REGULAR_HOURGLASS_HALF_CIRCLE_CHECK]:[m.custom],[y.REGULAR_THRESHOLD]:[m.custom],[y.REGULAR_PIP]:[m.custom],[y.REGULAR_USER_GEAR]:[m.custom],[y.REGULAR_BELL_CIRCLE_PLUS]:[m.custom],[y.REGULAR_CLOUD_SLASH_GEAR]:[m.custom],[y.REGULAR_HOUSE_MAGNIFYING_GLASS]:[m.custom],[y.SOLID_CIRCLE_USER_SLASH]:[m.custom],[y.REGULAR_LIST_MAGNIFYING_GLASS]:[m.custom],[y.REGULAR_COMPUTER_MOUSE_MAGNIFYING_GLASS]:[m.custom],[y.REGULAR_LANGUAGE_SLASH]:[m.custom],[y.REGULAR_CHART_BAR_GROUPED]:[m.custom],[y.REGULAR_CONSUMER]:[m.custom],[y.REGULAR_CHART_BAR_NORMALIZED]:[m.custom],[y.REGULAR_USER_LOCK]:[m.custom],[y.REGULAR_CIRCLE_DOLLAR_SLASH]:[m.custom],[y.REGULAR_BINDER_OPEN_ARROW_RIGHT]:[m.custom],[y.REGULAR_BULLETS_LINES]:[m.custom],[y.REGULAR_BINDER_OPEN_PEN]:[m.custom],[y.REGULAR_BOOKMARK_CIRCLE_MINUS]:[m.custom],[y.REGULAR_MAGNIFYING_GLASS_ONE]:[m.custom],[y.REGULAR_BOOK_OPEN_GEAR]:[m.custom],[y.LIGHT_BOOK_OPEN_GEAR]:[m.custom]},Zd={[m.regular]:"far",[m.solid]:"fas",[m.custom]:"fak"};var Un=function(e,t,r,o){var a=arguments.length,i=a<3?t:o===null?o=Object.getOwnPropertyDescriptor(t,r):o,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(e,t,r,o);else for(var c=e.length-1;c>=0;c--)(s=e[c])&&(i=(a<3?s(i):a>3?s(t,r,i):s(t,r))||i);return a>3&&i&&Object.defineProperty(t,r,i),i},Ke=class extends K{constructor(){super(...arguments),this.monospace=!1,this.ariaHidden="true"}render(){let t={"ftds-icon":!0,"ftds-icon--monospace":this.monospace};return Q`
991
991
  <div class="${wt(t)}">${Jr(this.buildIcon())}</div>
992
- `}buildIcon(){let t=this.variant?Zd[this.variant]:void 0,r=Ms.find(o=>o.iconName===this.icon&&(t?o.prefix===t:!0));return r?(Vd.add(r),Kd(r).html[0]):(console.log(`Attempted usage of unknown ftds-icon : ${this.icon}/${this.variant}`),"")}};Ke.elementDefinitions={};Ke.styles=M2;Un([N()],Ke.prototype,"variant",void 0);Un([N()],Ke.prototype,"icon",void 0);Un([N({type:Boolean})],Ke.prototype,"monospace",void 0);Un([N({reflect:!0,attribute:"aria-hidden"})],Ke.prototype,"ariaHidden",void 0);se("ft-icon")(ve);se("ftds-icon")(Ke);var Bn=function(e,t,r,o){var a=arguments.length,i=a<3?t:o===null?o=Object.getOwnPropertyDescriptor(t,r):o,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(e,t,r,o);else for(var c=e.length-1;c>=0;c--)(s=e[c])&&(i=(a<3?s(i):a>3?s(t,r,i):s(t,r))||i);return a>3&&i&&Object.defineProperty(t,r,i),i},GL=oe(Symbol("withDateFormat"),function(e){class t extends e{constructor(...o){super(o),this.useLongDateFormat=!1,this.useDateTimeFormat=!1,this.metadataDescriptors=[],this.uiLocale="en-US",this.addStore(I)}dateFormatOptionsChanged(o){return o.has("metadataDescriptors")||o.has("useLongDateFormat")||o.has("useDateTimeFormat")||o.has("uiLocale")}getDateFormatter(o){var a,i;return((i=(a=this.metadataDescriptors.find(c=>c.key===o))===null||a===void 0?void 0:a.date)!==null&&i!==void 0?i:!1)?c=>Wt.format(c,this.uiLocale,this.useLongDateFormat,this.useDateTimeFormat):void 0}}return Bn([N({type:Boolean})],t.prototype,"useLongDateFormat",void 0),Bn([N({type:Boolean})],t.prototype,"useDateTimeFormat",void 0),Bn([$e({store:I.name,selector:r=>{var o,a;return(a=(o=r.metadataConfiguration)===null||o===void 0?void 0:o.descriptors)!==null&&a!==void 0?a:[]}})],t.prototype,"metadataDescriptors",void 0),Bn([$e({store:I.name})],t.prototype,"uiLocale",void 0),t});var pc=class{addCommand(t,r=!1){I.commands.add(t,r)}consumeCommand(t){return I.commands.consume(t)}};window.FluidTopicsAppInfoStoreService=new pc;var Yd,Fr=class extends CustomEvent{constructor(t){super("ft-i18n-context-loaded",{detail:t})}},m7=Symbol("clearAfterUnitTest"),Hn=class extends Yo(xe){constructor(t){super(),this.messageContextProvider=t,this.defaultMessages={},this.listeners={},this.currentUiLocale="",this[Yd]=()=>{this.defaultMessages={},this.cache=new Be,this.listeners={}},this.currentUiLocale=I.getState().uiLocale,I.subscribe(()=>this.clearWhenUiLocaleChanges())}clearWhenUiLocaleChanges(){let{uiLocale:t}=I.getState();this.currentUiLocale!==t&&(this.currentUiLocale=t,this.cache.clearAll(),this.notifyAll())}addContext(t){let r=t.name.toLowerCase();this.cache.setFinal(r,t),this.notify(r)}getAllContexts(){return this.cache.resolvedValues()}async prepareContext(t,r){var o;if(t=t.toLowerCase(),r&&Object.keys(r).length>0){let a={...(o=this.defaultMessages[t])!==null&&o!==void 0?o:{},...r};ge(this.defaultMessages[t],a)||(this.defaultMessages[t]=a,await this.notify(t))}return this.fetchContext(t)}resolveContext(t){var r,o;return this.fetchContext(t),(o=(r=this.cache.getNow(t))===null||r===void 0?void 0:r.messages)!==null&&o!==void 0?o:{}}resolveRawMessage(t,r){let o=t.toLowerCase();return this.resolveContext(o)[r]}resolveMessage(t,r,...o){var a;let i=t.toLowerCase(),s=this.resolveContext(i);return new uo((a=this.defaultMessages[i])!==null&&a!==void 0?a:{},s).resolve(r,...o)}async fetchContext(t){let r=!this.cache.has(t),o;try{o=await this.cache.get(t,()=>this.messageContextProvider(this.currentUiLocale,t)),r&&await this.notify(t)}catch(a){!(a instanceof _t)&&r&&console.error(a)}return o}subscribe(t,r){var o;return t=t.toLowerCase(),this.listeners[t]=(o=this.listeners[t])!==null&&o!==void 0?o:new Set,this.listeners[t].add(r),()=>{var a;return(a=this.listeners[t])===null||a===void 0?void 0:a.delete(r)}}async notifyAll(){let t=Object.keys(this.listeners);document.body.dispatchEvent(new Fr({loadedContexts:t})),this.dispatchEvent(new Fr({loadedContexts:t})),await Promise.all(t.map(r=>this.notify(r,!1)))}async notify(t,r=!0){r&&(document.body.dispatchEvent(new Fr({loadedContexts:[t]})),this.dispatchEvent(new Fr({loadedContexts:[t]}))),this.listeners[t]!=null&&await Promise.all([...this.listeners[t].values()].map(o=>Zo(0).then(()=>o()).catch(()=>null)))}};Yd=m7;window.FluidTopicsI18nService==null&&(window.FluidTopicsI18nService=new class extends Hn{constructor(){super(async(e,t)=>(await this.awaitApi).getFluidTopicsMessageContext(e,t))}});window.FluidTopicsCustomI18nService==null&&(window.FluidTopicsCustomI18nService=new class extends Hn{constructor(){super(async(e,t)=>(await this.awaitApi).getCustomMessageContext(e,t))}});var $r=window.FluidTopicsI18nService,Gn=window.FluidTopicsCustomI18nService;var hc=class{highlightHtml(t,r,o){vi(t,r,o)}};window.FluidTopicsHighlightHtmlService=new hc;var mc=class{isDate(t){var r,o,a,i;return(i=(a=((o=(r=I.getState().metadataConfiguration)===null||r===void 0?void 0:r.descriptors)!==null&&o!==void 0?o:[]).find(c=>c.key===t))===null||a===void 0?void 0:a.date)!==null&&i!==void 0?i:!1}format(t,r){var o,a,i;if(t==null)return"";try{return Wt.format(t,(o=r?.locale)!==null&&o!==void 0?o:I.getState().uiLocale,(a=r?.longFormat)!==null&&a!==void 0?a:!1,(i=r?.withTime)!==null&&i!==void 0?i:!1)}catch(s){throw console.error(`Date ${JSON.stringify(t)} is not valid`,s),s}}};window.FluidTopicsDateService=new mc;var No=class{static get(t,r){var o,a;let i=I.getState(),{lang:s,region:c}=(a=(o=i.defaultLocales)===null||o===void 0?void 0:o.defaultContentLocale)!==null&&a!==void 0?a:{lang:"en",region:"US"};return new Cr(i.baseUrl,t??20,i.searchInAllLanguagesAllowed,r??`${s}-${c}`)}};var gc=class{urlToSearchRequest(t){return No.get().parse(t)}searchRequestToUrl(t){return No.get().serialize(t)}};window.FluidTopicsUrlService=new gc;var er=class e extends CustomEvent{constructor(t){super(e.eventName,{detail:{currentItem:t}})}};er.eventName="change";var yc=class{itemName(t){return`fluid-topics-history-item-${t}`}get(t){let r=sessionStorage.getItem(this.itemName(t));return r?JSON.parse(r):void 0}set(t,r){sessionStorage.setItem(this.itemName(t),JSON.stringify(r))}},qd=new yc;var Fn=class e extends Xe{static build(){return new e(window.history,qd,()=>window.location,!1)}constructor(t,r,o,a){var i,s;super(),this.history=t,this.historyStorage=r,this.windowLocation=o,this.states=[],this.realPushState=t.pushState,this.realReplaceState=t.replaceState,this.initialIndex=(s=(i=t.state)===null||i===void 0?void 0:i.index)!==null&&s!==void 0?s:t.length-1,this.currentIndex=this.initialIndex,this.setCurrentState(this.buildCurrentState()),this.installProxies(),this.initEventListeners(),this.initData(a)}setCurrentState(t,r=!1){let o=r&&this.currentIndex===t.index-1;this.currentState={...this.buildCurrentState(),...t},this.currentIndex=this.currentState.index,this.states[this.currentIndex]=this.currentState,o&&(this.states=this.states.slice(0,this.currentIndex+1)),this.historyStorage.set(this.currentIndex,this.currentState),ge(this.currentState,this.history.state)||this.realReplaceState.apply(this.history,[this.currentState,this.currentState.title,window.location.href]),setTimeout(()=>this.dispatchEvent(new er(this.currentItem())),0)}installProxies(){let t=r=>(o,a,[i,s,c])=>{let d=r(),f={...d===this.currentIndex?this.currentState:void 0,...i,index:d,href:typeof c=="string"?c:(c??this.windowLocation()).href};o.apply(a,[f,s,c]),this.setCurrentState(f,!0)};this.history.pushState=new Proxy(this.history.pushState,{apply:t(()=>this.currentIndex+1)}),this.history.replaceState=new Proxy(this.history.replaceState,{apply:t(()=>this.currentIndex)})}initEventListeners(){window.addEventListener("popstate",t=>this.setCurrentState(t.state)),document.querySelector("title")==null&&document.head.append(document.createElement("title")),new MutationObserver(()=>this.updateCurrentState({title:document.title})).observe(document.querySelector("title"),{subtree:!0,characterData:!0,childList:!0})}initData(t){for(let r=this.history.length-1;r>=0;r--)t?this.states[r]=this.historyStorage.get(r):setTimeout(()=>this.states[r]=this.historyStorage.get(r),this.history.length-r)}updateCurrentState(t){var r;let o={...this.buildCurrentState(),...t,index:this.currentIndex,title:(r=t?.title)!==null&&r!==void 0?r:this.currentState.title};this.setCurrentState(o)}addHistoryChangeListener(t){this.addEventListener(er.eventName,t)}removeHistoryChangeListener(t){this.removeEventListener(er.eventName,t)}currentItem(){return Tt(this.currentState)}back(){let t=this.previousDifferentMajorPosition();t>=0?this.history.go(t-this.currentIndex):this.currentIndex!==this.initialIndex?this.history.go(this.initialIndex-this.currentIndex):this.history.back()}backwardItem(){return Tt(this.states[this.previousDifferentMajorPosition()])}previousDifferentMajorPosition(){let t=this.currentIndex>0?this.currentIndex-1:0;for(;t>0&&!this.isDifferentMajorState(t);)t--;return t}forward(){let t=this.nextMajorPosition();t&&t<this.states.length?this.history.go(t-this.currentIndex):this.history.forward()}forwardItem(){let t=this.nextMajorPosition();if(t)return Tt(this.states[t])}nextMajorPosition(){let t=this.currentIndex;if(!(t>=this.states.length)){do t++;while(t<this.states.length&&!this.isDifferentMajorState(t));return this.getHigherPositionInTheSameState(t)}}getHigherPositionInTheSameState(t){var r;let o=(r=this.states[t])===null||r===void 0?void 0:r.majorStateId;if(!o)return t;let a=t,i=t+1;for(;this.states.length>i&&!this.isDifferentMajorState(i,o);)this.hasState(i)&&(a=i),i++;return a}buildCurrentState(){var t,r;return{...this.history.state,index:this.currentIndex,href:this.windowLocation().href,title:(r=(t=this.history.state)===null||t===void 0?void 0:t.title)!==null&&r!==void 0?r:document.title}}hasState(t){return this.states[t]!=null}isDifferentMajorState(t,r){var o;if(!this.hasState(t))return!1;let a=r??this.currentState.majorStateId,i=(o=this.states[t])===null||o===void 0?void 0:o.majorStateId;return i==null||i!=a}};window.FluidTopicsInternalHistoryService==null&&(window.FluidTopicsInternalHistoryService=Fn.build(),window.FluidTopicsHistoryService={currentItem:()=>window.FluidTopicsInternalHistoryService.currentItem(),back:()=>window.FluidTopicsInternalHistoryService.back(),forward:()=>window.FluidTopicsInternalHistoryService.forward(),backwardItem:()=>window.FluidTopicsInternalHistoryService.backwardItem(),forwardItem:()=>window.FluidTopicsInternalHistoryService.forwardItem(),addHistoryChangeListener:e=>window.FluidTopicsInternalHistoryService.addHistoryChangeListener(e),removeHistoryChangeListener:e=>window.FluidTopicsInternalHistoryService.removeHistoryChangeListener(e)});var Xd=U`
992
+ `}buildIcon(){let t=this.variant?Zd[this.variant]:void 0,r=Ms.find(o=>o.iconName===this.icon&&(t?o.prefix===t:!0));return r?(Vd.add(r),Kd(r).html[0]):(console.log(`Attempted usage of unknown ftds-icon : ${this.icon}/${this.variant}`),"")}};Ke.elementDefinitions={};Ke.styles=M2;Un([N()],Ke.prototype,"variant",void 0);Un([N()],Ke.prototype,"icon",void 0);Un([N({type:Boolean})],Ke.prototype,"monospace",void 0);Un([N({reflect:!0,attribute:"aria-hidden"})],Ke.prototype,"ariaHidden",void 0);se("ft-icon")(ve);se("ftds-icon")(Ke);var Bn=function(e,t,r,o){var a=arguments.length,i=a<3?t:o===null?o=Object.getOwnPropertyDescriptor(t,r):o,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(e,t,r,o);else for(var c=e.length-1;c>=0;c--)(s=e[c])&&(i=(a<3?s(i):a>3?s(t,r,i):s(t,r))||i);return a>3&&i&&Object.defineProperty(t,r,i),i},GL=oe(Symbol("withDateFormat"),function(e){class t extends e{constructor(...o){super(o),this.useLongDateFormat=!1,this.useDateTimeFormat=!1,this.metadataDescriptors=[],this.uiLocale="en-US",this.addStore(I)}dateFormatOptionsChanged(o){return o.has("metadataDescriptors")||o.has("useLongDateFormat")||o.has("useDateTimeFormat")||o.has("uiLocale")}getDateFormatter(o){var a,i;return((i=(a=this.metadataDescriptors.find(c=>c.key===o))===null||a===void 0?void 0:a.date)!==null&&i!==void 0?i:!1)?c=>Wt.format(c,this.uiLocale,this.useLongDateFormat,this.useDateTimeFormat):void 0}}return Bn([N({type:Boolean})],t.prototype,"useLongDateFormat",void 0),Bn([N({type:Boolean})],t.prototype,"useDateTimeFormat",void 0),Bn([$e({store:I.name,selector:r=>{var o,a;return(a=(o=r.metadataConfiguration)===null||o===void 0?void 0:o.descriptors)!==null&&a!==void 0?a:[]}})],t.prototype,"metadataDescriptors",void 0),Bn([$e({store:I.name})],t.prototype,"uiLocale",void 0),t});var pc=class{addCommand(t,r=!1){I.commands.add(t,r)}consumeCommand(t){return I.commands.consume(t)}};window.FluidTopicsAppInfoStoreService=new pc;var Yd,Fr=class extends CustomEvent{constructor(t){super("ft-i18n-context-loaded",{detail:t})}},m7=Symbol("clearAfterUnitTest"),Hn=class extends Yo(xe){constructor(t){super(),this.messageContextProvider=t,this.defaultMessages={},this.listeners={},this.currentUiLocale="",this[Yd]=()=>{this.defaultMessages={},this.cache=new Be,this.listeners={}},this.currentUiLocale=I.getState().uiLocale,I.subscribe(()=>this.clearWhenUiLocaleChanges())}clearWhenUiLocaleChanges(){let{uiLocale:t}=I.getState();this.currentUiLocale!==t&&(this.currentUiLocale=t,this.cache.clearAll(),this.notifyAll())}addContext(t){let r=t.name.toLowerCase();this.cache.setFinal(r,t),this.notify(r)}getAllContexts(){return this.cache.resolvedValues()}async prepareContext(t,r){var o;if(t=t.toLowerCase(),r&&Object.keys(r).length>0){let a={...(o=this.defaultMessages[t])!==null&&o!==void 0?o:{},...r};ge(this.defaultMessages[t],a)||(this.defaultMessages[t]=a,await this.notify(t))}return this.fetchContext(t)}resolveContext(t){var r,o;return this.fetchContext(t),(o=(r=this.cache.getNow(t))===null||r===void 0?void 0:r.messages)!==null&&o!==void 0?o:{}}resolveRawMessage(t,r){let o=t.toLowerCase();return this.resolveContext(o)[r]}resolveMessage(t,r,...o){var a;let i=t.toLowerCase(),s=this.resolveContext(i);return new uo((a=this.defaultMessages[i])!==null&&a!==void 0?a:{},s).resolve(r,...o)}async fetchContext(t){let r=!this.cache.has(t),o;try{o=await this.cache.get(t,()=>this.messageContextProvider(this.currentUiLocale,t)),r&&await this.notify(t)}catch(a){!(a instanceof _t)&&r&&console.error(a)}return o}subscribe(t,r){var o;return t=t.toLowerCase(),this.listeners[t]=(o=this.listeners[t])!==null&&o!==void 0?o:new Set,this.listeners[t].add(r),()=>{var a;return(a=this.listeners[t])===null||a===void 0?void 0:a.delete(r)}}async notifyAll(){let t=Object.keys(this.listeners);document.body.dispatchEvent(new Fr({loadedContexts:t})),this.dispatchEvent(new Fr({loadedContexts:t})),await Promise.all(t.map(r=>this.notify(r,!1)))}async notify(t,r=!0){r&&(document.body.dispatchEvent(new Fr({loadedContexts:[t]})),this.dispatchEvent(new Fr({loadedContexts:[t]}))),this.listeners[t]!=null&&await Promise.all([...this.listeners[t].values()].map(o=>Zo(0).then(()=>o()).catch(()=>null)))}};Yd=m7;window.FluidTopicsI18nService==null&&(window.FluidTopicsI18nService=new class extends Hn{constructor(){super(async(e,t)=>(await this.awaitApi).getFluidTopicsMessageContext(e,t))}});window.FluidTopicsCustomI18nService==null&&(window.FluidTopicsCustomI18nService=new class extends Hn{constructor(){super(async(e,t)=>(await this.awaitApi).getCustomMessageContext(e,t))}});var $r=window.FluidTopicsI18nService,Gn=window.FluidTopicsCustomI18nService;var hc=class{highlightHtml(t,r,o){vi(t,r,o)}};window.FluidTopicsHighlightHtmlService=new hc;var mc=class{isDate(t){var r,o,a,i;return(i=(a=((o=(r=I.getState().metadataConfiguration)===null||r===void 0?void 0:r.descriptors)!==null&&o!==void 0?o:[]).find(c=>c.key===t))===null||a===void 0?void 0:a.date)!==null&&i!==void 0?i:!1}format(t,r){var o,a,i,s;if(t==null)return"";try{return Wt.format(t,(o=r?.locale)!==null&&o!==void 0?o:I.getState().uiLocale,(a=r?.longFormat)!==null&&a!==void 0?a:!1,(i=r?.withTime)!==null&&i!==void 0?i:!1,(s=r?.onlyTime)!==null&&s!==void 0?s:!1)}catch(c){throw console.error(`Date ${JSON.stringify(t)} is not valid`,c),c}}};window.FluidTopicsDateService=new mc;var No=class{static get(t,r){var o,a;let i=I.getState(),{lang:s,region:c}=(a=(o=i.defaultLocales)===null||o===void 0?void 0:o.defaultContentLocale)!==null&&a!==void 0?a:{lang:"en",region:"US"};return new Cr(i.baseUrl,t??20,i.searchInAllLanguagesAllowed,r??`${s}-${c}`)}};var gc=class{urlToSearchRequest(t){return No.get().parse(t)}searchRequestToUrl(t){return No.get().serialize(t)}};window.FluidTopicsUrlService=new gc;var er=class e extends CustomEvent{constructor(t){super(e.eventName,{detail:{currentItem:t}})}};er.eventName="change";var yc=class{itemName(t){return`fluid-topics-history-item-${t}`}get(t){let r=sessionStorage.getItem(this.itemName(t));return r?JSON.parse(r):void 0}set(t,r){sessionStorage.setItem(this.itemName(t),JSON.stringify(r))}},qd=new yc;var Fn=class e extends Xe{static build(){return new e(window.history,qd,()=>window.location,!1)}constructor(t,r,o,a){var i,s;super(),this.history=t,this.historyStorage=r,this.windowLocation=o,this.states=[],this.realPushState=t.pushState,this.realReplaceState=t.replaceState,this.initialIndex=(s=(i=t.state)===null||i===void 0?void 0:i.index)!==null&&s!==void 0?s:t.length-1,this.currentIndex=this.initialIndex,this.setCurrentState(this.buildCurrentState()),this.installProxies(),this.initEventListeners(),this.initData(a)}setCurrentState(t,r=!1){let o=r&&this.currentIndex===t.index-1;this.currentState={...this.buildCurrentState(),...t},this.currentIndex=this.currentState.index,this.states[this.currentIndex]=this.currentState,o&&(this.states=this.states.slice(0,this.currentIndex+1)),this.historyStorage.set(this.currentIndex,this.currentState),ge(this.currentState,this.history.state)||this.realReplaceState.apply(this.history,[this.currentState,this.currentState.title,window.location.href]),setTimeout(()=>this.dispatchEvent(new er(this.currentItem())),0)}installProxies(){let t=r=>(o,a,[i,s,c])=>{let d=r(),f={...d===this.currentIndex?this.currentState:void 0,...i,index:d,href:typeof c=="string"?c:(c??this.windowLocation()).href};o.apply(a,[f,s,c]),this.setCurrentState(f,!0)};this.history.pushState=new Proxy(this.history.pushState,{apply:t(()=>this.currentIndex+1)}),this.history.replaceState=new Proxy(this.history.replaceState,{apply:t(()=>this.currentIndex)})}initEventListeners(){window.addEventListener("popstate",t=>this.setCurrentState(t.state)),document.querySelector("title")==null&&document.head.append(document.createElement("title")),new MutationObserver(()=>this.updateCurrentState({title:document.title})).observe(document.querySelector("title"),{subtree:!0,characterData:!0,childList:!0})}initData(t){for(let r=this.history.length-1;r>=0;r--)t?this.states[r]=this.historyStorage.get(r):setTimeout(()=>this.states[r]=this.historyStorage.get(r),this.history.length-r)}updateCurrentState(t){var r;let o={...this.buildCurrentState(),...t,index:this.currentIndex,title:(r=t?.title)!==null&&r!==void 0?r:this.currentState.title};this.setCurrentState(o)}addHistoryChangeListener(t){this.addEventListener(er.eventName,t)}removeHistoryChangeListener(t){this.removeEventListener(er.eventName,t)}currentItem(){return Tt(this.currentState)}back(){let t=this.previousDifferentMajorPosition();t>=0?this.history.go(t-this.currentIndex):this.currentIndex!==this.initialIndex?this.history.go(this.initialIndex-this.currentIndex):this.history.back()}backwardItem(){return Tt(this.states[this.previousDifferentMajorPosition()])}previousDifferentMajorPosition(){let t=this.currentIndex>0?this.currentIndex-1:0;for(;t>0&&!this.isDifferentMajorState(t);)t--;return t}forward(){let t=this.nextMajorPosition();t&&t<this.states.length?this.history.go(t-this.currentIndex):this.history.forward()}forwardItem(){let t=this.nextMajorPosition();if(t)return Tt(this.states[t])}nextMajorPosition(){let t=this.currentIndex;if(!(t>=this.states.length)){do t++;while(t<this.states.length&&!this.isDifferentMajorState(t));return this.getHigherPositionInTheSameState(t)}}getHigherPositionInTheSameState(t){var r;let o=(r=this.states[t])===null||r===void 0?void 0:r.majorStateId;if(!o)return t;let a=t,i=t+1;for(;this.states.length>i&&!this.isDifferentMajorState(i,o);)this.hasState(i)&&(a=i),i++;return a}buildCurrentState(){var t,r;return{...this.history.state,index:this.currentIndex,href:this.windowLocation().href,title:(r=(t=this.history.state)===null||t===void 0?void 0:t.title)!==null&&r!==void 0?r:document.title}}hasState(t){return this.states[t]!=null}isDifferentMajorState(t,r){var o;if(!this.hasState(t))return!1;let a=r??this.currentState.majorStateId,i=(o=this.states[t])===null||o===void 0?void 0:o.majorStateId;return i==null||i!=a}};window.FluidTopicsInternalHistoryService==null&&(window.FluidTopicsInternalHistoryService=Fn.build(),window.FluidTopicsHistoryService={currentItem:()=>window.FluidTopicsInternalHistoryService.currentItem(),back:()=>window.FluidTopicsInternalHistoryService.back(),forward:()=>window.FluidTopicsInternalHistoryService.forward(),backwardItem:()=>window.FluidTopicsInternalHistoryService.backwardItem(),forwardItem:()=>window.FluidTopicsInternalHistoryService.forwardItem(),addHistoryChangeListener:e=>window.FluidTopicsInternalHistoryService.addHistoryChangeListener(e),removeHistoryChangeListener:e=>window.FluidTopicsInternalHistoryService.removeHistoryChangeListener(e)});var Xd=U`
993
993
  `;function Qd(e,t){let{authenticationRequired:r,session:o}=I.getState();return r&&!o?.sessionAuthenticated?Promise.resolve(t):e()}var ne=function(e,t,r,o){var a=arguments.length,i=a<3?t:o===null?o=Object.getOwnPropertyDescriptor(t,r):o,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(e,t,r,o);else for(var c=e.length-1;c>=0;c--)(s=e[c])&&(i=(a<3?s(i):a>3?s(t,r,i):s(t,r))||i);return a>3&&i&&Object.defineProperty(t,r,i),i},X=class extends K{constructor(){super(...arguments),this.apiIntegrationIdentifier="ft-integration",this.apiIntegrationAppVersion="ft-integration-app-version",this.uiLocale="en-US",this.editorMode=!1,this.noCustom=!1,this.openExternalDocumentInNewTab=!1,this.noCustomComponent=!1,this.withManualResources=!1,this.navigatorOnline=!1,this.forcedOffline=!1,this.apiProvider=()=>Yt.get(),this.authenticationRequired=!1,this.messageContexts=[],this.cache=new Be,this.cleanSessionDebouncer=new ye,this.reloadConfiguration=()=>{this.cache.clear("availableContentLocales"),this.updateAvailableContentLocales()}}render(){return Q`
994
994
  <slot></slot>
995
995
  `}connectedCallback(){super.connectedCallback(),I.addEventListener(Zt.eventName,this.reloadConfiguration)}disconnectedCallback(){I.addEventListener(Zt.eventName,this.reloadConfiguration),super.disconnectedCallback()}update(t){var r,o,a,i,s,c,d;super.update(t),t.has("baseUrl")&&(I.actions.baseUrl(this.baseUrl),window.fluidTopicsBaseUrl=this.baseUrl),t.has("apiIntegrationIdentifier")&&I.actions.apiIntegrationIdentifier(this.apiIntegrationIdentifier),t.has("apiIntegrationAppVersion")&&I.actions.apiIntegrationAppVersion(this.apiIntegrationAppVersion),t.has("uiLocale")&&I.actions.uiLocale(this.uiLocale),t.has("metadataConfiguration")&&I.actions.metadataConfiguration(this.metadataConfiguration),t.has("noCustom")&&I.actions.noCustom(this.noCustom),t.has("editorMode")&&I.actions.editorMode(this.editorMode),t.has("noCustomComponent")&&I.actions.noCustomComponent(this.noCustomComponent),t.has("session")&&I.actions.session(this.session),t.has("messageContexts")&&this.messageContexts!=null&&this.messageContexts.forEach(f=>$r.addContext(f)),t.has("openExternalDocumentInNewTab")&&I.actions.openExternalDocumentInNewTab(this.openExternalDocumentInNewTab),t.has("navigatorOnline")&&I.actions.navigatorOnline(this.navigatorOnline),t.has("forcedOffline")&&I.actions.forcedOffline(this.forcedOffline),t.has("localesConfiguration")&&(I.actions.defaultLocales((r=this.localesConfiguration)===null||r===void 0?void 0:r.defaultLocales),I.actions.availableUiLocales((a=(o=this.localesConfiguration)===null||o===void 0?void 0:o.availableUiLocales)!==null&&a!==void 0?a:[]),I.actions.searchInAllLanguagesAllowed((s=(i=this.localesConfiguration)===null||i===void 0?void 0:i.allLanguagesAllowed)!==null&&s!==void 0?s:!1)),t.has("authenticationRequired")&&I.actions.authenticationRequired(this.authenticationRequired),t.has("availableContentLocales")&&I.actions.availableContentLocales((d=(c=this.availableContentLocales)===null||c===void 0?void 0:c.contentLocales)!==null&&d!==void 0?d:[]),setTimeout(()=>this.updateIfNeeded())}async updateIfNeeded(){this.apiProvider()&&(this.withManualResources||(this.session==null&&this.updateSession(),this.metadataConfiguration==null&&this.updateMetadataConfiguration()),this.localesConfiguration==null&&this.updateLocalesConfiguration(),this.availableContentLocales==null&&this.updateAvailableContentLocales())}async updateSession(){this.session=await this.cache.get("session",async()=>{let t=await this.apiProvider().getCurrentSession();return t.idleTimeoutInMillis>0&&this.cleanSessionDebouncer.run(()=>{this.cache.clear("session"),this.session=void 0},t.idleTimeoutInMillis),t})}async updateMetadataConfiguration(){this.metadataConfiguration=await this.cache.get("metadataConfiguration",()=>this.apiProvider().getMetadataConfiguration())}async updateLocalesConfiguration(){this.localesConfiguration=await this.cache.get("localesConfiguration",()=>this.apiProvider().getLocalesConfiguration())}async updateAvailableContentLocales(){this.availableContentLocales=await this.cache.get("availableContentLocales",()=>Qd(()=>this.apiProvider().getAvailableSearchLocales(),{contentLocales:[]}))}};X.elementDefinitions={};X.styles=Xd;ne([N()],X.prototype,"baseUrl",void 0);ne([N()],X.prototype,"apiIntegrationIdentifier",void 0);ne([N()],X.prototype,"apiIntegrationAppVersion",void 0);ne([N()],X.prototype,"uiLocale",void 0);ne([Ce(null)],X.prototype,"availableUiLocales",void 0);ne([Ce(null)],X.prototype,"metadataConfiguration",void 0);ne([N({type:Boolean})],X.prototype,"editorMode",void 0);ne([N({type:Boolean})],X.prototype,"noCustom",void 0);ne([N({type:Boolean})],X.prototype,"openExternalDocumentInNewTab",void 0);ne([N({converter:{fromAttribute(e){return e==="false"?!1:e==="true"||(e??!1)}}})],X.prototype,"noCustomComponent",void 0);ne([N({type:Boolean})],X.prototype,"withManualResources",void 0);ne([N({type:Boolean})],X.prototype,"navigatorOnline",void 0);ne([N({type:Boolean})],X.prototype,"forcedOffline",void 0);ne([N({type:Object})],X.prototype,"apiProvider",void 0);ne([N({type:Boolean})],X.prototype,"authenticationRequired",void 0);ne([Ce([])],X.prototype,"messageContexts",void 0);ne([Ce(void 0)],X.prototype,"session",void 0);ne([Y()],X.prototype,"localesConfiguration",void 0);ne([Y()],X.prototype,"availableContentLocales",void 0);se("ft-app-context")(X);var $n=class e{static build(t){return new e(t)}static buildCustom(t){return new e(t,!0)}static fromGwt(t){return new e(t)}get service(){return this.custom?Gn:$r}constructor(t,r=!1){this.name=t,this.custom=r,this.properties=new Proxy({},{get:(o,a)=>{let i=a;return s=>({context:this.name,key:i,custom:this.custom,args:typeof s=="function"?void 0:s,argsProvider:typeof s=="function"?s:void 0})}}),this.messages=new Proxy({},{get:(o,a)=>(...i)=>this.service.resolveMessage(this.name,a,...i)}),this.rawMessages=new Proxy({},{get:(o,a)=>this.service.resolveRawMessage(this.name,a)}),this.keys=new Proxy({},{get:(o,a)=>()=>a}),this.attributes=new Proxy({},{get:(o,a)=>()=>({context:this.name,key:a,message:this.service.resolveRawMessage(this.name,a)})})}};var bc=class{fromLocalizableLabel(t){return t.type=="PLAIN_TEXT"?{message:t.text}:{key:t.key,custom:t.type=="LOCALIZED_CUSTOM",context:t.context,message:t.key}}fromAttribute(t){if(t!=null)try{return JSON.parse(t)}catch{if(this.isI18nKey(t)){let[r,o]=t.split(".");return{context:r,key:o,custom:r!=="officialContext",message:""}}return{message:t}}}toAttribute(t){if(t!=null)return JSON.stringify(t)}isI18nKey(t){return t.match(/^[\w-]+\.[\w-]+$/)}},Wr=new bc;var g7=function(e,t,r,o){var a=arguments.length,i=a<3?t:o===null?o=Object.getOwnPropertyDescriptor(t,r):o,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(e,t,r,o);else for(var c=e.length-1;c>=0;c--)(s=e[c])&&(i=(a<3?s(i):a>3?s(t,r,i):s(t,r))||i);return a>3&&i&&Object.defineProperty(t,r,i),i},Mo=Symbol("i18nAttributes"),Jd=Symbol("i18nListAttributes"),e4=Symbol("i18nProperties"),Wn=Symbol("i18nContexts"),To=Symbol("i18nUnsubs"),Kn=oe(Symbol("withI18n"),function(e){var t,r;class o extends e{constructor(){super(...arguments),this.useCustomMessageContexts=!1,this[t]=new Map,this[r]=new Map}getI18nService(i){return i??this.useCustomMessageContexts?Gn:$r}i18n(i){let{context:s,key:c,message:d}=i,{custom:f,args:h,argsProvider:p}=i;if(s&&c){this.hasI18nContext(s)||this.addI18nContext(s,void 0,f);let g=h??(p?p(this):[]);return this.getI18nService(f).resolveMessage(s,c,...g)}return d}async awaitI18n(i){let{context:s,custom:c}=i;return s&&await this.getI18nService(c).prepareContext(s),this.i18n(i)}customI18n(i,s){if(Wr.isI18nKey(i)){let[c,d]=i.split(".");return this.i18n({custom:!0,context:c,key:d,...s})||i}return i}firstUpdated(i){super.firstUpdated(i),this.updateI18nAttributes(()=>!0),this.updateI18nProperties(()=>!0)}update(i){super.update(i),this.updateI18nAttributes((s,c,d)=>i.has(c)||typeof s.argsProvider=="function"),this.updateI18nProperties(s=>typeof s.argsProvider=="function")}onI18nUpdate(i){this.updateI18nAttributes((s,c,d)=>{var f;return((f=d?.context)===null||f===void 0?void 0:f.toLowerCase())===i}),this.updateI18nProperties(s=>s.context.toLowerCase()===i),this.requestUpdate()}updateI18nAttributes(i){var s,c;let d=this,f=(h,p,g)=>g?.context&&g.key&&i(h,p,g)?{...g,message:this.i18n({context:g.context,key:g.key,custom:g.custom,...h})}:g;(s=this[Mo])===null||s===void 0||s.forEach((h,p)=>d[p]=f(h,p,d[p])),(c=this[Jd])===null||c===void 0||c.forEach((h,p)=>{var g;return d[p]=(g=d[p])===null||g===void 0?void 0:g.map(x=>f(h,p,x))})}updateI18nProperties(i){var s;(s=this[e4])===null||s===void 0||s.forEach((c,d)=>{i(c,d)&&(this[d]=this.i18n(c))})}addI18nMessages(i,s,c){console.warn('Deprecated usage of method "addI18nMessages", use "addI18nContext" instead.'),this.addI18nContext(i,s,c)}addI18nContext(i,s,c){let d=(typeof i=="string"?i:i.name).toLowerCase();c=typeof i=="string"?c:i.custom,this[Wn].set(d,{isCustomContext:c}),this[To].has(d)||this[To].set(d,this.getI18nService(c).subscribe(d,()=>this.onI18nUpdate(d))),this.getI18nService(c).prepareContext(d,s)}hasI18nContext(i){return this[Wn].has(i.toLowerCase())}connectedCallback(){super.connectedCallback(),this[Wn].forEach((i,s)=>this.addI18nContext(s,void 0,i.isCustomContext))}disconnectedCallback(){super.disconnectedCallback(),this[To].forEach(i=>i()),this[To].clear()}}return t=Wn,r=To,g7([N({type:Boolean})],o.prototype,"useCustomMessageContexts",void 0),o}),jn=class extends Kn(K){},Vn=class extends Kn(Ht){};var t4=U`
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fluid-topics/ft-reader-saved-bookmarks",
3
- "version": "2.0.11",
3
+ "version": "2.0.12",
4
4
  "description": "Display the list of saved bookmarks",
5
5
  "keywords": [
6
6
  "Lit"
@@ -19,11 +19,11 @@
19
19
  "url": "ssh://git@scm.mrs.antidot.net:2222/fluidtopics/ft-web-components.git"
20
20
  },
21
21
  "dependencies": {
22
- "@fluid-topics/ft-wc-utils": "2.0.11",
22
+ "@fluid-topics/ft-wc-utils": "2.0.12",
23
23
  "lit": "3.1.0"
24
24
  },
25
25
  "devDependencies": {
26
- "@fluid-topics/ft-wc-test-utils": "2.0.11"
26
+ "@fluid-topics/ft-wc-test-utils": "2.0.12"
27
27
  },
28
- "gitHead": "aedc97fb65c7bafd16b7adef8218a58f59fea690"
28
+ "gitHead": "4811b3ed72672d41022c271d4a0d1db15b458aca"
29
29
  }