import{s as q,a as b,r as z,h as u,f as v,j as $,c as B,o as y,e as m,b as p,d as g,i as d,k,u as N,p as W,q as F,m as G,t as D,l as S,n as M,v as C}from"../chunks/control.Dssrzc_F.js";import{S as J,i as K,c as I,a as w,m as L,t as h,b as _,d as E,g as T,e as V}from"../chunks/index.CyD4pdfo.js";import{p as O}from"../chunks/stores.C--niy5y.js";import{M as P}from"../chunks/MenuDrawer.BXyzB5qd.js";import{C as Q}from"../chunks/CallToAction.Bdz_yl7j.js";import{m as R,t as j}from"../chunks/const._b0QOWR5.js";import{S as U}from"../chunks/ShiIndicator.C8CPUlgu.js";function H(r){let t,l;return t=new Q({props:{action:r[4].action,call:r[4].call,menuId:r[4].menuId}}),{c(){I(t.$$.fragment)},l(e){w(t.$$.fragment,e)},m(e,a){L(t,e,a),l=!0},p(e,a){const n={};a&16&&(n.action=e[4].action),a&16&&(n.call=e[4].call),a&16&&(n.menuId=e[4].menuId),t.$set(n)},i(e){l||(h(t.$$.fragment,e),l=!0)},o(e){_(t.$$.fragment,e),l=!1},d(e){E(t,e)}}}function X(r){let t,l,e,a;const n=r[5].default,o=y(n,r,r[6],null);let i=r[4]&&H(r);return{c(){t=m("div"),l=m("main"),o&&o.c(),e=b(),i&&i.c(),this.h()},l(s){t=p(s,"DIV",{class:!0});var f=g(t);l=p(f,"MAIN",{});var c=g(l);o&&o.l(c),e=v(c),i&&i.l(c),c.forEach(u),f.forEach(u),this.h()},h(){d(t,"class",r[3])},m(s,f){$(s,t,f),k(t,l),o&&o.m(l,null),k(l,e),i&&i.m(l,null),a=!0},p(s,f){o&&o.p&&(!a||f&64)&&N(o,n,s,s[6],a?F(n,s[6],f,null):W(s[6]),null),s[4]?i?(i.p(s,f),f&16&&h(i,1)):(i=H(s),i.c(),h(i,1),i.m(l,null)):i&&(T(),_(i,1,1,()=>{i=null}),V()),(!a||f&8)&&d(t,"class",s[3])},i(s){a||(h(o,s),h(i),a=!0)},o(s){_(o,s),_(i),a=!1},d(s){s&&u(t),o&&o.d(s),i&&i.d()}}}function Y(r){let t,l=r[1].data.title+"",e;return{c(){t=m("h1"),e=D(l),this.h()},l(a){t=p(a,"H1",{class:!0});var n=g(t);e=S(n,l),n.forEach(u),this.h()},h(){d(t,"class",j)},m(a,n){$(a,t,n),k(t,e)},p(a,n){n&2&&l!==(l=a[1].data.title+"")&&M(e,l)},i:C,o:C,d(a){a&&u(t)}}}function Z(r){var o;let t,l,e,a;l=new U({props:{applicationId:r[0].shiIndicatorId??""}});let n=!((o=r[0])!=null&&o.headerLight)&&A(r);return{c(){t=m("div"),I(l.$$.fragment),e=b(),n&&n.c(),this.h()},l(i){t=p(i,"DIV",{class:!0});var s=g(t);w(l.$$.fragment,s),e=v(s),n&&n.l(s),s.forEach(u),this.h()},h(){d(t,"class","flex items-center")},m(i,s){$(i,t,s),L(l,t,null),k(t,e),n&&n.m(t,null),a=!0},p(i,s){var c;const f={};s&1&&(f.applicationId=i[0].shiIndicatorId??""),l.$set(f),(c=i[0])!=null&&c.headerLight?n&&(n.d(1),n=null):n?n.p(i,s):(n=A(i),n.c(),n.m(t,null))},i(i){a||(h(l.$$.fragment,i),a=!0)},o(i){_(l.$$.fragment,i),a=!1},d(i){i&&u(t),E(l),n&&n.d()}}}function A(r){let t,l=r[1].data.title+"",e;return{c(){t=m("h1"),e=D(l),this.h()},l(a){t=p(a,"H1",{class:!0});var n=g(t);e=S(n,l),n.forEach(u),this.h()},h(){d(t,"class",j)},m(a,n){$(a,t,n),k(t,e)},p(a,n){n&2&&l!==(l=a[1].data.title+"")&&M(e,l)},d(a){a&&u(t)}}}function x(r){let t,l,e,a;const n=[Z,Y],o=[];function i(s,f){var c;return(c=s[0])!=null&&c.headerLight?-1:1}return~(l=i(r))&&(e=o[l]=n[l](r)),{c(){t=m("div"),e&&e.c(),this.h()},l(s){t=p(s,"DIV",{slot:!0,class:!0});var f=g(t);e&&e.l(f),f.forEach(u),this.h()},h(){d(t,"slot","title"),d(t,"class","prose m-4"),G(t,"--tw-prose-headings","white")},m(s,f){$(s,t,f),~l&&o[l].m(t,null),a=!0},p(s,f){let c=l;l=i(s),l===c?~l&&o[l].p(s,f):(e&&(T(),_(o[c],1,1,()=>{o[c]=null}),V()),~l?(e=o[l],e?e.p(s,f):(e=o[l]=n[l](s),e.c()),h(e,1),e.m(t,null)):e=null)},i(s){a||(h(e),a=!0)},o(s){_(e),a=!1},d(s){s&&u(t),~l&&o[l].d()}}}function ee(r){var n;let t,l,e,a;return document.title=t=r[0].title,e=new P({props:{headerHeight:r[2],showBackground:!((n=r[0])!=null&&n.headerLight),$$slots:{title:[x],default:[X]},$$scope:{ctx:r}}}),{c(){l=b(),I(e.$$.fragment)},l(o){z("svelte-1jk6ufk",document.head).forEach(u),l=v(o),w(e.$$.fragment,o)},m(o,i){$(o,l,i),L(e,o,i),a=!0},p(o,[i]){var f;(!a||i&1)&&t!==(t=o[0].title)&&(document.title=t);const s={};i&4&&(s.headerHeight=o[2]),i&1&&(s.showBackground=!((f=o[0])!=null&&f.headerLight)),i&91&&(s.$$scope={dirty:i,ctx:o}),e.$set(s)},i(o){a||(h(e.$$.fragment,o),a=!0)},o(o){_(e.$$.fragment,o),a=!1},d(o){o&&u(l),E(e,o)}}}const te="h-[66px] lg:h-[80px] xl:h-[102px]";function le(r,t,l){let e,a,n,o,i;B(r,O,c=>l(1,i=c));let{$$slots:s={},$$scope:f}=t;return r.$$set=c=>{"$$scope"in c&&l(6,f=c.$$scope)},r.$$.update=()=>{r.$$.dirty&2&&l(0,e=i.data),r.$$.dirty&1&&l(4,a=e==null?void 0:e.callToAction),r.$$.dirty&1&&l(3,n=(e==null?void 0:e.fullWidth)??!1?"w-full isolate":R),r.$$.dirty&1&&l(2,o=e!=null&&e.headerLight?te:"h-96")},[e,i,o,n,a,s,f]}class ce extends J{constructor(t){super(),K(this,t,le,ee,q,{})}}export{ce as component};
