var ro=Object.create;var ii=Object.defineProperty;var so=Object.getOwnPropertyDescriptor;var ao=Object.getOwnPropertyNames;var lo=Object.getPrototypeOf,co=Object.prototype.hasOwnProperty;var Ft=(t,e)=>()=>(e||t((e={exports:{}}).exports,e),e.exports);var uo=(t,e,i,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let o of ao(e))!co.call(t,o)&&o!==i&&ii(t,o,{get:()=>e[o],enumerable:!(n=so(e,o))||n.enumerable});return t};var lt=(t,e,i)=>(i=t!=null?ro(lo(t)):{},uo(e||!t||!t.__esModule?ii(i,"default",{value:t,enumerable:!0}):i,t));var fi=Ft((Ml,pi)=>{pi.exports=Vo;var ui={class:"className",for:"htmlFor","http-equiv":"httpEquiv"};function Vo(t){return function(e,i,n){for(var o in i)o in ui&&(i[ui[o]]=i[o],delete i[o]);return t(e,i,n)}}});var hi=Ft((Dl,gi)=>{var jo=fi(),St=0,ot=1,J=2,oe=3,it=4,F=5,Te=6,yt=7,U=8,Ht=9,Lt=10,Rt=11,xt=12,_t=13;gi.exports=function(t,e){e||(e={});var i=e.concat||function(o,r){return String(o)+String(r)};return e.attrToProp!==!1&&(t=jo(t)),function(o){for(var r=ot,s="",a=!1,d=arguments.length,l=[],c=0;c<o.length;c++)if(c<d-1){var h=arguments[c+1],g=I(o[c]),b=r;b===Lt&&(b=U),b===Ht&&(b=U),b===yt&&(b=U),b===it&&(b=F),b===J?s==="/"?(g.push([J,"/",h]),s=""):g.push([J,h]):b===_t&&e.comments?s+=String(h):b!==_t&&g.push([St,b,h]),l.push.apply(l,g)}else l.push.apply(l,I(o[c]));for(var p=[null,{},[]],m=[[p,-1]],c=0;c<l.length;c++){var v=m[m.length-1][0],g=l[c],r=g[0];if(r===J&&/^\//.test(g[1])){var w=m[m.length-1][1];m.length>1&&(m.pop(),m[m.length-1][0][2][w]=t(v[0],v[1],v[2].length?v[2]:void 0))}else if(r===J){var x=[g[1],{},[]];v[2].push(x),m.push([x,v[2].length-1])}else if(r===F||r===St&&g[1]===F){for(var $="",z;c<l.length;c++)if(l[c][0]===F)$=i($,l[c][1]);else if(l[c][0]===St&&l[c][1]===F)if(typeof l[c][2]=="object"&&!$)for(z in l[c][2])l[c][2].hasOwnProperty(z)&&!v[1][z]&&(v[1][z]=l[c][2][z]);else $=i($,l[c][2]);else break;l[c][0]===Rt&&c++;for(var S=c;c<l.length;c++)if(l[c][0]===U||l[c][0]===F)v[1][$]?l[c][1]===""||(v[1][$]=i(v[1][$],l[c][1])):v[1][$]=n(l[c][1]);else if(l[c][0]===St&&(l[c][1]===U||l[c][1]===F))v[1][$]?l[c][2]===""||(v[1][$]=i(v[1][$],l[c][2])):v[1][$]=n(l[c][2]);else{$.length&&!v[1][$]&&c===S&&(l[c][0]===oe||l[c][0]===xt)&&(v[1][$]=$.toLowerCase()),l[c][0]===oe&&c--;break}}else if(r===F)v[1][g[1]]=!0;else if(r===St&&g[1]===F)v[1][g[2]]=!0;else if(r===oe){if((g[1]||Xo(v[0]))&&m.length){var w=m[m.length-1][1];m.pop(),m[m.length-1][0][2][w]=t(v[0],v[1],v[2].length?v[2]:void 0)}}else if(r===St&&g[1]===ot)g[2]===void 0||g[2]===null?g[2]="":g[2]||(g[2]=i("",g[2])),Array.isArray(g[2][0])?v[2].push.apply(v[2],g[2]):v[2].push(g[2]);else if(r===ot)v[2].push(g[1]);else if(!(r===Rt||r===xt))throw new Error("unhandled: "+r)}if(p[2].length>1&&/^\s*$/.test(p[2][0])&&p[2].shift(),p[2].length>2||p[2].length===2&&/\S/.test(p[2][1])){if(e.createFragment)return e.createFragment(p[2]);throw new Error("multiple root elements must be wrapped in an enclosing tag")}return Array.isArray(p[2][0])&&typeof p[2][0][0]=="string"&&Array.isArray(p[2][0][2])&&(p[2][0]=t(p[2][0][0],p[2][0][1],p[2][0][2])),p[2][0];function I(_){var k=[],L=!1;r===yt&&(r=it);for(var O=0;O<_.length;O++){var T=_.charAt(O);r===ot&&T==="<"?(s.length&&k.push([ot,s]),s="",r=J,L=!1):T===">"&&!Uo(r)&&r!==_t?(r===J&&s.length?(k.push([J,s]),s==="style"?L=!0:s==="/style"&&(L=!1)):r===F?k.push([F,s]):r===U&&s.length&&k.push([U,s]),r===ot&&L?s+=T:(k.push([oe,a]),a=!1,s=""),r=ot):r===_t&&/-$/.test(s)&&T==="-"?(e.comments&&k.push([U,s.substr(0,s.length-1)]),s="",a=!0,r=ot):r===J&&/^!--$/.test(s)?(e.comments&&k.push([J,s],[F,"comment"],[Rt]),s=T,r=_t):r===ot||r===_t?s+=T:r===J&&T==="/"&&s.length?a=!0:r===J&&/\s/.test(T)?(s.length&&k.push([J,s]),s==="style"?L=!0:s==="/style"&&(L=!1),s="",r=it):r===J?s+=T:r===it&&/[^\s"'=/]/.test(T)?(r=F,s=T):r===it&&/\s/.test(T)?(s.length&&k.push([F,s]),k.push([xt])):r===F&&/\s/.test(T)?(k.push([F,s]),s="",r=Te):r===F&&T==="="?(k.push([F,s],[Rt]),s="",r=yt):r===F&&T==="/"?(a=!0,s="",r=it):r===F?s+=T:(r===Te||r===it)&&T==="="?(k.push([Rt]),r=yt):(r===Te||r===it)&&!/\s/.test(T)?(k.push([xt]),/[\w-]/.test(T)?(s+=T,r=F):T==="/"?a=!0:r=it):r===yt&&T==='"'?r=Lt:r===yt&&T==="'"?r=Ht:r===Lt&&T==='"'?(k.push([U,s],[xt]),s="",r=it):r===Ht&&T==="'"?(k.push([U,s],[xt]),s="",r=it):r===yt&&!/\s/.test(T)?(r=U,O--):r===U&&/\s/.test(T)?(k.push([U,s],[xt]),s="",r=it):(r===U||r===Ht||r===Lt)&&(s+=T)}return r===ot&&s.length?(k.push([ot,s]),s=""):r===U&&s.length?(k.push([U,s]),s=""):r===Lt&&s.length?(k.push([U,s]),s=""):r===Ht&&s.length?(k.push([U,s]),s=""):r===F&&(k.push([F,s]),s=""),k}};function n(o){return typeof o=="function"||typeof o=="string"||o&&typeof o=="object"||o==null?o:i("",o)}};function Uo(t){return t===Ht||t===Lt}var qo=RegExp("^("+["area","base","br","col","command","embed","hr","img","input","keygen","link","meta","param","source","track","wbr"].join("|")+")(?:[.#][a-zA-Z0-9\x7F-\uFFFF_:-]+)*$");function Xo(t){return qo.test(t)}});var vi=Ft((Wl,mi)=>{var Yo=["allowfullscreen","async","autofocus","checked","compact","declare","default","defer","disabled","formnovalidate","hidden","inert","ismap","itemscope","multiple","multiple","muted","nohref","noresize","noshade","novalidate","nowrap","open","readonly","required","reversed","seamless","selected","sortable","truespeed","typemustmatch","contenteditable","spellcheck"];mi.exports=function(t){return Yo.indexOf(t)>-1}});var Se=Ft((Rl,xi)=>{"use strict";var Ko=function(e){return e.charAt(0)==="#"?e.slice(1):e},Jo=function(e){var i=e.length===3||e.length===4,n=i?"".concat(e.slice(0,1)).concat(e.slice(0,1)):e.slice(0,2),o=i?"".concat(e.slice(1,2)).concat(e.slice(1,2)):e.slice(2,4),r=i?"".concat(e.slice(2,3)).concat(e.slice(2,3)):e.slice(4,6),s=(i?"".concat(e.slice(3,4)).concat(e.slice(3,4)):e.slice(6,8))||"ff";return{r:n,g:o,b:r,a:s}},re=function(e){return parseInt(e,16)},Qo=function(e){var i=e.r,n=e.g,o=e.b,r=e.a;return{r:re(i),g:re(n),b:re(o),a:+(re(r)/255).toFixed(2)}},tr=function(e){return!isNaN(parseFloat(e))&&isFinite(e)},er=function(e,i){var n=e.r,o=e.g,r=e.b,s=e.a,a=tr(i)?i:s;return"rgba(".concat(n,", ").concat(o,", ").concat(r,", ").concat(a,")")},ir=function(e,i){var n=Ko(e),o=Jo(n),r=Qo(o);return er(r,i)};xi.exports=ir});var $t=Ft(($d,Fi)=>{Fi.exports=Vr;function Vr(t,e,i){return e<i?t<e?e:t>i?i:t:t<i?i:t>e?e:t}});function po(t,e){return document.createElement(t,e)}function fo(t,e,i){return document.createElementNS(t,e,i)}function go(){return vt(document.createDocumentFragment())}function ho(t){return document.createTextNode(t)}function mo(t){return document.createComment(t)}function vo(t,e,i){if(ct(t)){let n=t;for(;n&&ct(n);)n=vt(n).parent;t=n??t}ct(e)&&(e=vt(e,t)),i&&ct(i)&&(i=vt(i).firstChildNode),t.insertBefore(e,i)}function bo(t,e){t.removeChild(e)}function yo(t,e){ct(e)&&(e=vt(e,t)),t.appendChild(e)}function ni(t){if(ct(t)){for(;t&&ct(t);)t=vt(t).parent;return t??null}return t.parentNode}function xo(t){var e;if(ct(t)){let i=vt(t),n=ni(i);if(n&&i.lastChildNode){let o=Array.from(n.childNodes),r=o.indexOf(i.lastChildNode);return(e=o[r+1])!==null&&e!==void 0?e:null}return null}return t.nextSibling}function wo(t){return t.tagName}function ko(t,e){t.textContent=e}function $o(t){return t.textContent}function zo(t){return t.nodeType===1}function Co(t){return t.nodeType===3}function To(t){return t.nodeType===8}function ct(t){return t.nodeType===11}function vt(t,e){var i,n,o;let r=t;return(i=r.parent)!==null&&i!==void 0||(r.parent=e??null),(n=r.firstChildNode)!==null&&n!==void 0||(r.firstChildNode=t.firstChild),(o=r.lastChildNode)!==null&&o!==void 0||(r.lastChildNode=t.lastChild),r}var te={createElement:po,createElementNS:fo,createTextNode:ho,createDocumentFragment:go,createComment:mo,insertBefore:vo,removeChild:bo,appendChild:yo,parentNode:ni,nextSibling:xo,tagName:wo,setTextContent:ko,getTextContent:$o,isElement:zo,isText:Co,isComment:To,isDocumentFragment:ct};function et(t,e,i,n,o){let r=e===void 0?void 0:e.key;return{sel:t,data:e,children:i,text:n,elm:o,key:r}}var Tt=Array.isArray;function It(t){return typeof t=="string"||typeof t=="number"||t instanceof String||t instanceof Number}function ee(t){return t===void 0}function K(t){return t!==void 0}var me=et("",{},[],void 0,void 0);function Bt(t,e){var i,n;let o=t.key===e.key,r=((i=t.data)===null||i===void 0?void 0:i.is)===((n=e.data)===null||n===void 0?void 0:n.is),s=t.sel===e.sel,a=!t.sel&&t.sel===e.sel?typeof t.text==typeof e.text:!0;return s&&o&&r&&a}function Io(){throw new Error("The document fragment is not supported on this platform.")}function Eo(t,e){return t.isElement(e)}function So(t,e){return t.isDocumentFragment(e)}function _o(t,e,i){var n;let o={};for(let r=e;r<=i;++r){let s=(n=t[r])===null||n===void 0?void 0:n.key;s!==void 0&&(o[s]=r)}return o}var Ho=["create","update","remove","destroy","pre","post"];function ve(t,e,i){let n={create:[],update:[],remove:[],destroy:[],pre:[],post:[]},o=e!==void 0?e:te;for(let p of Ho)for(let m of t){let v=m[p];v!==void 0&&n[p].push(v)}function r(p){let m=p.id?"#"+p.id:"",v=p.getAttribute("class"),w=v?"."+v.split(" ").join("."):"";return et(o.tagName(p).toLowerCase()+m+w,{},[],void 0,p)}function s(p){return et(void 0,{},[],void 0,p)}function a(p,m){return function(){if(--m===0){let w=o.parentNode(p);w!==null&&o.removeChild(w,p)}}}function d(p,m){var v,w,x,$;let z,S=p.data;if(S!==void 0){let k=(v=S.hook)===null||v===void 0?void 0:v.init;K(k)&&(k(p),S=p.data)}let I=p.children,_=p.sel;if(_==="!")ee(p.text)&&(p.text=""),p.elm=o.createComment(p.text);else if(_==="")p.elm=o.createTextNode(p.text);else if(_!==void 0){let k=_.indexOf("#"),L=_.indexOf(".",k),O=k>0?k:_.length,T=L>0?L:_.length,E=k!==-1||L!==-1?_.slice(0,Math.min(O,T)):_,Z=p.elm=K(S)&&K(z=S.ns)?o.createElementNS(z,E,S):o.createElement(E,S);for(O<T&&Z.setAttribute("id",_.slice(O+1,T)),L>0&&Z.setAttribute("class",_.slice(T+1).replace(/\./g," ")),z=0;z<n.create.length;++z)n.create[z](me,p);if(It(p.text)&&(!Tt(I)||I.length===0)&&o.appendChild(Z,o.createTextNode(p.text)),Tt(I))for(z=0;z<I.length;++z){let y=I[z];y!=null&&o.appendChild(Z,d(y,m))}let C=p.data.hook;K(C)&&((w=C.create)===null||w===void 0||w.call(C,me,p),C.insert&&m.push(p))}else if(!((x=i?.experimental)===null||x===void 0)&&x.fragments&&p.children){for(p.elm=(($=o.createDocumentFragment)!==null&&$!==void 0?$:Io)(),z=0;z<n.create.length;++z)n.create[z](me,p);for(z=0;z<p.children.length;++z){let k=p.children[z];k!=null&&o.appendChild(p.elm,d(k,m))}}else p.elm=o.createTextNode(p.text);return p.elm}function l(p,m,v,w,x,$){for(;w<=x;++w){let z=v[w];z!=null&&o.insertBefore(p,d(z,$),m)}}function c(p){var m,v;let w=p.data;if(w!==void 0){(v=(m=w?.hook)===null||m===void 0?void 0:m.destroy)===null||v===void 0||v.call(m,p);for(let x=0;x<n.destroy.length;++x)n.destroy[x](p);if(p.children!==void 0)for(let x=0;x<p.children.length;++x){let $=p.children[x];$!=null&&typeof $!="string"&&c($)}}}function h(p,m,v,w){for(var x,$;v<=w;++v){let z,S,I=m[v];if(I!=null)if(K(I.sel)){c(I),z=n.remove.length+1,S=a(I.elm,z);for(let k=0;k<n.remove.length;++k)n.remove[k](I,S);let _=($=(x=I?.data)===null||x===void 0?void 0:x.hook)===null||$===void 0?void 0:$.remove;K(_)?_(I,S):S()}else I.children?(c(I),h(p,I.children,0,I.children.length-1)):o.removeChild(p,I.elm)}}function g(p,m,v,w){let x=0,$=0,z=m.length-1,S=m[0],I=m[z],_=v.length-1,k=v[0],L=v[_],O,T,E,Z;for(;x<=z&&$<=_;)S==null?S=m[++x]:I==null?I=m[--z]:k==null?k=v[++$]:L==null?L=v[--_]:Bt(S,k)?(b(S,k,w),S=m[++x],k=v[++$]):Bt(I,L)?(b(I,L,w),I=m[--z],L=v[--_]):Bt(S,L)?(b(S,L,w),o.insertBefore(p,S.elm,o.nextSibling(I.elm)),S=m[++x],L=v[--_]):Bt(I,k)?(b(I,k,w),o.insertBefore(p,I.elm,S.elm),I=m[--z],k=v[++$]):(O===void 0&&(O=_o(m,x,z)),T=O[k.key],ee(T)?(o.insertBefore(p,d(k,w),S.elm),k=v[++$]):ee(O[L.key])?(o.insertBefore(p,d(L,w),o.nextSibling(I.elm)),L=v[--_]):(E=m[T],E.sel!==k.sel?o.insertBefore(p,d(k,w),S.elm):(b(E,k,w),m[T]=void 0,o.insertBefore(p,E.elm,S.elm)),k=v[++$]));$<=_&&(Z=v[_+1]==null?null:v[_+1].elm,l(p,Z,v,$,_,w)),x<=z&&h(p,m,x,z)}function b(p,m,v){var w,x,$,z,S,I,_,k;let L=(w=m.data)===null||w===void 0?void 0:w.hook;(x=L?.prepatch)===null||x===void 0||x.call(L,p,m);let O=m.elm=p.elm;if(p===m)return;if(m.data!==void 0||K(m.text)&&m.text!==p.text){($=m.data)!==null&&$!==void 0||(m.data={}),(z=p.data)!==null&&z!==void 0||(p.data={});for(let Z=0;Z<n.update.length;++Z)n.update[Z](p,m);(_=(I=(S=m.data)===null||S===void 0?void 0:S.hook)===null||I===void 0?void 0:I.update)===null||_===void 0||_.call(I,p,m)}let T=p.children,E=m.children;ee(m.text)?K(T)&&K(E)?T!==E&&g(O,T,E,v):K(E)?(K(p.text)&&o.setTextContent(O,""),l(O,null,E,0,E.length-1,v)):K(T)?h(O,T,0,T.length-1):K(p.text)&&o.setTextContent(O,""):p.text!==m.text&&(K(T)&&h(O,T,0,T.length-1),o.setTextContent(O,m.text)),(k=L?.postpatch)===null||k===void 0||k.call(L,p,m)}return function(m,v){let w,x,$,z=[];for(w=0;w<n.pre.length;++w)n.pre[w]();for(Eo(o,m)?m=r(m):So(o,m)&&(m=s(m)),Bt(m,v)?b(m,v,z):(x=m.elm,$=o.parentNode(x),d(v,z),$!==null&&(o.insertBefore($,v.elm,o.nextSibling(x)),h($,[m],0,0))),w=0;w<z.length;++w)z[w].data.hook.insert(z[w]);for(w=0;w<n.post.length;++w)n.post[w]();return v}}function Et(t,e,i){if(t.ns="http://www.w3.org/2000/svg",i!=="foreignObject"&&e!==void 0)for(let n=0;n<e.length;++n){let o=e[n];if(typeof o=="string")continue;let r=o.data;r!==void 0&&Et(r,o.children,o.sel)}}function bt(t,e,i){let n={},o,r,s;if(i!==void 0?(e!==null&&(n=e),Tt(i)?o=i:It(i)?r=i.toString():i&&i.sel&&(o=[i])):e!=null&&(Tt(e)?o=e:It(e)?r=e.toString():e&&e.sel?o=[e]:n=e),o!==void 0)for(s=0;s<o.length;++s)It(o[s])&&(o[s]=et(void 0,void 0,void 0,o[s],void 0));return t.startsWith("svg")&&(t.length===3||t[3]==="."||t[3]==="#")&&Et(n,o,t),et(t,n,o,r,void 0)}function ie(t,e){var i;let n=(i=e.data)===null||i===void 0?void 0:i.ns;t.data.fn=e.data.fn,t.data.args=e.data.args,e.data=t.data,e.children=t.children,e.text=t.text,e.elm=t.elm,n&&Et(e.data,e.children,e.sel)}function Lo(t){let e=t.data,i=e.fn(...e.args);ie(i,t)}function Mo(t,e){let i,n=t.data,o=e.data,r=n.args,s=o.args;if(n.fn!==o.fn||r.length!==s.length){ie(o.fn(...s),e);return}for(i=0;i<s.length;++i)if(r[i]!==s[i]){ie(o.fn(...s),e);return}ie(t,e)}var be=function(e,i,n,o){return o===void 0&&(o=n,n=i,i=void 0),bt(e,{key:i,hook:{init:Lo,prepatch:Mo},fn:n,args:o})};function ne(t,e){let i=e!==void 0?e:te,n;if(i.isElement(t)){let o=t.id?"#"+t.id:"",r=t.getAttribute("class"),s=r?"."+r.split(" ").join("."):"",a=i.tagName(t).toLowerCase()+o+s,d={},l={},c={},h=[],g,b,p,m=t.attributes,v=t.childNodes;for(b=0,p=m.length;b<p;b++)g=m[b].nodeName,g.startsWith("data-")?l[g.slice(5)]=m[b].nodeValue||"":g!=="id"&&g!=="class"&&(d[g]=m[b].nodeValue);for(b=0,p=v.length;b<p;b++)h.push(ne(v[b],e));return Object.keys(d).length>0&&(c.attrs=d),Object.keys(l).length>0&&(c.dataset=l),a.startsWith("svg")&&(a.length===3||a[3]==="."||a[3]==="#")&&Et(c,h,a),et(a,c,h,void 0,t)}else return i.isText(t)?(n=i.getTextContent(t),et(void 0,void 0,void 0,n,t)):i.isComment(t)?(n=i.getTextContent(t),et("!",{},[],n,t)):et("",{},[],void 0,t)}var Do="http://www.w3.org/1999/xlink",Wo="http://www.w3.org/2000/xmlns/",Ao="http://www.w3.org/XML/1998/namespace";function ri(t,e){let i,n=e.elm,o=t.data.attrs,r=e.data.attrs;if(!(!o&&!r)&&o!==r){o=o||{},r=r||{};for(i in r){let s=r[i];o[i]!==s&&(s===!0?n.setAttribute(i,""):s===!1?n.removeAttribute(i):i.charCodeAt(0)!==120?n.setAttribute(i,s):i.charCodeAt(3)===58?n.setAttributeNS(Ao,i,s):i.charCodeAt(5)===58?i.charCodeAt(1)===109?n.setAttributeNS(Wo,i,s):n.setAttributeNS(Do,i,s):n.setAttribute(i,s))}for(i in o)i in r||n.removeAttribute(i)}}var ye={create:ri,update:ri};function si(t,e){let i,n,o=e.elm,r=t.data.class,s=e.data.class;if(!(!r&&!s)&&r!==s){r=r||{},s=s||{};for(n in r)r[n]&&!Object.prototype.hasOwnProperty.call(s,n)&&o.classList.remove(n);for(n in s)i=s[n],i!==r[n]&&o.classList[i?"add":"remove"](n)}}var xe={create:si,update:si};function ai(t,e,i){if(typeof t=="function")t.call(e,i,e);else if(typeof t=="object")for(let n=0;n<t.length;n++)ai(t[n],e,i)}function Po(t,e){let i=t.type,n=e.data.on;n&&n[i]&&ai(n[i],e,t)}function No(){return function t(e){Po(e,t.vnode)}}function we(t,e){let i=t.data.on,n=t.listener,o=t.elm,r=e&&e.data.on,s=e&&e.elm,a;if(i!==r){if(i&&n)if(r)for(a in i)r[a]||o.removeEventListener(a,n,!1);else for(a in i)o.removeEventListener(a,n,!1);if(r){let d=e.listener=t.listener||No();if(d.vnode=e,i)for(a in r)i[a]||s.addEventListener(a,d,!1);else for(a in r)s.addEventListener(a,d,!1)}}}var ke={create:we,update:we,destroy:we};function li(t,e){let i,n,o,r=e.elm,s=t.data.props,a=e.data.props;if(!(!s&&!a)&&s!==a){s=s||{},a=a||{};for(i in a)n=a[i],o=s[i],o!==n&&(i!=="value"||r[i]!==n)&&(r[i]=n)}}var $e={create:li,update:li};var ci=typeof window?.requestAnimationFrame=="function"?window.requestAnimationFrame.bind(window):setTimeout,Oo=function(t){ci(function(){ci(t)})},ze=!1;function Fo(t,e,i){Oo(function(){t[e]=i})}function di(t,e){let i,n,o=e.elm,r=t.data.style,s=e.data.style;if(!r&&!s||r===s)return;r=r||{},s=s||{};let a="delayed"in r;for(n in r)n in s||(n[0]==="-"&&n[1]==="-"?o.style.removeProperty(n):o.style[n]="");for(n in s)if(i=s[n],n==="delayed"&&s.delayed)for(let d in s.delayed)i=s.delayed[d],(!a||i!==r.delayed[d])&&Fo(o.style,d,i);else n!=="remove"&&i!==r[n]&&(n[0]==="-"&&n[1]==="-"?o.style.setProperty(n,i):o.style[n]=i)}function Bo(t){let e,i,n=t.elm,o=t.data.style;if(!(!o||!(e=o.destroy)))for(i in e)n.style[i]=e[i]}function Ro(t,e){let i=t.data.style;if(!i||!i.remove){e();return}ze||(t.elm.offsetLeft,ze=!0);let n,o=t.elm,r=0,s=i.remove,a=0,d=[];for(n in s)d.push(n),o.style[n]=s[n];let c=getComputedStyle(o)["transition-property"].split(", ");for(;r<c.length;++r)d.indexOf(c[r])!==-1&&a++;o.addEventListener("transitionend",function(h){h.target===o&&--a,a===0&&e()})}function Go(){ze=!1}var Ce={pre:Go,create:di,update:di,destroy:Bo,remove:Ro};var bi=lt(hi(),1),Ie=lt(vi(),1);function Ee(t,e={}){let i=e.directive||"@";function n(s,a,d){if(s==="!--")return bt("!",a.comment);d&&d.length&&(d.length===1?d=d[0]:d=[].concat.apply([],d));let l=Object.keys(a);if(!l||!l.length)return bt(s,d);let c={};for(let h=0,g=l.length;g>h;h++){let b=l[h];if(b.indexOf(i)===0){let m=b.slice(1).split(":");(m[0]!=="attrs"||(0,Ie.default)(m[1]))&&a[b]==="false"&&(a[b]=!1);let v=c;for(let w=0,x=m.length,$=x-1;w<x;w++){let z=m[w];w===$?v[z]=a[b]:v[z]?v=v[z]:v=v[z]={}}}else(0,Ie.default)(b)&&a[b]==="false"&&(a[b]=!1),c.attrs||(c.attrs={}),c.attrs[b]=a[b]}return bt(s,c,d)}let o=ve(t||[]),r=(0,bi.default)(n,{comments:!0,attrToProp:!1});return r.update=function(a,d){return o(a,d)},r.thunk=be,r}var u=Ee([ye,ke,xe,$e,Ce]);var yi=".car{display:grid;grid-template-columns:1fr;position:relative;overflow-x:clip;min-block-size:100px}.car.car_narrow{display:flex}.car h3{color:inherit;font-size:var(--syndiCarouselHeadingFontSize, 30px);font-weight:var(--syndiCarouselHeadingFontWeight,var(--syndiCommonHeaderFontWeight,bold));font-family:var(--syndiCarouselHeadingFontFamily, var(--syndiCommonHeaderFontFamily)),var(--syndiDefaultFontFamily);line-height:var(--syndiCarouselHeadingLineHeight, 1);background-color:transparent}.car p{color:inherit;font-family:var(--syndiCarouselBodyFontFamily, var(--syndiCommonBodyTextFontFamily)),var(--syndiDefaultFontFamily);font-size:var(--syndiCarouselBodyFontSize, 20px);line-height:var(--syndiCarouselBodyLineHeight, 24px);margin-block-start:5px;background-color:transparent}.car div{touch-action:pan-y}.car button{text-align:center;font-family:var(--syndiCommonBodyTextFontFamily),var(--syndiDefaultFontFamily);color:rgb(var(--syndiCommonBodyTextColorRgb));font-size:var(--syndiCommonBodyTextFontSize, 20px);border-color:transparent;outline:transparent}button.car-menu-item{display:flex;justify-content:center;align-items:center;inline-size:24px;block-size:24px;margin-block:0;margin-inline:4px;padding:0;background-color:#fff;border-radius:50%}button.car-menu-item:active,button.car-menu-item:focus,button.car-menu-item:hover{outline:3px solid #000000}.car_narrow button.car-menu-item{inline-size:20px;block-size:20px}button.car-menu-item div{display:flex;justify-content:center;align-items:center;margin-block:0;border-radius:50%;border:1px solid #6d6d6d;block-size:12px;inline-size:12px;background-color:#6d6d6d;padding:0;transition:all ease-in-out .2s}button.car-menu-item:active div,button.car-menu-item:focus div,button.car-menu-item:hover div{block-size:14px;inline-size:14px}button.car-menu-item_selected div,button.car-menu-item_selected:active div,button.car-menu-item_selected:focus div,button.car-menu-item_selected:hover div{inline-size:18px;block-size:18px;background-color:var(--syndiCarouselNavigationItemSelectedBackgroundColor,#2179d3);color:var(--syndiCarouselNavigationItemSelectedColor,#fff)}.car_narrow button.car-menu-item div{block-size:8px;inline-size:8px}.car_narrow button.car-menu-item:active div,.car_narrow button.car-menu-item:focus div,.car_narrow button.car-menu-item:hover div,.car_narrow button.car-menu-item_selected div{block-size:12px;inline-size:12px}.car-step button.car-menu-item_selected div{inline-size:24px;block-size:24px;border-color:transparent;background-color:transparent}.car_narrow .car-step button.car-menu-item_selected:focus div{block-size:15px;inline-size:15px}.car-step button.car-menu-item_selected div syndigo-svg-icon::part(guts),.car_narrow .car-step button.car-menu-item_selected div syndigo-svg-icon::part(guts){position:relative;fill:var(--syndiCarouselNavigationItemSelectedBackgroundColor,#246eb7);color:var(--syndiCarouselNavigationItemSelectedColor,#fff)}.car-menu-container-horizontal{grid-area:row-menu;display:flex;justify-content:center;align-items:center;block-size:30px;max-block-size:30px;inline-size:100%;word-break:break-word}.car-menu-horizontal{display:flex;justify-content:center;align-items:center;padding:0;margin:0}.car-scrollable{display:flex;overflow:hidden;overflow-y:auto;width:100%;block-size:calc(100% - 2em);max-block-size:calc(100% - 2em);text-align:start}.car-col-nav-end,.car-col-nav-start{display:flex;justify-content:center;background-color:#fff;block-size:100%;z-index:5}.car_narrow .car-col-nav-end,.car_narrow .car-col-nav-start{block-size:30px;inline-size:30px;min-inline-size:30px}.car-content.slide-in{position:relative;inset-inline-start:100%;inset-block-start:0px;opacity:1;transition:transform .4s ease-in-out,inset-inline-start .4s ease-in-out;z-index:1}.car_narrow .car-content.slide-in{position:absolute;inline-size:100%}.car_narrow .car-content.slide-in img{display:block}.car_narrow .text-content{padding-block-start:1em;padding-block-end:2px}.car_narrow .text-content h3{font-size:20px;inline-size:auto;margin-inline:0;padding-inline:5px;margin-block-start:5px}.car_narrow .text-content p{font-size:16px;inline-size:auto;margin-inline:0;padding-inline:8px;margin-block:5px 0}.car_narrow .text-content p>p{padding-inline:0;margin-block-end:0}.car-text-overlay{position:absolute;inline-size:100%;cursor:default;overflow:hidden;overflow-y:auto;max-block-size:calc(100% - 2em)}.car-text-overlay h3{font-size:var(--syndiCarouselOverlayHeadingFontSize, var(--syndiCarouselHeadingFontSize, 30px));font-weight:var(--syndiCarouselOverlayHeadingFontWeight,var(--syndiCarouselHeadingFontWeight,var(--syndiCommonHeaderFontWeight,bold)));font-family:var(--syndiCarouselOverlayHeadingFontFamily, var(--syndiCarouselHeadingFontFamily, var(--syndiCommonHeaderFontFamily))),var(--syndiDefaultFontFamily);line-height:var(--syndiCarouselOverlayHeadingLineHeight, var(--syndiCarouselHeadingLineHeight, 1))}.car-text-overlay p{font-size:var(--syndiCarouselOverlayBodyFontSize, var(--syndiCarouselBodyFontSize, 20px));font-weight:var(--syndiCarouselOverlayBodyFontWeight);font-family:var(--syndiCarouselOverlayBodyFontFamily, var(--syndiCarouselBodyFontFamily, var(--syndiCommonBodyTextFontFamily))),var(--syndiDefaultFontFamily);line-height:var(--syndiCarouselOverlayBodyLineHeight, var(--syndiCarouselBodyLineHeight, 24px))}";var Di=lt(Se(),1);var Gt={BlackOverWhite:"BlackOverWhite",WhiteOverBlack:"WhiteOverBlack",BlackNoBackground:"BlackNoBackground",WhiteNoBackground:"WhiteNoBackground",Custom:"Custom"};function nr({colorOption:t,fontColor:e,fontBackgroundColor:i}){let n="#ffffff",o="#000000",r={fontColor:"",fontBackgroundColor:""};switch(t){case Gt.BlackOverWhite:r.fontColor=o,r.fontBackgroundColor=n;break;case Gt.WhiteOverBlack:r.fontColor=n,r.fontBackgroundColor=o;break;case Gt.BlackNoBackground:r.fontColor=o,r.fontBackgroundColor="transparent";break;case Gt.WhiteNoBackground:r.fontColor=n,r.fontBackgroundColor="transparent";break;case Gt.Custom:r.fontColor=e,r.fontBackgroundColor=i;break;default:break}return r}function wi({isFullscreen:t,dimension:e}){if(e==="width"){let i=document.documentElement.clientWidth>window.innerWidth?window.innerWidth:document.documentElement.clientWidth;return t?i:window.outerWidth>1440?1440:window.outerWidth}else{let i=document.documentElement.clientHeight>window.innerHeight?window.innerHeight:document.documentElement.clientHeight;return t?i:window.outerHeight>=1080?900:600}}function or(t){return t<=600}function rr(t){return wi({isFullscreen:t,dimension:"height"})}function sr(t){return wi({isFullscreen:t,dimension:"width"})}var q={isNarrow:or,maxHeight:rr,maxWidth:sr,getColorPresets:nr,NARROW_WIDTH:600,MEDIA_HEIGHT_WIDE:900,MEDIA_HEIGHT_NARROW:600};var ar={None:"None",Video:"Video",Image:"Image"},lr={Left:"Left",Center:"Center",Right:"Right"},cr={Left:"Left",Center:"Center",Right:"Right"},dr={WIDE_MEDIA_HEIGHT:q.MEDIA_HEIGHT_WIDE,NARROW_MEDIA_HEIGHT:q.MEDIA_HEIGHT_NARROW,NAV_WIDTH:35,MENU_HEIGHT:30},V={ASSET_TYPES:ar,ITEM_POSITIONS:lr,TEXT_POSITIONS:cr,...dr};function W(t,e,i="jpeg"){let{url:n,availableWidths:o}=t,r;for(let s of o)if(r=s,e<=r)break;return n.replace("{0}",r).replace("{1}",i)}function P(t,e){let{url:i,availableWidths:n}=t;return n.map(o=>`${i.replace("{0}",o).replace("{1}",e)} ${o}w`).join(`,
`)}var ur={avif:"image/avif",webp:"image/webp",jpg:"image/jpg",jpeg:"image/jpeg",png:"image/png",gif:"image/gif",svg:"image/svg+xml"};function A(t){let e=["webp","jpg","jpeg","png","gif","svg"],i=[],n="";for(let r of e)if(t.availableTypes.includes(r)){let s=ur[r];i.push({ext:r,srcset:P(t,r),mimeType:s}),n||(n=r)}return{sources:i.map(({ext:r,mimeType:s})=>u`<source srcset="${P(t,r)}" type="${s}">`),sourcesData:i,fallbackImageType:n}}function ut(){return new pr}var pr=function(){function t(){this.index={},this.array=[]}return t.prototype.size=function(){return this.array.length},t.prototype.empty=function(){return this.array.length===0},t.prototype.itemAt=function(e){return this.array[e]},t.prototype.contains=function(e){return this.index[e.id()]!==void 0},t.prototype.find=function(e){var i=this.index[e.id()];return i===void 0?void 0:this.array[i]},t.prototype.setDefault=function(e,i){var n=this.index[e.id()];if(n===void 0){var o=new ki(e,i());return this.index[e.id()]=this.array.length,this.array.push(o),o}else return this.array[n]},t.prototype.insert=function(e,i){var n=new ki(e,i),o=this.index[e.id()];return o===void 0?(this.index[e.id()]=this.array.length,this.array.push(n)):this.array[o]=n,n},t.prototype.erase=function(e){var i=this.index[e.id()];if(i!==void 0){this.index[e.id()]=void 0;var n=this.array[i],o=this.array.pop();return n!==o&&(this.array[i]=o,this.index[o.first.id()]=i),n}},t.prototype.copy=function(){for(var e=new t,i=0;i<this.array.length;i++){var n=this.array[i].copy();e.array[i]=n,e.index[n.first.id()]=i}return e},t}(),ki=function(){function t(e,i){this.first=e,this.second=i}return t.prototype.copy=function(){return new t(this.first,this.second)},t}();var Mt=function(){function t(e){e===void 0&&(e=""),this._value=0,this._context=null,this._id=fr++,this._name=e}return t.prototype.id=function(){return this._id},t.prototype.name=function(){return this._name},t.prototype.setName=function(e){this._name=e},t.prototype.context=function(){return this._context},t.prototype.setContext=function(e){this._context=e},t.prototype.value=function(){return this._value},t.prototype.setValue=function(e){this._value=e},t.prototype.plus=function(e){return new rt(this,e)},t.prototype.minus=function(e){return new rt(this,typeof e=="number"?-e:[-1,e])},t.prototype.multiply=function(e){return new rt([e,this])},t.prototype.divide=function(e){return new rt([1/e,this])},t.prototype.toJSON=function(){return{name:this._name,value:this._value}},t.prototype.toString=function(){return this._context+"["+this._name+":"+this._value+"]"},t}();var fr=0;var rt=function(){function t(){var e=gr(arguments);this._terms=e.terms,this._constant=e.constant}return t.prototype.terms=function(){return this._terms},t.prototype.constant=function(){return this._constant},t.prototype.value=function(){for(var e=this._constant,i=0,n=this._terms.size();i<n;i++){var o=this._terms.itemAt(i);e+=o.first.value()*o.second}return e},t.prototype.plus=function(e){return new t(this,e)},t.prototype.minus=function(e){return new t(this,typeof e=="number"?-e:[-1,e])},t.prototype.multiply=function(e){return new t([e,this])},t.prototype.divide=function(e){return new t([1/e,this])},t.prototype.isConstant=function(){return this._terms.size()==0},t.prototype.toString=function(){var e=this._terms.array.map(function(i){return i.second+"*"+i.first.toString()}).join(" + ");return!this.isConstant()&&this._constant!==0&&(e+=" + "),e+=this._constant,e},t}();function gr(t){for(var e=0,i=function(){return 0},n=ut(),o=0,r=t.length;o<r;++o){var s=t[o];if(typeof s=="number")e+=s;else if(s instanceof Mt)n.setDefault(s,i).second+=1;else if(s instanceof rt){e+=s.constant();for(var a=s.terms(),d=0,l=a.size();d<l;d++){var c=a.itemAt(d);n.setDefault(c.first,i).second+=c.second}}else if(s instanceof Array){if(s.length!==2)throw new Error("array must have length 2");var h=s[0],g=s[1];if(typeof h!="number")throw new Error("array item 0 must be a number");if(g instanceof Mt)n.setDefault(g,i).second+=h;else if(g instanceof rt){e+=g.constant()*h;for(var a=g.terms(),d=0,l=a.size();d<l;d++){var c=a.itemAt(d);n.setDefault(c.first,i).second+=c.second*h}}else throw new Error("array item 1 must be a variable or expression")}else throw new Error("invalid Expression argument: "+s)}return{terms:n,constant:e}}var Q=function(){function t(){}return t.create=function(e,i,n,o){o===void 0&&(o=1);var r=0;return r+=Math.max(0,Math.min(1e3,e*o))*1e6,r+=Math.max(0,Math.min(1e3,i*o))*1e3,r+=Math.max(0,Math.min(1e3,n*o)),r},t.clip=function(e){return Math.max(0,Math.min(t.required,e))},t.required=t.create(1e3,1e3,1e3),t.strong=t.create(1,0,0),t.medium=t.create(0,1,0),t.weak=t.create(0,0,1),t}();var nt;(function(t){t[t.Le=0]="Le",t[t.Ge=1]="Ge",t[t.Eq=2]="Eq"})(nt||(nt={}));var Dt=function(){function t(e,i,n,o){o===void 0&&(o=Q.required),this._id=hr++,this._operator=i,this._strength=Q.clip(o),n===void 0&&e instanceof rt?this._expression=e:this._expression=e.minus(n)}return t.prototype.id=function(){return this._id},t.prototype.expression=function(){return this._expression},t.prototype.op=function(){return this._operator},t.prototype.strength=function(){return this._strength},t.prototype.toString=function(){return this._expression.toString()+" "+["<=",">=","="][this._operator]+" 0 ("+this._strength.toString()+")"},t}();var hr=0;var zi=function(){function t(){this._cnMap=mr(),this._rowMap=vr(),this._varMap=br(),this._editMap=yr(),this._infeasibleRows=[],this._objective=new $i,this._artificial=null,this._idTick=0}return t.prototype.createConstraint=function(e,i,n,o){o===void 0&&(o=Q.required);var r=new Dt(e,i,n,o);return this.addConstraint(r),r},t.prototype.addConstraint=function(e){var i=this._cnMap.find(e);if(i!==void 0)throw new Error("duplicate constraint");var n=this._createRow(e),o=n.row,r=n.tag,s=this._chooseSubject(o,r);if(s.type()===M.Invalid&&o.allDummies())if(se(o.constant()))s=r.marker;else throw new Error("unsatisfiable constraint");if(s.type()===M.Invalid){if(!this._addWithArtificialVariable(o))throw new Error("unsatisfiable constraint")}else o.solveFor(s),this._substitute(s,o),this._rowMap.insert(s,o);this._cnMap.insert(e,r),this._optimize(this._objective)},t.prototype.removeConstraint=function(e){var i=this._cnMap.erase(e);if(i===void 0)throw new Error("unknown constraint");this._removeConstraintEffects(e,i.second);var n=i.second.marker,o=this._rowMap.erase(n);if(o===void 0){var r=this._getMarkerLeavingSymbol(n);if(r.type()===M.Invalid)throw new Error("failed to find leaving row");o=this._rowMap.erase(r),o.second.solveForEx(r,n),this._substitute(n,o.second)}this._optimize(this._objective)},t.prototype.hasConstraint=function(e){return this._cnMap.contains(e)},t.prototype.addEditVariable=function(e,i){var n=this._editMap.find(e);if(n!==void 0)throw new Error("duplicate edit variable");if(i=Q.clip(i),i===Q.required)throw new Error("bad required strength");var o=new rt(e),r=new Dt(o,nt.Eq,void 0,i);this.addConstraint(r);var s=this._cnMap.find(r).second,a={tag:s,constraint:r,constant:0};this._editMap.insert(e,a)},t.prototype.removeEditVariable=function(e){var i=this._editMap.erase(e);if(i===void 0)throw new Error("unknown edit variable");this.removeConstraint(i.second.constraint)},t.prototype.hasEditVariable=function(e){return this._editMap.contains(e)},t.prototype.suggestValue=function(e,i){var n=this._editMap.find(e);if(n===void 0)throw new Error("unknown edit variable");var o=this._rowMap,r=n.second,s=i-r.constant;r.constant=i;var a=r.tag.marker,d=o.find(a);if(d!==void 0){d.second.add(-s)<0&&this._infeasibleRows.push(a),this._dualOptimize();return}var l=r.tag.other;if(d=o.find(l),d!==void 0){d.second.add(s)<0&&this._infeasibleRows.push(l),this._dualOptimize();return}for(var c=0,h=o.size();c<h;++c){var g=o.itemAt(c),b=g.second,p=b.coefficientFor(a);p!==0&&b.add(s*p)<0&&g.first.type()!==M.External&&this._infeasibleRows.push(g.first)}this._dualOptimize()},t.prototype.updateVariables=function(){for(var e=this._varMap,i=this._rowMap,n=0,o=e.size();n<o;++n){var r=e.itemAt(n),s=i.find(r.second);s!==void 0?r.first.setValue(s.second.constant()):r.first.setValue(0)}},t.prototype._getVarSymbol=function(e){var i=this,n=function(){return i._makeSymbol(M.External)};return this._varMap.setDefault(e,n).second},t.prototype._createRow=function(e){for(var i=e.expression(),n=new $i(i.constant()),o=i.terms(),r=0,s=o.size();r<s;++r){var a=o.itemAt(r);if(!se(a.second)){var d=this._getVarSymbol(a.first),l=this._rowMap.find(d);l!==void 0?n.insertRow(l.second,a.second):n.insertSymbol(d,a.second)}}var c=this._objective,h=e.strength(),g={marker:pt,other:pt};switch(e.op()){case nt.Le:case nt.Ge:{var b=e.op()===nt.Le?1:-1,p=this._makeSymbol(M.Slack);if(g.marker=p,n.insertSymbol(p,b),h<Q.required){var m=this._makeSymbol(M.Error);g.other=m,n.insertSymbol(m,-b),c.insertSymbol(m,h)}break}case nt.Eq:{if(h<Q.required){var v=this._makeSymbol(M.Error),w=this._makeSymbol(M.Error);g.marker=v,g.other=w,n.insertSymbol(v,-1),n.insertSymbol(w,1),c.insertSymbol(v,h),c.insertSymbol(w,h)}else{var x=this._makeSymbol(M.Dummy);g.marker=x,n.insertSymbol(x)}break}}return n.constant()<0&&n.reverseSign(),{row:n,tag:g}},t.prototype._chooseSubject=function(e,i){for(var n=e.cells(),o=0,r=n.size();o<r;++o){var s=n.itemAt(o);if(s.first.type()===M.External)return s.first}var a=i.marker.type();return(a===M.Slack||a===M.Error)&&e.coefficientFor(i.marker)<0?i.marker:(a=i.other.type(),(a===M.Slack||a===M.Error)&&e.coefficientFor(i.other)<0?i.other:pt)},t.prototype._addWithArtificialVariable=function(e){var i=this._makeSymbol(M.Slack);this._rowMap.insert(i,e.copy()),this._artificial=e.copy(),this._optimize(this._artificial);var n=se(this._artificial.constant());this._artificial=null;var o=this._rowMap.erase(i);if(o!==void 0){var r=o.second;if(r.isConstant())return n;var s=this._anyPivotableSymbol(r);if(s.type()===M.Invalid)return!1;r.solveForEx(i,s),this._substitute(s,r),this._rowMap.insert(s,r)}for(var a=this._rowMap,d=0,l=a.size();d<l;++d)a.itemAt(d).second.removeSymbol(i);return this._objective.removeSymbol(i),n},t.prototype._substitute=function(e,i){for(var n=this._rowMap,o=0,r=n.size();o<r;++o){var s=n.itemAt(o);s.second.substitute(e,i),s.second.constant()<0&&s.first.type()!==M.External&&this._infeasibleRows.push(s.first)}this._objective.substitute(e,i),this._artificial&&this._artificial.substitute(e,i)},t.prototype._optimize=function(e){for(;;){var i=this._getEnteringSymbol(e);if(i.type()===M.Invalid)return;var n=this._getLeavingSymbol(i);if(n.type()===M.Invalid)throw new Error("the objective is unbounded");var o=this._rowMap.erase(n).second;o.solveForEx(n,i),this._substitute(i,o),this._rowMap.insert(i,o)}},t.prototype._dualOptimize=function(){for(var e=this._rowMap,i=this._infeasibleRows;i.length!==0;){var n=i.pop(),o=e.find(n);if(o!==void 0&&o.second.constant()<0){var r=this._getDualEnteringSymbol(o.second);if(r.type()===M.Invalid)throw new Error("dual optimize failed");var s=o.second;e.erase(n),s.solveForEx(n,r),this._substitute(r,s),e.insert(r,s)}}},t.prototype._getEnteringSymbol=function(e){for(var i=e.cells(),n=0,o=i.size();n<o;++n){var r=i.itemAt(n),s=r.first;if(r.second<0&&s.type()!==M.Dummy)return s}return pt},t.prototype._getDualEnteringSymbol=function(e){for(var i=Number.MAX_VALUE,n=pt,o=e.cells(),r=0,s=o.size();r<s;++r){var a=o.itemAt(r),d=a.first,l=a.second;if(l>0&&d.type()!==M.Dummy){var c=this._objective.coefficientFor(d),h=c/l;h<i&&(i=h,n=d)}}return n},t.prototype._getLeavingSymbol=function(e){for(var i=Number.MAX_VALUE,n=pt,o=this._rowMap,r=0,s=o.size();r<s;++r){var a=o.itemAt(r),d=a.first;if(d.type()!==M.External){var l=a.second,c=l.coefficientFor(e);if(c<0){var h=-l.constant()/c;h<i&&(i=h,n=d)}}}return n},t.prototype._getMarkerLeavingSymbol=function(e){for(var i=Number.MAX_VALUE,n=i,o=i,r=pt,s=r,a=r,d=r,l=this._rowMap,c=0,h=l.size();c<h;++c){var g=l.itemAt(c),b=g.second,p=b.coefficientFor(e);if(p!==0){var m=g.first;if(m.type()===M.External)d=m;else if(p<0){var v=-b.constant()/p;v<n&&(n=v,s=m)}else{var v=b.constant()/p;v<o&&(o=v,a=m)}}}return s!==r?s:a!==r?a:d},t.prototype._removeConstraintEffects=function(e,i){i.marker.type()===M.Error&&this._removeMarkerEffects(i.marker,e.strength()),i.other.type()===M.Error&&this._removeMarkerEffects(i.other,e.strength())},t.prototype._removeMarkerEffects=function(e,i){var n=this._rowMap.find(e);n!==void 0?this._objective.insertRow(n.second,-i):this._objective.insertSymbol(e,-i)},t.prototype._anyPivotableSymbol=function(e){for(var i=e.cells(),n=0,o=i.size();n<o;++n){var r=i.itemAt(n),s=r.first.type();if(s===M.Slack||s===M.Error)return r.first}return pt},t.prototype._makeSymbol=function(e){return new Ci(e,this._idTick++)},t}();function se(t){var e=1e-8;return t<0?-t<e:t<e}function mr(){return ut()}function vr(){return ut()}function br(){return ut()}function yr(){return ut()}var M;(function(t){t[t.Invalid=0]="Invalid",t[t.External=1]="External",t[t.Slack=2]="Slack",t[t.Error=3]="Error",t[t.Dummy=4]="Dummy"})(M||(M={}));var Ci=function(){function t(e,i){this._id=i,this._type=e}return t.prototype.id=function(){return this._id},t.prototype.type=function(){return this._type},t}(),pt=new Ci(M.Invalid,-1),$i=function(){function t(e){e===void 0&&(e=0),this._cellMap=ut(),this._constant=e}return t.prototype.cells=function(){return this._cellMap},t.prototype.constant=function(){return this._constant},t.prototype.isConstant=function(){return this._cellMap.empty()},t.prototype.allDummies=function(){for(var e=this._cellMap,i=0,n=e.size();i<n;++i){var o=e.itemAt(i);if(o.first.type()!==M.Dummy)return!1}return!0},t.prototype.copy=function(){var e=new t(this._constant);return e._cellMap=this._cellMap.copy(),e},t.prototype.add=function(e){return this._constant+=e},t.prototype.insertSymbol=function(e,i){i===void 0&&(i=1);var n=this._cellMap.setDefault(e,function(){return 0});se(n.second+=i)&&this._cellMap.erase(e)},t.prototype.insertRow=function(e,i){i===void 0&&(i=1),this._constant+=e._constant*i;for(var n=e._cellMap,o=0,r=n.size();o<r;++o){var s=n.itemAt(o);this.insertSymbol(s.first,s.second*i)}},t.prototype.removeSymbol=function(e){this._cellMap.erase(e)},t.prototype.reverseSign=function(){this._constant=-this._constant;for(var e=this._cellMap,i=0,n=e.size();i<n;++i){var o=e.itemAt(i);o.second=-o.second}},t.prototype.solveFor=function(e){var i=this._cellMap,n=i.erase(e),o=-1/n.second;this._constant*=o;for(var r=0,s=i.size();r<s;++r)i.itemAt(r).second*=o},t.prototype.solveForEx=function(e,i){this.insertSymbol(e,-1),this.solveFor(i)},t.prototype.coefficientFor=function(e){var i=this._cellMap.find(e);return i!==void 0?i.second:0},t.prototype.substitute=function(e,i){var n=this._cellMap.erase(e);n!==void 0&&this.insertRow(i,n.second)},t}();function wr(t,e){function i(){this.constructor=t}i.prototype=e.prototype,t.prototype=new i}function Wt(t,e,i,n){this.message=t,this.expected=e,this.found=i,this.location=n,this.name="SyntaxError",typeof Error.captureStackTrace=="function"&&Error.captureStackTrace(this,Wt)}wr(Wt,Error);Wt.buildMessage=function(t,e){var i={literal:function(l){return'"'+o(l.text)+'"'},class:function(l){var c="",h;for(h=0;h<l.parts.length;h++)c+=l.parts[h]instanceof Array?r(l.parts[h][0])+"-"+r(l.parts[h][1]):r(l.parts[h]);return"["+(l.inverted?"^":"")+c+"]"},any:function(l){return"any character"},end:function(l){return"end of input"},other:function(l){return l.description}};function n(l){return l.charCodeAt(0).toString(16).toUpperCase()}function o(l){return l.replace(/\\/g,"\\\\").replace(/"/g,'\\"').replace(/\0/g,"\\0").replace(/\t/g,"\\t").replace(/\n/g,"\\n").replace(/\r/g,"\\r").replace(/[\x00-\x0F]/g,function(c){return"\\x0"+n(c)}).replace(/[\x10-\x1F\x7F-\x9F]/g,function(c){return"\\x"+n(c)})}function r(l){return l.replace(/\\/g,"\\\\").replace(/\]/g,"\\]").replace(/\^/g,"\\^").replace(/-/g,"\\-").replace(/\0/g,"\\0").replace(/\t/g,"\\t").replace(/\n/g,"\\n").replace(/\r/g,"\\r").replace(/[\x00-\x0F]/g,function(c){return"\\x0"+n(c)}).replace(/[\x10-\x1F\x7F-\x9F]/g,function(c){return"\\x"+n(c)})}function s(l){return i[l.type](l)}function a(l){var c=new Array(l.length),h,g;for(h=0;h<l.length;h++)c[h]=s(l[h]);if(c.sort(),c.length>0){for(h=1,g=1;h<c.length;h++)c[h-1]!==c[h]&&(c[g]=c[h],g++);c.length=g}switch(c.length){case 1:return c[0];case 2:return c[0]+" or "+c[1];default:return c.slice(0,-1).join(", ")+", or "+c[c.length-1]}}function d(l){return l?'"'+o(l)+'"':"end of input"}return"Expected "+a(t)+" but "+d(e)+" found."};function Ti(t,e){e=e!==void 0?e:{};var i={},n={start:0},o=0,r=[function(C){return C},function(C,y){let f=y.length?y[0].toUpperCase():"STRONG";return C.strength=f,C},function(C){let y=typeof strength<"u"?strength.toUpperCase():"STRONG";return{type:"EditableVariable",name:C,strength:y}},z(),/^[a-zA-Z.]/,$([["a","z"],["A","Z"],"."],!1,!1),"$",x("$",!1),"_",x("_",!1),/^[0-9]/,$([["0","9"]],!1,!1),I("whitespace"),/^[\t\x0B\f \xA0\uFEFF]/,$(["	","\v","\f"," ","\xA0","\uFEFF"],!1,!1),/^[\n\r\u2028\u2029]/,$([`
`,"\r","\u2028","\u2029"],!1,!1),I("end of line"),`
`,x(`
`,!1),`\r
`,x(`\r
`,!1),"\r",x("\r",!1),"\u2028",x("\u2028",!1),"\u2029",x("\u2029",!1),";",x(";",!1),I("comment"),"/*",x("/*",!1),"*/",x("*/",!1),"//",x("//",!1),function(C){return{type:"NumericLiteral",value:C}},function(C){return parseInt(C.join(""))},".",x(".",!1),function(C,y){return parseFloat(C.join("")+y.join(""))},/^[\-+]/,$(["-","+"],!1,!1),I("identifier"),function(C){return C},function(C,y){return C+y.join("")},function(C){return{type:"Variable",name:C}},"(",x("(",!1),")",x(")",!1),function(C){return C},function(C,y){return{type:"UnaryExpression",operator:C,expression:y}},"+",x("+",!1),"-",x("-",!1),"!",x("!",!1),function(C,y){for(var f=C,D=0;D<y.length;D++)f={type:"MultiplicativeExpression",operator:y[D][1],left:f,right:y[D][3]};return f},"*",x("*",!1),"/",x("/",!1),function(C,y){for(var f=C,D=0;D<y.length;D++)f={type:"AdditiveExpression",operator:y[D][1],left:f,right:y[D][3]};return f},function(C,y){for(var f=C,D=0;D<y.length;D++)f={type:"Inequality",operator:y[D][1],left:f,right:y[D][3]};return f},"<=",x("<=",!1),">=",x(">=",!1),"<",x("<",!1),">",x(">",!1),"editable",x("EDITABLE",!0),"required",x("REQUIRED",!0),"strong",x("STRONG",!0),"medium",x("MEDIUM",!0),"weak",x("WEAK",!0),"==",x("==",!1),function(C,y){for(var f=C,D=0;D<y.length;D++)f={type:"Equality",operator:y[D][1],left:f,right:y[D][3]};return f}],s=[E(`%;//A#$;!0#*;!&/1$;//($8#: #!!)(#'#("'#&'#`),E(`%;//k#;A/b$$;%0#*;%&/R$$;@0#*;@&/B$$;%0#*;%&/2$;(/)$8&:!&"$")(&'#(%'#($'#(#'#("'#&'#.\xA1 &%;//\x97#;?/\x8E$$;%/&#0#*;%&&&#/x$;4/o$%$;%/&#0#*;%&&&#/,#;@/#$+")("'#&'#." &"/A$$;%0#*;%&/1$;(/($8':"'!#)(''#(&'#(%'#($'#(#'#("'#&'#`),E('1""5!7#'),E(`4$""5!7%.5 &2&""6&7'.) &2(""6(7)`),E(';#.) &4*""5!7+'),E('<4-""5!7.=." 7,'),E('4/""5!70'),E('<22""6273.M &24""6475.A &26""6677.5 &28""6879.) &2:""6:7;=." 71'),E(`%;//2#2<""6<7=/#$+")("'#&'#.O &%;./,#;'/#$+")("'#&'#.6 &%;//,#;)/#$+")("'#&'#`),E(`%<1""5!7#=.##&&!&'#`),E('<;+.# &;-=." 7>'),E(`%2?""6?7@/\x8C#$%%<2A""6A7B=.##&&!&'#/,#;"/#$+")("'#&'#0H*%%<2A""6A7B=.##&&!&'#/,#;"/#$+")("'#&'#&/2$2A""6A7B/#$+#)(#'#("'#&'#`),E(`%2?""6?7@/\x98#$%%<2A""6A7B.# &;&=.##&&!&'#/,#;"/#$+")("'#&'#0N*%%<2A""6A7B.# &;&=.##&&!&'#/,#;"/#$+")("'#&'#&/2$2A""6A7B/#$+#)(#'#("'#&'#`),E(`%2C""6C7D/\x80#$%%<;&=.##&&!&'#/,#;"/#$+")("'#&'#0B*%%<;&=.##&&!&'#/,#;"/#$+")("'#&'#&/2$;&.# &;)/#$+#)(#'#("'#&'#`),E("$;%.) &;,.# &;-0/*;%.) &;,.# &;-&"),E("$;%.) &;'.# &;*0/*;%.) &;'.# &;*&"),E("%;2.# &;1/' 8!:E!! )"),E(`%$4*""5!7+/,#0)*4*""5!7+&&&#/' 8!:F!! )`),E(`%%;1/2#2G""6G7H/#$+")("'#&'#/K#$4*""5!7+/,#0)*4*""5!7+&&&#/)$8":I""! )("'#&'#`),E(`%4J""5!7K." &"/E#$4*""5!7+/,#0)*4*""5!7+&&&#/#$+")("'#&'#`),E(`<%;5/' 8!:M!! )=." 7L`),E(`<%;#/9#$;$0#*;$&/)$8":N""! )("'#&'#=." 7L`),E(`%;4/' 8!:O!! ).h &;0.b &%2P""6P7Q/R#;//I$;A/@$;//7$2R""6R7S/($8%:T%!")(%'#($'#(#'#("'#&'#`),E(`;6.E &%;8/;#;//2$;7/)$8#:U#"" )(#'#("'#&'#`),E('2V""6V7W.5 &2X""6X7Y.) &2Z""6Z7['),E(`%;7/\x83#$%;//>#;:/5$;//,$;7/#$+$)($'#(#'#("'#&'#0H*%;//>#;:/5$;//,$;7/#$+$)($'#(#'#("'#&'#&/)$8":\\""! )("'#&'#`),E('2]""6]7^.) &2_""6_7`'),E(`%;9/\x83#$%;//>#;</5$;//,$;9/#$+$)($'#(#'#("'#&'#0H*%;//>#;</5$;//,$;9/#$+$)($'#(#'#("'#&'#&/)$8":a""! )("'#&'#`),E('2V""6V7W.) &2X""6X7Y'),E(`%;;/\x83#$%;//>#;>/5$;//,$;;/#$+$)($'#(#'#("'#&'#0H*%;//>#;>/5$;//,$;;/#$+$)($'#(#'#("'#&'#&/)$8":b""! )("'#&'#`),E('2c""6c7d.A &2e""6e7f.5 &2g""6g7h.) &2i""6i7j'),E('3k""5(7l'),E('3m""5(7n.A &3o""5&7p.5 &3q""5&7r.) &3s""5$7t'),E(`%;=/\x8F#$%;//D#2u""6u7v/5$;//,$;=/#$+$)($'#(#'#("'#&'#0N*%;//D#2u""6u7v/5$;//,$;=/#$+$)($'#(#'#("'#&'#&/)$8":w""! )("'#&'#`)],a=0,d=0,l=[{line:1,column:1}],c=0,h=[],g=0,b;if("startRule"in e){if(!(e.startRule in n))throw new Error(`Can't start parsing from rule "`+e.startRule+'".');o=n[e.startRule]}function p(){return t.substring(d,a)}function m(){return k(d,a)}function v(C,y){throw y=y!==void 0?y:k(d,a),T([I(C)],t.substring(d,a),y)}function w(C,y){throw y=y!==void 0?y:k(d,a),O(C,y)}function x(C,y){return{type:"literal",text:C,ignoreCase:y}}function $(C,y,f){return{type:"class",parts:C,inverted:y,ignoreCase:f}}function z(){return{type:"any"}}function S(){return{type:"end"}}function I(C){return{type:"other",description:C}}function _(C){var y=l[C],f;if(y)return y;for(f=C-1;!l[f];)f--;for(y=l[f],y={line:y.line,column:y.column};f<C;)t.charCodeAt(f)===10?(y.line++,y.column=1):y.column++,f++;return l[C]=y,y}function k(C,y){var f=_(C),D=_(y);return{start:{offset:C,line:f.line,column:f.column},end:{offset:y,line:D.line,column:D.column}}}function L(C){a<c||(a>c&&(c=a,h=[]),h.push(C))}function O(C,y){return new Wt(C,null,null,y)}function T(C,y,f){return new Wt(Wt.buildMessage(C,y),C,y,f)}function E(C){var y=new Array(C.length),f;for(f=0;f<C.length;f++)y[f]=C.charCodeAt(f)-32;return y}function Z(C){for(var y=s[C],f=0,D=[],N=y.length,at=[],H=[],Qt,Ot;;){for(;f<N;)switch(y[f]){case 0:H.push(r[y[f+1]]),f+=2;break;case 1:H.push(void 0),f++;break;case 2:H.push(null),f++;break;case 3:H.push(i),f++;break;case 4:H.push([]),f++;break;case 5:H.push(a),f++;break;case 6:H.pop(),f++;break;case 7:a=H.pop(),f++;break;case 8:H.length-=y[f+1],f+=2;break;case 9:H.splice(-2,1),f++;break;case 10:H[H.length-2].push(H.pop()),f++;break;case 11:H.push(H.splice(H.length-y[f+1],y[f+1])),f+=2;break;case 12:H.push(t.substring(H.pop(),a)),f++;break;case 13:at.push(N),D.push(f+3+y[f+1]+y[f+2]),H[H.length-1]?(N=f+3+y[f+1],f+=3):(N=f+3+y[f+1]+y[f+2],f+=3+y[f+1]);break;case 14:at.push(N),D.push(f+3+y[f+1]+y[f+2]),H[H.length-1]===i?(N=f+3+y[f+1],f+=3):(N=f+3+y[f+1]+y[f+2],f+=3+y[f+1]);break;case 15:at.push(N),D.push(f+3+y[f+1]+y[f+2]),H[H.length-1]!==i?(N=f+3+y[f+1],f+=3):(N=f+3+y[f+1]+y[f+2],f+=3+y[f+1]);break;case 16:H[H.length-1]!==i?(at.push(N),D.push(f),N=f+2+y[f+1],f+=2):f+=2+y[f+1];break;case 17:at.push(N),D.push(f+3+y[f+1]+y[f+2]),t.length>a?(N=f+3+y[f+1],f+=3):(N=f+3+y[f+1]+y[f+2],f+=3+y[f+1]);break;case 18:at.push(N),D.push(f+4+y[f+2]+y[f+3]),t.substr(a,r[y[f+1]].length)===r[y[f+1]]?(N=f+4+y[f+2],f+=4):(N=f+4+y[f+2]+y[f+3],f+=4+y[f+2]);break;case 19:at.push(N),D.push(f+4+y[f+2]+y[f+3]),t.substr(a,r[y[f+1]].length).toLowerCase()===r[y[f+1]]?(N=f+4+y[f+2],f+=4):(N=f+4+y[f+2]+y[f+3],f+=4+y[f+2]);break;case 20:at.push(N),D.push(f+4+y[f+2]+y[f+3]),r[y[f+1]].test(t.charAt(a))?(N=f+4+y[f+2],f+=4):(N=f+4+y[f+2]+y[f+3],f+=4+y[f+2]);break;case 21:H.push(t.substr(a,y[f+1])),a+=y[f+1],f+=2;break;case 22:H.push(r[y[f+1]]),a+=r[y[f+1]].length,f+=2;break;case 23:H.push(i),g===0&&L(r[y[f+1]]),f+=2;break;case 24:d=H[H.length-1-y[f+1]],f+=2;break;case 25:d=a,f++;break;case 26:for(Qt=y.slice(f+4,f+4+y[f+3]),Ot=0;Ot<y[f+3];Ot++)Qt[Ot]=H[H.length-1-Qt[Ot]];H.splice(H.length-y[f+2],y[f+2],r[y[f+1]].apply(null,Qt)),f+=4+y[f+3];break;case 27:H.push(Z(y[f+1])),f+=2;break;case 28:g++,f++;break;case 29:g--,f++;break;default:throw new Error("Invalid opcode: "+y[f]+".")}if(at.length>0)N=at.pop(),f=D.pop();else break}return H[0]}if(b=Z(o),b!==i&&a===t.length)return b;throw b!==i&&a<t.length&&L(S()),T(h,c<t.length?t.charAt(c):null,c<t.length?k(c,c+1):k(c,c))}var _e={required:Q.required,strong:Q.strong,medium:Q.medium,weak:Q.weak};function He(t){let e=new zi,i={},n={},o=function(s){if(n[s])return n[s];switch(s.type){case"Inequality":let a=s.operator=="<="?nt.Le:nt.Ge,d=new Dt(o(s.left),a,o(s.right),_e[s.strength.toLowerCase()]);return e.addConstraint(d),d;case"Equality":let l=new Dt(o(s.left),nt.Eq,o(s.right),_e[s.strength.toLowerCase()]);return e.addConstraint(l),l;case"MultiplicativeExpression":if(s.operator=="*"){let c=s.right.type==="NumericLiteral"?o(s.left):o(s.right),h=s.right.type==="NumericLiteral"?o(s.right):o(s.left);return c.multiply(h)}else return o(s.left).divide(o(s.right));case"AdditiveExpression":return s.operator=="+"?o(s.left).plus(o(s.right)):o(s.left).minus(o(s.right));case"NumericLiteral":return s.value;case"EditableVariable":return i[s.name]||(i[s.name]=new Mt(s.name),e.addEditVariable(i[s.name],_e[s.strength.toLowerCase()])),i[s.name];case"Variable":return i[s.name]||(i[s.name]=new Mt(s.name)),i[s.name];case"UnaryExpression":break}};return Ti(t).map(o),{solver:e,vars:i}}function Vt(t){let{solver:e,vars:i}=He(t);return{getValues:function({roundToInt:r}={}){let s={};for(let a in i)s[a]=r===!0?Math.round(i[a].value()):i[a].value();return s},suggestValue:function(r,s){let a=i[r];a&&e.suggestValue(a,s)},updateVariables:()=>e.updateVariables()}}var Le={};function B(t,e,i=0){let n=e.offsetWidth,o=e.offsetHeight,{originalHeight:r,originalWidth:s}=t;i=i?`h <= ${i}`:"";let a=`${n},${o},${s},${r},${i}`;if(!Le[a]){let d=s/r;try{let l=Vt(`

                editable ow   strong
                editable oh   strong
                editable pw   strong
                editable ph   strong

                // don't upscale the original media
                w <= ow    required
                h <= oh    required

                // maintain aspect ratio of original media
                h == w / ${d}  required
                //w == h * ${d} required

                // image must fit within the parent container
                w <= pw        required
                h <= ph        required

                ${i}
            `);l.suggestValue("ow",s),l.suggestValue("oh",r),l.suggestValue("pw",n),l.suggestValue("ph",o),l.updateVariables();let c=l.getValues({roundToInt:!0});Le[a]={width:c.w,height:c.h}}catch(l){return console.error(`failed to get values from constraint solver. Input: pw: ${n} ph: ${o} ow: ${s}  oh: ${r} mh: ${i}  ar: ${d}  er: ${l}`),{width:0,height:0}}}return JSON.parse(JSON.stringify(Le[a]))}function R(t,e){if(t.artDirectedAssets?.length){let i=0;for(let n=0;n<t.artDirectedAssets.length;n++){let o=t.artDirectedAssets[n];if(e>o.maxWidth)break;i=n}return t.artDirectedAssets[i].asset}return t}var Ii=".link-button{background:0 0;border:none;cursor:pointer;padding:0;font-size:inherit;color:var(--syndiCommonLinkColor);-webkit-text-decoration:var(--syndiCommonLinkTextDecoration);text-decoration:var(--syndiCommonLinkTextDecoration);inline-size:100%}.link-button:hover{color:var(--syndiCommonLinkColor);-webkit-text-decoration:var(--syndiCommonLinkTextDecoration);text-decoration:var(--syndiCommonLinkTextDecoration)}";function wt(t){let e=document.createElement("a");return e.href=t,e}function G(){}var Ei="*{box-sizing:border-box}dialog{white-space:normal;inset-inline-start:50%;inset-block-start:80px;inline-size:400px;transform:translate(-50%,0);max-inline-size:100%;max-block-size:100%;padding:0;box-shadow:0 0 60px 10px rgba(0,0,0,.9);font-size:14px;font-weight:400}button.cancel{margin-inline-end:10px}button{inline-size:calc(48% - 8px);padding:10px;border:none}a.visit{inline-size:calc(48% - 8px);padding:10px;border:none;text-decoration:none}::backdrop{background-color:rgba(0,0,0,.6)}button{cursor:pointer;touch-action:manipulation;-webkit-user-select:none;-moz-user-select:none;user-select:none}button.close{position:absolute;z-index:1;margin:0;inline-size:22px;block-size:22px;inset-block-start:16px;inset-inline-end:16px;padding:0;background:0 0;border:none}";var ae=class extends HTMLElement{constructor(){if(super(),!this.shadowRoot){let o=this.attachShadow({mode:"open"});o.innerHTML=`
            <style>
                :host { display: block }
                :host([hidden]) { display: none; }
                ${Ei}
            </style>
            <dialog></dialog>`}let e={currentVnode:ne(this.shadowRoot.querySelector("dialog")),anchor:{gate:{enabled:!1},href:void 0,target:"_blank",label:void 0,translations:{"close-window-text":"close window"}}};this._model=e;let i=this,n=function(){let o=zr(e.anchor,i,()=>n());e.currentVnode=u.update(e.currentVnode,o)};this._update=n}connectedCallback(){}disconnectedCallback(){}set gateConfig(e){this._model.anchor.gate=e,this._update()}set translations(e){this._model.anchor.translations=e,this._update()}showModal(){if(this._update(),this.shadowRoot.querySelector("dialog").showModal(),!document.querySelector("style.syndigo-linkgate-scrollfreeze")){let n=document.createElement("style");n.classList.add("syndigo-linkgate-scrollfreeze"),n.innerHTML="body { overflow:hidden !important; }",document.body.appendChild(n)}}attributeChangedCallback(e,i,n){e==="href"?(this._model.anchor.href=n,this._update()):e==="target"?(this._model.anchor.target=n==="_top"||n==="_self"?n:"_blank",this._update()):e==="label"&&(this._model.anchor.label=n===null?"":n,this._update())}static get observedAttributes(){return["href","target","label"]}};function zr(t,e){if(!t.href||t.href.startsWith("unsafe"))return u`<dialog></dialog>`;if(wt(t.href).host===window.location.host||!t.gate.enabled)return u`<dialog></dialog>`;let o=function(v){let w=v.currentTarget,x=w.getBoundingClientRect();x.top<=v.clientY&&v.clientY<=x.top+x.height&&x.left<=v.clientX&&v.clientX<=x.left+x.width||w.close()},r=function(v){v.currentTarget.closest("dialog").close()},s=function(){for(let v of[...document.querySelectorAll("style.syndigo-linkgate-scrollfreeze")])v.remove()},a=function(){e.dispatchEvent(new CustomEvent("visit",{bubbles:!0,detail:{}}))},d=t.gate,{ok:l,cancel:c}=d.actions,h=l.bgColor||"#3071a9",g=l.fgColor||"white",b=c.bgColor||"#eaeaea",p=c.fgColor||"#0060a9";return u`<dialog @on:click=${o}
                        @on:close=${()=>s()}>
                    <div style="block-size: 52px; background-color: ${h}; color: ${g}; display: flex; align-items: center; padding-inline-start: 16px;">${d.title}</div>
                    <div style="padding: 0px 16px;" @props:innerHTML=${d.message}> </div>
                    <div style="padding: 0px 16px; padding-block-end: 16px;">
                        <button class="cancel"
                                @on:click=${r}
                                style="background-color: ${b}; color: ${p};">${c.label}</button>
                        <a class="visit"
                           href=${t.href}
                           target=${t.target}
                           @on:click=${v=>a(v)}
                           style="background-color: ${h}; color: ${g};">${l.label}</a>
                        <button class="close" @on:click=${r}>
                            <syndigo-svg-icon icon="close-thin"
                                               width="22"
                                               height="22"
                                               fill="${"white"}"
                                               color="transparent"
                                               title="${t.translations["close-window-text"]}" />
                        </button>
                    </div>
                </dialog>`}customElements.get("syndigo-linkgate-dialog")||customElements.define("syndigo-linkgate-dialog",ae);function Cr(t={}){return{callback:t.callback||G,href:t.href||"",label:t.label||"",gate:t.gate,translations:t.translations,urlTarget:t.urlTarget||"blank"}}function Tr(t,e,i){let n=function(s){s.currentTarget.parentNode.querySelector("syndigo-linkgate-dialog").showModal()};if(!t.href||t.href.startsWith("unsafe"))return e;let r=wt(t.href).host===window.location.host;return!t.gate.enabled||r?u`<a class="syndigo-anchor"
    					tabindex="${i}"
					    aria-hidden="${i<0}"
                        part="anchor"
                        target="${t.urlTarget}"
                        style="text-decoration: inherit;"
						draggable="false"
                        href=${t.href}
                        @on:click=${()=>t.callback()}>
						${e}
					</a>`:u`<div>
	    <style>${Ii}</style>

	    <button class="link-button" @on:click=${n}>
	    	${e}
	    </button>

	    <syndigo-linkgate-dialog href="${t.href}"
                                 target="${t.urlTarget}"
                                 label="${t.label}"
                                 @props:translations=${t.translations}
                                 @props:gateConfig=${t.gate}
	                             @on:visit=${()=>t.callback()}> </syndigo-linkgate-dialog>
    </div>`}function Ir(){}var ft={init:Cr,view:Tr,destroy:Ir};function st(t,{asset:e,assetType:i,link:n,linkLabel:o},r,s,a=0){if(!jt({asset:e,assetType:i,link:n}))return s;let d="_blank";try{let c=t.framework.moduleParameters["framework/spworld"].urlTarget;d=c==="_top"||c==="_self"?c:"_blank"}catch{}let l=ft.init({href:n,label:o||"Click to learn more",gate:t.linkGate,translations:t.framework.translations.Common,urlTarget:d,callback:function(){t.track({a:"click-more",ai:e.assetId,wt:t.widgetType,wi:t.widgetId,z:r})}});return ft.view(l,s,a)}function jt({asset:t,assetType:e,link:i}){return!!t&&(e==="Image"||e==="ArtDirectedImage")&&i&&!i.startsWith("unsafe")}function Y(t,{width:e,height:i}){return t.reduce((n,o)=>{if(!o.asset)return n;let r=o.assetType==="Video"?o.asset:R(o.asset,e),s=B(r,{offsetWidth:e,offsetHeight:i});return o.widgetContentDimensions=s,n.width=Math.max(s.width,n.width),n.height=Math.max(s.height,n.height),n},{width:0,height:0})}function dt(t){let e={Win:"Meta",Scroll:"ScrollLock",Spacebar:" ",Down:"ArrowDown",Left:"ArrowLeft",Right:"ArrowRight",Up:"ArrowUp",Del:"Delete",Apps:"ContextMenu",Esc:"Escape",Multiply:"*",Add:"+",Subtract:"-",Decimal:".",Divide:"/"};return e.hasOwnProperty(t)?e[t]:t}var Si="syndigo-icon-button{display:flex;flex-direction:column;justify-content:center;align-items:center;inline-size:100%;block-size:100%;z-index:5}syndigo-icon-button::part(button){position:absolute;display:flex;justify-content:center;align-items:center;text-align:center;font-family:var(--syndiCommonBodyTextFontFamily),var(--syndiDefaultFontFamily);font-size:var(--syndiCommonBodyTextFontSize, 20px);color:var(--syndiCommonElementNextPreviousControlsColor,#6d6d6d);block-size:30px;inline-size:30px;padding:0;margin:0;outline:transparent;border:solid 1px;border-radius:var(--syndiCommonElementNextPreviousControlsBorderRadius,25%);border-color:var(--syndiCommonElementNextPreviousControlsBorderColor,#000);background-color:var(--syndiCommonElementNextPreviousControlsBackgroundColor,#fff);z-index:3;transition:all ease-in-out .2s}syndigo-icon-button::part(button):is(:hover,:active,:focus,.selected ){color:#565758;block-size:35px;inline-size:35px;border-color:var(--syndiCommonElementNextPreviousControlsSelectedBorderColor,#565758);border:solid 2px}syndigo-icon-button::part(syndisvgicon){display:flex}syndigo-icon-button:is(.nav-start)::part(button){inset-inline-start:2px}syndigo-icon-button:is(.nav-start)::part(syndisvgicon){margin-inline-end:3px}syndigo-icon-button.nav-end::part(button){inset-inline-end:2px}syndigo-icon-button.nav-end::part(syndisvgicon){margin-inline-start:3px}syndigo-icon-button.narrow{justify-content:flex-start}syndigo-icon-button.narrow::part(button){position:relative;block-size:20px;inline-size:20px;margin-inline:auto;inset-block-start:10px}syndigo-icon-button.narrow::part(button):is(:hover,:active,:focus,.selected){block-size:28px;inline-size:28px}:fullscreen syndigo-icon-button:is(.narrow,.narrow)::part(button){inset-block-start:60px}";var Sr=t=>({hasControls:t.items.length>1,direction:"",isNarrow:void 0,isSelected:void 0,ariaControlsId:"",ariaLabel:"",onclick:void 0}),_r=t=>{let{direction:e,isNarrow:i,isSelected:n,ariaControlsId:o,ariaLabel:r,onclick:s}=t,a=document.documentElement.dir==="rtl",d,l;return e==="next"?(l="nav-end nav-btn next",d=a?"chevron-left":"chevron-right"):(l="nav-start nav-btn prev",d=a?"chevron-right":"chevron-left"),u`<syndigo-icon-button class="${l}"
        @class:narrow=${i}
        @class:selected=${n}

        data-btnariacontrols="${o}"
        data-btnariaexpanded="${!1}"
        data-btnarialabel="${r}"

        data-icon="${d}"
        data-iconheight="${16}"
        data-iconwidth="${16}"
        
        @on:click="${s}">

        <style>${Si}</style>
    </syndigo-icon-button>`},Hr=t=>{t.onclick=null,t=null},gt={init:Sr,view:_r,destroy:Hr};function Lr(t,e,i,n){let o=dt(t.key),r=["ArrowLeft","ArrowRight","Home","End"];r.includes(o)&&(t.preventDefault(),o===r[0]?Me(e,i,"previous"):o===r[1]?Me(e,i,"next"):o===r[2]?le(e,0,i):o===r[3]&&le(e,e.items.length-1,i),t.composedPath()[1].querySelectorAll(n)[e.selectedIndex].focus())}function Me(t,e,i){let n=t.selectedIndex;n+=i==="next"?1:-1,n>=t.items.length?n=0:n<0&&(n=t.items.length-1),le(t,n,e)}function le(t,e,i){let n=t.items[t.selectedIndex];t.previousIndex=t.selectedIndex,n.video&&(n.video.shouldPlay=!1),t.selectedIndex=e,t.track({a:"ca",wt:t.widgetType,wi:t.widgetId,z:t.selectedIndex,ai:t.items[t.selectedIndex].hasAsset?t.items[t.selectedIndex].asset.assetId:void 0}),i()}function Mr(t,e){let i=t.items[t.selectedIndex];t.isDisplayingText=!t.isDisplayingText,t.track({a:t.isDisplayingText?"text-show":"text-hide",wt:t.widgetType,wi:t.widgetId,z:t.selectedIndex,ai:i.hasAsset&&i.asset.assetId||void 0}),e()}function Dr(t,e,i){let n=i>-1?t.items[i]:t.items[t.selectedIndex],o,r=a=>{let d=a.elm,l=d.closest(".car-content_sizer"),c=R(n.asset,e),h=B(c,l);d.style.inlineSize=`${h.width}px`,d.style.blockSize=`${h.height}px`},s=a=>{let d=a.elm,l=d.closest(".car-content_sizer"),c=B(n.asset,l);d.style.inlineSize=`${c.width}px`,d.style.blockSize=`${c.height}px`};switch(n.assetType){case V.ASSET_TYPES.Image:{let a=n.asset,d=R(a,e),{sources:l,fallbackImageType:c}=A(d);o=u`<picture @props:draggable="false"
                @style:max-block-size="100%" >
                ${l}
                <img alt="${n.asset.alt}"
                    loading="lazy"
                    srcset="${P(n.asset,c)}"
                    src="${W(n.asset,960,c)}"
                    @props:draggable="false"
                    style="inline-size: 100%; max-inline-size: 100%; block-size: auto;"
                    @hook:update=${r}
                    @hook:insert=${r}/>
            </picture>`,o=st(t,n,t.selectedIndex,o);break}case V.ASSET_TYPES.Video:{o=u`<syndigo-video 
                @hook:insert=${s}
                @hook:update=${s}
                @props:model=${n.video}>
            </syndigo-video>`;break}default:break}return o}var X={navbtn:gt,sliderNavigation:Lr,selectPreviousNextItem:Me,selectItem:le,toggleExpandableContent:Mr,getMediaLayoutDimensions:Y,renderAsset:Dr};var Wr=V.MENU_HEIGHT,Wi=V.NAV_WIDTH,_i=V.NARROW_MEDIA_HEIGHT,Hi=V.WIDE_MEDIA_HEIGHT;function De(t,e){return t.displayHeight=0,t.maxContentHeight=0,Pi(t),t.isNarrow?Fr(t,e):Ar(t,e)}function Ai(t,e,i){let n=t.elm;if(e.isNarrow)e.selectedIndex===i&&!e.items[i].hasAsset&&(n.parentNode.parentNode.style.blockSize=`${n.clientHeight}px`);else{Pi(e);let o=n.clientHeight>e.maxDisplayHeight?e.maxDisplayHeight:n.clientHeight;n.parentNode.style.blockSize=`${o}px`}}function Ar(t,e){let i,n=t.items.length>1?Wr:0,o=t.items.length>1?Wi:0,r=t.items.map((h,g)=>{let b=g===t.selectedIndex,p;if(t.textOnly){let m=t.maxContentHeight>t.maxDisplayHeight;p=u`<div style="display: flex;" tabindex="${m?0:-1}"
                @class:car-scrollable=${m}
                @hook:insert=${v=>Ai(v,t,g)}
                @attrs:aria-hidden="${!b}">
                ${Mi(h)}
            </div>`}else if(t.mediaOnly){let m=t.maxDisplayWidth-o*2;i=X.getMediaLayoutDimensions(t.items,{width:m,height:Hi}).height,t.layoutHeight=i,p=u`<div style="display: grid; grid-template-areas: 'col-center'; grid-template-rows: 100%; grid-template-columns: 1fr; inline-size: 100%;"
                tabindex="${b?0:-1}"
                @attrs:aria-hidden="${!b}"
            
                @style:block-size="${i}px"
                @style:max-block-size="${i}px">
                ${Li(t,h,"grid-area: col-center;",t.displayWidth,b,g)}
            </div>`}else{let m=t.maxDisplayWidth-o*2,v=h.itemPosition===V.ITEM_POSITIONS.Center?1:2,w=m/v;if(i=X.getMediaLayoutDimensions(t.items,{width:t.hasCenterContent?m:w,height:Hi}).height,t.layoutHeight=i,h.hasAsset)if(h.itemPosition===V.ITEM_POSITIONS.Center)p=u`<div style="display: grid; grid-template-areas: 'col-center'; grid-template-rows: 100%; grid-template-columns: 1fr; inline-size: 100%;"
                        tabindex="${b?0:-1}"
                        @attrs:aria-hidden="${!b}"

                        @style:block-size="${i}px"
                        @style:max-block-size="${i}px">
                        ${Li(t,h,"grid-area: col-center;",m,b)}
                    </div>`;else{let $=h.itemPosition===V.ITEM_POSITIONS.Left?"grid-area: col-start;":"grid-area: col-end;",z=h.itemPosition===V.ITEM_POSITIONS.Left?"grid-area: col-end;":"grid-area: col-start;";p=u`<div style="display: grid; grid-template-areas: 'col-start col-end'; grid-template-rows: 100%; grid-template-columns: 50%; inline-size: 100%;"
                        tabindex="${b?0:-1}"
                        @attrs:aria-hidden="${!b}"
                        
                        @style:block-size="${i}px"
                        @style:max-block-size="${i}px">
                        ${Pr(t,h,g,$,w,e)}
                        ${Nr(h,z,i,b)}
                    </div>`}else p=u`<div class="car-scrollable" style="display: flex; grid-area: col-start / col-end; inline-size: 100%; max-inline-size: 100%;"
                    tabindex="${b?0:-1}"
                    @attrs:aria-hidden="${!b}">
                    ${Mi(h)}
                </div>`}return Ut(t,"grid-area: col-main;",[p],g)}),s=`grid-template-areas:
            'row-menu row-menu row-menu'
            'col-nav-start col-main col-nav-end';`,a=i?`${i+n}px`:"",d=`grid-template-rows: ${n}px;`,l=`grid-template-columns: ${o}px calc(${t.maxDisplayWidth}px - ${o*2}px) ${o}px;`,c=`car-${t.layout.includes("Step")?"step":"slide"}`;return u`<div id="car-content-${t.widgetId}" class="${c}" style="display: grid; ${s} ${d} ${l}"
        @key="car-content-${t.widgetId}"
        @style:block-size="${a}"
        @style:max-block-size="${t.maxDisplayHeight+n}px">

        ${Ni(t,e)}
        ${ce(t,"previous",e)}
        ${r}
        ${ce(t,"next",e)}
    </div>`}function ce(t,e,i){if(t.nextPrevious.hasControls){let n,o;e==="previous"?(n="col-nav-start",o=`${t.framework.translations.Carousel.previous}`):(n="col-nav-end",o=`${t.framework.translations.Carousel.next}`);let r=t.nextPrevious;r.direction=e,r.isNarrow=t.isNarrow,r.ariaControlsId=`car-content-${t.widgetId}`,r.ariaLabel=o,r.onclick=()=>X.selectPreviousNextItem(t,i,e);let s=X.navbtn.view(r);return u`<div class="car-${n}" style="grid-area: ${n};"
            @style:block-size="${t.isNarrow&&t.displayHeight?`${t.displayHeight}px`:""}">
            ${s}
        </div>`}}function Li(t,e,i,n,o,r){let s="";return e.useTextOverlay&&(s=Or(e)),u`<div class="car-content_media car-content_sizer" style="display: flex; justify-content: center; align-items: center; ${i} overflow: hidden;"
        @attrs:tabindex="${o?0:-1}"
        @attrs:aria-hidden="${!o}"    
        @style:background-color="${e.imageBackgroundColor}"> 
        ${X.renderAsset(t,n,r)}
        ${s}
    </div>`}function Pr(t,e,i,n,o){let r=e.imageBackgroundColor?"center":n.includes("col-end")?"start":"end";return u`<div class="car-content_media car-content_sizer" style="display: flex; justify-content: ${r}; align-items: center; ${n} overflow: hidden;"
        @style:background-color="${e.imageBackgroundColor}"> 
        ${X.renderAsset(t,o,i)}
    </div>`}function Nr(t,e,i,n){let o=e.includes("col-start")?"padding-inline-start: 30px; padding-inline-end: 10px;":"padding-inline-start: 20px; padding-inline-end: 30px",r=t.colorConfigs,s=t.caption?u`<h3
        @style:color="${r.fontColor}"
        @props:innerHTML=${t.caption}></h3>`:"",a=t.description?u`<p
        @style:color="${r.fontColor}"
        @props:innerHTML=${t.description}></p>`:"";return u`<div class="car-color-container" style="display: flex; align-items: center; ${e} block-size: 100%; inline-size: 100%;"
        @style:max-block-size="${i}px"
        @style:background-color="${r.fontBackgroundColor}"
        @style:color="${r.fontColor}">
        <div class="car-scrollable" style="align-items: center;" tabindex="${n?0:-1}"> 
            <div style="inline-size: 100%; max-block-size: 100%; ${o}">                
                ${s} ${a}
            </div>
        </div>
    </div>`}function Mi(t){let e=t.colorConfigs,i=t.caption?u`<h3
        @style:color="${e.fontColor}"
        @props:innerHTML=${t.caption}></h3>`:"",n=t.description?u`<p
        @style:color="${e.fontColor}"
        @props:innerHTML=${t.description}></p>`:"";return u`<div style="padding-block: 0px; padding-inline: 35px; max-block-size: 100%; inline-size: 100%;"
        @style:background-color="${e.fontBackgroundColor}"
        @style:color="${e.fontColor}">
            ${i} ${n}
    </div>`}function Or(t){let e,i;t.textPosition===V.TEXT_POSITIONS.Left?(e="inset-inline-start: 0px;",i="padding-block: 0; padding-inline: 5px 35px;"):t.textPosition===V.TEXT_POSITIONS.Right?(e="inset-inline-end: 0px",i="padding-block: 0; padding-inline: 35px 5px;"):(e="inset-inline: auto",i="padding-block: 0; padding-inline: 35px;");let n=`${t.textWidth}%`,o=t.colorConfigs,r=o.fontBackgroundColor!=="transparent"?(0,Di.default)(o.fontBackgroundColor,o.textOpacity):o.fontBackgroundColor,s=t.caption?u`<h3
        @style:color="${o.fontColor}"
        @props:innerHTML=${t.caption}></h3>`:"",a=t.description?u`<p
        @style:color="${o.fontColor}"
        @props:innerHTML=${t.description}></p>`:"";return u`<div class="car-text-overlay" style="${e}"
        @style:max-inline-size="${n}"
        @style:inline-size="${n}"
        @style:background-color="${r}"
        @style:color="${o.fontColor}">
        <div style="${i}">
            ${s} ${a}
        </div>
    </div>`}function Ut(t,e,i=[],n){let o=n===t.selectedIndex;e+=`inset-inline-start: ${o?"0px":"100%"};`;let a=t.framework.translations.Common["current-number-of-total-number"].replace("%1",n+1).replace("%2",t.items.length);return u`<div id="car-content-${t.widgetId}-${n}" class="car-content slide-in" style="${e}"        
        @key="car-content-${t.widgetId}-${n}"
        @class:selected=${o}
        @attrs:aria-hidden="${!o}"
        aria-label="${a}"
        aria-roledescription="slide"
        role="tabpanel"
        @style:opacity=${o?1:0}>
        ${i}
    </div>`}function Fr(t,e){let i=t.items.length>1?Wi:0,n=t.displayWidth-i*2,o=h=>{let g={...h.colorConfigs};return g.fontBackgroundColor==="transparent"&&g.fontColor==="#ffffff"&&(g.fontColor=""),g},r=(h,g)=>{let b=o(h),p=h.caption?u`<h3
            @style:color="${b.fontColor}"
            @props:innerHTML=${h.caption}></h3>`:"",m=h.description?u`<p
            @style:color="${b.fontColor}"
            @props:innerHTML=${h.description}></p>`:"";return u`<div class="text-content" style="inline-size: 100%;"
            @class:text-only=${t.textOnly}
            @hook:insert=${v=>Ai(v,t,g)}
            
           
            @style:background-color="${b.fontBackgroundColor}"
            @style:color="${b.fontColor}">
            <div style="inline-size: 100%;">
                ${p} ${m}
            </div>
        </div>`},s=t.items.map((h,g)=>{let b,p,m=r(h,g);if(t.textOnly)p="display: block; padding-block: 0px; block-size: min-content;",b=Ut(t,p,m,g);else if(t.mediaOnly){X.getMediaLayoutDimensions(t.items,{width:n,height:_i}),p="display: block; justify-content: center; align-items: center; max-inline-size: 100%;";let v=u`<div class="car-content_sizer" style="text-align: center; margin-inline: auto;"
                @style:min-block-size="${h.widgetContentDimensions.height}px"
                @style:block-size="${h.widgetContentDimensions.height}px"
                @style:max-block-size="${h.widgetContentDimensions.height}px"
                @style:min-inline-size="${n}px"
                @style:inline-size="${n}px"
                @style:max-inline-size="${n}px">
                ${X.renderAsset(t,n,g)}
            </div>`;b=Ut(t,p,v,g)}else if(X.getMediaLayoutDimensions(t.items,{width:n,height:_i}),h.hasAsset){let v=u`<div class="car-content_sizer" style="text-align: center; margin-inline: auto;"
                    @style:min-block-size="${h.widgetContentDimensions.height}px"
                    @style:min-inline-size="${n}px"
                    @style:inline-size="${n}px"
                    @style:max-inline-size="${n}px"
                    @style:background-color="${h.imageBackgroundColor}">
                    ${X.renderAsset(t,n,g)}
                </div>`;p="display: block; flex-direction: column; align-items: center; overflow: hidden; inline-size: 100%; block-size: min-content;",b=Ut(t,p,[v],g)}else p="display: block; padding-block: 0px; padding-inline: 5px; block-size: min-content; inline-size: 100%;",b=Ut(t,p,[m],g);return b}),a=t.items[t.selectedIndex],d=a.hasText&&a.hasAsset?u`<div class="narrow-text" style="max-inline-size: ${n}px; inline-size: ${n}px;">
        ${r(a,t.selectedIndex)}</div>`:null,l=a.widgetContentDimensions?`${a.widgetContentDimensions.height}px`:"auto",c=`car-${t.layout.includes("Step")?"step":"slide"}`;return u`<div id="car-content-${t.widgetId}" class="${c}"
        style="display: flex; flex-direction: column; align-items: center; inline-size: 100%;"
        @key="car-content-${t.widgetId}"

        @class:media-only=${t.mediaOnly}>
        ${Ni(t,e)}
        
        <div class="narrow-content" style="display: flex; justify-content: center; inline-size: 100%;">
            ${ce(t,"previous",e)}
            <div class="slide-container" style="display: flex; position: relative; inline-size: 100%"
                @style:block-size="${l}">
                ${s}
            </div>
            ${ce(t,"next",e)}
        </div>

        ${d}
        
    </div>`}function Pi(t){let e=0;t.elm?.querySelectorAll(".car-content")?.forEach((i,n)=>{e=Math.max(e,i.clientHeight);let o=t.items[n];o.hasAsset||(o.widgetContentDimensions={height:i.clientHeight,width:i.clientWidth}),t.selectedIndex===n&&(t.displayHeight=i.clientHeight)}),t.maxContentHeight=e}function Ni(t,e){if(t.items.length>1){let i=t.items.map((n,o)=>{let r=t.selectedIndex===o,s=t.isNarrow?18:24,a=t.layout==="StepByStep"&&r?u`<syndigo-svg-icon aria-hidden="true" focusable="false" icon="${o+1}-circle-border" width="${s}" height="${s}" style="display: flex"/>`:"",d=r?0:-1,c=t.framework.translations.Carousel["slide-x"].replace("%1",o+1);return u`<button class="car-menu-item"
                @class:car-menu-item_selected=${r}

                aria-controls="car-content-${t.widgetId}"
                aria-label="${c}"
                @attrs:aria-selected=${r}
                role="tab"
                tabindex="${d}"
                
                @on:click=${()=>X.selectItem(t,o,e)}>
                <div>${a}</div>
            </button>`});return u`<div class="car-menu-container-horizontal"
            role="tablist"
            aria-label="${t.framework.translations.Carousel.slides}"
            @on:keydown=${n=>X.sliderNavigation(n,t,e,"button.car-menu-item")}>
            <div class="car-menu-horizontal">
                ${i}
            </div>
        </div>`}}function We(t){return typeof t=="function"}var kt;function de(){if(kt!==void 0)return kt;kt=!1;try{let t=Object.defineProperty({},"passive",{get:function(){return kt=!0,kt}});window.addEventListener("test",t,t),window.removeEventListener("test",t,t)}catch{kt=!1}return kt}function ht(t,e){let i=!1,n={sX:0,sY:0,eX:0,eY:0},o=!1,r=function(){i=!1,n.sX=0,n.sY=0,n.eX=0,n.eY=0},s=function(h){i=!0,n.sX=h.screenX,n.sY=h.screenY,n.eX=h.screenX,n.eY=h.screenY},a=function(h){i&&(n.eX=h.screenX,n.eY=h.screenY)},d=function(h){if(!i)return;let g=Math.abs(n.eX-n.sX)+1,b=Math.abs(n.eY-n.sY)+1,p=90,m="";g/b>=2?g>=p&&(m=n.eX>n.sX?"right":"left"):b/g>=2&&b>=p&&(m=n.eY>n.sY?"down":"up"),o&&m!==""&&e(t,m,h),r()};return{observe:function(){if(r(),!o&&(o=!0,We(e))){let h=de()?{passive:!0}:!1;t.addEventListener("pointermove",a,h),t.addEventListener("pointerdown",s),t.addEventListener("pointerup",d),t.addEventListener("pointercancel",r),t.addEventListener("pointerleave",d)}},unobserve:function(){o=!1;let h=de()?{passive:!0}:!1;t.removeEventListener("pointermove",a,h),t.removeEventListener("pointerdown",s),t.removeEventListener("pointerup",d),t.removeEventListener("pointercancel",r),t.removeEventListener("pointerleave",d)}}}var Br=t=>{let e={enabled:!1};try{e=JSON.parse(t.framework.moduleParameters["framework/spworld"].linkGate)}catch{}let i={elm:null,swipeObserver:null,previousIndex:0,selectedIndex:0,displayWidth:t.displayWidth||200,displayHeight:100,maxContentHeight:0,maxDisplayHeight:0,isNarrow:!1,mediaOnly:!1,textOnly:!1,nextPrevious:X.navbtn.init(t),fullscreen:{isEnabled:!1,isFeatureDisabled:t.isFullscreenDisabled},linkGate:e,...t},n,o;return i.items.forEach(r=>{r.colorConfigs=q.getColorPresets(r),r.colorConfigs.textOpacity=r.fontOpacity*.01,r.hasAsset=r.assetType!==V.ASSET_TYPES.None,r.hasText=!!(r.caption||r.description),r.useTextOverlay=r.assetType.includes("Image")&&r.hasText&&r.itemPosition===V.ITEM_POSITIONS.Center,n=r.hasAsset||n,o=r.hasText||o,i.hasCenterContent=r.itemPosition===V.ITEM_POSITIONS.Center||i.hasCenterContent,r.asset&&r.asset.assetType===V.ASSET_TYPES.Video&&(r.video={asset:r.asset,loop:r.videoLoop,track:function(s){i.track({wt:i.widgetType,wi:i.widgetId,...s})}})}),i.mediaOnly=!o,i.textOnly=!n,i},Rr=(t,e)=>{t.displayWidth=t.displayWidth?t.displayWidth-2:900,t.maxDisplayHeight=t.fullscreen.isEnabled?q.maxHeight(t.fullscreen.isEnabled):900,t.maxDisplayWidth=t.fullscreen.isEnabled?q.maxWidth(t.fullscreen.isEnabled):t.displayWidth,t.isNarrow=q.isNarrow(t.displayWidth);let i=n=>{t.elm=n.elm,t.swipeObserver=ht(n.elm,function(o,r){r==="right"?X.selectPreviousNextItem(t,e,"previous"):r==="left"&&X.selectPreviousNextItem(t,e,"next")}),t.swipeObserver.observe()};return u`<section id="${t.widgetType}-${t.widgetId}" class="car syndigo-widget"
        @key=${t.widgetId}
        @hook:insert=${i}
        @class:car_narrow=${t.isNarrow}

        @style:inline-size="${t.fullscreen.isEnabled||t.fullscreen.isFeatureDisabled?"100%":`${t.displayWidth}px`}"
        @style:block-size="${t.fullscreen.isEnabled||t.fullscreen.isFeatureDisabled?"calc(100% - 2px)":""}"

        role="region"
        aria-roledescription="${t.widgetType}"
        aria-label="${t.headerText}"
        aria-live="polite">

        <style>${yi}</style>
        ${De(t,e)}

    </section>`},Gr=t=>{t.swipeObserver&&(t.swipeObserver.unobserve(),t.swipeObserver=void 0),t=null},Oi={init:Br,view:Rr,destroy:Gr};var Vi=lt($t(),1);var Bi=":root{--transform-direction:1;--start-direction:left;--end-direction:right}.ct{border:0;border-block-start:1px solid var(--border-color);border-block-end:1px solid var(--border-color);border-collapse:separate;border-spacing:0;table-layout:fixed;inline-size:100%;color:var(--text-color);background:var(--cell-bg);font-family:var(--syndiCommonBodyTextFontFamily),var(--syndiDefaultFontFamily);line-height:var(--syndiCommonBodyTextLineHeight)}.ct-widget-wrapper{--base-font-size:var(--syndiCommonBodyTextFontSize, 12px);--text-color:var(--syndiCommonBodyTextColor, inherit);--border-color:var(--syndiCommonDataCellBorderColor, #b7b7b8);--border-top-width:0px;--border-right-width:1px;--border-bottom-width:1px;--border-left-width:0px;--cell-padding-top:calc(var(--base-font-size) * 1.25);--cell-padding-right:calc(var(--base-font-size) * 1.25);--cell-padding-bottom:calc(var(--base-font-size) * 1.25);--cell-padding-left:calc(var(--base-font-size) * 1.25);--cell-bg:var(--syndiCommonDataCellBackgroundColor, #fff);--cell-bg-sticky:var(--syndiComparisonTableHeaderCellBackgroundColor, #fff);--bg-feature-label:var(--syndiComparisonTableFeatureLabelBackgroundColor, #ededee);--bg-feature-value:#fff;--image-height:150px}.ct-visibility-dashboard{display:flex;justify-content:space-between;padding-block-start:0;padding-block-end:10px;padding-inline-start:0;padding-inline-end:2px}.visually-hidden{border:0;clip:rect(0,0,0,0);clip-path:inset(50%);margin:-1px;overflow:hidden;padding:0;position:absolute;inset-inline-start:-10000px;inset-block-start:auto;inline-size:1px;block-size:1px;white-space:nowrap;display:block;color:#000}.ct-table-wrapper{overflow-x:hidden;inline-size:var(--container-width);max-inline-size:100%;border-inline-start:1px solid var(--border-color);border-inline-end:1px solid var(--border-color);font-size:var(--base-font-size);position:relative;scroll-behavior:smooth}.ct-table-wrapper-small-screen{--base-font-size:10px;--cell-padding-top:calc(var(--base-font-size) * 1);--cell-padding-right:calc(var(--base-font-size) * 1);--cell-padding-bottom:calc(var(--base-font-size) * 1);--cell-padding-left:calc(var(--base-font-size) * 1);--image-height:90px}.ct-border-none{--border-right-width:0;--border-bottom-width:0;border:0}.ct-border-none .ct{border:0}.ct-border-vertical{--border-bottom-width:0}.ct-border-horizontal{--border-right-width:0}.ct-align-left{text-align:start}.ct-align-center{text-align:center}.ct td,.ct th{padding-inline:0;padding-block-start:var(--cell-padding-top);padding-block-end:var(--cell-padding-bottom);border-block-start:var(--border-top-width) solid var(--border-color);border-inline-end:var(--border-right-width) solid var(--border-color);border-block-end:var(--border-bottom-width) solid var(--border-color);border-inline-start:var(--border-left-width) solid var(--border-color);overflow:visible;background:var(--cell-bg);color:var(--syndiCommonDataCellColor);line-height:var(--syndiCommonDataCellLineHeight);font-size:var(--syndiCommonDataCellFontSize);transition:background-color .45s ease}.ct td:last-child,.ct th:last-child{--border-right-width:0}.ct td p,.ct th p{padding:0;margin:0}.ct strong{font-weight:700}.ct tr:last-child td,.ct tr:last-child th{--border-bottom-width:0}.ct tr:hover td.ct-product-feature-cell,.ct tr:hover th.ct-feature-label{background-color:var(--syndiCommonDataCellHighlightBackgroundColor,#f7f8f8)}.ct td:first-child,.ct th:first-child,.ct-with-label-column td:nth-child(2),.ct-with-label-column th:nth-child(2){inset-inline-start:0;z-index:1}.ct td:first-child,.ct th:first-child,.ct-with-label-column .ct.pinnable td:nth-child(2),.ct-with-label-column .ct.pinnable th:nth-child(2){position:sticky;background-color:var(--cell-bg-sticky)}.ct-with-label-column .ct.pinnable td:nth-child(2),.ct-with-label-column .ct.pinnable th:nth-child(2){inset-inline-start:var(--column-width)}.ct-with-label-column .ct .ct-label-column.ct-header-cell{z-index:2;background-color:var(--cell-bg-sticky)}.ct-cell-wrapper{padding-inline-start:var(--cell-padding-left);padding-inline-end:var(--cell-padding-right);padding-block:0}.ct-link-button,.ct-scroll-left-button,.ct-scroll-right-button,.ct-trans-button{background:0 0;border:0;-webkit-appearance:none;-moz-appearance:none;appearance:none;padding:calc(var(--base-font-size)/ 2);line-height:0;color:inherit}.ct-scroll-left-button syndigo-svg-icon,.ct-scroll-right-button syndigo-svg-icon{transform:scaleX(var(--transform-direction));color:var(--syndiCommonElementNextPreviousControlsColor)}.ct-link-button{color:var(--syndiComparisonTableNavigationDotColor,#2179d3);line-height:1}.ct-scroll-left-button,.ct-scroll-right-button{background-color:var(--syndiCommonElementNextPreviousControlsBackgroundColor);border:1px solid var(--syndiCommonElementNextPreviousControlsBorderColor);border-radius:var(--syndiCommonElementNextPreviousControlsBorderRadius);padding:calc(var(--base-font-size) * .66);transition:opacity .25s ease}.ct-scroll-left-button:disabled,.ct-scroll-right-button:disabled{opacity:.25;pointer-events:none}nav.ct-arrow-container{display:var(--show-arrows);flex-direction:row;align-items:center;justify-content:space-between;-webkit-user-select:none;-moz-user-select:none;user-select:none;padding-inline-end:40px}nav.ct-arrow-container .navdots button{border:none;background-color:transparent}nav.ct-arrow-container .navdots button:hover{color:var(--syndiComparisonTableNavigationDotColorHover,#2179d3)}button.ct-dot-pinned{color:var(--syndiComparisonTableNavigationDotColor,#2179d3)}button.ct-dot-visible{color:#a9a9a9}button.ct-dot-invisible{color:#000}ul.navdots{display:flex;flex-direction:row;background-color:transparent;list-style:none;padding-inline:15px;padding-block:0px;margin:0}.ct-header-image{-o-object-fit:contain;object-fit:contain;inline-size:100%;block-size:var(--image-height)}.ct-header-cell{--border-bottom-width:0;--border-top-width:0}.ct-header-cell>.ct-cell-wrapper>*{font-size:var(--syndiCommonGroupHeadingFontSize);font-family:var(--syndiCommonGroupHeadingFontFamily),var(--syndiDefaultFontFamily);font-weight:var(--syndiCommonGroupHeadingFontWeight);color:var(--syndiCommonGroupHeadingColor)}.ct-header-cell>.ct-cell-wrapper>:hover{color:var(--syndiCommonGroupHeadingHoverColor)}.ct-action-cell{position:relative;text-align:center;line-height:1;--cell-padding-top:25px;--cell-padding-bottom:10px}.ct-column-actions{position:absolute;inset-inline-end:0;inset-block-start:0;display:flex;align-items:center}.ct-pin-button svg{transform:rotateZ(45deg);transition:all .25s ease}.ct-pin-button-active{color:var(--syndiComparisonTableNavigationDotColor,#2179d3)}.ct-pin-button-active svg{transform:rotateZ(0)}.ct-header-image-cell,.ct-product-image-cell{--cell-padding-top:0;--cell-padding-right:5px;--cell-padding-bottom:0;--cell-padding-left:5px}.ct-product-name-cell{--cell-padding-top:10px;--cell-padding-bottom:10px;text-align:var(--syndiComparisonTableProductNameAlign)}.ct-border-all .ct-title-row th,.ct-border-horizontal .ct-title-row th{--border-bottom-width:1px}.ct-heading-toggle-cell{--cell-padding-top:0;--cell-padding-bottom:0;--border-bottom-width:1px}.ct-border-none .ct-heading-toggle-cell,.ct-border-vertical .ct-heading-toggle-cell{--border-top-width:1px}.ct-heading-icon-wrapper{margin-inline-end:calc(var(--base-font-size) * .75);line-height:0;transition:all .25s ease}.ct-is-collapsed-heading .ct-heading-icon-wrapper{transform:rotateZ(180deg)}.ct-is-collapsed-child td,.ct-is-collapsed-child th{--border-top-width:0;--border-bottom-width:0;--cell-padding-top:0;--cell-padding-bottom:0;block-size:0;overflow:hidden}.ct-is-collapsed-child div{block-size:0;overflow:hidden}.ct-heading-toggle-button{padding-inline:calc(var(--base-font-size) * 1.25);padding-block:calc(var(--base-font-size) * 0.75);display:flex;align-items:center;inline-size:100%;font:inherit}.ct-cell-wrapper{transition:opacity .25s ease}.ct-hide-column .ct-cell-wrapper{overflow:hidden;opacity:0}.ct-feature-label{--cell-bg:var(--bg-feature-label)}.ct-border-none .ct-feature-label.ct-odd-row,.ct-border-vertical .ct-feature-label.ct-odd-row{filter:brightness(.97)}.ct-product-feature-cell{--cell-bg:var(--bg-feature-value)}.ct-border-none .ct-product-feature-cell.ct-odd-row,.ct-border-vertical .ct-product-feature-cell.ct-odd-row{filter:brightness(.97)}.ct-this-product{--cell-bg:var(--syndiComparisonTableThisProductBackgroundColor, #e2f3dc);color:var(--syndiComparisonTableThisProductColor,var(--text-color))}.ct-border-none .ct-this-product.ct-odd-row,.ct-border-vertical .ct-this-product.ct-odd-row{filter:brightness(.97)}.ct-feature-image{margin-block-end:calc(var(--base-font-size)/ 2);max-inline-size:100%;max-block-size:100px;block-size:auto;display:inline-block}.ct-feature-image-wrapper-around{float:--var(--start-direction);max-inline-size:40%;padding-inline-end:calc(var(--base-font-size)/ 2)}.ct-feature-image-wrapper-below{display:block;inline-size:100%}.ct-feature-title{position:relative}.ct-feature-title>h3{margin:0}.ct-product-feature-cell .ct-feature-title{margin-block-end:calc(var(--base-font-size)/ 2)}";function Ae(){let t="0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz",e=t.split(""),i=new Array(36),n=0;for(let o=0;o<36;o++)if(o===8||o===13||o===18||o===23)i[o]="-";else if(o===14)i[o]="4";else{n<=2&&(n=33554432+Math.random()*16777216|0);let r=n&15;n=n>>4,i[o]=e[o===19?r&3|8:r]}return i.join("")}var ue=class extends HTMLElement{constructor(){if(super(),!this.shadowRoot){let e=this.attachShadow({mode:"open"});e.innerHTML=`<style>

            *, *:before, *:after { box-sizing: border-box; }

            .toggletip-container {
              position: relative;
              display: inline-block;
            }

            /* the toggletip content, added inside the live region */

            .toggletip-bubble {
              display: block;
              position: absolute;

              inset-block-end: 110%;
              inset-inline-start: 50%;
              inline-size: max-content;
              /*max-inline-size: 95%; */
              padding: 0.5rem;
              background: #000;
              color: #fff;
              transform: translateX(calc(-50% * var(--transform-direction)));

              box-shadow: 1px 1px 5px rgba(0,0,0,0.25);
              line-height: 1.25;
              padding: calc(var(--base-font-size) / 2);
              border: 1px solid var(--syndiCommonMoreInfoTooltipBorderColor);
              background-color: var(--syndiCommonMoreInfoTooltipBackgroundColor, #fff);
              color: var(--syndiCommonMoreInfoTooltipColor);
              z-index: 3;
            }

            .toggletip-button {
              background: transparent;
              border: 0;
              appearance: none;
              padding: 10px;
              line-height: 0;
              color: inherit;
            }

            .toggletip-button:focus {
                border: inherit;
            }

        </style>
        <div class="toggletip-container">
            <button class="toggletip-button">
                <syndigo-svg-icon icon="info-circle-border" width="12" height="12" fill="#2179d3" />
            </button>

            <span role="status"></span>

            <div class="inner">
        
            </div>
        </div>`}}connectedCallback(){let e=this.shadowRoot.querySelector("button"),i=e.nextElementSibling,n=this;e.addEventListener("click",function(){i.innerHTML="",window.setTimeout(function(){i.innerHTML='<span class="toggletip-bubble">'+n.message+"</span>"},100)}),this.closeHandler=function(o){o.target!==n&&(i.innerHTML="")},document.addEventListener("click",this.closeHandler),this.addEventListener("keydown",function(o){(o.keyCode||o.which)===27&&(i.innerHTML="")})}disconnectedCallback(){this.closeHandler&&(document.removeEventListener("click",this.closeHandler),this.closeHandler=null)}attributeChangedCallback(e,i,n){e==="data-toggletip-content"&&(this.message=n)}static get observedAttributes(){return["data-toggletip-content"]}};customElements.get("syndigo-toggletip")||customElements.define("syndigo-toggletip",ue);function Ur(t){if(document.documentElement.dir==="rtl"){let s=document.documentElement;s.style.setProperty("--transform-direction","-1"),s.style.setProperty("--start-direction","right"),s.style.setProperty("--end-direction","left")}let e={noPinning:!1};try{e=JSON.parse(t.framework.moduleParameters["experience/widget-catalog"]?.comparisonTable)}catch{}let i={enabled:!1};try{i=JSON.parse(t.framework.moduleParameters["framework/spworld"].linkGate)}catch{}let n="_blank";try{let s=t.framework.moduleParameters["framework/spworld"].urlTarget;n=s==="_top"||s==="_self"?s:"_blank"}catch{}let o=e.noPinning===!1||e.noPinning===void 0,r={...t,display:{border:t.borderStyle.toLowerCase(),textAlign:t.contentAlignment.toLowerCase(),useLabelColumn:t.titlePlacement.toUpperCase()==="SEPARATECOLUMN",hasGroupHeading:qr(t.features),allowPinning:o,enablePinning:!0,enableHiding:!0,columnCount:0,columnWidth:0,visibleColumnCount:0,groupHeadingColspan:0,scrollIndex:0,maxScrollIndex:0,isSmallScreen:!1,featureRowEvenOdd:0,isCurrentHeadingCollapsed:!1,orderedProducts:[],domNode:null,swipeObserver:{}},linkGate:i,urlTarget:n,liveregion:"",products:Xr(t),translations:t.framework.translations.ComparisonTable};return r.grid=Yr(r),r}function qr(t){return t.reduce((e,i)=>e||i.isGroupHeading,!1)}function Xr(t){return t.products.filter(i=>i.id==="00000000-0000-0000-0000-000000000000"||!t.productsData?!0:!!t.productsData[i.id]).map((i,n)=>({id:i.id==="00000000-0000-0000-0000-000000000000"?Ae():i.id,name:i.columnTitle,features:i.featureDetails.reduce((o,r)=>(o[r.id]=r,o),{}),image:i.image,url:i.url,isHidden:!1,isPinned:n===0,isThisProduct:i.id===t.currentProductId}))}function Yr(t){let e=[{type:"ACTION"},{type:"IMAGE"},{type:"TITLE"}];return t.features.forEach(i=>{i.isGroupHeading?e.push({type:"HEADING",settings:i,isOpen:!0}):e.push({type:"FEATURE",settings:i})}),e}function Zr(t,e){let i=t.display.orderedProducts.filter(g=>!g.isHidden),n=t.display.visibleColumnCount-1-(t.display.useLabelColumn?1:0),o=i.some(g=>g.isPinned),r=t.display.scrollIndex+1,s=r+n-1,a=i.map((g,b)=>b>=r&&b<=s),d=a.filter(g=>g).length,l="";if(d>1&&s>r)l=`${r+1} - ${s+1}`;else{let g=o&&t.display.enablePinning?1:0;l=r+g}let c=600,h=t.translations["nav-info-tmpl"].replace("%1",l).replace("%2",t.display.orderedProducts.length);return u`<nav class="ct-arrow-container">
        ${Ri("left",t,e)}

        <div @style:display=${t.displayWidth<c?"":"none"}>${h}</div>

        <ul class="navdots"
            @style:display=${t.displayWidth>=c?"flex":"none"}>
            ${i.map((g,b)=>u`<li>
                    <button aria-label="${g.name}"
                            @style:cursor=${g.isPinned||a[b]?"not-allowed":"pointer"}
                            @props:disabled=${g.isPinned||a[b]}
                            @class:ct-dot-pinned=${g.isPinned}
                            @class:ct-dot-visible=${!g.isPinned&&a[b]}
                            @class:ct-dot-invisible=${!g.isPinned&&!a[b]}
                            @on:click=${()=>{let p=b-1-t.display.scrollIndex;pe(p,t,e)}}>●</button>
                </li>`)}
        </ul>

        ${Ri("right",t,e)}
    </nav>`}function Kr(t,e){t.display.orderedProducts=ts(t),Jr(t),Qr(t),t.display.isCurrentHeadingCollapsed=!1,t.display.featureRowEvenOdd=0,t.display.enablePinning=t.display.allowPinning&&t.display.columnCount!==t.display.visibleColumnCount,t.display.enableHiding=t.allowColumnHiding&&t.products.filter(o=>!o.isHidden).length>2,(t.display.useLabelColumn?t.display.visibleColumnCount:t.display.visibleColumnCount-1)<3&&(t.display.enablePinning=!1);let n=document.documentElement.dir==="rtl"?-1:1;return u`
        <article @key=${t.widgetId} class="widget-${t.widgetId} ct-widget-wrapper"
            aria-label="${t.translations["product-comparison"]}"
            style="
                --column-width: ${t.display.columnWidth}px;
                --container-width: ${t.display.columnWidth*t.display.visibleColumnCount+1}px;
                --left-button-position: ${(t.display.useLabelColumn?2:1)*t.display.columnWidth}px;
                --show-arrows: ${t.display.columnCount==t.display.visibleColumnCount?"none":"flex"}
            "
            @hook:insert=${o=>es(o,t,e)}
        >
            <style>${Bi}</style>

            <div class="ct-visibility-dashboard">
                ${is(t,e)}
                ${Zr(t,e)}
            </div>

            <div
                class="ct-table-wrapper ct-border-${t.display.border}"
                @class:ct-table-wrapper-small-screen=${t.display.isSmallScreen}
                @class:ct-with-label-column=${t.display.useLabelColumn}
                @props:scrollLeft=${t.display.scrollIndex*t.display.columnWidth*n}
            >
                <table class="ct ct-align-${t.display.textAlign}"
                       @class:pinnable=${t.display.enablePinning}
                       style="inline-size: ${t.display.columnWidth*t.display.columnCount}px;">
                    <caption class="visually-hidden">${t.translations["product-comparison"]}</caption>

                    ${ns(t)}
                    <tbody>
                        ${os(t,e)}
                    </tbody>
                </table>
            </div>

            <div role="status" aria-atomic="true" aria-live="polite" class="visually-hidden">${t.liveregion}</div>
        </article>
    `}function Jr(t){t.display.isSmallScreen=t.displayWidth<452;let e=t.display.isSmallScreen?90:150,i=Math.max(300,Math.ceil(t.displayWidth/t.display.columnCount)),n=t.displayWidth-2;if(t.display.columnCount=(t.display.useLabelColumn?1:0)+t.products.filter(o=>!o.isHidden).length,t.display.columnWidth=Math.min(Math.max(Math.floor(n/t.display.columnCount),e),i),t.display.visibleColumnCount=Math.min(Math.floor(n/t.display.columnWidth),t.display.columnCount),t.display.visibleColumnCount<t.display.columnCount&&(t.display.columnWidth=Math.min(Math.max(Math.floor(n/t.display.visibleColumnCount),e),i)),t.display.hasGroupHeading){let o=0;t.display.groupHeadingColspan=0,t.display.useLabelColumn&&(o=1,t.display.groupHeadingColspan=1),t.display.orderedProducts.forEach(r=>{o<t.display.visibleColumnCount&&(t.display.groupHeadingColspan++,o+=r.isHidden?0:1)})}}function Qr(t){let e=t.products.filter(i=>!i.isHidden).length+(t.display.useLabelColumn?1:0);t.display.maxScrollIndex=e-t.display.visibleColumnCount,isNaN(t.display.maxScrollIndex)||(t.display.scrollIndex=Math.min(t.display.scrollIndex,t.display.maxScrollIndex))}function ts(t){let e=[],i=t.products.find(n=>n.isPinned);return i&&e.push(i),e.push(...t.products.filter(n=>!n.isPinned)),e}function es(t,e,i){e.display.domNode=t.elm;let n=t.elm.querySelector(".ct-table-wrapper");typeof e.display.swipeObserver.unobserve=="function"&&e.display.swipeObserver.unobserve(),e.display.swipeObserver=ht(n,(o,r)=>{r==="l"?pe(1,e,i):r==="r"&&pe(-1,e,i)}),e.display.swipeObserver.observe()}function is(t,e){let i=t.products.find(n=>n.isHidden);return u`
        <button class="ct-link-button"
                @style:visibility=${i?"":"hidden"}
                @on:click=${()=>{t.track({a:"restore",wt:t.widgetType,wi:t.widgetId}),t.products.forEach(n=>n.isHidden=!1),t.liveregion=t.translations["comparing-all-products"],e()}}>
            ${t.translations["show-hidden-columns-msg"]}
        </button>
    `}function Ri(t,e,i){let n=!1;(t==="left"&&e.display.scrollIndex==0||t==="right"&&e.display.scrollIndex>=e.display.maxScrollIndex)&&(n=!0);let o=t==="left"?"prev-product":"next-product";return u`
        <button
            class="ct-scroll-${t}-button"
            @props:disabled=${n} @on:click=${()=>pe(t==="left"?-1:1,e,i)}>
            <syndigo-svg-icon icon="chevron-${t}" width="16" height="16" data-title="${e.translations[o]}" />
        </button>
    `}function pe(t,e,i){e.display.scrollIndex=(0,Vi.default)(e.display.scrollIndex+t,0,e.display.maxScrollIndex);let n=e.display.orderedProducts.filter(s=>!s.isHidden),o=n[0].isPinned?e.display.scrollIndex+1:e.display.scrollIndex,r=n[o];r||(r=n[o-1]),e.track({a:"scroll",fvpi:r.id,wt:e.widgetType,wi:e.widgetId}),i()}function ns(t){let e=t.display.orderedProducts.map(i);t.display.useLabelColumn&&e.unshift(i());function i(n){let o=n&&n.isHidden?0:t.display.columnWidth;return u`<col style="inline-size: ${o}px !important;" />`}return u`
        <colgroup>
            ${e}
        </colgroup>
    `}function os(t,e){return t.grid.map(i=>rs(i,t,e))}function rs(t,e,i){let n=[],o="",r=!1;if(t.type==="FEATURE"&&(e.display.featureRowEvenOdd=1-e.display.featureRowEvenOdd),e.display.useLabelColumn){let s=ss[t.type](t,e,i);s&&n.push(s)}return n=n.concat(as(t,e,i)),e.display.isCurrentHeadingCollapsed&&(o+=t.type==="HEADING"?" ct-is-collapsed-heading":" ct-is-collapsed-child",r=t.type!=="HEADING"),t.type==="TITLE"&&(o+=" ct-title-row"),u`<tr class="${o}" @attrs:aria-hidden=${r}>${n}</tr>`}var ss={ACTION:function(t,e,i){return u`<td class="ct-label-column ct-header-cell"></td>`},IMAGE:function(t,e,i){let n="";if(e.tableImage){let{sources:r,fallbackImageType:s}=A(e.tableImage);n=u`<picture> 
                ${r}
                <img alt="${e.tableImage.alt}"
                     class="ct-header-image"
                     style="object-fit: contain;"
                     loading="lazy"
                     srcset="${P(e.tableImage,s)}"
                     src="${W(e.tableImage,240,s)}"
                     draggable="false"
                     height=150
                     width=150
                />
            </picture>`}let o=n?"th":"td";return u`
            <${o} scope="row" class="ct-label-column ct-header-image-cell ct-header-cell">
                <div class="ct-cell-wrapper">
                    ${n}
                </div>
            </${o}>
        `},TITLE:function(t,e,i){return u`<td class="ct-label-column ct-header-cell"></td>`},HEADING:function(t,e,i){return null},FEATURE:function(t,e,i){return u`
            <th scope="row" class="ct-label-column ct-feature-label ${e.display.featureRowEvenOdd?"ct-odd-row":""}">
                <div class="ct-cell-wrapper">
                    ${ls(e,t.settings)}
                </div>
            </th>
        `}};function as(t,e,i){return t.type==="HEADING"?(e.display.isCurrentHeadingCollapsed=!t.isOpen,[Gi[t.type](t,null,e,i)]):e.display.orderedProducts.map(n=>Gi[t.type](t,n,e,i))}var Gi={ACTION:function(t,e,i,n){let o,r,s;if(e.isThisProduct&&(o=u`<span class="ct-this-product-label"><h3 style="margin:0px">${i.translations["this-product"]}</h3></span>`),i.display.enablePinning){let a;e.isPinned?a=i.translations.pinned.replace("%1",e.name):e.isThisProduct?a=i.translations["pin-this-product"]:a=i.translations["pin-product"].replace("%1",e.name),r=u`
                <button class="ct-trans-button ct-pin-button ${e.isPinned&&"ct-pin-button-active"}"
                        @on:click=${()=>{us(e.id,i),n()}}>
                    <syndigo-svg-icon icon="thumbtack" width="14" height="14" fill="currentColor" data-title="${a}" />
                </button>
            `}return i.display.enableHiding&&(!e.isPinned||!i.display.enablePinning)&&(s=u`
                <button class="ct-trans-button ct-hide-button"
                    @on:click=${()=>cs(e,i,n)}>
                    <syndigo-svg-icon icon="close2" width="11" height="11" fill="currentColor" data-title="${i.translations["hide-product"].replace("%1",e.name)}" />
                </button>
            `),u`
            <th
                scope="col"
                @key=${e.id}
                @attrs:data-test=${e.id}
                @attrs:aria-hidden=${e.isHidden}
                class="ct-action-cell ct-header-cell ${qt(e,!1)}"
            >
                <div class="ct-cell-wrapper"
                     style="inline-size: ${i.display.columnWidth}px"
                     @style:display=${e.isHidden?"none":""}>
                    ${o}
                    <div class="ct-column-actions" @style:display=${e.isHidden?"none":"flex"}>
                        ${r}${s}
                    </div>
                </div>
            </th>`},IMAGE:function(t,e,i,n){let o="";if(e.image){let{sources:s,fallbackImageType:a}=A(e.image);o=u`<picture> 
                ${s}
                <img alt="${e.image.alt}" class="ct-header-image"
                    loading="lazy"
                    srcset="${P(e.image,a)}"
                    src="${W(e.image,240,a)}"
                    draggable="false"
                    width=150
                    height=150
                />
            </picture>`}let r=ft.init({href:e.url,label:"View product page",gate:i.linkGate,translations:i.framework.translations.Common,urlTarget:i.urlTarget,callback:function(){i.track({a:"vcp",product:e.id,wt:i.widgetType,wi:i.widgetId})}});return u`
            <th @key=${e.id}
                scope="col"
                @attrs:aria-hidden=${e.isHidden}
                class="ct-product-image-cell ct-header-cell ${qt(e,!1)}">
                
                <div class="ct-cell-wrapper" style="inline-size: ${i.display.columnWidth}px">
                    ${ft.view(r,o)}
                </div>
            </th>
        `},TITLE:function(t,e,i,n){let o=u`<div @props:innerHTML=${e.name}></div>`;if(e.url){let r=ft.init({href:e.url,label:"View product page",gate:i.linkGate,translations:i.framework.translations.Common,urlTarget:i.urlTarget,callback:function(){i.track({a:"vcp",product:e.id,wt:i.widgetType,wi:i.widgetId})}});o=ft.view(r,o)}return u`
            <td @key=${e.id}
                @attrs:aria-hidden=${e.isHidden||!e.name}
                class="ct-product-name-cell ct-header-cell ${qt(e,!1)}">
                <div class="ct-cell-wrapper" style="inline-size: ${i.display.columnWidth}px">${o}</div>
            </td>
        `},HEADING:function(t,e,i,n){return u`
            <th scope="row"
                class="ct-heading-toggle-cell"
                style="${t.isOpen?"":"border-block-end: none"}"
                colspan="${i.display.groupHeadingColspan}">
                <button class="ct-heading-toggle-button ct-trans-button"
                        aria-expanded="${t.isOpen?"true":"false "}"
                        @on:click=${()=>ds(t,i,n)}>
                    <span class="ct-heading-icon-wrapper">
                        <syndigo-svg-icon icon="chevron-up" width="10" height="10" fill="currentColor" data-title="${i.translations[t.isOpen?"collapse":"expand"]}" />
                    </span>
                    <div @props:innerHTML=${t.settings.caption}></div>
                </button>
            </th>
        `},FEATURE:function(t,e,i,n){let o=e.features[t.settings.id],r="";if(o.image){let{sources:a,fallbackImageType:d}=A(o.image);r=u`
                <div class="ct-feature-image-wrapper-${o.textLayout.toLowerCase()}">
                    <picture> 
                        ${a}
                        <img alt="${o.image.alt}" class="ct-feature-image"
                            loading="lazy"
                            style="inline-size: 50px; block-size: auto;"
                            srcset="${P(o.image,d)}"
                            src="${W(o.image,240,d)}"
                            draggable="false"
                            height="50"
                        />
                    </picture>
                </div>
            `}let s=o.footnotes.map(a=>u`<span aria-label="${i.framework.translations.Common["footnote-index"].replace("%1",a)}" class="syndigo-footnote-index" role="note"></span>`);if(i.display.useLabelColumn)return u`
                <td
                    @key=${e.id}
                    @attrs:aria-hidden=${e.isHidden}
                    class="ct-product-feature-cell ${qt(e,i.display.featureRowEvenOdd>0)}"
                >
                    <div class="ct-cell-wrapper" style="inline-size: ${i.display.columnWidth}px">
                        ${r}
                        <div @props:innerHTML=${o.text}></div>
                        ${s}
                    </div>
                </td>`;{let a=t.settings,d;return a.additionalInformation?.trim()&&(d=u`<syndigo-toggletip data-toggletip-content="${a.additionalInformation}" />`),u`
                <td
                    @key=${e.id}
                    @attrs:aria-hidden=${e.isHidden}
                    class="ct-product-feature-cell ${qt(e,i.display.featureRowEvenOdd>0)}"
                >
                    <div class="ct-cell-wrapper" style="inline-size: ${i.display.columnWidth}px">
                        <div class="ct-feature-title">
                            <h3 @props:innerHTML=${a.caption}></h3>
                            <div @props:innerHTML=${o.text}></div>
                        </div>

                        ${r}

                        ${d}
                        ${s}
                    </div>
                </td>`}}};function qt(t,e){let i="ct-product-column";return t.isThisProduct&&(i+=" ct-this-product"),t.isHidden&&(i+=" ct-hide-column"),e&&(i+=" ct-odd-row"),i}function ls(t,e){let i=e.footnotes.map(o=>u`<span aria-label="${t.framework.translations.Common["footnote-index"].replace("%1",o)}" class="syndigo-footnote-index" role="note"></span>`),n;return e.additionalInformation?.trim()&&(n=u`<syndigo-toggletip data-toggletip-content="${e.additionalInformation}" />`),u`
        <div class="ct-feature-title">
            <h3 @props:innerHTML=${e.caption}></h3>
            ${i}
            ${n}
        </div>
    `}function cs(t,e,i){e.track({a:"hide",pi:t.id,wt:e.widgetType,wi:e.widgetId}),e.liveregion=e.translations["hide-product-x"].replace("%1",t.name),t.isHidden=!0,i(),setTimeout(function(){e.liveregion="",i()},1e3)}function ds(t,e,i){t.isOpen=!t.isOpen,e.track({a:"tfv",viz:t.isOpen,fi:t.settings.id,wt:e.widgetType,wi:e.widgetId}),i()}function us(t,e){e.products.forEach(i=>{i.isPinned===!0&&(i.isPinned=!1),i.id===t&&(i.isPinned=!0)})}function ps(t){typeof t.display.swipeObserver.unobserve=="function"&&(t.display.swipeObserver.unobserve(),t.display.swipeObserver={})}var ji={init:Ur,view:Kr,destroy:ps};function Pe(t,e){let i=t.indexOf("a.sellpoint")<0?"syndi_download":"spworld_download",n=t.indexOf("a.sellpoint")<0?"syndi_filename":"spworld_filename";return t+(t.indexOf("?")!==-1?"&":"?")+`${i}=1&${n}=`+encodeURIComponent(e)}function Ne(t){let e=["B","KB","MB","GB","TB"],i=Math.max(t,0),n=Math.floor((i?Math.log(i):0)/Math.log(1024));return n=Math.min(n,e.length-1),i=i/Math.pow(1024,n),Math.round(i,2)+" "+e[n]}var Ui=".syndigo-documentgallery ul{display:grid;grid-template-columns:repeat(auto-fit,minmax(210px,1fr));grid-gap:0.25rem;font-family:var(--syndiCommonBodyTextFontFamily),var(--syndiDefaultFontFamily);font-size:var(--syndiCommonBodyTextFontSize, 13px);line-height:var(--syndiCommonBodyTextLineHeight, 19px)}ul.syndigo-documentgallery-tiles{list-style:none;margin:0;padding:0}ul.syndigo-documentgallery-tiles>li{display:flex;flex-direction:row;min-height:120px}img.documentgallery-thumbnail{width:90px;border:1px solid transparent}img.documentgallery-thumbnail:hover{border:1px solid #06c}.syndigo-documentgallery-title{margin:0;min-width:120px;color:var(--syndiCommonHeaderColor,#313131);font-family:var(--syndiCommonHeaderFontFamily),var(--syndiDefaultFontFamily);font-size:var(--syndiDocumentGalleryTitleFontSize, var(--syndiCommonHeaderFontSize));font-weight:var(--syndiCommonHeaderFontWeight,bold)}.syndigo-documentgallery-description{margin-bottom:2px;word-break:break-word;font-weight:400;color:#313131}.syndigo-documentgallery-view-link-with-image{display:inline-block}a.syndigo-documentgallery-download-link,a.syndigo-documentgallery-view-link{color:var(--syndiCommonLinkColor,#2179d3);-webkit-text-decoration:var(--syndiCommonLinkTextDecoration,underline);text-decoration:var(--syndiCommonLinkTextDecoration,underline)}a.syndigo-documentgallery-download-link:hover,a.syndigo-documentgallery-view-link:hover{color:var(--syndiCommonLinkHoverColor);-webkit-text-decoration:var(--syndiCommonLinkHoverTextDecoration);text-decoration:var(--syndiCommonLinkHoverTextDecoration)}.syndigo-documentgallery-separator{color:#666}";function Oe(t){let e=document.createElement("textarea");return e.innerHTML=t,e.value}function gs(t){let e="_blank";try{let n=t.framework.moduleParameters["framework/spworld"].urlTarget;e=n==="_top"||n==="_self"?n:"_blank"}catch{}let i={displayWidth:t.displayWidth||200,urlTarget:e,...t};return i.track=function(n,o){t.track({a:o,ai:n.assetId,wt:i.widgetType,wi:i.widgetId})},i}function hs(t){let{sources:e,fallbackImageType:i}=A(t.image);return t.image&&t.image.originalWidth?u`
        <picture>
            ${e}
            <img alt="View ${t.caption} PDF"
                 loading="lazy"
                 style="inline-size: 90px; block-size: auto;"
                 class="documentgallery-thumbnail"
                 src="${W(t.image,90,i)}" />
        </picture>         
        `:u`<syndigo-svg-icon icon="file-pdf" width="90" height="90" />`}function ms(t){let e=`${window.SYNDI.getContentDomain()}/asset/icons/file-pdf.svg`,i=t.items.map(n=>{let o=Pe(n.url,Oe(n.caption).replace(/[\s]/g,"_").trim()+".pdf"),r=n.url.split("?")[0];return u`<li>
            <a class="syndigo-documentgallery-view-link-with-image"
               href="${r}"
               target="${t.urlTarget}"
               @on:click=${()=>{t.track(n,"view")}}>
                ${hs(n)}
            </a>

            <div style="padding-left: 6px; min-width: 120px;">
                <h4 class="syndigo-documentgallery-title" @props:innerHTML=${n.caption}></h4>
                <div class="syndigo-documentgallery-description" @props:innerHTML=${n.description}></div>
                <div>
                    <a class="syndigo-documentgallery-view-link"
                       href="${r}"
                       target="${t.urlTarget}"
                       @on:click=${()=>{t.track(n,"view")}}
                       rel="nofollow">${t.framework.translations.DocumentGallery.view}<span class="syndigo-visually-hidden">${n.caption} PDF</span></a>
                    <span class="syndigo-documentgallery-separator">|</span>
                    <a class="syndigo-documentgallery-download-link"
                       download="download"
                       href="${o}"
                       @on:click=${()=>{t.track(n,"download")}}
                       rel="nofollow">${t.framework.translations.DocumentGallery.download}<span class="syndigo-visually-hidden">${n.caption} PDF</span></a>
                </div>
                <div style="padding-top: 6px; display:flex; flex-direction: row; align-items: center;">
                    <svg width="20" height="20">
                        <image xlink:href="${e}" width="20" height="20" />
                    </svg>
                    <small>PDF, ${Ne(n.contentLength)}<span style="display: ${n.pageCount?"inline":"none"}">, ${n.pageCount} pages</span></small>
                </div>
            </div>
        </li>`});return u`
        <section class="syndigo-documentgallery">
            <style>${Ui}</style>
            <ul class="syndigo-documentgallery-tiles"
                @style:grid-gap=${t.gridGap||"10px"}>
                ${i}
            </ul>
        </section>`}var qi={init:gs,view:ms,destroy:G};function fe(t){return new DOMParser().parseFromString(t,"text/html").body.textContent||""}function Xi(t,e,i){let n=t.elm,o=n.parentNode.parentNode,r=o.parentNode,s=B(i,{offsetWidth:o.offsetWidth-16,offsetHeight:i.originalHeight});n.style.inlineSize=`${s.width}px`,n.style.blockSize=`${s.height}px`;let a=Math.max(r.children[1].children[0].offsetHeight,s.height);o.style.blockSize=`${a}px`,e.resizeAnchor&&(r.parentNode.style.margin="auto",a=Math.max(r.children[1].children[0].offsetHeight,s.height),r.parentNode.style.blockSize=`${a}px`,o.style.blockSize=`${a}px`)}function vs(t,e,i,n,o){let r=function(v,w,x){v.track({a:"open",ai:w.asset.assetId,wt:v.widgetType,wi:v.widgetId}),x()},s=Kt(t,i),a=Zt(t);n=n&&!a?n:"";let d=e.layout.includes("Column")?"0px":"",l=e.layout.includes("Column")?"auto":"",c=R(i.asset,s),{sources:h,fallbackImageType:g}=A(c),b=B(c,{offsetWidth:s,offsetHeight:c.originalHeight}),p=he(s,e,i),m=p?"display: flex; justify-content: center; align-items: center; margin: auto;":"";return Be(s,e,i)?u`<div style="${m}"
            @style:float=${n}
            @style:inline-size="${b.width}px"
            @style:max-inline-size="${s}px"> 
            <picture>
                ${h}
                <img alt="${c.alt}"
                    loading="lazy"
                    @style:padding="${p?"":"8px"}"
                    @style:margin=${n?"margin: 10px":""}
                    @style:inline-size="${b.width}px"
                    @style:block-size="${b.height}px"
                    @style:float=${n}
                    srcset="${P(c,g)}"
                    src="${W(c,480,g)}"
                    title="${fe(i.caption)}"
                    @on:click=${()=>r(t,i,o)} 
                    @hook:update=${v=>Xi(v,i,c)}
                    @hook:insert=${v=>Xi(v,i,c)} />
            </picture>  
        </div>`:(s=Math.min(s,b.width),u`<div style="${m}"
        @style:float=${n}
        @style:margin-block="${d}"
        @style:margin-inline="${l}"
        @style:max-inline-size="${s}px"> 
        <picture>
            ${h}
            <img alt="${c.alt}"
                loading="lazy"
                @style:padding="${p?"":"8px"}"
                @style:margin=${n?"margin: 10px":""}
                @style:inline-size="${s}px"
                @style:block-size="auto"
                @style:max-inline-size="min(100%, ${s}px)"
                @style:float=${n}
                srcset="${P(c,g)}"
                src="${W(c,480,g)}"
                title="${fe(i.caption)}"
                @on:click=${()=>r(t,i,o)} />
        </picture>  
    </div>`)}function Yi(t,e){let i=t.elm,n=i.parentNode||{offsetWidth:400,offsetHeight:400},o=B(e,{offsetWidth:n.offsetWidth-16,offsetHeight:e.originalHeight});i.style.inlineSize=`${o.width}px`,i.style.blockSize=`${o.height}px`}function bs(t,e,i,n){let o=Zt(t.displayWidth);n=n&&!o?n:"";let r=Kt(t,i),s=e.layout.includes("Column")?"0px":"",a=e.layout.includes("Column")?"auto":"";return u`<div style="padding: 8px;"
                     @style:float=${n}
                     @style:inline-size="${i.wrapText?`${r}px`:""}"
                     @style:max-inline-size="${r}px">
                     <syndigo-video 
                        @style:margin-block="${s}"
                        @style:margin-inline="${a}"
                        @props:model=${i.video}
                        @hook:update=${d=>Yi(d,i.asset)}
                        @hook:insert=${d=>Yi(d,i.asset)}></syndigo-video>
                </div>`}function Yt(t,e,i,n,o){if(i.assetType==="Image")return vs(t,e,i,n,o);if(i.assetType==="Video")return bs(t,e,i,n);if(i.assetType!=="None")throw new Error(`unknown featureset asset type: ${i.assetType}`)}function he(t,e,i){return i.asset?e.layout==="WideImages":!1}function Be(t,e,i){let n=he(t,e,i),o=i.captionAndDescriptionPlacement==="Overlaid";return n&&o&&t>=800}function Zt(t){return t<600}function Zi(t,e){let i;if(e.assetType==="Image"||e.assetType==="Video"){let n=Kt(t,e),o=R(e.asset,n);i=B(o,{offsetWidth:n,offsetHeight:o.originalHeight})}return i}function Kt(t,e){return e.imageSizeType==="Large"||Zt(t.displayWidth)?t.displayWidth:e.imageSizeType==="Medium"?t.displayWidth/2:t.displayWidth/4}function ys(t,e,i,n){let o=t.items[e],r=o.features[i],s="",a=Zi(t,r),d=Yt(t,o,r,s,n),l=r.caption,c=r.description,h=a?`min(100%, ${a.width}px)`:"100%",g=u`<div style="display: flex; flex-shrink:1; max-inline-size: 100%;">
        <div class="syndigo-featureset-feature-description-text"
            @style:margin-inline="auto"
            @style:padding-block="8px"
            @style:padding-inline="0px"
            @style:min-inline-size="${h}">
            <h3 class="syndigo-featureset-feature-caption"
                @style:display=${l.length===0?"none":""}
                @style:padding-block="0px"
                @style:padding-inline="8px"
                @props:innerHTML=${l}></h3>
            <div class="syndigo-featureset-feature-description"
                @style:padding-block="0px"
                @style:padding-inline="8px"
                @props:innerHTML=${c}></div>
        </div></div>`;return d=st(t,r,i,d),u`<div class="syndigo-featureset-feature"
                     style="grid-template-columns: 1fr;">${[d,g]}</div>`}function Re(t,e,i){let n=t.items[e],o=n.features.map((a,d)=>ys(t,e,d,i)),r;return Zt(t.displayWidth)?r="1fr":n.layout==="TwoColumn"?r="repeat(2, minmax(10px, 1fr))":n.layout==="ThreeColumn"?r="repeat(3, minmax(10px, 1fr))":n.layout==="FourColumn"&&(r=`repeat(${t.displayWidth<800?2:4}, minmax(0, 1fr))`),u`<div class="syndigo-featureset-layout syndigo-feature-column"
                     @style:grid-template-columns=${r}>${o}</div>`}var Ki=".syndigo-featureset{display:grid;grid-template-columns:1fr;inline-size:100%;position:relative}.syndigo-featureset *{font-family:var(--syndiCommonBodyTextFontFamily),var(--syndiDefaultFontFamily);font-size:var(--syndiCommonBodyTextFontSize);line-height:var(--syndiCommonBodyTextLineHeight)}.syndigo-featureset h3,.syndigo-featureset h3 *{color:var(--syndiFeatureSetHeadingColor);font-size:var(--syndiFeatureSetHeadingFontSize);font-weight:var(--syndiFeatureSetHeadingFontWeight);font-family:var(--syndiFeatureSetHeadingFontFamily),var(--syndiDefaultFontFamily);line-height:var(--syndiFeatureSetHeadingLineHeight)}.syndigo-featureset-feature-description,.syndigo-featureset-feature-description *{font-size:var(--syndiFeatureSetOverlayBodyFontSize)}.syndigo-featureset-feature-description p{margin-block-start:0px}.syndigo-featureset-feature-description>sup{vertical-align:top;position:relative;inset-block-start:-0.5em}.syndigo-featureset-feature{position:relative;word-break:break-word}.syndigo-featureset-feature-overlaid{position:absolute;border-radius:4px;inline-size:100%;block-size:100%}.syndigo-featureset-feature-overlaid-inner{position:absolute;margin-block:0px;margin-inline:auto;text-align:start;display:inline-block;padding:20px;inline-size:50%;inset-block-start:50%;transform:translateY(-50%)}.syndigo-featureset-feature-overlaid-inner-center{position:relative;text-align:center;display:block}.syndigo-featureset-feature-overlaid-Center{text-align:center}.syndigo-featureset-feature-overlaid-BlackTextWhiteBackground{color:#000;background-color:#fff}.syndigo-featureset-feature-overlaid-WhiteTextBlackBackground{color:#fff;background-color:#000}.syndigo-featureset-feature-overlaid-BlackTextNoBackground{color:#000}.syndigo-featureset-feature-overlaid-WhiteTextNoBackground{color:#fff}.syndigo-featureset-feature-description-text{color:var(--syndiCommonBodyTextColor);padding:8px}.syndigo-powerpage-grid-widget:fullscreen .syndigo-featureset-feature-description-text{padding:var(--syndiFeatureSetFullScreenTextPadding,0 10px)}.syndigo-featureset-feature-caption{margin-block-start:0;margin-block-end:0.4em}.syndigo-featureset-layout{display:grid;grid-template-columns:1fr;grid-gap:2em}.syndigo-featureset-layout-moderate,.syndigo-featureset-layout-wide{grid-template-columns:repeat(2,1fr)}";var Ji=lt(Se(),1);function ws(t,e,i,n){let o=e.features[i],r="1fr",s=1;t.displayWidth>=600?(r="2fr 1fr",s=.33):t.displayWidth>360&&(r="1fr 1fr",s=.5);let a=t.displayWidth*s;a=o.asset?Math.min(a,o.asset.originalWidth):a;let d,l=o.relatedItem,c=l?l.caption:"",h=l?l.description:"",g=o.description,b=o.caption;if(l?.asset){let{sources:x,fallbackImageType:$}=A(l.asset);d=u` <div
            @style:max-inline-size="${l.asset.originalWidth}px"
            @style:max-block-size="${l.asset.originalHeight}px">
            <picture> 
                ${x}
                <img alt="${l.asset.alt}"
                    loading="lazy"
                    style="padding: 8px; inline-size: 100%; block-size: auto; max-inline-size: 100%;"
                    srcset="${P(l.asset,$)}"
                    src="${W(l.asset,480,$)}"
                    title="${c}" />
            </picture>`,d=st(t,o,i,d)}let p=tn(e,o,i),m=o.wrapText?Qi(p):"",v=Yt(t,e,o,m,n);v=st(t,o,i,v);let w=t.displayWidth>=600?`minmax(10px, ${a}px) 1fr`:"1fr";return u`<div class="syndigo-featureset-feature"
                 @style:display=${o.wrapText?"block":"grid"}
                 @style:grid-template-columns=${r}>
                    <div style="display: grid;"
                        @style:grid-template-columns=${w}>
                        ${v}
                        <div class="syndigo-featureset-feature-description-text">
                            <h3 class="syndigo-featureset-feature-caption"
                                @style:display=${o.caption.length===0?"none":""}
                                @props:innerHTML=${b}></h3>
                            <div class="syndigo-featureset-feature-description"
                                @props:innerHTML=${g}></div>
                        </div>
                    </div>

                    <div>
                        ${d}
                        <h3 class="syndigo-featureset-feature-caption"
                            @style:display=${c.length===0?"none":""}
                            @props:innerHTML=${c}></h3>
                        <div class="syndigo-featureset-feature-description"
                              @props:innerHTML=${h}></div>
                    </div>
                </div>`}function Qi(t){let e={ltr:{start:"left",end:"right"},rtl:{start:"right",end:"left"}},i=document.documentElement.dir==="rtl"?"rtl":"ltr";return e[i][t]||""}function tn(t,e,i){if(t.layout==="LeftAligned")return"end";if(t.layout==="RightAligned")return"start";if(t.layout==="ZigZagRightAligned")return i%2===0?"end":"start";if(t.layout==="ZigZagLeftAligned")return i%2===0?"start":"end";if(t.layout==="WideImages"||t.layout==="ExpandedFeatures")return"";throw new Error(`Unexpected layout encountered: ${t.layout}`)}function ks({feature:t,isOverlaid:e}){let i={fontBackgroundColor:"",fontColor:"var(--syndiCommonBodyTextColor)",textWidth:"",textLocation:t.textLocation,textOpacity:1,start:"",end:"",margin:"auto 0px"};return e&&(i.textWidth=t.textWidth>90?"calc(90% - 24px)":`${t.textWidth}%`,i.textOpacity=t.fontOpacity*.01,i.fontColor=t.fontColor,i.margin="",i.end=t.textLocation==="Right"?"24px":i.end,t.textLocation==="Left"?i.start="24px":t.textLocation==="Center"&&(i.start="",i.margin="0px auto",i.textWidth=`${t.textWidth}%`),t.textColor=="Custom"?i.fontBackgroundColor=t.fontBackgroundColor!=="transparent"?(0,Ji.default)(t.fontBackgroundColor,i.textOpacity):t.fontBackgroundColor:t.fontOpacity&&(t.textColor==="BlackTextWhiteBackground"?i.fontBackgroundColor=`rgba(255,255,255,${i.textOpacity})`:t.textColor==="WhiteTextBlackBackground"&&(i.fontBackgroundColor=`rgba(0,0,0,${i.textOpacity})`))),i}function $s(t,e,i,n){let o=t.items[e],r=o.features[i],s=tn(o,r,i),a=r.wrapText?Qi(s):"",d=Yt(t,o,r,a,n),l=[],c,h=jt(r),g=Kt(t,r),b=he(g,o,r),p=Be(g,o,r),m=o.layout==="WideImages"&&r.captionAndDescriptionPlacement==="None"&&r.assetType!=="None"?"":r.caption,v=o.layout==="WideImages"&&r.captionAndDescriptionPlacement==="None"&&r.assetType!=="None"?"":r.description,w=ks({feature:r,isOverlaid:p}),x=p&&r.textLocation==="Center",$=u`<div class="syndigo-featureset-feature-description-text"
                         @class:syndigo-featureset-feature-overlaid=${p}
                         @class:syndigo-featureset-feature-overlaid-Center=${x}
                         @style:color=${w.fontColor}
                         @style:margin=${w.margin}>
                    	<div @class:syndigo-featureset-feature-overlaid-inner=${p}
                             @class:syndigo-featureset-feature-overlaid-inner-center=${x} 
                             @class:syndigo-featureset-feature-nooverlay-inner=${!p}
                             @class:syndigo-featureset-feature-overlaid-${r.textColor}=${p}
                             @style:inset-inline-start=${w.start}
                             @style:inset-inline-end=${w.end}
                             @style:inline-size=${w.textWidth}
                             @style:background-color=${w.fontBackgroundColor}>
                        	<h3 class="syndigo-featureset-feature-caption"
                                @style:display=${m.length===0?"none":""}
                                @props:innerHTML=${m}></h3>
                            <div class="syndigo-featureset-feature-description"
                                 @props:innerHTML=${v}></div>
                        </div>
                     </div>`,z=r.imageSizeType==="Large"||o.layout==="WideImages"||r.wrapText||t.displayWidth<600;if(h&&!p&&(d=st(t,r,i,d),r.resizeAnchor=!1),z)c="1fr",l=[d,$];else{let I=Math.round(t.displayWidth/2),_=Math.round(t.displayWidth/4),k=r.imageSizeType==="Medium"?I:_;k=r.asset?Math.min(k,r.asset.originalWidth):k,c=s==="start"?`minmax(10px, ${k}px) 1fr`:`1fr minmax(10px, ${k}px)`,l=s==="start"?[d,$]:[$,d]}r.wrapText&&(c="");let S=u`<div style="block-size: 100%;" class="syndigo-featureset-feature"
        @style:display=${r.wrapText?"block":"grid"}
        @style:margin="${b?"auto":""}"
        @style:grid-template-columns=${c}>${l}</div>`;return h&&p&&(r.resizeAnchor=!0,S=st(t,r,i,S)),S}function Ge(t,e,i){let n=t.items[e],o=n.features.map((r,s)=>n.layout==="ExpandedFeatures"?ws(t,n,s,i):$s(t,e,s,i));return u`<div class="syndigo-featureset-layout syndigo-feature-stacked">${o}</div>`}function zs(t,e){let i=t.items.map((n,o)=>n.layout.includes("Column")?Re(t,o,e):Ge(t,o,e));return u`<div class="syndigo-featureset syndigo-widget"
                 @key=${t.widgetId}>
                <style>${Ki}</style>
                ${i}
            </div>`}function Cs(t){let e={enabled:!1};try{e=JSON.parse(t.framework.moduleParameters["framework/spworld"].linkGate)}catch{}let i={displayWidth:t.displayWidth||200,linkGate:e,...t};return i.items.forEach(n=>{n.features=n.features.map(o=>o.assetType!=="Video"?o:{...o,video:{asset:o.asset,track:function(r){i.track({wt:i.widgetType,wi:i.widgetId,...r})}}})}),i}function Ts(){}var en={init:Cs,view:zs,destroy:Ts};var nn=".syndigo-footnotes{inline-size:100%;overflow:hidden}.syndigo-footnotes .syndigo-footnotes-container{font-size:12px;border-block-start:1px solid #cccccc}.syndigo-footnotes .syndigo-footnotes-container *{font-size:12px;line-height:normal;color:#565758}.syndigo-footnotes .syndigo-footnotes-container sup,.syndigo-footnotes .syndigo-footnotes-container sup *{font-size:9px}.syndigo-footnotes .syndigo-footnotes-container ol{margin:0;padding:0}.syndigo-footnotes .syndigo-footnotes-container ol li{margin:0;margin-block-start:2px;padding:0;list-style-type:none}.syndigo-footnotes .syndigo-footnotes-container *{color:var(--syndiCommonFootnotesColor);font-family:var(--syndiCommonFootnotesFontFamily),var(--syndiDefaultFontFamily);font-style:var(--syndiCommonFootnotesFontStyle);font-size:var(--syndiCommonFootnotesFontSize)}.syndigo-footnotes .syndigo-footnotes-container .syndigo-footnote{counter-increment:footnotes-text}.syndigo-footnotes .syndigo-footnotes-container .syndigo-footnote::before{display:inline-block;content:counter(footnotes-text);vertical-align:super;margin-inline-end:.25em}";function Es(t){return{displayWidth:t.displayWidth||200,...t}}function Ss(t){let e=function(){let n=[];for(let o=1;o<=t.counter;o++)n.push(u`
                <li class="syndigo-footnote">
                    <span>${t.footnotesDict[o]}</span>
                </li>
            `);return n};return u`<div class="syndigo-footnotes">

        <style>${nn}</style>

        ${function(){return t.counter>0?u`
            <div class="syndigo-footnotes-container">
                <ol class="syndigo-footnotes-list" aria-label="${t.framework.translations.Common["footnote-label"]}" role="list">
                    ${e()}
                </ol>
            </div>`:""}()}
    </div>`}var on={init:Es,view:Ss,destroy:G};var rn=".syndigo-free-form-html{inline-size:100%}.syndigo-free-form-html .quill-better-table-wrapper{inline-size:100%;block-size:auto}.syndigo-free-form-html table.quill-better-table,.syndigo-free-form-html table.wc-data-table{margin:0;margin-block-end:25px;inline-size:100%}.syndigo-free-form-html table.quill-better-table tr td,.syndigo-free-form-html table.wc-data-table tr td{padding-block-end:5px;inline-size:auto}.syndigo-free-form-html table.quill-better-table tr:last-of-type,.syndigo-free-form-html table.wc-data-table tr:last-of-type{border-block-end:1px solid var(--syndiCommonDataCellBorderColor)}.syndigo-free-form-html table.wc-data-table .wc-seperator-row th{padding-block-end:5px}.syndigo-free-form-html table.wc-data-table tr td.wc-first-column{padding-inline-end:50px;inline-size:50%}div.wc-aplus-body{margin-block-start:10px;position:relative}";function Hs(t){return u`<div @key="widget-${t.widgetId}"
                     class="syndigo-free-form-html syndigo-widget">
      <style>${rn}</style>
      <div class="wc-aplus-body" @props:innerHTML=${t.html}></div>
    </div>`}function Ls(t){return{displayWidth:t.displayWidth||200,...t}}var sn={view:Hs,init:Ls,destroy:G};var an=".syndigo-iframe-chrome-header{display:flex;flex-direction:row;justify-content:flex-end;align-items:center}.syndigo-iframe-chrome-footer{display:flex;flex-direction:row;justify-content:flex-end;align-items:center}.syndigo-iframe-click-to-open{position:absolute;inset-block-start:calc(50% - 64px);inset-inline-start:calc(50% - 64px);background-color:rgba(0,0,0,.7);color:#fff;padding:20px;pointer-events:none;display:flex;flex-direction:column;align-items:center;border-radius:8px}.syndigo-powerpage-grid-widget:fullscreen .syndigo-iframe,.syndigo-powerpage-grid-widget:fullscreen .syndigo-iframe>div{display:flex;justify-content:center}";var ln=".syndigo-dialog{margin:0;padding:0;max-inline-size:95vw;max-block-size:95vh;position:fixed;transform-origin:0 0;z-index:99999;box-shadow:0 2px 5px 0 rgba(0,0,0,.5);border:solid 1px #ccc;background-color:#fff}.syndigo-dialog-overlay{position:fixed;inset-block-start:0;inset-inline-start:0;inline-size:100%;block-size:100%;z-index:99998;background:rgba(0,0,0,.6)}button.syndigo-dialog-close{position:absolute;z-index:1;margin:0;inline-size:22px;block-size:22px}button.syndigo-dialog-close-inset{padding:0;background:0 0;border:none;z-index:1}button.syndigo-dialog-close-straddle{inset-inline-end:-12px;inset-block-start:-12px;background-color:#fff;border-radius:50%;padding:2px;border:1px solid #000}";function Ws(){let t=document.createElement("style");return t.innerHTML="body { overflow: hidden !important; }",{open:!1,dialogEl:void 0,openerEl:void 0,scrollFreezeEl:t,top:0,left:0,width:400,height:400,overlayColor:"rgba(255,255,255,0.3)"}}function As(t,e,i){let n=function(s){dt(s.key)==="Escape"&&t.open&&r()},o=function(s){t.dialogEl=s.elm,document.addEventListener("keyup",n)},r=function(){t.open=!1,i()};return!t.open&&document.body.contains(t.scrollFreezeEl)&&(document.body.removeChild(t.scrollFreezeEl),t.openerEl&&t.openerEl.focus()),t.open&&!document.body.contains(t.scrollFreezeEl)&&(document.body.appendChild(t.scrollFreezeEl),t.dialogEl.focus()),u`<div>
        <style>${ln}</style>

        <div class="syndigo-dialog-overlay"
             @key="syndigo-dialog-overlay"
             @on:click=${r}
             style="background-color: ${t.overlayColor}; display: ${t.open?"block":"none"};"></div>

        <div class="syndigo-dialog"
             role="dialog"
             tabindex="-1"
             style="left:${t.left}px; top:${t.top}px; width:${t.width}px; height:${t.height}px; display: ${t.open?"block":"none"};"
             @key="syndigo-dialog-outer"
             @hook:insert=${o}>

			${e}
		</div>
    </div>`}function Ps(t){document.body.contains(t.scrollFreezeEl)&&document.body.removeChild(t.scrollFreezeEl)}var Ve={view:As,init:Ws,destroy:Ps};function je(t){let e=t.translations.Common["powered-by-text"].replace("%s","");return u`<div class="syndigo-watermark" style="display: flex; align-items: center;">       
        <span style="font-family: sans-serif; font-size: 10px; font-style: italic; padding-inline-end: 4px; padding-block-start: 3px;">${e}</span>
        <img style="inline-size: 80px; block-size: auto;" loading="lazy" src="${window.SYNDI.getContentDomain()}/asset/icons/syndigo.svg" alt="syndigo" />
    </div>`}var cn=30,dn=28;function Ns(t){return{displayWidth:t.displayWidth||200,enabled:!1,dialog:Ve.init(),layoutCache:{},locale:"en",iframeElms:[],childWindow:void 0,postMessage:{eventListener:void 0,height:0},...t}}function Os(t,e){let i=function(){t.enabled=!0,t.sizeStrategy==="DisplayOnDesktopOmitFromMobile"&&(t.dialog.open=!0),e()},n=function(d){t.dialog.openerEl=d.elm};if(!t.poster)return u`<div class="syndigo-inline-frame-placeholder" @hook:insert=${n}
                         style="inline-size: 100%; block-size: 600px"
                         @on:click=${i}></div>`;let{sources:o,fallbackImageType:r}=A(t.poster),s=Math.min(t.displayWidth,t.dimensions.width,t.poster.originalWidth),a=q.maxHeight();return u`<picture>
        ${o}
        <img alt="${t.poster.alt}"
             loading="lazy"
             @style:block-size="auto"
             srcset=${P(t.poster,r)}
             src="${W(t.poster,s,r)}"
             @on:click=${i}
             @hook:insert=${n}
             style="display: block; margin: auto; max-inline-size: ${s}px; max-block-size: ${a}px;"/>
    </picture>`}function Fs(t,e){let i=Bs(t),n;t.enabled&&(t.sizeStrategy==="KeepProportions"||t.sizeStrategy==="KeepBoxHeight")||t.sizeStrategy==="DisplayOnDesktopOmitFromMobile"&&t.enabled&&t.dialog.open?n=!0:t.sizeStrategy==="PostMessage"?(n=!0,i["iframe.width"]=t.displayWidth,i["iframe.height"]=t.postMessage.height):n=!1;let o=function(g){t.childWindow=g.elm.contentWindow,t.iframeElms.push(g.elm),t.postMessage.eventListener=function(b){if(t.iframeElms.find(m=>m.contentWindow===b.source))try{let m=JSON.parse(b.data);if(m.messageType==="heightUpdateRequest")/^[0-9]{1,}$/.test(m.height)?(t.sizeStrategy="PostMessage",t.postMessage.height=parseInt(m.height,10)+1,e()):console.warn(`syndigo iframe encountered invalid frame height (not an integer): '${m.height}'`);else if(m.messageType==="visitLink"){let v=wt(m.href);if(window.location.host!==v.host){console.warn(`syndigo iframe blocked content navigation, '${m.href}' does not match the hosting page's host '${window.location.host}'`);return}window.location.href=m.href}}catch{}},window.addEventListener("message",t.postMessage.eventListener)},r=["camera","microphone"].filter(g=>!!t.allow[g]).map(g=>g).join("; "),s=u`<iframe loading="lazy"
                                @props:src=${n?t.contentUrl:""}
                                @attrs:title=${t.headerText||""}
                                @attrs:allow=${r}
                                style="border: none;"
                                @style:display=${n?"":"none"}
                                @style:inline-size=${i["iframe.width"]+"px"}
                                @style:block-size=${i["iframe.height"]+"px"}
                                @hook:insert=${o}></iframe>`,a;if(t.sizeStrategy==="DisplayOnDesktopOmitFromMobile"){t.dialog.left=i["modal.left"],t.dialog.top=i["modal.top"],t.dialog.width=i["modal.width"],t.dialog.height=i["modal.height"];let b=u`
            <div class="syndigo-iframe-chrome">
                <div class="syndigo-iframe-chrome-header" style="block-size: ${dn}px;">
                    <button @on:click=${()=>{t.dialog.open=!1,e()}}
                            @on:keydown=${function(p){dt(p.key)==="Tab"&&(t.dialog.dialogEl.focus(),p.preventDefault())}}
                            class="syndigo-dialog-close syndigo-dialog-close-inset"
                            style="padding-inline-end: 4px;">
                                <syndigo-svg-icon icon="close-thin"
                                  width="16"
                                  height="16"
                                  fill="black" />
                            </button>
                </div>
                ${s}
                <div class="syndigo-iframe-chrome-footer" style="block-size: ${cn}px; padding-inline-end: 6px;">
                    ${je(t.framework)}
                </div>
            </div>`;a=Ve.view(t.dialog,b,e)}else a=s;let d="";(t.sizeStrategy==="DisplayOnDesktopOmitFromMobile"||!t.enabled)&&(d=Os(t,e));let l=t.poster?Math.min(t.poster.originalWidth,t.dimensions.width):t.dimensions.width,c=t.sizeStrategy==="PostMessage"?"":"margin-inline: auto;",h=t.sizeStrategy==="PostMessage"?"":"margin-block: 0px;";return u`<div style="cursor: pointer; position: relative; inline-size: 100%; max-inline-size: ${l}px; ${c} ${h}" >
        ${d}
        <div class="syndigo-iframe-click-to-open" @style:display=${t.enabled?"none":""}>
            <syndigo-svg-icon icon="hand-point-square"
                                  width="64"
                                  height="64"
                                  fill="whitesmoke"
                                  color="rgba(0,0,0,0)" />
            <div>${t.framework.translations.InlineFrame["iframe-center-play-button-text"]}</div>
        </div>
        ${a}
    </div>`}function Bs(t){let e=`${t.sizeStrategy}-${t.dimensions.width}-${t.dimensions.height}-${t.displayWidth}-${window.innerWidth}-${window.innerHeight}`;return t.layoutCache[e]||(t.layoutCache[e]=Rs(t)),t.layoutCache[e]}function Rs(t){let e=`
        editable parentGridWidth   strong
        editable dimensions.width  strong
        editable dimensions.height strong

        // iframe must fit within parent grid
        iframe.width  <= parentGridWidth    required

        // iframe must never upscale
        iframe.width  <= dimensions.width   required
        iframe.height <= dimensions.height  required

        // center the iframe in it's grid cell
        //iframe.left   == (parentGridWidth - iframe.width) / 2   required
    `;if(t.sizeStrategy==="KeepProportions"){let n=t.dimensions.width/t.dimensions.height;e+=`
            iframe.height == iframe.width / ${n}  required
        `}else if(t.sizeStrategy==="KeepBoxHeight")e+=`
            iframe.width == parentGridWidth     medium
            iframe.height == dimensions.height  required
        `;else if(t.sizeStrategy==="DisplayOnDesktopOmitFromMobile"){let n=t.dimensions.width/t.dimensions.height;e+=`
            iframe.height == iframe.width / ${n}  required

            editable window.width   strong
            editable window.height  strong

            // don't allow modal to be larger than 95% of window dimensions
            modal.width  <= window.width * 0.95   required
            modal.height <= window.height * 0.95  required

            // center the modal in the window
            modal.left   == (window.width - modal.width) / 2   required
            modal.top    == (window.height - modal.height) / 2 required


            iframe.width == modal.width
            modal.height == iframe.height + ${dn} + ${cn}
        `}let i=Vt(e);return i.suggestValue("parentGridWidth",t.displayWidth),i.suggestValue("dimensions.width",t.dimensions.width),i.suggestValue("dimensions.height",t.dimensions.height),t.sizeStrategy==="DisplayOnDesktopOmitFromMobile"&&(i.suggestValue("window.width",window.innerWidth),i.suggestValue("window.height",window.innerHeight)),i.updateVariables(),i.getValues({roundToInt:!0})}function Gs(t,e){if(t.sizeStrategy==="DisplayOnDesktopOmitFromMobile"&&t.displayWidth<t.dimensions.width)return t.enabled=!1,t.dialog.open=!1,u`<div></div>`;t.sizeStrategy==="DisplayOnDesktopOmitFromMobile"&&(t.enabled=t.dialog.open),t.poster||(t.enabled=!0);let i=function(){};return u`<div class="syndigo-iframe syndigo-widget"
                     @key=${t.widgetId}
                     @on:click=${i}>
        <style>${an}</style>
        ${Fs(t,e)}
    </div>`}function Vs(t){t.postMessage.eventListener&&(window.removeEventListener("message",t.postMessage.eventListener),t.postMessage.eventListener=void 0)}var un={init:Ns,view:Gs,destroy:Vs};var pn='.ig{display:flex;justify-content:center;align-items:center;overflow:hidden;max-inline-size:100%;--fullscreen-height-adjustment:15px;--fullscreen-width-adjustment:4px}:fullscreen .ig{align-items:flex-start;block-size:calc(100% - var(--fullscreen-height-adjustment));max-block-size:calc(100% - var(--fullscreen-height-adjustment));max-inline-size:calc(100% - var(--fullscreen-width-adjustment))}.ig ul,.ig ul li{list-style-type:none}a{outline:0;border:none}.ig-transparent-scrollbar{position:relative;overflow:scroll;margin-inline-end:0;margin-block:5px 0;min-block-size:0;max-block-size:160px;block-size:95%}.ig-transparent-scrollbar::-webkit-scrollbar{background-color:transparent}.ig-transparent-scrollbar::-webkit-scrollbar-track{background-color:transparent}.ig-transparent-scrollbar::-webkit-scrollbar-thumb{background-color:transparent}.ig-transparent-scrollbar::-webkit-scrollbar-corner{background-color:transparent}.ig-viewer{inline-size:100%;position:relative;border:solid 1px transparent;overflow:hidden;margin:0}:fullscreen .ig .ig-viewer{border:solid transparent}.ig-viewer-moreinfo{inline-size:100%;background:#f0f0f0;color:#565758;block-size:auto;position:absolute;padding-block-end:3px;z-index:15;opacity:.9;inset-block-start:0}.ig-viewer-moreinfo .desc-holder{max-block-size:160px;margin-inline:auto;margin-block:0}.ig-viewer-moreinfo .desc-holder .ig-scroll-container{position:relative;overflow:hidden;block-size:auto;min-block-size:0;max-block-size:160px}.ig-viewer-moreinfo-caption{word-wrap:break-word;color:#565758;font-size:15px;font-weight:700;line-height:20px;margin-inline:0;margin-block:15px 10px;padding-inline:10px;padding-block:0}.ig-viewer-moreinfo-caption h3{font-size:15px;font-weight:700;line-height:20px}.ig-viewer-moreinfo-description{word-wrap:break-word;color:#565758;font-size:13px;line-height:18px;margin-block-end:10px;padding-inline:10px;padding-block:0}.ig-viewer-moreinfo-description :is(ul,ul li){list-style-type:disc}.ig-scrollbar{background-color:#565758;border-radius:10px;opacity:.7}.ig-viewer div.next,.ig-viewer div.prev{position:absolute;inset-block:0;inline-size:50px;block-size:40px;margin-inline:auto;margin-block:auto;outline:transparent;border:solid 1px transparent}.ig-viewer div.prev{inset-inline-start:0}.ig-viewer div.next{inset-inline-end:0}.ig-viewer button.next,.ig-viewer button.prev{position:absolute;border:1px solid;margin:auto;inline-size:30px;block-size:30px;padding:0;outline:transparent;border-radius:var(--syndiCommonElementNextPreviousControlsBorderRadius,25%);border-color:var(--syndiCommonElementNextPreviousControlsBorderColor,#000);background-color:var(--syndiCommonElementNextPreviousControlsBackgroundColor,#fff);color:var(--syndiCommonElementNextPreviousControlsColor,#6d6d6d);font-size:20px;z-index:3;transition:all ease-in-out .2s}.ig-viewer button.prev{inset-inline-start:2px}.ig-viewer button.next{inset-inline-end:2px}.ig-viewer button.prev syndigo-svg-icon{margin-inline-end:3px}.ig-viewer button.next syndigo-svg-icon{margin-inline-start:3px}.ig-viewer :is(button.prev:hover,button.prev:active,button.prev:focus,button.next:hover,button.next:active,button.next:focus){color:#565758;block-size:35px;inline-size:35px;border:solid 3px;border-color:var(--syndiCommonElementNextPreviousControlsSelectedBorderColor,#565758);opacity:1;animation:none}.ig-viewer-events{position:absolute;inline-size:100%;inset-inline-start:0;inset-block-start:0}.ig-viewer-events .zoomable-container{display:block;block-size:100%;inline-size:100%;inset-block-start:0;white-space:nowrap;position:absolute;-webkit-tap-highlight-color:transparent;opacity:0;overflow:hidden}.ig-viewer-events .zoomable-container .ig-image-wrapper{block-size:100%;inline-size:100%;line-height:1px;text-align:center;display:inline-block;-webkit-tap-highlight-color:transparent}.ig-viewer-events .zoomable-container .ig-image-wrapper::before{content:"";display:inline-block;block-size:50%;inline-size:0;margin-inline:-2px;margin-block-start:3px}.ig-viewer-events .zoomable-container img{transition:transform .5s linear;transform:scale(1);display:inline-block;max-block-size:100%;max-inline-size:100%;margin:0;padding:0;inline-size:auto;block-size:auto;vertical-align:middle;cursor:pointer;outline:0;border:none}.ig-viewer-events .zoomable-container img:focus{outline:0;border:none}.ig-viewer-events .zoomable-container img:not(no-zoom):hover{cursor:zoom-in}.ig-viewer-events .zoomable-container.zoomed img:not(no-zoom):hover{cursor:zoom-out}.ig-viewer-events .zoomable-container.zoomed img.draggable:not(no-zoom):hover{cursor:grabbing}.ig-viewer-events .zoomable-container img.no-zoom:hover{cursor:pointer}';var fn=":fullscreen .ig{block-size:auto;max-block-size:none}.ig-narrow{display:flex;flex-direction:column;inline-size:100%}.ig-narrow div.next,.ig-narrow div.prev{display:flex;justify-content:center;align-items:center;position:relative;block-size:100%;inline-size:30px;min-inline-size:30px}.ig-narrow .ig-viewer{display:flex;align-items:center;justify-content:center;inline-size:100%}.ig-narrow .ig-viewer-events{display:flex;justify-content:center;align-items:center;position:relative;inline-size:100%;block-size:100%}.ig-narrow .ig-viewer-moreinfo{position:relative;inline-size:100%;margin-inline:auto}.ig-narrow .ig-viewer-events .zoomable-container{inset-inline-start:100%;opacity:0;transition:inset-inline-start .4s ease-in-out}.ig-narrow .ig-viewer-events .zoomable-container.selected{opacity:1;inset-inline-start:0px;z-index:1}";var Ue=lt($t(),1);function gn({model:t,selectedIndex:e}){t.selectedIndex=e,t.track({a:"ca",wt:t.widgetType,wi:t.widgetId,z:t.selectedIndex,ai:t.items[t.selectedIndex].hasAsset?t.items[t.selectedIndex].asset.assetId:void 0})}function hn({model:t,update:e,direction:i,scrollSelectableControl:n}){let o=t.selectedIndex;o+=i==="next"?1:-1,o=o<0?t.items.length-1:o%t.items.length,gn({model:t,selectedIndex:o}),n&&n(t),e()}function qe({model:t,update:e,direction:i,scrollSelectableControl:n}){let o=t.framework.translations.ImageGallery[`go-${i}-tooltip`],r=t.nextPrevious;r.direction=i,r.isNarrow=t.isNarrow,r.ariaControlsId=`ig-viewer-${t.widgetId}`,r.ariaLabel=o,r.onclick=()=>hn({model:t,update:e,direction:i,scrollSelectableControl:n});let s=gt.view(r);return u`<div class="${i}">
        ${s}
    </div>`}function qs({model:t,update:e,scrollSelectableControl:i}){if(t.nextPrevious.hasControls)return u`<div class="ig-next-prev-controls" style="display: block;">
        ${qe({model:t,update:e,direction:"prev",scrollSelectableControl:i})}
        ${qe({model:t,update:e,direction:"next",scrollSelectableControl:i})}
    </div>`}function Xs(t,e){let i=function(r){t.lastX=r.layerX,t.lastY=r.layerY,t.transformOriginX=r.layerX/(this.elm.offsetWidth||r.layerX)*100,t.transformOriginY=r.layerY/(this.elm.offsetHeight||r.layerY)*100,e()},n=function(r){if(t.zoomed&&!t.dragging&&(t.dragging=!0),!t.dragging)return;let s=(r.layerX-t.lastX)/4,a=(r.layerY-t.lastY)/4;t.transformOriginX=(0,Ue.default)(t.transformOriginX+s,0,100),t.transformOriginY=(0,Ue.default)(t.transformOriginY+a,0,100),e(),t.lastX=r.layerX,t.lastY=r.layerY},o=function(){t.zoomed=!t.zoomed,t.dragging=!1,e()};return t.items.map((r,s)=>{let a=jt(r),d=function(z){let S=z.elm,I=S.closest(".zoomable-container"),_=R(r.image,t.displayWidth),k=B(_,I);S.style.inlineSize=`${k.width}px`,S.style.blockSize=`${k.height}px`},l=z=>{let S=dt(z.key)==="Enter";!z.shiftKey&&S&&(z.preventDefault(),o())},c=R(r.image,t.displayWidth),{sources:h,fallbackImageType:g}=A(c),b=t.selectedIndex===s,p=!a&&b?0:-1,m=b&&t.zoomed,v=b&&t.dragging,w=u`<div class="ig-image-wrapper">
            <picture>
                ${h}
                <img alt="${c.alt}" tabindex="${p}"
                    draggable="false"
                    loading="lazy"
                    srcset="${P(c,g)}"
                    src="${W(c,960,g)}"
                    style="inline-size: 100%; block-size: auto; transform: ${m?"scale(1.5)":"scale(1)"}; transform-origin: ${t.transformOriginX}% ${t.transformOriginY}%;"
                    @class:draggable=${v}
                    @class:ig-selected-image=${b}
                    @class:no-zoom=${a}
                    @on:keyup=${a?null:l}
                    @on:mousedown=${a?null:i}
                    @on:mousemove=${a?null:n}
                    @on:mouseup=${a?null:o}
                    @hook:insert=${d}
                    @hook:update=${d}/>
            </picture>
        </div>`,x=t.framework.translations.ImageGallery.slides,$=a&&b?0:-1;return u`<div class="zoomable-container"
            role="group"
            aria-roledescription="${x}"
            aria-hidden="${!b}"

            @class:zoomed=${m}
            @class:slidein=${t.layout!=="focused"}
            @class:selected=${b}>
                ${st(t,r,s,w,$)}
        </div>`})}var tt={navbtn:gt,selectItem:gn,selectPreviousNextItem:hn,renderNextPrevControls:qs,renderNextPreviousButton:qe,renderZoomableImages:Xs};var Ys=.75,Zs=30;function Ks(t){let e=t.items[t.selectedIndex].description,i=t.items[t.selectedIndex].caption;if((i||e).length)return u`<div class="ig-viewer-moreinfo">
        <h3 class="ig-viewer-moreinfo-caption" @props:innerHTML=${i}></h3>
        <p class="ig-viewer-moreinfo-description" @props:innerHTML=${e}></p>
    </div>`}function Js(t,e){let i=t.fullscreen.isEnabled?t.maxLayoutHeight*Ys:t.maxLayoutHeight,n=t.nextPrevious.hasControls?Zs*2:0,o=t.maxLayoutWidth-n;Y(t.items,{width:o,height:i});let r=t.items[t.selectedIndex].widgetContentDimensions;return u`<div class="ig-narrow" tabindex="0">
        <style>${fn}</style>
        <div class="ig-viewer"
            @style:block-size=${r.height}px>
            
            ${t.nextPrevious.hasControls?tt.renderNextPreviousButton({model:t,update:e,direction:"prev"}):null}
            <div class="ig-viewer-events"
                @style:block-size=${r.height}px>
                ${tt.renderZoomableImages(t,e)}
            </div>
            ${t.nextPrevious.hasControls?tt.renderNextPreviousButton({model:t,update:e,direction:"next"}):null}
            
        </div>
        ${Ks(t)}
    </div>`}var mn={view:Js};var wn=lt($t(),1);var vn=':root{--start-direction:left;--end-direction:right}.ig-focus{display:grid;grid-template-areas:"viewer";grid-template-columns:100%;grid-template-rows:100%;inline-size:100%}.ig-focus.ig-horizontal{grid-template-areas:"viewer" "thumbs";grid-template-rows:calc(100% - 110px) 90px;grid-template-columns:100%;row-gap:3px}.ig-focus.ig-vertical{grid-template-areas:"thumbs viewer";grid-template-columns:90px calc(100% - 90px);grid-template-rows:100%;-moz-column-gap:3px;column-gap:3px;inline-size:100%}.ig-focus .ig-viewer{position:relative;display:grid;grid-area:viewer;grid-template-columns:100%;grid-template-rows:100%;border:solid 1px #ccc;justify-content:center;align-items:center;overflow:hidden;margin:0;inline-size:100%}.ig-focus.ig-vertical .ig-viewer{margin:auto;inline-size:calc(100% - 8px)}.ig-focus .ig-viewer-events{position:relative;display:flex;justify-content:center;align-items:center}.ig-focus .ig-viewer-events .zoomable-container.selected{z-index:1;transition:opacity .5s ease-in-out;opacity:1}.ig-focus .ig-viewer-moreinfo{transform:translateY(0);transition:.4s ease-in-out}.ig-focus .ig-viewer-moreinfo-closed{transform:translateY(-100%)}.ig-focus button.ig-viewer-moreinfo-label{position:absolute;inline-size:40px;block-size:20px;inset-inline-start:0;inset-inline-end:0;margin-inline:auto;inset-block-end:-20px;border-start-end-radius:0;border-start-start-radius:0;border-end-end-radius:40px;border-end-start-radius:40px;background:#f0f0f0;opacity:.9;text-align:center;border:0;padding:0;transition:all ease-in-out .2s}.ig-focus button.ig-viewer-moreinfo-label:active,.ig-focus button.ig-viewer-moreinfo-label:focus,.ig-focus button.ig-viewer-moreinfo-label:hover{inline-size:60px;block-size:30px;inset-inline-start:0;inset-inline-end:0;margin-inline:auto;inset-block-end:-30px;border:solid 3px;border-color:var(--syndiCommonMoreInfoTooltipBorderColor,#565758);border-block-start:none;outline:transparent}.ig-focus .ig-thumb-container{grid-area:thumbs;display:flex;justify-content:center;align-items:center;position:relative;overflow:hidden;background-color:#fff}.ig-focus .ig-thumb-container .next-thumb,.ig-focus .ig-thumb-container .prev-thumb{display:block;position:absolute;z-index:3;transition:all ease-in-out .2s}.ig-focus .ig-thumb-container .next-thumb button,.ig-focus .ig-thumb-container .prev-thumb button{display:flex;align-items:center;justify-content:center;color:var(--syndiCommonElementNextPreviousControlsColor,#6d6d6d);block-size:100%;inline-size:100%;background:0 0;border:none;outline:0}.ig-focus .ig-thumbnails{display:flex;justify-content:center;align-items:center;overflow:hidden;position:relative;margin:auto;background-color:#fff}.ig-focus .ig-thumbnails ul{display:flex;justify-content:center;align-items:center;block-size:100%;margin:0;padding:0;inset-inline-start:0;position:absolute;transition:inset-inline-start .8s ease-in-out}.ig-focus .ig-thumbnails ul li{display:flex;justify-content:center;align-items:center}.ig-focus .ig-thumbnails .ig-thumb{background:#fff;display:flex;float:var(--start-direction,left);position:relative;block-size:90px;inline-size:90px;overflow:hidden}.ig-focus .ig-thumbnails .ig-thumb button{display:flex;justify-content:center;align-items:center;background:0 0;outline:0;inline-size:80px;block-size:80px;border:solid 3px #565758;border-radius:5%;inset-block-start:0;inset-inline-start:0;transform-origin:center center;transition:all .2s ease-in}.ig-focus .ig-thumbnails .ig-thumb button.selected,.ig-focus .ig-thumbnails .ig-thumb button:active{border:solid 3px #246eb7;border-radius:15%}.ig-focus .ig-thumbnails .ig-thumb button:focus,.ig-focus .ig-thumbnails .ig-thumb button:hover{border-width:5px;border-radius:20%;block-size:90px;inline-size:90px}.ig-focus .ig-thumbnails .ig-thumb img{block-size:auto;max-block-size:70px;max-inline-size:70px;margin:auto;inset-block:0;inset-inline:0;border:none;display:block}.ig-focus.ig-horizontal .ig-thumb-container,.ig-focus.ig-horizontal .ig-thumbnails{block-size:90px}.ig-focus.ig-horizontal .ig-thumb-container .next-thumb,.ig-focus.ig-horizontal .ig-thumb-container .prev-thumb{block-size:90px;inline-size:40px}.ig-focus.ig-horizontal .ig-thumb-container :is(.next-thumb:hover,.next-thumb:active,.next-thumb:focus-within),.ig-focus.ig-horizontal .ig-thumb-container :is(.prev-thumb:hover,.prev-thumb:active,.prev-thumb:focus-within){inline-size:60px;outline:0}.ig-focus.ig-horizontal .ig-thumb-container .prev-thumb :is( button:active,button:focus,button:hover){border-inline-end:solid 2px #246eb7;border-start-end-radius:50%;border-end-end-radius:50%;background-color:#fff}.ig-focus.ig-horizontal .ig-thumb-container .next-thumb :is( button:active,button:focus,button:hover){border-inline-start:solid 2px #246eb7;border-end-start-radius:50%;border-start-start-radius:50%;background-color:#fff}.ig-focus.ig-horizontal .ig-thumb-container .prev-thumb{inset-block-start:0;inset-inline-start:0;background:linear-gradient(to var(--end-direction,right),#fff 44%,rgba(255,255,255,.89) 50%,rgba(255,255,255,0) 100%)}.ig-focus.ig-horizontal .ig-thumb-container .next-thumb{inset-block-start:0;inset-inline-end:0;background:linear-gradient(to var(--end-direction,right),rgba(255,255,255,0) 0,rgba(255,255,255,.89) 50%,#fff 56%)}.ig-focus.ig-vertical .ig-thumb-container .next-thumb,.ig-focus.ig-vertical .ig-thumb-container .prev-thumb{block-size:40px;inline-size:90px}.ig-focus.ig-vertical .ig-thumb-container :is(.next-thumb:hover,.next-thumb:active,.next-thumb:focus-within),.ig-focus.ig-vertical .ig-thumb-container :is(.prev-thumb:hover,.prev-thumb:active,.prev-thumb:focus-within){block-size:60px;outline:0}.ig-focus.ig-vertical .ig-thumb-container .prev-thumb :is(button:active,button:focus,button:hover){border-block-end:solid 2px #246eb7;border-end-end-radius:50%;border-end-start-radius:50%;background-color:#fff}.ig-focus.ig-vertical .ig-thumb-container .next-thumb :is(button:active,button:focus,button:hover){border-block-start:solid 2px #246eb7;border-start-end-radius:50%;border-start-start-radius:50%;background-color:#fff}.ig-focus.ig-vertical .ig-thumb-container .prev-thumb{inset-block-start:0;inset-inline-start:0;background:linear-gradient(to bottom,#fff 44%,rgba(255,255,255,.89) 50%,rgba(255,255,255,0) 100%)}.ig-focus.ig-vertical .ig-thumb-container .next-thumb{inset-block-end:0;inset-inline-start:0;background:linear-gradient(to bottom,rgba(255,255,255,0) 0,rgba(255,255,255,.89) 50%,#fff 56%)}.ig-focus.ig-horizontal .ig-thumb-container .ig-thumbnails .ig-thumb{margin-block:0;margin-inline:5px}.ig-focus.ig-horizontal .ig-thumb-container .ig-thumbnails .ig-thumb:first-of-type{margin-inline-start:0}.ig-focus.ig-horizontal .ig-thumb-container .ig-thumbnails .ig-thumb:last-of-type{margin-inline-end:0}.ig-focus.ig-vertical .ig-thumb-container{grid-area:thumbs;display:flex;flex-direction:column;inline-size:90px;block-size:100%}.ig-focus.ig-vertical .ig-thumbnails{flex-direction:column}.ig-focus.ig-vertical .ig-thumbnails ul{display:block;transition:inset-block-start .8s ease-in-out}.ig-focus.ig-vertical .ig-thumb-container .ig-thumbnails{block-size:100%;inline-size:90px}.ig-focus.ig-vertical .ig-thumb-container .ig-thumbnails .ig-thumb{margin-block:5px;margin-inline:0}.ig-focus.ig-vertical .ig-thumb-container .ig-thumbnails .ig-thumb:first-of-type{margin-block-start:0}.ig-focus.ig-vertical .ig-thumb-container .ig-thumbnails .ig-thumb:last-of-type{margin-block-end:0}';var ta=106,bn=110,Xe=90,Ye=104,kn=100,yn=80,$n=30,At=70,xn=3;function ea(t,e){return t.items.map((i,n)=>{let o=function(){tt.selectItem({model:t,selectedIndex:n}),zn(t),e()},r=h=>{let g=h.elm,b=R(i.image,At),p=B(b,{offsetWidth:At,offsetHeight:At});g.style.inlineSize=`${p.width}px`,g.style.blockSize=`${p.height}px`},s=R(i.image,At),a=B(s,{offsetWidth:At,offsetHeight:At}),{sources:d,fallbackImageType:l}=A(s),c=n===t.selectedIndex;return u`<li class="ig-thumb">
            <button type="button" class="ig-thumb-button"
                @class:selected=${c}
                aria-controls="ig-viewer-${t.widgetId}"
                aria-selected="${c}"
                @on:focus=${o}>
                <picture>
                    ${d}
                    <img alt="${s.alt}"
                        loading="lazy"
                        @style:inline-size="${a.width}px"
                        @style:block-size="${a.height}px"
                        srcset="${P(s,l)}"
                        src="${W(s,240,l)}"
                        @hook:insert=${r}
                        @hook:update=${r}/>
                </picture>
            </button>
        </li>`})}function ia(t,e){if(!t.hasThumbstrip)return;let i=0,n=0,o=0,r=0;t.thumbnailPlacement==="block-end"?(i=t.thumbnailScrollOffset,o=t.totalThumbstripLength-xn,r=Xe):t.thumbnailPlacement==="inline-start"&&(n=t.thumbnailScrollOffset,r=t.totalThumbstripLength-xn,o=Xe);let s=d=>{if(!t.showThumbscrollControls)return;let l=b=>{na(t,b),e()},c=t.framework.translations.ImageGallery[`go-${d}-tooltip`],h=d==="prev"?"PREV":"NEXT",g;return t.isLTR?g=d==="prev"?"chevron-left":"chevron-right":g=d==="prev"?"chevron-right":"chevron-left",t.thumbnailPlacement==="inline-start"&&(g=d==="prev"?"chevron-up":"chevron-down"),u`<div class="${d}-thumb">
            <button type="button" class="${d}-thumb-button"
                aria-label="${c}"
                aria-controls="ig-${t.widgetId}-thumbs"
                @on:click=${()=>l(h)}>
                
                <syndigo-svg-icon @key=ig-${t.widgetId}-thumb-${d} icon="${g}" />
            </button>
        </div>`},a=t.framework.translations.ImageGallery.slides;return u`<div id="ig-${t.widgetId}-thumbs" class="ig-thumb-container">
        ${s("prev")}
        <div class="ig-thumbnails"
            role="tablist"

            @style:inline-size="${o}px"
            @style:block-size="${r}px">
            <ul
                role="group"
                aria-label="${a}"
                @style:inline-size="${o}px"
                @style:block-size="${r}px"
                @style:inset-inline-start="${i}px"
                @style:inset-block-start="${n}px" >
                ${ea(t,e)}
            </ul>
        </div>
        ${s("next")}
    </div>`}function zn(t){let e=t.showThumbscrollControls?$n:0;t.thumbnailScrollOffset=t.selectedIndex*kn*-1+e}function na(t,e){let i=t.thumbDisplayCount*kn,n=(t.totalThumbstripLength-i)*-1,o=0;e!=="INITIAL"&&(o=e==="NEXT"?-1:1);let r=i*o;t.thumbnailScrollOffset+=r,t.thumbnailScrollOffset=(0,wn.default)(t.thumbnailScrollOffset,0,n)+$n}function oa(t,e){let i=t.items[t.selectedIndex]?.description,n=t.items[t.selectedIndex]?.caption;if(!(n||i).length)return;let o=function(){t.showCaption=!t.showCaption,e()},r=t.showCaption?t.framework.translations.Common["see-more-close"]:t.framework.translations.Common["see-more-open"],s=`ig-moreinfo-${t.widgetId}`;return u`<div id="${s}" class="ig-viewer-moreinfo"
        aria-role="region"
        aria-live="polite"
        @class:ig-viewer-moreinfo-closed=${!t.showCaption}>

        <div class="desc-holder"
            aria-hidden="${!t.showCaption}">
            
            <div class="ig-scroll-container">
                <div class="ig-transparent-scrollbar">
                    <h3 class="ig-viewer-moreinfo-caption" @props:innerHTML=${n}></h3>
                    <p class="ig-viewer-moreinfo-description" @props:innerHTML=${i}></p>
                </div>
            </div>
        </div>

        <button type="button" class="ig-viewer-moreinfo-label"
            aria-controls="${s}"
            aria-label="${r}"
            aria-expanded="${t.showCaption}"
            @on:click=${o}>

            <syndigo-svg-icon icon="${t.showCaption?"chevron-up":"chevron-down"}" />
        </button>
    </div>`}function ra(t){return{elm:null,hasThumbstrip:t.items.length>1,thumbnailPlacement:"block-end",totalThumbstripLength:Ye*t.items.length,thumbSize:Ye,thumbDisplayCount:1,thumbDisplayLength:0,thumbnailScrollOffset:0,thumbnailMaxScrollDistance:0,showThumbscrollControls:!1,showCaption:!1}}function sa(t,e){let i,n,o,r,s="ig-focus";if(t.hasThumbstrip){if(t.thumbnailPlacement=t.fullscreen.isEnabled||t.maxLayoutWidth<=t.maxImageWidth?"block-end":"inline-start",t.thumbnailPlacement==="block-end"){let d=t.fullscreen.isEnabled?t.maxLayoutHeight-bn:t.maxLayoutHeight;o=Y(t.items,{width:t.maxLayoutWidth,height:d}),n=o.height,t.galleryHeight=t.fullscreen.isEnabled?t.maxLayoutHeight:o.height+bn,s+=" ig-horizontal",t.thumbDisplayLength=t.maxLayoutWidth-yn,i=t.fullscreen.isEnabled?`grid-template-rows: ${n}px ${Xe}px;`:""}else if(t.thumbnailPlacement==="inline-start"){let d=t.maxLayoutWidth-ta;o=Y(t.items,{width:d,height:t.maxLayoutHeight}),n=o.height,t.galleryHeight=t.fullscreen.isEnabled?t.maxLayoutHeight:o.height,s+=" ig-vertical",t.thumbDisplayLength=t.galleryHeight-yn}t.showThumbscrollControls=t.totalThumbstripLength>t.thumbDisplayLength,t.showThumbscrollControls?t.thumbDisplayCount=Math.min(t.thumbDisplayLength/Ye,t.items.length):t.thumbnailScrollOffset=0,r=ia(t,e)}else o=Y(t.items,{width:t.maxLayoutWidth,height:t.maxLayoutHeight}),n=o.height,t.galleryHeight=o.height;let a=t.hasThumbstrip&&t.showThumbscrollControls?zn:null;return u`<div class="${s}" style="${i}"
        @key="${t.widgetId}-focus"
        
        @style:block-size="${t.galleryHeight}px"
        @style:max-block-size="${t.galleryHeight}px"
        @style:max-inline-size="${t.maxLayoutWidth}px">

        <style>${vn}</style>
        <div id="ig-viewer-${t.widgetId}" class="ig-viewer"
            @style:block-size="${n}px">
            
            <div class="ig-viewer-events"
                @style:block-size="${n}px">
                ${tt.renderZoomableImages(t,e)}
                ${oa(t,e)}
                ${tt.renderNextPrevControls({model:t,update:e,scrollSelectableControl:a})}
            </div>
        </div>
        ${r}
    </div>`}var Ze={init:ra,view:sa};var Cn='.ig-lifestyle{display:grid;grid-template-areas:"viewer";grid-template-columns:100%;grid-template-rows:100%;inline-size:100%}.ig-lifestyle .ig-viewer{grid-area:viewer;display:grid;grid-template-columns:100%;grid-template-rows:100%;justify-content:center;align-items:center;position:relative;background-color:#fff;border:solid 1px transparent;overflow:hidden;margin:0;inline-size:100%}.ig-lifestyle .ig-scrollbar{background-color:#fff}.ig-lifestyle .ig-viewer-moreinfo-caption,.ig-lifestyle .ig-viewer-moreinfo-description{color:#fff}.ig-lifestyle .ig-viewer-moreinfo{background:linear-gradient(to bottom,#000 0,rgba(0,0,0,.5) 80%,rgba(0,0,0,0) 100%)}.ig-lifestyle .desc-holder{margin-inline-start:10px;padding-block:0 20px;padding-inline:0}.ig-lifestyle .ig-viewer-events .zoomable-container.slidein{inset-inline-start:100%;opacity:0;transition:inset-inline-start .4s ease-in-out}.ig-lifestyle .ig-viewer-events .zoomable-container.slidein.selected{opacity:1;inset-inline-start:0;z-index:1}.ig-dots-slider{position:absolute;display:flex;justify-content:center;align-items:center;inline-size:98%;inset-block-end:20px;inset-inline:0;margin-block:0;margin-inline:auto;z-index:1;visibility:visible;opacity:1}ul.ig-dots-container{display:flex;justify-content:center;align-items:center;list-style-type:none;block-size:20px;margin:0;padding:0;transition:inset-inline-start .8s ease-in-out}.ig-dots-container li{display:flex;justify-content:center;align-items:center;flex-shrink:1;list-style-type:none;overflow:hidden;block-size:25px;inline-size:25px;margin-block:0;margin-inline:1px}.ig-dots-container button.ig-dot{flex-shrink:1;padding:0;margin:auto;inset-block:0;position:absolute;block-size:15px;inline-size:15px;background:#ccc;border:solid 2px;border-radius:50%;backface-visibility:hidden;-webkit-backface-visibility:hidden;transform-origin:center center;transition:all .2s ease-in}.ig-dots-container button.ig-dot.ig-selected,.ig-dots-container button.ig-dot:active{block-size:18px;inline-size:18px;background:#246eb7}.ig-dots-container button.ig-dot:focus,.ig-dots-container button.ig-dot:hover{block-size:20px;inline-size:20px;outline:solid 2px #000000;border:none;border-radius:25%}';function la(t){let e=t.items[t.selectedIndex]?.description,i=t.items[t.selectedIndex]?.caption;if((i||e).length)return u`<div class="ig-viewer-moreinfo">
        <div class="desc-holder">
            <div class="ig-scroll-container">
                <div class="ig-transparent-scrollbar">
                    <h3 class="ig-viewer-moreinfo-caption" @props:innerHTML=${i}></h3>
                    <p class="ig-viewer-moreinfo-description" @props:innerHTML=${e}></p>
                </div>
            </div>
        </div>
    </div>`}function ca(t,e){if(!t.hasDotNavigation)return"";let n=35*t.items.length,o=t.items.map((s,a)=>{let d=function(){tt.selectItem({model:t,selectedIndex:a}),e()},l=a===t.selectedIndex;return u`<li>
            <button type="button" class="ig-dot" 
                aria-label="${s.image.alt}"
                aria-controls="ig-viewer-${t.widgetId}"
                aria-selected="${l}"   
                @class:ig-selected=${l}
                @on:click=${d}></button>
        </li>`}),r=t.framework.translations.ImageGallery.slides;return u`<div class="ig-dots-slider">
        <ul class="ig-dots-container"
            role="group"
            aria-label="${r}"
            @style:width="${n}px">
            ${o}
        </div>
    </div>`}function da(t){return{hasDotNavigation:t.items.length>1}}function ua(t,e){let i,n;return n=Y(t.items,{width:t.maxLayoutWidth,height:t.maxLayoutHeight}),i=n.height,t.galleryHeight=n.height,u`<div class="ig-lifestyle"
        @key="${t.widgetId}-slider">

        <style>${Cn}</style>
        <div id="ig-viewer-${t.widgetId}" class="ig-viewer"
            @style:block-size="${i}px">

            <div class="ig-viewer-events"
                @style:block-size="${i}px">
                ${tt.renderZoomableImages(t,e)}
            </div>
            ${la(t)}
            ${tt.renderNextPrevControls({model:t,update:e})}
            ${ca(t,e)}
        </div>
    </div>`}var Ke={init:da,view:ua};function pa(t){let e=0;t.items.forEach((r,s)=>{r.asset=r.image,r.assetType=r.image?.assetType;let a=t.framework.translations.ImageGallery["image-x"].replace("%1",s+1);r.asset.alt=r.asset.alt?.trim()||a,r.artDirectedAssets?.forEach(l=>{l.asset.alt?.trim()});let d=r.image.assetType==="ArtDirectedImage"?r.image.artDirectedAssets[0].asset:r.image;e=Math.max(d.originalWidth,e)});let i={enabled:!1};try{i=JSON.parse(t.framework.moduleParameters["framework/spworld"].linkGate)}catch{}let o={...(t.layout==="focused"?Ze:Ke).init(t),displayWidth:t.displayWidth||200,galleryHeight:0,maxImageWidth:e,maxLayoutHeight:600,maxLayoutWidth:600,nextPrevious:tt.navbtn.init(t),selectedIndex:0,lastX:0,lastY:0,transformOriginX:0,transformOriginY:0,zoomed:!1,dragging:!1,fullscreen:{isEnabled:!1,isFeatureDisabled:t.isFullscreenDisabled},linkGate:i,isLTR:!0,...t};if(document.documentElement.dir==="rtl"){let r=document.documentElement;r.style.setProperty("--start-direction","right"),r.style.setProperty("--end-direction","left"),o.isLTR=!1}return o}function fa(t,e){let i=t.fullscreen.isEnabled?100:0;t.maxLayoutHeight=q.maxHeight(t.fullscreen.isEnabled)-i,t.maxLayoutWidth=t.fullscreen.isEnabled?q.maxWidth(t.fullscreen.isEnabled):t.displayWidth;let n=t.layout==="focused"?Ze:Ke;t.isNarrow=q.isNarrow(t.displayWidth),n=t.isNarrow?mn:n;let r=t.framework.translations.ImageGallery["image-gallery-with-x"].replace("%s",t.items.length);return u`<section id="${t.widgetType}-${t.widgetId}" class="ig syndigo-widget"
        @key=${t.widgetId}
        aria-roledescription="${r}"
        aria-live="polite"

        @style:inline-size="${t.maxLayoutWidth}px">
            <style>${pn}</style>
            ${n.view(t,e)}
        </section>`}var Tn={init:pa,view:fa,destroy:G};var mt=lt($t(),1);var In=".itour-outer-wrapper{display:flex;justify-content:center}.itour{display:grid;position:relative;--max-block-size:600px}.itour-wide{grid-template-columns:245px minmax(0,1fr)}.itour-wide-nomenu{grid-template-columns:minmax(0,1fr)}.itour-open{grid-template-columns:360px minmax(0,1fr)}.itour-narrow{grid-template-columns:minmax(0,1fr)}.itour-wide .itour-callout-view-content img{inline-size:100%}.itour-wide-nomenu .itour-callout-view-content img{inline-size:100%}.itour-narrow .itour-callout-view-content{text-align:center}.itour-narrow .itour-callout-view-content img{max-block-size:50vh;max-inline-size:100%}.itour-callout-view-content>:is(p,h3){text-align:start;padding-inline:10px}.itour-image{display:flex;align-items:center;flex-direction:column;touch-action:pan-y}.itour-overlay{position:absolute;inset-inline-start:0;inline-size:100%;block-size:100%;background-color:rgba(0,0,0,.5);z-index:1;opacity:0;transition:opacity .22s ease-in-out;pointer-events:none}.itour-narrow>.itour-items{display:none}.itour-items{position:relative;padding:10px}.itour-button img{border:1px solid var(--syndiCommonElementThumbnailsControlsRegularBackgroundColor,transparent)}.selected-tour img{border:1px solid var(--syndiCommonElementThumbnailsControlsSelectedBackgroundColor,#2179d3)}.itour-button{background:0 0;border:none}.itour-button syndigo-svg-icon::part(guts){color:var(--syndiCommonElementNextPreviousControlsColor,#000);fill:var(--syndiCommonElementNextPreviousControlsBackgroundColor,transparent)}.itour-button syndigo-svg-icon[icon=close-thin]::part(guts){fill:black}.itour-image-selector{display:flex;align-items:center;justify-content:center;background-color:var(--syndiCommonElementTextBackgroundColor,transparent);z-index:1}.itour-image-selector syndigo-svg-icon::part(guts){color:var(--syndiCommonElementNextPreviousControlsColor,#000);fill:var(--syndiCommonElementNextPreviousControlsBackgroundColor,transparent)}.itour-callout-line-visual{border-block-start:2px solid var(--syndiInteractiveTourHotspotColor,rgb(33,121,211));inline-size:0;position:absolute;inset-inline-end:0px;inset-inline-start:auto;inset-block-start:12px;transition:inline-size .25s ease-in-out;box-shadow:rgba(var(--syndiInteractiveTourHotspotBorderColor,255,255,255),.4) 1px 1px;z-index:1}.itour-mainimage-container{position:relative;max-block-size:var(--max-block-size)}.itour-mainimage-container syndigo-svg-icon::part(guts){position:relative;fill:var(--syndiInteractiveTourHotspotColor,rgb(33,121,211));color:var(--syndiInteractiveTourHotspotBackgroundColor,#fff)}.itour-mainimage-container button{position:absolute;background-color:transparent;border:none;outline:0;border-radius:50%;line-height:0}img.itour-mainimage{block-size:auto;max-block-size:var(--max-block-size);max-inline-size:100%}.itour-items{background-color:var(--syndiInteractiveTourCallOutBackgroundColor,#eaeaea);color:var(--syndiInteractiveTourCallOutColor,#333)}.itour-items>ol{list-style:none;margin:0;padding:0}.itour-callout-view{z-index:2;display:flex;flex-direction:column;transition:inline-size .25s ease-in-out;color:var(--syndiCommonBodyTextColor);font-size:var(--syndiCommonBodyTextFontSize);font-family:var(--syndiCommonBodyTextFontFamily),var(--syndiDefaultFontFamily);line-height:var(--syndiCommonBodyTextLineHeight);background-color:var(--syndiCommonElementTextBackgroundColor,#fff);touch-action:pan-y}.itour-callout-view-header{display:flex;flex-direction:row;justify-content:space-between;padding:10px}.itour-callout-view-content{word-break:break-word}.itour-wide .itour-callout-view{inline-size:360px;border-inline-end:2px solid var(--syndiInteractiveTourHotspotColor,rgb(33,121,211))}.itour-narrow .itour-callout-view{inline-size:100%;order:1}.itour-items>ol>li{padding-block-end:0.8em;cursor:pointer;color:var(--syndiCommonBodyTextColor);font-size:var(--syndiCommonBodyTextFontSize);font-family:var(--syndiCommonBodyTextFontFamily),var(--syndiDefaultFontFamily);line-height:var(--syndiCommonBodyTextLineHeight)}.itour-items>ol>li:hover{color:var(--syndiCommonBodyTextColorDarkerHover);transition:color .22s linear}.itour-items>ol>li>syndigo-svg-icon::part(guts){float:inline-start;fill:var(--syndiInteractiveTourHotspotColor,rgb(33,121,211));color:var(--syndiInteractiveTourHotspotBackgroundColor,#fff)}.itour-items>ol>li>span{word-break:break-word;padding-inline-start:0.2em}@keyframes itour-spot-pulse{0%{transform:scale(1);box-shadow:inset 0 0 1px 1px rgba(var(--syndiInteractiveTourHotspotBackgroundColorRgb,33,121,211),.8)}20%{box-shadow:inset 0 0 1px 1px rgba(var(--syndiInteractiveTourHotspotBackgroundColorRgb,33,121,211),.8)}40%{transform:scale(1.6);box-shadow:inset 0 0 1px 1px rgba(var(--syndiInteractiveTourHotspotBackgroundColorRgb,33,121,211),0)}100%{box-shadow:inset 0 0 1px 1px rgba(var(--syndiInteractiveTourHotspotBackgroundColorRgb,33,121,211),0)}}.itour-mainimage-container button{z-index:1}.itour-mainimage-container button:hover::after{content:'';position:absolute;inline-size:100%;block-size:100%;inset-block-start:0;inset-inline-start:0;border-radius:inherit;background-color:transparent;animation:itour-spot-pulse 4s infinite}";var ha=360,En=ha-20;function Sn(t,e,i,n){let o=new Date().getTime(),r=t.items[i].features[n];r&&(e==="open"&&(r.opened=o),t.track({a:e,wt:t.widgetType,wi:t.widgetId,t:e==="open"?r.opened:(o-r.opened)/1e3,ai:r.asset?.assetId,top:`${(0,mt.default)(r.y*100,0,100)}%`,left:`${(0,mt.default)(r.x*100,0,100)}%`}))}function Ct(t,e,i,n){let o=e!==t.selected.tourIndex,r=i!==t.selected.featureIndex;if((o||r)&&(t.selected.featureIndex>=0&&Sn(t,"close",t.selected.tourIndex,t.selected.featureIndex),i>=0&&Sn(t,"open",e,i)),o){let s=R(t.items[e].productImage,t.displayWidth);t.track({a:"ca",wt:t.widgetType,wi:t.widgetId,z:e,ai:s.assetId})}t.selected.tourIndex=e,t.selected.featureIndex=i,n()}function _n(t,e){let i=(t.selected.tourIndex+1)%t.items.length;Ct(t,i,-1,e)}function Hn(t,e){let i=t.selected.tourIndex-1;i===-1&&(i=t.items.length-1),Ct(t,i,-1,e)}function ma(t,e,i){Ct(t,e,-1,i)}function Ln(t,e){let i=t.items[t.selected.tourIndex],n=t.selected.featureIndex+1,o=t.selected.tourIndex;n===i.features.length&&(n=0,o=(o+1)%t.items.length),Ct(t,o,n,e)}function Mn(t,e){let i=t.items[t.selected.tourIndex],n=t.selected.featureIndex-1,o=t.selected.tourIndex;n===-1&&(o-=1,o===-1&&(o=t.items.length-1),i=t.items[o],n=i.features.length-1),Ct(t,o,n,e)}function Dn(t,e,i){Ct(t,t.selected.tourIndex,e,i)}function Je(t,e,i){let n=0;for(let o=0;o<e;o++)n+=t.items[o].features.length;return n+i+1}function zt(t,e){return t.framework.translations.InteractiveTour[e]||""}function va(t,e){let i=function(){Ct(t,t.selected.tourIndex,-1,e)},n=t.items[t.selected.tourIndex].features[t.selected.featureIndex]||{},o="";if(n.assetType==="Image"){let l=R(n.asset,t.displayWidth),{sources:c,fallbackImageType:h}=A(l);o=u`
            <picture>
                ${c}
                <img alt="${n.asset.alt}"
                    loading="lazy"
                    style="inline-size: 100%; max-inline-size: 100%; block-size: auto;"
                    srcset="${P(l,h)}"
                    src="${W(l,n.asset.originalWidth,h)}" />
            </picture>
        `}if(n.assetType==="Video"){let l=t.displayWidth>=600?En:t.displayWidth;o=u`<div
            @style:inline-size="${l}px"
            @style:max-inline-size="${l}px">
            <syndigo-video
                @props:model=${n.video}
                @hook:update=${c=>r(c,n.asset)}
                @hook:insert=${c=>r(c,n.asset)}> </syndigo-video>
        </div>`}let r=(l,c)=>{let h=t.displayWidth>=600?En:t.displayWidth,g=l.elm,b=B(c,{offsetWidth:h,offsetHeight:900});g.style.inlineSize=`${b.width}px`,g.style.blockSize=`${b.height}px`},s=function(l){t.swipeObservers.openCallout=ht(l.elm,function(c,h){h==="right"?Mn(t,e):h==="left"&&Ln(t,e)}),t.swipeObservers.openCallout.observe()},a=0;t.items.forEach(l=>{a+=l.features.length});let d=Je(t,t.selected.tourIndex,t.selected.featureIndex);return u`<div class="itour-callout-view"
                     @hook:insert=${s}
                     @key=itour_open_callout_${t.widgetId}
                     @style:display=${t.selected.featureIndex>=0?"":"none"}>

                     <div class="itour-callout-view-header">
                        <div style="display: flex; align-items: center">
                            <button class="itour-button"
                                    @on:click=${()=>Mn(t,e)}>
                                <syndigo-svg-icon icon="prev-circle-2" width="28" height="28"
                                                  data-title="${zt(t,"previous-view")}" />
                            </button>

                            <div style="padding-inline: 8px; padding-block-end: 4px;">${d} of ${a}</div>

                            <button class="itour-button"
                                    @on:click=${()=>Ln(t,e)}>
                                 <syndigo-svg-icon icon="next-circle-2" width="28" height="28"
                                                   data-title="${zt(t,"next-view")}" />
                            </button>
                        </div>
                        <button class="itour-button"
                                @on:click=${i}> 
                            <syndigo-svg-icon icon="close-thin" width="16" height="16"
                                              data-title="${zt(t,"close-title")}" />
                        </button>
                     </div>
                     <div class="itour-callout-view-content">
                        ${o}
                        <h3 @props:innerHTML=${n.caption}></h3>
                        <p @props:innerHTML=${n.description}></p>
                     </div>
    </div>`}function ba(t,e){if(t.selected.featureIndex>=0)return va(t,e);let i=1,n=t.items[t.selected.tourIndex].features.map((o,r)=>{let s=Je(t,t.selected.tourIndex,r);return u`<li @on:click=${()=>Dn(t,r,e)}>
            <syndigo-svg-icon icon="${s}-circle-border" width="16" height="16"
                              data-title="${zt(t,"view-image-title").replace("%1",r+1)}" />
            <span @props:innerHTML=${o.caption}></span>
        </li>`});return u`<div class="itour-items" @style:display=${t.hideHotSpotMenu?"none":""}>
        <ol start=${i}>${n}</ol>
    </div>`}function ya(t,e){let i=t.displayWidth>=600,n=t.selected.featureIndex>=0,o=[],r=t.calloutSize,s=Math.round(r/2);t.items[t.selected.tourIndex].features.forEach(function(g,b){let p=Je(t,t.selected.tourIndex,b),m=`calc(${(0,mt.default)(Math.round(g.x*100),0,100)}% - ${s}px)`,v=`calc(${(0,mt.default)(Math.round(g.y*100),0,100)}% - ${s}px)`;o.push(u`<div class="itour-callout-line-visual"
                                style="inset-inline-start: 0px; inset-block-start: ${(0,mt.default)(Math.round(g.y*100),0,100)}%;"
                             @style:inline-size=${t.selected.featureIndex===b&&i?`${(0,mt.default)(Math.round(g.x*100),0,100)}%`:"0px"}></div>`),o.push(u`<button style="inset-inline-start: ${m}; inset-block-start: ${v}; padding: 0; margin: 0;"
                            @on:click=${()=>Dn(t,b,e)}>
                        <syndigo-svg-icon icon="${p}-circle-border" width="${r}" height="${r}"
                                          data-title="${zt(t,"open-feature-details")}" />
        </button>`)});let a=t.items.map((g,b)=>{let p=R(t.items[b].productImage,t.displayWidth),{sources:m,fallbackImageType:v}=A(p);return u`<button class="itour-button"
                            @class:selected-tour=${b===t.selected.tourIndex}
                            style="padding: 8px; margin: 0;"
                            @on:click=${()=>ma(t,b,e)}>
            <picture> 
                ${m}
                <img alt="${p.alt}"
                     loading="lazy"
                     srcset="${P(p,v)}"
                     src="${W(p,32,v)}"
                     width="32"
                     height="32"
                     style="padding: 0px; margin: 0px; inline-size: 32px; block-size: 32px; object-fit: cover;" />
            </picture> 
        </button>`}),d=function(g){t.swipeObservers.tourImage=ht(g.elm,function(b,p){p==="right"?Hn(t,e):p==="left"&&_n(t,e)}),t.swipeObservers.tourImage.observe()},l=R(t.items[t.selected.tourIndex].productImage,t.displayWidth),{sources:c,fallbackImageType:h}=A(l);return u`<div class="itour-image"
                     @key=itour_main_image_${t.widgetId}
                     @hook:insert=${d}>

        <div class="itour-overlay" @style:opacity=${n?"1":"0"}> </div>

        <div class="itour-mainimage-container">
            <picture>
                ${c}
                <img class="itour-mainimage"
                    loading="lazy"
                    style="inline-size: 100%; max-inline-size: 100%; block-size: auto;"
                    alt="${l.alt}"
                    srcset="${P(l,h)}"
                    src="${W(l,l.originalWidth,h)}" />
            </picture>
            ${o}
        </div>
        <div class="itour-image-selector"
             @style:display=${t.items.length>1?"":"none"}>
            <button class="itour-button"
                    style="margin-inline-end: 8px;"
                    @on:click=${()=>Hn(t,e)}>

                <syndigo-svg-icon icon="chevron-left"
                                  width="16"
                                  height="16"
                                  data-title="${zt(t,"previous-view")}" />
            </button>

            ${a}

            <button class="itour-button"
                    style="margin-inline-start: 8px;"
                    @on:click=${()=>_n(t,e)}>
                <syndigo-svg-icon icon="chevron-right"
                                  width="16"
                                  height="16"
                                  data-title="${zt(t,"next-view")}" />
            </button>
        </div>
    </div>`}function xa(t,e){let i=t.displayWidth<600;return u`<div class="itour-outer-wrapper">
        <div class="itour" 
                         @class:itour-narrow=${i}
                         @class:itour-wide=${!i&&!t.hideHotSpotMenu}
                         @class:itour-wide-nomenu=${!i&&t.hideHotSpotMenu}
                         @class:itour-open=${t.selected.featureIndex>=0}>
            <style>${In}</style>
            ${ba(t,e)}
            ${ya(t,e)}
        </div>
    </div>`}function wa(t){let e=t.framework.moduleParameters["experience/widget-catalog"]||{},i=24;if(e.itourCalloutSize)try{let o=parseInt(e.itourCalloutSize,10);i=(0,mt.default)(o,24,56)}catch{}let n={displayWidth:t.displayWidth||200,calloutSize:i,selected:{featureIndex:-1,tourIndex:0},swipeObservers:{tourImage:void 0,openCallout:void 0},...t};return n.items.forEach(o=>{o.features=o.features.map(r=>r.assetType!=="Video"?r:{opened:0,...r,video:{asset:r.asset,track:function(s){n.track({wt:n.widgetType,wi:n.widgetId,...s})},visible:!0}})}),n}function ka(t){t.swipeObservers.tourImage&&(t.swipeObservers.tourImage.unobserve(),t.swipeObservers.tourImage=void 0),t.swipeObservers.openCallout&&(t.swipeObservers.openCallout.unobserve(),t.swipeObservers.openCallout=void 0)}var Wn={init:wa,view:xa,destroy:ka};function $a(t){return u`<div @key="widget-${t.widgetId}" class="syndigo-legacy-cai syndigo-widget" style="inline-size: 100%;">
      <a href="${t.htmlUrl}" target="_blank">Click here to preview the Legacy CAI Rendering</a>
    </div>`}function za(t){return{displayWidth:t.displayWidth||200,...t}}var An={view:$a,init:za,destroy:G};var Pn=":root{--transform-direction:1;--start-direction:left;--end-direction:right}.st *{padding:0;margin:0}.st *{text-align:start;font-size:16px}.st-spec-caption .st-header-container{display:flex;align-items:center}.st table.st-specifications-table{table-layout:fixed;border-collapse:collapse;inline-size:100%}.st .st-specifications td,.st .st-specifications th{word-wrap:break-word;white-space:normal;overflow:hidden;padding:10px}.st .st-specifications th .st-markup-rich-text{font-weight:700}.st .st-specifications img{inline-size:auto;block-size:auto}.st div.st-specifications{inline-size:100%;clear:both}.st .st-spec-cols-2 .st-specifications-table col.st-spec-caption{inline-size:33%}.st .st-spec-cols-2 .st-specifications-table col.st-spec-data{inline-size:67%}:is(.st.st-narrow,.st.st-4-col) .st-spec-cols-2 .st-specifications-table col:is(.st-spec-caption,.st-spec-data){inline-size:50%}.st .st-spec-cols-3 .st-specifications-table col.st-spec-caption,.st .st-spec-cols-3 .st-specifications-table col.st-spec-data{inline-size:33%}.st button{display:flex;align-items:center;inline-size:100%;border:none;background-color:transparent;padding:8px}.st button svg-icon{transform:scaleX(var(--transform-direction))}.st .st-specifications-responsive .st-spec-header-row th div.st-text-container{display:table-cell}.st table.st-specifications-table{border:1px solid #ccc}.st .st-specifications td,.st .st-specifications th{border-inline-start:1px solid #cccccc}.st .st-specifications .st-spec-header-row,.st .st-specifications .st-spec-header-row *{background-color:#dbe0e7}.st .st-specifications .st-odd-row{background-color:#fff}.st .st-specifications .st-even-row{background-color:#f3f5f7}.st .st-specifications-responsive.st-no-focus .st-specifications-table tr:focus{outline:0}.st .st-specifications-responsive .st-specifications-table tr:focus{outline:2px solid #0066CC}.st .st-specifications-responsive .st-specifications-table{border:1px solid #ccc}.st .st-specifications-responsive td,.st .st-specifications-responsive th{border-block-start:solid 1px #cccccc;border-block-end:solid 1px #cccccc}.st .st-specifications-responsive .st-spec-caption span *{font-weight:700}.st .st-specifications-responsive .st-even-row,.st .st-specifications-responsive .st-odd-row{background-color:transparent;transition:background .25s}.st .st-specifications-responsive *{color:#565758;line-height:1.3em}.st .st-specifications-responsive .st-even-row:hover,.st .st-specifications-responsive .st-odd-row:hover{background-color:#f7f8f8;transition:background .25s}.st .st-specifications-responsive .st-spec-header-row th{border-block-end:solid 2px #cccccc;cursor:pointer}.st .st-specifications-responsive tr.st-spec-header-row th,.st .st-specifications-responsive tr.st-spec-header-row th .st-reset .st-markup-rich-text{font-size:15px;font-weight:100;cursor:pointer;padding-block:8px;padding-inline:0px}.st .st-specifications-responsive tr.st-spec-header-row:hover th *{color:#000;transition:color .25s}.st .st-specifications-responsive td,.st .st-specifications-responsive th{padding:5px}.st .st-specifications-responsive table tr :is(.icon-checkmark,.icon-minus,i[class^=icon-ball],i[class^=icon-Star]){margin-inline-start:2px;margin-inline-end:2px;display:inline-block}.st .st-specifications-responsive :is(table,th,td,.st-spec-header-row th){border-color:var(--syndiCommonDataCellBorderColor)}.st table.st-specifications-table{background-color:var(--syndiCommonDataCellBackgroundColor)}.st .st-specifications-responsive .st-even-row:hover,.st .st-specifications-responsive .st-odd-row:hover{background-color:var(--syndiCommonDataCellHighlightBackgroundColor)}.st .st-specifications-responsive *{color:var(--syndiCommonDataCellColor)}.st .st-specifications-responsive *{line-height:var(--syndiCommonDataCellLineHeight)}.st .st-specifications-responsive :is(.st-odd-row,.st-even-row) span :not(sup):not(sub){font-size:var(--syndiCommonDataCellFontSize)}.st .st-specifications-responsive tr.st-spec-header-row :is(th,.st-reset .st-markup-rich-text,.st-reset .st-markup-rich-text p){font-size:var(--syndiCommonGroupHeadingFontSize);font-family:var(--syndiCommonGroupHeadingFontFamily),var(--syndiDefaultFontFamily)}.st .st-specifications-responsive tr.st-spec-header-row th :is(sup,i,.st-reset .st-markup-rich-text){color:var(--syndiCommonGroupHeadingColor)}.st .st-specifications-responsive tr.st-spec-header-row:hover th :is(sup,i,.st-reset .st-markup-rich-text){color:var(--syndiCommonGroupHeadingHoverColor)}div.st-aplus-body{margin-block-start:10px;position:relative}";function Ta(t){if(document.documentElement.dir==="rtl"){let e=document.documentElement;e.style.setProperty("--transform-direction","-1"),e.style.setProperty("--start-direction","right"),e.style.setProperty("--end-direction","left")}return{displayWidth:t.displayWidth||200,...t}}function Ia(t,e){return u`<div class="st" @key=${t.widgetId}>
    
            <style>${Pn}</style>

            <div class="st-fragment" data-section-tag="specs" data-is-reported-view="true">
               <div class="st-aplus-body">
                  <div class="st-spec-cols-${t.layout==="TwoColumn"?"2":"3"} st-specifications-responsive st-no-focus"
                     style="visibility: visible !important; inline-size: 100% !important;">
                     <table cellpadding="0" cellspacing="0" class="st-specifications-table st-specifications" summary="Product specifications data table.">
                        <colgroup>
                           <col class="st-spec-caption"/>
                           <col class="st-spec-data" data-column-index="1"/>
                        </colgroup>
                        <tbody>
                           ${Ea(t,e)}
                        </tbody>
                     </table>
                  </div>
               </div>
               <div class="wc-clear-both" style="height: 0px !important;"></div>
            </div>
        </div>`}function Ea(t,e){let i=function(s,a){return s.cells[a]?u`
        <td class="st-spec-data">
           <div class="st-cell-container">
              <span class="st-reset">
                <span class="st-markup-rich-text" @props:innerHTML=${s.cells[a].text}></span>
              </span>
              ${o(s.cells[a])}
           </div>
        </td>
        `:u`<td class="st-spec-data"></td>`},n=function(s){let a=t.rows.length;do t.rows[s].hidden=!t.rows[s].hidden,s++;while(s<a&&!t.rows[s].isGroupHeading);e()},o=function(s){if(s.footnotes?.length)return s.footnotes.map(a=>u`
                  <span aria-label="${t.framework.translations.Common["footnote-index"].replace("%1",a)}" class="syndigo-footnote-index" role="note"></span>`)},r=0;return t.rows.map((s,a)=>{let d=t.rows[a-1]||{isGroupHeading:!1},l=t.rows[a+1]||{isGroupHeading:!0};return s.isGroupHeading?(r++,u`<tr class="st-spec-header-row"
                            data-index-header-row="${r}">
               <th class="st-spec-caption"
                   colspan="${t.layout==="TwoColumn"?"2":"3"}"
                   style="padding: 0px;">
                  <div class="st-header-container" aria-live="polite">
                     <button @on:click=${()=>n(a)}>
                        <span class="syndigo-visually-hidden">
                              ${t.framework.translations.SpecificationTable[s.hidden?"expand":"collapse"]}
                        </span>
                        <syndigo-svg-icon icon="${s.hidden?"play":"caret-up"}"
                                          width="10"
                                          height="10"
                                          fill="#565758"
                                          style="padding: 0px; padding-inline-end: 6px;" />

                        <div class="st-text-container">
                            <span class="st-reset">
                                <span class="st-markup-rich-text"
                                      style="padding: 0px;"
                                      @props:innerHTML=${s.caption}></span>
                            </span>
                            ${o(s)}
                        </div>
                     </button>
                  </div>
               </th>
            </tr>`):u`<tr class="st-${a%2===0?"even":"odd"}-row ${d.isGroupHeading?"first-group-row":""}${l.isGroupHeading?"last-group-row":""}"
                style="display: ${s.hidden?"none":"table-row"} !important;">
               <th class="st-spec-caption">
                  <span class="st-reset">
                    <span class="st-markup-rich-text" @props:innerHTML=${s.cells[0].text}></span>
                  </span>
                  ${o(s.cells[0])}
               </th>
               ${i(s,1)}
               ${i(s,2)}
            </tr>`})}var Nn={init:Ta,view:Ia,destroy:G};var Jt=lt($t(),1);var On=".ts{position:relative;display:flex;justify-content:center;cursor:pointer}.ts img{max-inline-size:100%;max-block-size:600px}@media (min-height:1080px){.ts img{max-block-size:900px}}.ts img:hover{cursor:pointer}.ts img.dragging:hover{cursor:grab}.ts-first-time-only{background:0 0;block-size:90px;inset-block-start:50%;inset-inline-start:50%;opacity:1;visibility:visible}.ts-first-time-only.ts-first-time-loader-removal{opacity:0;visibility:hidden;transition:visibility .3s,opacity .3s ease}.ts-controls{inline-size:100%;position:absolute;z-index:100;text-align:center;margin-block:0px;margin-inline:auto;inset-block-end:15px;block-size:40px}.ts-controls button{background:0 0;inline-size:100%;block-size:100%;border:none}.ts-controls>div{display:inline-block;inline-size:30px;block-size:30px;margin-block-start:10px;color:#fff;background-color:#000;opacity:.7;border:1px solid transparent;position:relative}.ts-controls :is(.ts-control-right,.ts-control-left,.ts-control-play) i{inline-size:18px;block-size:18px;font-size:18px;color:#fff;position:absolute;inset-block-start:0;inset-inline-start:0;inset-inline-end:0;inset-block-end:0;margin:auto;margin-inline-start:6px;margin-block-end:5px}.ts-controls .ts-control-play{margin-block:0px;margin-inline:10px}.ts-overlay{position:absolute;inset-block-start:0;inset-inline-start:0;block-size:100%;inline-size:100%;z-index:9999;background-color:rgba(0,0,0,.2)}.ts-modal{inline-size:70px;block-size:70px;position:absolute;inset-block-start:50%;inset-inline-start:50%;transform:translate(-50%,-50%);z-index:99999}.ts-modal .ts-svg-circle-progress{opacity:.9;inline-size:70px;block-size:70px;position:absolute;inset-block-start:0px}.ts-modal .ts-svg-circle-progress .icon-360{position:absolute;inset-block-start:50%;inset-inline-start:50%;transform:translate(-50%,-50%);color:#fff;font-size:40px}.ts-loader-svg .ts-outer-stroke{stroke:#fff}.ts-loader-svg .ts-inner-stroke{stroke:#2179d3;fill:#000000}";var Fn={zoomedout:function(t,e,i){e.dragging=!0;let n=e.imageElm.getBoundingClientRect(),r=((0,Jt.default)(t.clientX-n.left,0,n.width)-e.lastX)/4,a=Math.round(Math.abs(r)/20);r<0?(e.currentImage=e.currentIndex-a,e.currentImage<0&&(e.currentImage=e.items.length+e.currentImage)):r>0&&(e.currentImage=(e.currentIndex+a)%e.items.length),i()}},Bn={zoomedout:function(t,e,i){e.currentIndex=e.currentImage;let n=e.imageElm.getBoundingClientRect();e.lastX=(0,Jt.default)(t.clientX-n.left,0,n.width),e.lastY=(0,Jt.default)(t.clientY-n.top,0,n.height),i()}},Rn={zoomedout:function(t,e,i){e.dragging=!1,i()}};function _a(t,e){let i=t.items.map(o=>{let{fallbackImageType:r}=A(o);return`${W(o,960,r)}`}),n=function(){t.loadedImgCount++;let o=Object.keys(t.imageRequested).length;t.imageLoadProgress=(0,Jt.default)(t.loadedImgCount/o,0,1),e(t.imageLoadProgress)};i.forEach(o=>{if(!t.imageRequested[o]){let r=new Image;r.onload=r.onerror=n,t.imageRequested[o]=r,r.src=o}})}function Ha(t){let e=301.635;return t.imageLoadProgress<1&&(e*=1-t.imageLoadProgress),u`<svg aria-hidden="true"
                     class="ts-loader-svg"
                     xmlns="http://www.w3.org/2000/svg"
                     viewBox="0 0 100 100">
        <path class="ts-outer-stroke"
              d="M 50,50 m 0,-48 a 48,48 0 1 1 0,96 a 48,48 0 1 1 0,-96"
              stroke-width="1"
              fill-opacity="0"/>
        <path class="ts-inner-stroke"
              d="M 50,50 m 0,-48 a 48,48 0 1 1 0,96 a 48,48 0 1 1 0,-96"
              stroke-width="3"
              @style:stroke-dashoffset=${e}
              style="stroke-dasharray: 301.635, 301.635;"/>
    </svg>`}function La(t){return{currentImage:0,imageLoadProgress:0,loadedImgCount:0,imageRequested:{},images:[],interacted:!1,dragging:!1,lastX:0,lastY:0,state:"unloaded",currentIndex:void 0,lastClick:0,clickImage:void 0,playPause:G,rotateClockwise:G,rotateCounterClockwise:G,previousTouchAction:document.body.style.touchAction,imageElm:void 0,...t}}function Ma(t,e){let i=function(l){document.body.style.touchAction="pan-y",document.addEventListener("pointermove",n,{passive:!0}),document.addEventListener("pointerup",o),document.addEventListener("pointerout",o),Bn[t.state]&&Bn[t.state](l,t,e)},n=function(l){Fn[t.state]&&Fn[t.state](l,t,e)},o=function(l){document.body.style.touchAction=t.previousTouchAction||"",document.removeEventListener("pointermove",n),document.removeEventListener("pointerup",o),document.removeEventListener("pointerout",o),Rn[t.state]&&Rn[t.state](l,t,e)},r=function(l){t.imageElm=l.elm,t.imageElm.setAttribute("draggable","false")};t.clickImage||(t.clickImage=function(){t.state==="unloaded"&&(t.state="loading",_a(t,function(l){l===1&&(t.interacted=!0,t.state="zoomedout",Wa(t,e)),e()}))});let s=t.items[t.currentImage],{fallbackImageType:a}=A(s),d=`${W(s,960,a)}`;return u`
        <div class="ts syndigo-widget" @on:click=${t.clickImage}>

            <style>${On}</style>
            <section
                aria-roledescription="${t.framework.translations.ThreeSixty["three-sixty-image"]}"
                aria-live="polite">
                
                <img draggable="false"
                    class="ts-selected-image"
                    alt="${s.alt}"
                    loading="lazy"
                    style="inline-size: 100%; block-size: auto;"
                    @class:dragging=${t.dragging}
                    @hook:insert=${r}
                    @on:pointerdown=${i}
                    src="${d}" />
            </section>


             <div class="ts-controls">
                <div class="ts-control-left">
                    <button @on:click=${l=>t.rotateCounterClockwise({ev:l,model:t,explicitClick:!0})}
                            type="button"
                            class="syndigo-iconbutton"
                            aria-label="${t.framework.translations.ThreeSixty["rotate-clockwise-degrees"].replace("%s",5)}">
                        <syndigo-svg-icon icon="rotate-clockwise" width="16" height="16" fill="white" />
                    </button>
                </div>
                <div class="ts-control-play">
                    <button @on:click=${l=>t.playPause({ev:l,model:t})}
                            type="button"
                            class="syndigo-iconbutton"
                            aria-label="${t.framework.translations.ThreeSixty[t.isPlaying?"pause":"play"]}">
                        <syndigo-svg-icon icon="${t.isPlaying?"pause":"play"}"
                                          width="16"
                                          height="16"
                                          fill="inherit"
                                          color="white" />
                    </button>
                </div>
                <div class="ts-control-right">
                    <button @on:click=${l=>t.rotateClockwise({ev:l,model:t,explicitClick:!0})}
                            type="button"
                            class="syndigo-iconbutton"
                            aria-label="${t.framework.translations.ThreeSixty["rotate-counter-clockwise-degrees"].replace("%s",5)}">   
                        <syndigo-svg-icon icon="rotate-counterclockwise" width="16" height="16" fill="white" />

                    </button>
                </div>
            </div>

            <div @class:ts-first-time-loader-removal=${t.interacted}
                 @class:ts-first-time-only=${t.imageLoadProgress===1}
                 class="ts-overlay ts-overlay-loader">
                <div class="ts-modal">
                    <div class="ts-svg-circle-progress">
                        <i class="icon-360" style="color: transparent; fill: white; width: 32px;">
                            <syndigo-svg-icon icon="360-circle" width="32" height="32" fill="white" />
                        </i>
                        ${Ha(t)}
                    </div>
                </div>
            </div>

        </div>`}function Da(t){document.body.style.touchAction=t.previousTouchAction||""}function Wa(t,e){t.clickImage=G,t.playPause=function({ev:i,model:n}){if(i.preventDefault(),i.stopPropagation(),Date.now()-n.lastClick<100){n.lastClick=0;return}n.lastClick=Date.now(),n.isPlaying=!n.isPlaying,n.isPlaying?n.playInterval=setInterval(function(){n.rotateClockwise({ev:i,model:n,explicitClick:!1})},400):clearInterval(n.playInterval),n.track({a:n.isPlaying?"play":"pause",wt:n.widgetType,wi:n.widgetId}),e()},t.rotateClockwise=function({ev:i,model:n,explicitClick:o}){i.preventDefault(),i.stopPropagation(),n.currentImage=(n.currentImage+1)%n.items.length,o&&n.track({a:"rotate",wt:n.widgetType,wi:n.widgetId}),e()},t.rotateCounterClockwise=function({ev:i,model:n,explicitClick:o}){i.preventDefault(),i.stopPropagation(),n.currentImage--,n.currentImage<0&&(n.currentImage=n.items.length-1),o&&n.track({a:"rotate",wt:n.widgetType,wi:n.widgetId}),e()}}var Gn={view:Ma,init:La,destroy:Da};var Vn=".vg{overflow:hidden;max-inline-size:100%;--fullscreen-height-adjustment:15px;--fullscreen-width-adjustment:4px}:fullscreen .vg{block-size:calc(100% - var(--fullscreen-height-adjustment));max-block-size:calc(100% - var(--fullscreen-height-adjustment));max-inline-size:calc(100% - var(--fullscreen-width-adjustment))}.vg ul,.vg ul li{list-style-type:none}.vg-transparent-scrollbar{position:relative;overflow:scroll;margin-inline-end:0;margin-block:5px 0;min-block-size:0;max-block-size:160px;block-size:95%}.vg-transparent-scrollbar::-webkit-scrollbar{background-color:transparent}.vg-transparent-scrollbar::-webkit-scrollbar-track{background-color:transparent}.vg-transparent-scrollbar::-webkit-scrollbar-thumb{background-color:transparent}.vg-transparent-scrollbar::-webkit-scrollbar-corner{background-color:transparent}.vg-video{position:relative;display:flex;flex-direction:column;justify-content:center;align-items:center;margin:auto;inline-size:100%}.vg-video .vg-video-wrapper{position:relative;margin:auto}.vg-moreinfo{position:absolute;inset-inline-start:0;inset-block-start:0}.vg-moreinfo-description :is(ul,ul li){list-style-type:disc}.vg-nav{position:absolute;inset-block-start:calc(50% - 10px);inline-size:40px;block-size:40px;z-index:1}.vg-nav.prev{inset-inline-start:0}.vg-nav.next{inset-inline-end:0}";var jn=":fullscreen .vg{block-size:auto;max-block-size:none}.vg-video.vg-narrow{position:relative;display:flex;flex-direction:column;inline-size:100%}.vg-video.vg-narrow .vg-viewer{position:relative;display:flex;align-items:center;justify-content:center;inline-size:100%;border:solid 1px transparent;overflow:hidden;margin:0}.vg-video.vg-narrow .vg-video-wrapper{display:flex;justify-content:space-around}.vg-video.vg-narrow div.vg-nav{position:relative;display:flex;justify-content:center;align-items:center;inset-block-start:0;min-inline-size:30px;inline-size:30px;block-size:100%;z-index:1}.vg-narrow .vg-moreinfo{position:relative;inline-size:100%;margin-inline:auto;background-color:#f0f0f0}.vg-narrow .vg-moreinfo-caption{word-wrap:break-word;color:#565758;font-size:15px;font-weight:700;line-height:20px;margin-inline:0;margin-block:15px 10px;padding-inline:10px;padding-block:0}.vg-narrow .vg-moreinfo-description{word-wrap:break-word;color:#565758;font-size:13px;line-height:18px;margin-block-end:10px;padding-inline:10px;padding-block:0}";var Na=t=>{let e=o=>{t.videos[t.selectedIndex].shouldPlay=o},i=t.videos[t.selectedIndex];i.updateVideoShouldPlayState=e;let n=o=>{let r=t.videos[t.selectedIndex],s=o.elm,a=s.parentNode,d=B(r.asset,a);s.style.inlineSize=`${d.width}px`,s.style.blockSize=`${d.height}px`};return u`<syndigo-video
        @hook:insert=${n}
        @hook:update=${n}
        @props:model=${i}></syndigo-video>`};function Oa({model:t,update:e,direction:i,scrollSelectableControl:n}){if(!t.nextPrevious.hasControls)return;let o=i==="prev"?"Previous Video":"Next Video",r=t.nextPrevious;r.direction=i,r.isNarrow=t.isNarrow,r.ariaControlsId=`vg-video-${t.widgetId}`,r.ariaLabel=o,r.onclick=()=>Fa({model:t,update:e,direction:i,scrollSelectableControl:n});let s=gt.view(r);return u`<div class="vg-nav ${i}">
        ${s}
    </div>`}function Fa({model:t,update:e,direction:i,scrollSelectableControl:n}){let o=t.selectedIndex;o+=i==="next"?1:-1,o=o<0?t.items.length-1:o%t.items.length,Un({model:t,selectedIndex:o}),n&&n(t),e()}var Un=({model:t,selectedIndex:e})=>{t.videos[t.selectedIndex].shouldPlay=!1,t.selectedIndex=e,t.videos[t.selectedIndex].shouldPlay=!0,t.track({a:"ca",wt:t.widgetType,wi:t.widgetId,z:t.selectedIndex,ai:t.items[t.selectedIndex].assetId})},j={navbtn:gt,renderVideo:Na,getMediaLayoutDimensions:Y,renderNextPreviousButton:Oa,selectItem:Un};var Ba=.75,Ra=30;function Ga(t){if(!t.items[t.selectedIndex].hasMoreInfo)return;let e=t.items[t.selectedIndex].description,i=t.items[t.selectedIndex].caption;return u`<div class="vg-moreinfo"
        @key="more-info-${t.widgetId}">
        <div class="vg-moreinfo-caption" @props:innerHTML=${i}></div>
        <div class="vg-moreinfo-description" @props:innerHTML=${e}></div>
    </div>`}function Qe(t,e){let i=t.fullscreen.isEnabled?t.maxLayoutHeight*Ba:t.maxLayoutHeight,n=t.nextPrevious.hasControls?Ra*2:0,o=t.maxLayoutWidth-n;Y(t.videos,{width:o,height:i});let r=t.videos[t.selectedIndex].widgetContentDimensions;return u`<div class="vg-video vg-narrow" tabindex="0">
        <style>${jn}</style>
        <div class="vg-viewer"
            @style:block-size="${r.height}px">
            ${j.renderNextPreviousButton({model:t,update:e,direction:"prev"})}
            <div class="vg-video-wrapper"
                @key="vg-video-wrapper-${t.widgetId}"
                @style:block-size="${r.height}px"
                @style:inline-size="${r.width}px">
                ${j.renderVideo(t)}
            </div>
            ${j.renderNextPreviousButton({model:t,update:e,direction:"next"})}
        </div>
        ${Ga(t)}
        
    </div>`}var Zn=lt($t(),1);var qn=":root{--start-direction:left;--end-direction:right}.vg-focus{display:grid;grid-gap:15px;inline-size:100%;min-block-size:200px}:fullscreen .vg .vg-focus{margin-inline:auto}.vg-viewer{grid-area:video;overflow:hidden;border:solid 1px #ccc;margin:auto;overflow:hidden}:fullscreen .vg .vg-viewer{border:solid transparent}.vg-focus .vg-duration{position:absolute;color:#fff;-webkit-user-select:none;-moz-user-select:none;user-select:none;background-color:rgba(0,0,0,.5);padding:2px;inset-block-end:0px;inset-inline-end:0px;transition:all .2s ease-in}.vg-focus .vg-thumbnails{grid-area:thumbnails;position:relative;block-size:100%;overflow:hidden}.vg-focus .vg-thumbnails .vg-thumb-container{display:flex;justify-content:center;align-items:center;position:relative;padding:0;margin:0;overflow:hidden;transition:inset-inline-start .8s ease-in-out}.vg-focus .vg-thumbnails .next-thumb,.vg-focus .vg-thumbnails .prev-thumb{display:block;position:absolute;z-index:3;transition:all ease-in-out .2s}.vg-focus .vg-thumbnails .next-thumb button,.vg-focus .vg-thumbnails .prev-thumb button{display:flex;align-items:center;justify-content:center;color:var(--syndiCommonElementNextPreviousControlsColor,#6d6d6d);block-size:100%;inline-size:100%;background:0 0;border:none;outline:0}.vg-focus .vg-thumbnails.vg-horizontal{block-size:90px}.vg-focus .vg-thumbnails.vg-horizontal .next-thumb,.vg-focus .vg-thumbnails.vg-horizontal .prev-thumb{block-size:90px;inline-size:40px}.vg-focus .vg-thumbnails.vg-horizontal .vg-thumb-container :is(.next-thumb:hover,.next-thumb:active,.next-thumb:focus-within),.vg-focus .vg-thumbnails.vg-horizontal .vg-thumb-container :is(.prev-thumb:hover,.prev-thumb:active,.prev-thumb:focus-within){inline-size:60px;outline:0}.vg-focus .vg-thumbnails.vg-horizontal .prev-thumb :is( button:active,button:focus,button:hover){border-inline-end:solid 2px #246eb7;border-start-end-radius:50%;border-end-end-radius:50%;background-color:#fff}.vg-focus .vg-thumbnails.vg-horizontal .next-thumb :is( button:active,button:focus,button:hover){border-inline-start:solid 2px #246eb7;border-end-start-radius:50%;border-start-start-radius:50%;background-color:#fff}.vg-focus .vg-thumbnails.vg-horizontal .prev-thumb{inset-block-start:0;inset-inline-start:0;background:linear-gradient(to var(--end-direction,right),#fff 44%,rgba(255,255,255,.89) 50%,rgba(255,255,255,0) 100%)}.vg-focus .vg-thumbnails.vg-horizontal .next-thumb{inset-block-start:0;inset-inline-end:0;background:linear-gradient(to var(--end-direction,right),rgba(255,255,255,0) 0,rgba(255,255,255,.89) 50%,#fff 56%)}.vg-focus .vg-thumbnails.vg-vertical{inline-size:90px}.vg-focus .vg-thumbnails.vg-vertical .next-thumb,.vg-focus .vg-thumbnails.vg-vertical .prev-thumb{block-size:40px;inline-size:90px}.vg-focus .vg-thumbnails.vg-vertical .vg-thumb-container :is(.next-thumb:hover,.next-thumb:active,.next-thumb:focus-within),.vg-focus .vg-thumbnails.vg-vertical .vg-thumb-container :is(.prev-thumb:hover,.prev-thumb:active,.prev-thumb:focus-within){block-size:60px;outline:0}.vg-focus .vg-thumbnails.vg-vertical .prev-thumb :is(button:active,button:focus,button:hover){border-block-end:solid 2px #246eb7;border-end-end-radius:50%;border-end-start-radius:50%;background-color:#fff}.vg-focus .vg-thumbnails.vg-vertical .next-thumb :is(button:active,button:focus,button:hover){border-block-start:solid 2px #246eb7;border-start-end-radius:50%;border-start-start-radius:50%;background-color:#fff}.vg-focus .vg-thumbnails.vg-vertical .prev-thumb{inset-block-start:0;inset-inline-start:0;background:linear-gradient(to bottom,#fff 44%,rgba(255,255,255,.89) 50%,rgba(255,255,255,0) 100%)}.vg-focus .vg-thumbnails.vg-vertical .next-thumb{inset-block-end:0;inset-inline-start:0;background:linear-gradient(to bottom,rgba(231,159,159,0) 0,rgba(255,255,255,.89) 50%,#fff 56%)}.vg-focus .vg-thumbnails.vg-horizontal .vg-thumb-container{position:relative;inline-size:100%;block-size:90px;scroll-snap-type:x mandatory;margin:auto}.vg-focus .vg-thumbnails.vg-vertical .vg-thumb-container{flex-direction:column;inline-size:90px;block-size:100%;scroll-snap-type:y mandatory;transition:inset-block-start .8s ease-in-out}.vg-focus .vg-thumb-container>li{display:flex;justify-content:center;align-items:center;scroll-snap-align:start;block-size:90px;inline-size:90px}.vg-focus .vg-thumbnails.vg-horizontal .vg-thumb-container>li{margin-block:0;margin-inline:5px}.vg-focus .vg-thumbnails.vg-horizontal .vg-thumb-container>li:first-of-type{margin-inline-start:0}.vg-focus .vg-thumbnails.vg-horizontal .vg-thumb-container>li:last-of-type{margin-inline-end:0}.vg-focus .vg-thumbnails.vg-vertical .vg-thumb-container>li{margin-block:5px;margin-inline:0}.vg-focus .vg-thumbnails.vg-vertical .vg-thumb-container>li:first-of-type{margin-block-start:0}.vg-focus .vg-thumbnails.vg-vertical .vg-thumb-container>li:last-of-type{margin-block-end:0}.vg-focus .vg-thumb-container button{position:relative;padding:0;outline:0;border:solid 3px #565758;inline-size:80px;block-size:80px;border-radius:5%;transform-origin:center center;transition:all .2s ease-in}.vg-focus .vg-thumb-container :is(button.vg-selected,button:active){border:solid 3px #246eb7;border-radius:15%}.vg-focus .vg-thumb-container :is(button:hover,button:focus){border-width:5px;border-radius:20%;block-size:90px;inline-size:90px}.vg-focus .vg-thumb-container :is(button.vg-selected .vg-duration,button:active .vg-duration){border-end-end-radius:9px}.vg-focus .vg-thumb-container :is(button:hover .vg-duration,button:focus .vg-duration){border-end-end-radius:13px}.vg-focus .vg-thumb-container img{block-size:auto;max-block-size:70px;max-inline-size:70px;margin:auto;inset-block:0;inset-inline:0;border:none;display:block}.vg-focus .vg-moreinfo{inline-size:100%;min-block-size:32px;max-block-size:160px;background-color:var(--syndiCommonElementTextBackgroundColor,#f0f0f0);color:#565758;z-index:17;transition:transform .4s}.vg-focus .vg-moreinfo{transform:translateY(0);transition:.4s ease-in-out}.vg-focus .vg-moreinfo-closed{transform:translateY(-100%)}.vg-focus .vg-moreinfo .vg-scroll-container{position:relative;overflow:hidden;block-size:auto;min-block-size:0;max-block-size:160px}.vg-focus .vg-moreinfo-caption{word-wrap:break-word;color:#565758;font-size:15px;font-weight:700;line-height:20px;margin-inline:0;margin-block:15px 10px;padding-inline:10px;padding-block:0}.vg-focus .vg-moreinfo-description{word-wrap:break-word;color:#565758;font-size:13px;line-height:18px;margin-block-end:10px;padding-inline:10px;padding-block:0}.vg-focus button.vg-moreinfo-toggle{background-color:#f0f0f0;block-size:20px;inline-size:40px;border-start-end-radius:0;border-start-start-radius:0;border-end-end-radius:40px;border-end-start-radius:40px;opacity:.9;position:absolute;inset-block-end:-20px;inset-inline:0;margin-block:0;margin-inline:auto;text-align:center;border:0;padding:0;transition:all ease-in-out .2s}.vg-focus button.vg-moreinfo-toggle:active,.vg-focus button.vg-moreinfo-toggle:focus,.vg-focus button.vg-moreinfo-toggle:hover{inline-size:60px;block-size:30px;inset-inline-start:0;inset-inline-end:0;margin-inline:auto;inset-block-end:-30px;border:solid 3px;border-color:var(--syndiCommonMoreInfoTooltipBorderColor,#565758);border-block-start:none;outline:transparent}.vg-focus div.vg-controls{position:absolute;background-color:var(--syndiCommonElementTextBackgroundColor,#f0f0f0);color:#000;opacity:.7;border-radius:2px;inset-inline-end:1px;inset-block-start:1px;z-index:16;padding:2px}";var Pt=15,Kn=100,Xn=80,Nt=90,Jn=30,ja=104,Yn=110;function Qn(t){let e=t.items.map(n=>n.video.originalWidth).reduce((n,o)=>Math.max(n,o));return t.fullscreen.isEnabled||t.displayWidth<=e}function to(t){let e=t.showThumbscrollControls?Jn:0;t.thumbnailScrollOffset=t.selectedIndex*Kn*-1+e}function Ua(t,e){let i=t.thumbDisplayCount*Kn,n=(t.totalThumbstripLength-i)*-1,o=0;e!=="INITIAL"&&(o=e==="NEXT"?-1:1);let r=i*o;t.thumbnailScrollOffset+=r,t.thumbnailScrollOffset=(0,Zn.default)(t.thumbnailScrollOffset,0,n)+Jn}function qa(t,e){if(!t.nextPrevious.hasControls)return;t.thumbnailPlacement=Qn(t)?"horizontal":"vertical";let i=0,n=0,o=0,r=0;t.thumbnailPlacement==="horizontal"?(i=t.thumbnailScrollOffset,o=t.totalThumbstripLength-Pt,r=Nt):t.thumbnailPlacement==="vertical"&&(n=t.thumbnailScrollOffset,r=t.totalThumbstripLength-Pt,o=Nt);let s=d=>{if(!t.showThumbscrollControls)return;let l=b=>{Ua(t,b),e()},c="Scroll video selectors",h=d==="prev"?"PREV":"NEXT",g;return t.isLTR?g=d==="prev"?"chevron-left":"chevron-right":g=d==="prev"?"chevron-right":"chevron-left",t.thumbnailPlacement==="vertical"&&(g=d==="prev"?"chevron-up":"chevron-down"),u`<div class="${d}-thumb">
            <button type="button" class="${d}-thumb-button"
                aria-label="${c}"
                aria-controls="vg-thumbnails-${t.widgetId}"
                @on:click=${()=>l(h)}>
                
                <syndigo-svg-icon @key=vg-${t.widgetId}-thumb-${d} icon="${g}" />
            </button>
        </div>`},a=t.items.map((d,l)=>{let c=function(){j.selectItem({model:t,selectedIndex:l}),to(t),e()},h=d.video,g=new Date(h.duration*1e3).toISOString().substr(11,8);g.startsWith("00:0")&&(g=g.replace("00:0",""));let{sources:b,fallbackImageType:p}=A(h.poster);return u`
            <li>
                <button type="button"
                        @class:vg-selected=${t.selectedIndex===l}
                        aria-live="polite"
                        aria-label="Click to view video. Video ${l+1} of ${t.items.length}"
                        @on:click=${c}>
                    <picture>
                        ${b}
                        <img loading="lazy"
                             style="inline-size: 100%; block-size: auto;"
                             srcset="${P(h.poster,p)}"
                             src="${W(h.poster,240,p)}" 
                             alt="${h.poster.alt}" 
                             sizes="${Nt}px" />
                    </picture>
                    <span class="vg-duration">${g}</span>
                    <div class="shadow"></div>
                </button>
            </li>`});return u`<div id="vg-thumbnails-${t.widgetId}" class="vg-thumbnails vg-${t.thumbnailPlacement}">
        ${s("prev")}
            <ul class="vg-thumb-container"
                @style:inline-size="${o}px"
                @style:block-size="${r}px"
                @style:inset-inline-start="${i}px"
                @style:inset-block-start="${n}px">
                
                ${a}
                
            </ul>

        ${s("next")}
	</div>`}function Xa(t,e){if(!t.items[t.selectedIndex].hasMoreInfo)return;let i=function(){t.showInfo=!t.showInfo,e()},n=t.items[t.selectedIndex].description,o=t.items[t.selectedIndex].caption;return u`<div class="vg-moreinfo"
                     @key="more-info-${t.widgetId}"
                     @class:vg-moreinfo-closed=${!t.showInfo}>
            <div class="vg-scroll-container">
                <div class="vg-transparent-scrollbar">
                    <div class="vg-moreinfo-caption" @props:innerHTML=${o}></div>
                    <div class="vg-moreinfo-description" @props:innerHTML=${n}></div>
                </div>
            </div>
            <button class="vg-moreinfo-toggle"
                    @on:click=${i}
                    aria-live="polite"
                    aria-label="Show description">

                 <syndigo-svg-icon icon="${t.showInfo?"chevron-up":"chevron-down"}"
                                   width="16"
                                   height="16"
                                   fill="white" />
            </button>
        </div>`}function Ya(t,e,i){let{height:n}=e,o=t.videos[t.selectedIndex].widgetContentDimensions,r=t.hasThumbstrip&&t.showThumbscrollControls?to:null;return u`<div class="vg-video"
        @style:block-size="${n}px"
        @style:max-block-size="${n}px">
        ${Xa(t,i)}
        ${j.renderNextPreviousButton({model:t,update:i,direction:"prev",scrollSelectableControl:r})}
        <div class="vg-video-wrapper"
            @style:inline-size="${o.width}px"
            @style:block-size="${o.height}px">
            ${j.renderVideo(t)}

            <div class="vg-controls"
                @style:display=${t.nextPrevious.hasControls?"":"none"}> ${t.selectedIndex+1}/${t.items.length}
            </div>
        </div>
        ${j.renderNextPreviousButton({model:t,update:i,direction:"next",scrollSelectableControl:r})}
    </div>`}function ti(t,e){let i=Qn(t),n=t.items.length===1,o=2,r,s,a,d,l,c;if(n)s="minmax(10px, 1fr)",r="",a='"video"',l=j.getMediaLayoutDimensions(t.videos,{width:t.maxLayoutWidth,height:t.maxLayoutHeight}),c=l.height,t.hasThumbstrip=!1;else if(i)d=t.fullscreen.isEnabled?t.maxLayoutHeight-Yn-Pt:t.maxLayoutHeight,l=j.getMediaLayoutDimensions(t.videos,{width:t.maxLayoutWidth,height:d}),c=t.fullscreen.isEnabled?t.maxLayoutHeight:l.height+Yn+Pt,t.hasThumbstrip=!0,t.thumbDisplayLength=t.maxLayoutWidth-Xn,s="minmax(10px, 1fr)",r=`${l.height}px ${Nt+Pt}px`,a=`"video"
                             "thumbnails"`;else{let h=t.displayWidth-Nt-Pt;l=j.getMediaLayoutDimensions(t.videos,{width:h,height:t.maxLayoutHeight}),c=l.height,t.hasThumbstrip=!0,t.thumbDisplayLength=l.height-Xn,s=`${Nt}px minmax(10px, 1fr)`,r="",a='"thumbnails video"'}return t.hasThumbstrip&&(t.showThumbscrollControls=t.totalThumbstripLength>t.thumbDisplayLength,t.showThumbscrollControls?t.thumbDisplayCount=Math.min(t.thumbDisplayLength/ja,t.items.length):t.thumbnailScrollOffset=0),u` <div @key=${t.widgetId} class="vg-focus"
        @style:grid-template-rows=${r}
        @style:grid-template-columns=${s}
        @style:grid-template-areas=${a}
        @style:block-size="${c}px">
        <style>${qn}</style>
        <div class="vg-viewer"
            @style:block-size="${l.height-o}px"
            @style:max-block-size="${l.height}px"
            @style:inline-size="calc(100% - ${o}px)">
            ${Ya(t,l,e)}
            
        </div>
        ${qa(t,e)}
    </div>`}var eo=".vg-slider{display:grid;min-block-size:200px}:fullscreen .vg-slider{margin-inline:auto}.vg-slider .vg-moreinfo{background:linear-gradient(to bottom,#000 0,rgba(255,255,255,0) 100%);max-block-size:160px;inline-size:100%;z-index:15;padding-block:20px;padding-inline:12px 20px}.vg-slider .vg-moreinfo-caption{word-wrap:break-word;color:#fff;font-size:15px;font-weight:700;line-height:20px;margin-block:0 10px;margin-inline:0}.vg-slider .vg-moreinfo-description{word-wrap:break-word;color:#f5f5f5;font-size:13px;line-height:18px;margin-block-end:10px}.vg-slider div.vg-controls{background-color:transparent;color:#000;opacity:.7;z-index:2}";function Ka(t){if(!t.items[t.selectedIndex].hasMoreInfo)return;let e=t.items[t.selectedIndex].description,i=t.items[t.selectedIndex].caption,n=t.videos[t.selectedIndex].shouldPlay;return u`
    <div class="vg-moreinfo"
        @style:display=${n?"none":""}>
        <div class="vg-moreinfo-caption"
             @props:innerHTML=${i}></div>
        <div class="vg-moreinfo-description"
             @props:innerHTML=${e}></div>
    </div>`}function Ja(t,e,i){let{height:n}=e,o=t.videos[t.selectedIndex].widgetContentDimensions;return u`<div class="vg-video"
        @style:block-size="${n}px"
        @style:max-block-size="${t.maxLayoutHeight}px">
        ${Ka(t,i)}
        ${j.renderNextPreviousButton({model:t,update:i,direction:"prev"})}
        <div class="vg-video-wrapper"
            @style:inline-size="${o.width}px"
            @style:block-size="${o.height}px">
            <div class="vg-controls" style="position: absolute; inset-inline-end: -2px; inset-block-end: 0px; z-index: 1; padding: 2px;"
                @style:display=${t.nextPrevious.hasControls?"":"none"}> ${t.selectedIndex+1}/${t.items.length} </div>

            ${j.renderVideo(t)}
        </div>
        ${j.renderNextPreviousButton({model:t,update:i,direction:"next"})}
    </div>`}function ei(t,e){let i={...j.getMediaLayoutDimensions(t.videos,{width:t.maxLayoutWidth,height:t.maxLayoutHeight})},n=`${i.height}px`;return u`<div class="vg-slider"
        @key=${t.widgetId}
        @style:block-size="${n}"> 
        
        <style>${eo}</style>
        ${Ja(t,i,e)}
    </div>`}var io=100;function Qa(t){let e=function(n){t.track({wt:t.widgetType,wi:t.widgetId,...n})},i={selectedIndex:0,showInfo:!1,maxLayoutHeight:600,maxLayoutWidth:600,nextPrevious:j.navbtn.init(t),isLTR:!0,videos:t.items.map(n=>{let o=(n.caption||n.description).length>0;return n.hasMoreInfo=o,{hasMoreInfo:o,assetType:n.video.assetType,asset:n.video,track:e}}),fullscreen:{isEnabled:!1,isFeatureDisabled:t.isFullscreenDisabled},thumbnailPlacement:"block-end",totalThumbstripLength:io*t.items.length,thumbSize:io,thumbDisplayCount:1,thumbDisplayLength:0,thumbnailScrollOffset:0,thumbnailMaxScrollDistance:0,showThumbscrollControls:!1,hasThumbstrip:t.items.length>1,...t};if(document.documentElement.dir==="rtl"){let n=document.documentElement;n.style.setProperty("--start-direction","right"),n.style.setProperty("--end-direction","left"),i.isLTR=!1}return i}function tl(t,e){let i=t.fullscreen.isEnabled?100:0;t.displayWidth=t.displayWidth?t.displayWidth-2:900,t.maxLayoutHeight=q.maxHeight(t.fullscreen.isEnabled)-i,t.maxLayoutWidth=t.fullscreen.isEnabled?q.maxWidth(t.fullscreen.isEnabled)-2:t.displayWidth;let n;return t.isNarrow=q.isNarrow(t.displayWidth),t.isNarrow?n=Qe(t,e):n=t.layout==="slider"?ei(t,e):ti(t,e),u`<section class="vg syndigo-widget"
        @style:inline-size="${t.maxLayoutWidth}px">
        <style>${Vn}</style>
        ${n}
    </section>`}function el(){}var no={init:Qa,view:tl,destroy:el};var oo={Carousel:Oi,ComparisonTable:ji,FreeFormHtml:sn,DocumentGallery:qi,FeatureSet:en,Footnotes:on,InlineFrame:un,ImageGallery:Tn,InteractiveTour:Wn,LegacyCai:An,SpecificationTable:Nn,ThreeSixty:Gn,VideoGallery:no},rg=oo;window.SYNDI.registerModule({type:"experience/widget-catalog",moduleclass:oo});export{rg as default};
