PageSourceSearch

https://www.goafricaonline.com/legacy/assets/ButtonCta-D99_rhbs.js

js goafricaonline.com collected 2026-09-24 09:59:44 UTC 21,990 bytes, 2 lines download raw bytes

1import{n as te,e as D,a as ne,l as Ue,b as oe,d as k,v as Q,c as V,k as Le,r as Fe}from"./index-D6d4kZkX.js";import{S as se,i as re,d as C,a as ie,p as M,t as E,c as q,q as T,r as U,b as y,g as P,l as B,h as g,m as Oe,f as De,y as we,o as ce,s as pe}from"./index-BVmDeBsl.js";import{s as L,e as R,b as j,c as Ge,t as H,g as me}from"./ContainerContext-BavehaTw.js";import{g as le}from"./spread-CgU5AtxT.js";import{M as ge,c as de}from"./Modal-DbrsQD6j.js";import"./create-DhHzJOlc.js";import{m as be}from"./index-CJu818Os.js";import{c as he,M as _e}from"./ModalGoafricaContact-Bw7QCDJa.js";import{u as K}from"./ParticipantRef-BX-dYjX4.js";import{c as Ae}from"./create-CnK43xuh.js";import{l as Ce}from"./logo-DLbKnZrF.js";import{l as ye}from"./logo-CGvrh_Ll.js";import{P as Pe}from"./Picture-hqimcuPS.js";import{L as ve}from"./LoginFormDropdown-CXXxClIJ.js";import"./index-jHtbw_iu.js";import"./cx-C6c7kUCj.js";import"./StackZIndex-CV2feX4o.js";import"./CalendarDate-iNjl934J.js";import"./FormErrors-CUzrYaJ6.js";import"./zod-generated-CNpaoo-C.js";import"./isArrayLike-Bcy-_sts.js";import"./shared-Bp9SGWxR.js";
1import"./Spinner-oAC9Iisp.js";import"./transition-3SI18fX_.js";import"./SvelteApollo-D3OG7ev6.js";import"./BBCode-BdNtNRDM.js";import"./MediaImage-D5IK8F4s.js";import"./fragment-masking-CMs6SO9L.js";import"./SearchHeaderFormData-Zih4tp88.js";import"./_createSet-BC01BMsk.js";import"./HtmlForm-BuPa8gRm.js";import"./SubmitButton-B5Mig_uk.js";import"./pipe-DolA5Ihc.js";import"./temporizePromise-BPnl2Y8V.js";import"./email-CvYYxvUp.js";import"./required-BkSB_lRc.js";import"./isBetween-CmybpuoX.js";import"./Input-C5jzUxxu.js";import"./Textarea-DJKW9jRk.js";import"./resizeObserver-CjI-ufp5.js";import"./Select-DO2x_WwQ.js";import"./globals-D0QH3NT1.js";import"./constructFrom-rJN6zrQ_.js";import"./PasswordInput-CLHco845.js";const z="src/lib/components/LoginForm/ModalLoginForm.svelte";function ke(t){let e,n,l,i,s,o,a,h,r,f,m;n=new Pe({props:{webp:Ce,png:ye,alt:"Logo de Go Africa Online",class:"h-full w-auto"},$$inline:!0});let b=[t[2],{type:"button"},{class:"absolute btn-reset top-[15px] right-[20px] text-22 opacity-100 hover:opacity-50"}],w={};for(let d=0;d<b.length;d+=1)w=ne(w,b[d]);h=new ve({$$inline:!0});const u={c:function(){e=R("div"),U(n.$$.fragment),l=j(),i=R("button"),s=R("span"),s.textContent="×",o=j(),a=R("div"),U(h.$$.fragment),g(s,"aria-hidden","true"),k(s,z,29,12,996),L(i,w),k(i,z,24,8,798),g(e,"class","bg-brand-blue w-full h-[70px] t:h-[90px] flex justify-center relative p-[15px]"),k(e,z,14,4,522),g(a,"class","p-[15px]"),k(a,z,33,4,1070)},m:function(p,I){P(p,e,I),T(n,e,null),B(e,l),B(e,i),B(i,s),i.autofocus&&i.focus(),P(p,o,I),P(p,a,I),T(h,a,null),r=!0,f||(m=oe(t[2].action(i)),f=!0)},p:function(p,I){L(i,w=le(b,[I&4&&p[2],{type:"button"},{class:"absolute btn-reset top-[15px] right-[20px] text-22 opacity-100 hover:opacity-50"}]))},i:function(p){r||(q(n.$$.fragment,p),q(h.$$.fragment,p),r=!0)},o:function(p){E(n.$$.fragment,p),E(h.$$.fragment,p),r=!1},d:function(p){p&&(y(e),y(o),y(a)),M(n),M(h),f=!1,m()}};return C("SvelteRegisterBlock",{block:u,id:ke.name,type:"slot",source:'(12:0) <Modal contentClass=\\"w-full t:w-[650px]\\" dialogClass=\\"b:text-left b:items-start\\" {modal}>',ctx:t}),u}function W(t){let e,n;e=new ge({props:{contentClass:"w-full t:w-[650px]",dialogClass:"b:text-left b:items-start",modal:t[0],$$slots:{default:[ke]},$$scope:{ctx:t}},$$inline:!0});const l={c:function(){U(e.$$.fragment)},l:function(s){throw new Error("options.hydrate only works if the component was compiled with the `hydratable: true` option")},m:function(s,o){T(e,s,o),n=!0},p:function(s,[o]){const a={};o&1&&(a.modal=s[0]),o&12&&(a.$$scope={dirty:o,ctx:s}),e.$set(a)},i:function(s){n||(q(e.$$.fragment,s),n=!0)},o:function(s){E(e.$$.fragment,s),n=!1},d:function(s){M(e,s)}};return C("SvelteRegisterBlock",{block:l,id:W.name,type:"component",source:"",ctx:t}),l}function ze(t,e,n){let l,i,s=D,o=()=>(s(),s=Ue(l,m=>n(2,i=m)),l);t.$$.on_destroy.push(()=>s());let{$$slots:a={},$$scope:h}=e;ie("ModalLoginForm",a,[]);let{modal:r}=e;t.$$.on_mount.push(function(){r===void 0&&!("modal"in e||t.$$.bound[t.$$.props.modal])&&console.warn("<ModalLoginForm> was created without expected prop 'modal'")});const f=["modal"];return Object.keys(e).forEach(m=>{!~f.indexOf(m)&&m.slice(0,2)!=="$$"&&m!=="slot"&&console.warn(`<ModalLoginForm> was created with unknown prop '${m}'`)}),t.$$set=m=>{"modal"in m&&n(0,r=m.modal)},t.$capture_state=()=>({Modal:ge,createDialog:Ae,melt:be,logo_webp:Ce,logo_png:ye,Picture:Pe,LoginFormDropdown:ve,modal:r,close:l,$close:i}),t.$inject_state=m=>{"modal"in m&&n(0,r=m.modal),"close"in m&&o(n(1,l=m.close))},e&&"$$inject"in e&&t.$inject_state(e.$$inject),t.$$.update=()=>{t.$$.dirty&1&&o(n(1,l=r.elements.close))},[r,l,i]}class Re extends se{constructor(e){super(e),re(this,e,ze,W,te,{modal:0}),C("SvelteRegisterComponent",{component:this,tagName:"ModalLoginForm",options:e,id:W.name})}get modal(){throw new Error("<ModalLoginForm>: Props cannot be read directly from the component instance unless compiling with 'accessors: true' or '<svelte:options accessors/>'")}set modal(e){throw new Error("<ModalLoginForm>: Props cannot be set directly on the component instance unless compiling with 'accessors: true' or '<svelte:options accessors/>'")}}const N="src/lib/components/ServicePage/ButtonCtaInner.svelte";function Be(t){let e,n,l,i,s,o,a,h,r=t[3]!=null&&X(t),f=[{class:t[0]},t[11]],m={};for(let w=0;w<f.length;w+=1)m=ne(m,f[w]);s=new _e({props:{form:t[12],fields:t[13],prefixId:t[14],modal:t[15],modalTitle:t[7],currentUser:t[8],withCompanyNameRequired:t[4],withPhoneRequired:t[5],messagePlaceholder:t[6],onSuccess:t[18]},$$inline:!0});const b={c:function(){e=R("button"),r&&r.c(),n=j(),l=H(t[2]),i=j(),U(s.$$.fragment),L(e,m),k(e,N,82,4,2394)},m:function(u,d){P(u,e,d),r&&r.m(e,null),B(e,n),B(e,l),e.autofocus&&e.focus(),P(u,i,d),T(s,u,d),o=!0,a||(h=oe(t[11].action(e)),a=!0)},p:function(u,d){u[3]!=null?r?r.p(u,d):(r=X(u),r.c(),r.m(e,n)):r&&(r.d(1),r=null),(!o||d&4)&&pe(l,u[2],m.contenteditable),L(e,m=le(f,[(!o||d&1)&&{class:u[0]},d&2048&&u[11]]));const p={};d&128&&(p.modalTitle=u[7]),d&256&&(p.currentUser=u[8]),d&16&&(p.withCompanyNameRequired=u[4]),d&32&&(p.withPhoneRequired=u[5]),d&64&&(p.messagePlaceholder=u[6]),s.$set(p)},i:function(u){o||(q(s.$$.fragment,u),o=!0)},o:function(u){E(s.$$.fragment,u),o=!1},d:function(u){u&&(y(e),y(i)),r&&r.d(),M(s,u),a=!1,h()}};
1return C("SvelteRegisterBlock",{block:b,id:Be.name,type:"if",source:"(74:38) ",ctx:t}),b}function Ie(t){let e,n,l,i,s,o,a,h,r=t[3]!=null&&Y(t),f=[{class:t[0]},t[11]],m={};for(let w=0;w<f.length;w+=1)m=ne(m,f[w]);s=new Re({props:{modal:t[15]},$$inline:!0});const b={c:function(){e=R("button"),r&&r.c(),n=j(),l=H(t[2]),i=j(),U(s.$$.fragment),L(e,m),k(e,N,74,4,2098)},m:function(u,d){P(u,e,d),r&&r.m(e,null),B(e,n),B(e,l),e.autofocus&&e.focus(),P(u,i,d),T(s,u,d),o=!0,a||(h=[ce(e,"click",t[25],!1,!1,!1,!1),oe(t[11].action(e))],a=!0)},p:function(u,d){u[3]!=null?r?r.p(u,d):(r=Y(u),r.c(),r.m(e,n)):r&&(r.d(1),r=null),(!o||d&4)&&pe(l,u[2],m.contenteditable),L(e,m=le(f,[(!o||d&1)&&{class:u[0]},d&2048&&u[11]]))},i:function(u){o||(q(s.$$.fragment,u),o=!0)},o:function(u){E(s.$$.fragment,u),o=!1},d:function(u){u&&(y(e),y(i)),r&&r.d(),M(s,u),a=!1,Fe(h)}};return C("SvelteRegisterBlock",{block:b,id:Ie.name,type:"if",source:"(66:36) ",ctx:t}),b}function Ee(t){let e,n,l,i,s,o=t[3]!=null&&Z(t);const a={c:function(){e=R("button"),o&&o.c(),n=j(),l=H(t[2]),g(e,"class",t[0]),k(e,N,67,4,1869)},m:function(r,f){P(r,e,f),o&&o.m(e,null),B(e,n),B(e,l),i||(s=ce(e,"click",t[24],!1,!1,!1,!1),i=!0)},p:function(r,f){r[3]!=null?o?o.p(r,f):(o=Z(r),o.c(),o.m(e,n)):o&&(o.d(1),o=null),f&4&&we(l,r[2]),f&1&&g(e,"class",r[0])},i:D,o:D,d:function(r){r&&y(e),o&&o.d(),i=!1,s()}};return C("SvelteRegisterBlock",{block:a,id:Ee.name,type:"if",source:"(59:37) ",ctx:t}),a}function qe(t){let e,n,l,i,s,o=t[3]!=null&&x(t);const a={c:function(){e=R("a"),o&&o.c(),n=j(),l=H(t[2]),g(e,"class",t[0]),g(e,"href",t[1]),g(e,"data-sveltekit-reload",!0),k(e,N,60,4,1613)},m:function(r,f){P(r,e,f),o&&o.m(e,null),B(e,n),B(e,l),i||(s=ce(e,"click",t[23],!1,!1,!1,!1),i=!0)},p:function(r,f){r[3]!=null?o?o.p(r,f):(o=x(r),o.c(),o.m(e,n)):o&&(o.d(1),o=null),f&4&&we(l,r[2]),f&1&&g(e,"class",r[0]),f&2&&g(e,"href",r[1])},i:D,o:D,d:function(r){r&&y(e),o&&o.d(),i=!1,s()}};return C("SvelteRegisterBlock",{block:a,id:qe.name,type:"if",source:"(52:0) {#if effectiveMode === 'href'}",ctx:t}),a}function X(t){let e,n;const l={c:function(){e=R("i"),g(e,"class",n=`${t[3]} mr-2`),g(e,"aria-hidden","true"),k(e,N,84,12,2494)},m:function(s,o){P(s,e,o)},p:function(s,o){o&8&&n!==(n=`${s[3]} mr-2`)&&g(e,"class",n)},d:function(s){s&&y(e)}};return C("SvelteRegisterBlock",{block:l,id:X.name,type:"if",source:"(76:8) {#if icon != null}",ctx:t}),l}function Y(t){let e,n;const l={c:function(){e=R("i"),g(e,"class",n=`${t[3]} mr-2`),g(e,"aria-hidden","true"),k(e,N,76,12,2227)},m:function(s,o){P(s,e,o)},p:function(s,o){o&8&&n!==(n=`${s[3]} mr-2`)&&g(e,"class",n)},d:function(s){s&&y(e)}};return C("SvelteRegisterBlock",{block:l,id:Y.name,type:"if",source:"(68:8) {#if icon != null}",ctx:t}),l}function Z(t){let e,n;const l={c:function(){e=R("i"),g(e,"class",n=`${t[3]} mr-2`),g(e,"aria-hidden","true"),k(e,N,69,12,1964)},m:function(s,o){P(s,e,o)},p:function(s,o){o&8&&n!==(n=`${s[3]} mr-2`)&&g(e,"class",n)},d:function(s){s&&y(e)}};return C("SvelteRegisterBlock",{block:l,id:Z.name,type:"if",source:"(61:8) {#if icon != null}",ctx:t}),l}function x(t){let e,n;const l={c:function(){e=R("i"),g(e,"class",n=`${t[3]} mr-2`),g(e,"aria-hidden","true"),k(e,N,62,12,1739)},m:function(s,o){P(s,e,o)},p:function(s,o){o&8&&n!==(n=`${s[3]} mr-2`)&&g(e,"class",n)},d:function(s){s&&y(e)}};return C("SvelteRegisterBlock",{block:l,id:x.name,type:"if",source:"(54:8) {#if icon != null}",ctx:t}),l}function $(t){let e,n,l,i;const s=[qe,Ee,Ie,Be],o=[];function a(r,f){return r[10]==="href"?0:r[10]==="button"?1:r[10]==="login"?2:r[10]==="contact"?3:-1}~(e=a(t))&&(n=o[e]=s[e](t));const h={c:function(){n&&n.c(),l=Ge()},l:function(f){throw new Error("options.hydrate only works if the component was compiled with the `hydratable: true` option")},m:function(f,m){~e&&o[e].m(f,m),P(f,l,m),i=!0},p:function(f,[m]){let b=e;e=a(f),e===b?~e&&o[e].p(f,m):(n&&(Oe(),E(o[b],1,1,()=>{o[b]=null}),De()),~e?(n=o[e],n?n.p(f,m):(n=o[e]=s[e](f),n.c()),q(n,1),n.m(l.parentNode,l)):n=null)},i:function(f){i||(q(n),i=!0)},o:function(f){E(n),i=!1},d:function(f){f&&y(l),~e&&o[e].d(f)}};return C("SvelteRegisterBlock",{block:h,id:$.name,type:"component",source:"",ctx:t}),h}function He(t,e,n){let l,i,s,{$$slots:o={},$$scope:a}=e;ie("ButtonCtaInner",o,[]);let{class:h=""}=e,{href:r=null}=e,{text:f=null}=e,{icon:m="fa fa-phone"}=e,{subject:b=null}=e,{to:w=null}=e,{withCompanyNameRequired:u=!1}=e,{withPhoneRequired:d=!1}=e,{messagePlaceholder:p=null}=e,{modalTitle:I=null}=e,{currentUser:_}=e,{defaultRelatedCategoryId:F=null}=e,{onClick:v=null}=e,{mode:S=null}=e;const[G,ae]=he(`${K("goafrica-contact-")}`,{subject:b,to:w,email:(_==null?void 0:_.email)??null,lastname:(_==null?void 0:_.lastname)??null,firstname:(_==null?void 0:_.firstname)??null,phone:(_==null?void 0:_.firstPhoneNumber)??null,relatedCategoryId:F},{withCompanyNameRequired:u,withPhoneRequired:d,withSubject:!1}),ue=K("p"),J=de({}),{states:{open:O},elements:{trigger:A}}=J;Q(O,"open"),V(t,O,c=>n(26,i=c)),Q(A,"trigger"),V(t,A,c=>n(11,s=c));
1function fe(){Le(O,i=!1,i),G.dispatch(c=>G.getInitialState())}t.$$.on_mount.push(function(){_===void 0&&!("currentUser"in e||t.$$.bound[t.$$.props.currentUser])&&console.warn("<ButtonCtaInner> was created without expected prop 'currentUser'")});const Ne=["class","href","text","icon","subject","to","withCompanyNameRequired","withPhoneRequired","messagePlaceholder","modalTitle","currentUser","defaultRelatedCategoryId","onClick","mode"];Object.keys(e).forEach(c=>{!~Ne.indexOf(c)&&c.slice(0,2)!=="$$"&&c!=="slot"&&console.warn(`<ButtonCtaInner> was created with unknown prop '${c}'`)});const Se=()=>v==null?void 0:v(),Me=()=>v==null?void 0:v(),Te=()=>v==null?void 0:v();return t.$$set=c=>{"class"in c&&n(0,h=c.class),"href"in c&&n(1,r=c.href),"text"in c&&n(2,f=c.text),"icon"in c&&n(3,m=c.icon),"subject"in c&&n(19,b=c.subject),"to"in c&&n(20,w=c.to),"withCompanyNameRequired"in c&&n(4,u=c.withCompanyNameRequired),"withPhoneRequired"in c&&n(5,d=c.withPhoneRequired),"messagePlaceholder"in c&&n(6,p=c.messagePlaceholder),"modalTitle"in c&&n(7,I=c.modalTitle),"currentUser"in c&&n(8,_=c.currentUser),"defaultRelatedCategoryId"in c&&n(21,F=c.defaultRelatedCategoryId),"onClick"in c&&n(9,v=c.onClick),"mode"in c&&n(22,S=c.mode)},t.$capture_state=()=>({createModal:de,melt:be,ModalGoafricaContact:_e,createForm:he,uniqueId:K,ModalLoginForm:Re,className:h,href:r,text:f,icon:m,subject:b,to:w,withCompanyNameRequired:u,withPhoneRequired:d,messagePlaceholder:p,modalTitle:I,currentUser:_,defaultRelatedCategoryId:F,onClick:v,mode:S,form:G,fields:ae,prefixId:ue,modal:J,open:O,trigger:A,onSuccess:fe,effectiveMode:l,$open:i,$trigger:s}),t.$inject_state=c=>{"className"in c&&n(0,h=c.className),"href"in c&&n(1,r=c.href),"text"in c&&n(2,f=c.text),"icon"in c&&n(3,m=c.icon),"subject"in c&&n(19,b=c.subject),"to"in c&&n(20,w=c.to),"withCompanyNameRequired"in c&&n(4,u=c.withCompanyNameRequired),"withPhoneRequired"in c&&n(5,d=c.withPhoneRequired),"messagePlaceholder"in c&&n(6,p=c.messagePlaceholder),"modalTitle"in c&&n(7,I=c.modalTitle),"currentUser"in c&&n(8,_=c.currentUser),"defaultRelatedCategoryId"in c&&n(21,F=c.defaultRelatedCategoryId),"onClick"in c&&n(9,v=c.onClick),"mode"in c&&n(22,S=c.mode),"effectiveMode"in c&&n(10,l=c.effectiveMode)},e&&"$$inject"in e&&t.$inject_state(e.$$inject),t.$$.update=()=>{t.$$.dirty&4194306&&n(10,l=S??(r!=null?"href":"contact"))},[h,r,f,m,u,d,p,I,_,v,l,s,G,ae,ue,J,O,A,fe,b,w,F,S,Se,Me,Te]}class je extends se{constructor(e){super(e),re(this,e,He,$,te,{class:0,href:1,text:2,icon:3,subject:19,to:20,withCompanyNameRequired:4,withPhoneRequired:5,messagePlaceholder:6,modalTitle:7,currentUser:8,defaultRelatedCategoryId:21,onClick:9,mode:22}),C("SvelteRegisterComponent",{component:this,tagName:"ButtonCtaInner",options:e,id:$.name})}get class(){throw new Error("<ButtonCtaInner>: Props cannot be read directly from the component instance unless compiling with 'accessors: true' or '<svelte:options accessors/>'")}set class(e){throw new Error("<ButtonCtaInner>: Props cannot be set directly on the component instance unless compiling with 'accessors: true' or '<svelte:options accessors/>'")}get href(){throw new Error("<ButtonCtaInner>: Props cannot be read directly from the component instance unless compiling with 'accessors: true' or '<svelte:options accessors/>'")}set href(e){throw new Error("<ButtonCtaInner>: Props cannot be set directly on the component instance unless compiling with 'accessors: true' or '<svelte:options accessors/>'")}get text(){throw new Error("<ButtonCtaInner>: Props cannot be read directly from the component instance unless compiling with 'accessors: true' or '<svelte:options accessors/>'")}set text(e){throw new Error("<ButtonCtaInner>: Props cannot be set directly on the component instance unless compiling with 'accessors: true' or '<svelte:options accessors/>'")}get icon(){throw new Error("<ButtonCtaInner>: Props cannot be read directly from the component instance unless compiling with 'accessors: true' or '<svelte:options accessors/>'")}set icon(e){throw new Error("<ButtonCtaInner>: Props cannot be set directly on the component instance unless compiling with 'accessors: true' or '<svelte:options accessors/>'")}get subject(){throw new Error("<ButtonCtaInner>: Props cannot be read directly from the component instance unless compiling with 'accessors: true' or '<svelte:options accessors/>'")}set subject(e){throw new Error("<ButtonCtaInner>: Props cannot be set directly on the component instance unless compiling with 'accessors: true' or '<svelte:options accessors/>'")}get to(){throw new Error("<ButtonCtaInner>: Props cannot be read directly from the component instance unless compiling with 'accessors: true' or '<svelte:options accessors/>'")}set to(e){throw new Error("<ButtonCtaInner>: Props cannot be set directly on the component instance unless compiling with 'accessors: true' or '<svelte:options accessors/>'")}get withCompanyNameRequired(){throw new Error("<ButtonCtaInner>: Props cannot be read directly from the component instance unless compiling with 'accessors: true' or '<svelte:options accessors/>'")}set withCompanyNameRequired(e){throw new Error("<ButtonCtaInner>: Props cannot be set directly on the component instance unless compiling with 'accessors: true' or '<svelte:options accessors/>'")}get withPhoneRequired(){throw new Error("<ButtonCtaInner>: Props cannot be read directly from the component instance unless compiling with 'accessors: true' or '<svelte:options accessors/>'")}set withPhoneRequired(e){throw new Error("<ButtonCtaInner>: Props cannot be set directly on the component instance unless compiling with 'accessors: true' or '<svelte:options accessors/>'")}get messagePlaceholder(){throw new Error("<ButtonCtaInner>: Props cannot be read directly from the component instance unless compiling with 'accessors: true' or '<svelte:options accessors/>'")}set messagePlaceholder(e){throw new Error("<ButtonCtaInner>: Props cannot be set directly on the component instance unless compiling with 'accessors: true' or '<svelte:options accessors/>'")}get modalTitle(){throw new Error("<ButtonCtaInner>: Props cannot be read directly from the component instance unless compiling with 'accessors: true' or '<svelte:options accessors/>'")}set modalTitle(e){throw new Error("<ButtonCtaInner>: Props cannot be set directly on the component instance unless compiling with 'accessors: true' or '<svelte:options accessors/>'")}get currentUser(){throw new Error("<ButtonCtaInner>: Props cannot be read directly from the component instance unless compiling with 'accessors: true' or '<svelte:options accessors/>'")}set currentUser(e){throw new Error("<ButtonCtaInner>: Props cannot be set directly on the component instance unless compiling with 'accessors: true' or '<svelte:options accessors/>'")}get defaultRelatedCategoryId(){throw new Error("<ButtonCtaInner>: Props cannot be read directly from the component instance unless compiling with 'accessors: true' or '<svelte:options accessors/>'")}set defaultRelatedCategoryId(e){throw new Error("<ButtonCtaInner>: Props cannot be set directly on the component instance unless compiling with 'accessors: true' or '<svelte:options accessors/>'")}get onClick(){throw new Error("<ButtonCtaInner>: Props cannot be read directly from the component instance unless compiling with 'accessors: true' or '<svelte:options accessors/>'")}set onClick(e){throw new Error("<ButtonCtaInner>: Props cannot be set directly on the component instance unless compiling with 'accessors: true' or '<svelte:options accessors/>'")}get mode(){throw new Error("<ButtonCtaInner>: Props cannot be read directly from the component instance unless compiling with 'accessors: true' or '<svelte:options accessors/>'")}set mode(e){throw new Error("<ButtonCtaInner>: Props cannot be set directly on the component instance unless compiling with 'accessors: true' or '<svelte:options accessors/>'")}}function ee(t){let e,n;e=new je({props:{class:t[0].class??"",href:t[0].href,text:t[0].text,icon:t[0].icon,subject:t[0].subject,to:t[0].to,withCompanyNameRequired:t[0].withCompanyNameRequired,withPhoneRequired:t[0].withPhoneRequired,messagePlaceholder:t[0].messagePlaceholder,modalTitle:t[0].modalTitle,defaultRelatedCategoryId:t[0].relatedCategoryId,mode:t[0].mode,onClick:t[0].onClick,currentUser:t[1]},$$inline:!0});const l={c:function(){U(e.$$.fragment)},l:function(s){throw new Error("options.hydrate only works if the component was compiled with the `hydratable: true` option")},m:function(s,o){T(e,s,o),n=!0},p:function(s,[o]){const a={};o&1&&(a.class=s[0].class??""),o&1&&(a.href=s[0].href),o&1&&(a.text=s[0].text),o&1&&(a.icon=s[0].icon),o&1&&(a.subject=s[0].subject),o&1&&(a.to=s[0].to),o&1&&(a.withCompanyNameRequired=s[0].withCompanyNameRequired),o&1&&(a.withPhoneRequired=s[0].withPhoneRequired),o&1&&(a.messagePlaceholder=s[0].messagePlaceholder),o&1&&(a.modalTitle=s[0].modalTitle),o&1&&(a.defaultRelatedCategoryId=s[0].relatedCategoryId),o&1&&(a.mode=s[0].mode),o&1&&(a.onClick=s[0].onClick),o&2&&(a.currentUser=s[1]),e.$set(a
1)},i:function(s){n||(q(e.$$.fragment,s),n=!0)},o:function(s){E(e.$$.fragment,s),n=!1},d:function(s){M(e,s)}};return C("SvelteRegisterBlock",{block:l,id:ee.name,type:"component",source:"",ctx:t}),l}function Je(t,e,n){let l,{$$slots:i={},$$scope:s}=e;ie("ButtonCta",i,[]);const o=me().currentUserStore().currentUser();Q(o,"currentUser"),V(t,o,r=>n(1,l=r));let{cta:a}=e;t.$$.on_mount.push(function(){a===void 0&&!("cta"in e||t.$$.bound[t.$$.props.cta])&&console.warn("<ButtonCta> was created without expected prop 'cta'")});const h=["cta"];return Object.keys(e).forEach(r=>{!~h.indexOf(r)&&r.slice(0,2)!=="$$"&&r!=="slot"&&console.warn(`<ButtonCta> was created with unknown prop '${r}'`)}),t.$$set=r=>{"cta"in r&&n(0,a=r.cta)},t.$capture_state=()=>({getContainer:me,ButtonCtaInner:je,currentUser:o,cta:a,$currentUser:l}),t.$inject_state=r=>{"cta"in r&&n(0,a=r.cta)},e&&"$$inject"in e&&t.$inject_state(e.$$inject),[a,l,o]}class Ut extends se{constructor(e){super(e),re(this,e,Je,ee,te,{cta:0}),C("SvelteRegisterComponent",{component:this,tagName:"ButtonCta",options:e,id:ee.name})}get cta(){throw new Error("<ButtonCta>: Props cannot be read directly from the component instance unless compiling with 'accessors: true' or '<svelte:options accessors/>'")}set cta(e){throw new Error("<ButtonCta>: Props cannot be set directly on the component instance unless compiling with 'accessors: true' or '<svelte:options accessors/>'")}}export{Ut as default};
2//# sourceMappingURL=ButtonCta-D99_rhbs.js.map

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.