1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[333],{2222:(e,a,t)=>{"use strict";t.d(a,{q:()=>c});var s=t(62523),l=t(97867),n=t(11772),r=t(52692);let c=e=>{let{skip:a=!1,url:t,deps:c,onFinally:i,onTry:o,loadingValue:d=!1,onUnMount:u}=e,[h,m]=(0,l.useState)(void 0),[g,v]=(0,l.useState)(void 0),[p,x]=(0,l.useState)(null!=d&&d),{lang:j}=(0,r.A)(),_=s.A.CancelToken.source(),f=async(e,a,t)=>{try{x(!0);let s=await (0,n.G)({...e,cancelToken:null==a?void 0:a.token,params:{...e.params,locale:j}});t?t(s):m(s),o&&o(s)}catch(e){v(e)}finally{i&&i(),x(!1)}},N=(0,l.useCallback)((e,a)=>f(e,_,a),[]),b=(0,l.useCallback)(()=>{m(void 0)},[]);return(0,l.useEffect)(()=>{if(!a)return f(e,_),()=>{m(void 0),u&&u(_)}},[a,t,...c||[]]),{data:h,error:g,loading:p,reload:()=>f(e,_),updateData:N,resetData:b,handleSetData:e=>{m(e)},handleSetLoading:(0,l.useCallback)(e=>x(e),[])}}},17390:(e,a,t)=>{"use strict";t.d(a,{A:()=>r});var s=t(55427),l=t(33722),n=t(52692);let r=e=>{var a,t;let{t:r}=(0,n.A)("common"),c=null!=(a=e.rating)?a:4.9,i=null!=(t=e.totalRatings)?t:109,o=null!=i?r("Basierend auf {{count}} Bewertungen",{count:i}):r("Basierend auf 109 Bewertungen");return(0,s.jsxs)("div",{className:"google-rating-widget ".concat(e.className?e.className:""),children:[(0,s.jsx)("span",{className:"google-logo",children:(0,s.jsx)(l.J8m,{width:"30",height:"30"})}),(0,s.jsxs)("div",{children:[(0,s.jsxs)("div",{className:"google-content",children:[(0,s.jsx)("span",{className:"rating-number",children:c}),(0,s.jsx)("div",{className:"stars",children:(e=>{let a=Math.floor(e),t=[];for(let e=0;e<a;e++)t.push((0,s.jsx)("span",{className:"star",children:(0,s.jsx)(l.Gg5,{})},e));for(e%1>=.5&&t.push((0,s.jsx)("span",{className:"star",children:(0,s.jsx)(l.Gg5,{})},"half"));t.length<5;)t.push((0,s.jsx)("span",{className:"star",children:"â"},t.length));return t})(c)})]}),(0,s.jsx)("span",{className:"review-count",children:o})]})]})}},22531:(e,a,t)=>{"use strict";t.d(a,{A:()=>l});var s=t(97867);let l=function(e,a){let[t,l]=(0,s.useState)(e);return(0,s.useEffect)(()=>{let t=setTimeout(()=>l(e),a||500);return()=>{clearTimeout(t)}},[e,a]),t}},28848:(e,a,t)=>{"use strict";t.d(a,{S:()=>c});var s=t(55427);t(97867);var l=t(52692),n=t(92257),r=t(33722);let c=e=>{let{className:a,translationNamespace:t="landing",translationKey1:c,translationKey2:i}=e,{width:o}=(0,n.A)(),d=" ".concat(o<1100?"btn-label":"paragraph"," ").concat(a||""),{t:u}=(0,l.A)(t);return(0,s.jsxs)("div",{className:"golden-circle bg_gradient_gold flex column centered h6 fw_600 ".concat(a||""),children:[(0,s.jsx)(r.KHA,{className:"golden-circle__icon"}),(0,s.jsx)("p",{className:d,children:u(null!=c?c:"empfehlungen")}),(0,s.jsx)("p",{className:d,children:u(null!=i?i:"in-3-min")})]})}},31485:(e,a,t)=>{"use strict";t.d(a,{A:()=>o});var s=t(55427);t(97867);var l=t(61645),n=t(2222),r=t(92257),c=t(52692);let i=e=>{let{googleRating:a=null}=e,{width:t}=(0,r.A)(),{t:l}=(0,c.A)("common"),{data:i}=(0,n.q)({url:"/users_count"}),o="number"==typeof(null==a?void 0:a.rating)?a.rating.toFixed(1):"4.9";return(0,s.jsx)("div",{className:"".concat(t>1170?"section row row1240 flex justify_center":"mt_20"),children:(0,s.jsxs)("div",{className:"".concat(t>1170?"col col80 flex_between":"flex column_centered_start"," "),children:[(0,s.jsxs)("p",{className:"".concat(t>1170?"mr_80":"mb_20"," "),children:["\uD83E\uDD1D ",null==i?void 0:i.toLocaleString("de-CH")," ",l("Menschen geholfen")]}),(0,s.jsxs)("p",{className:"".concat(t>1170?"mr_80":"mb_20"," "),children:["\uD83C\uDFEB 300+ ",l("Partnerschulen")]}),(0,s.jsxs)("p",{children:["âï¸ ",o," ",l("Rating bei Google")]})]})})},o=e=>{let{variant:a,className:t,shouldShowVariant:n=!0,goldenCircle:r=!1,googleRating:c=null}=e;return(0,s.jsxs)("section",{className:"section HeaderCoverSection ".concat(t||""," full_width position_relative"),children:[(0,s.jsx)(l.A,{goldenCircle:r,variant:a,shouldShowRating:n,googleRating:c}),n&&(0,s.jsx)(s.Fragment,{children:(0,s.jsx)(i,{googleRating:c})})]})}},38943:(e,a,t)=>{"use strict";t.d(a,{A:()=>r});var s=t(55427);let l=Object.freeze({primary:"primary",secondary:"secondary",light:"light",golden:"golden",link:"link"}),n=Object.freeze({disabled:"disabled",reverse_link:"reverse_link",primary_square:"primary_square",wizard:"wizard"});t(97867);let r=e=>{let{animated:a=!0,disabled:t=!1,leftIcon:n=null,rightIcon:r=null,iconClassName:c,className:i,style:o,label:d,labelClassName:u,designType:h="primary",...m}=e,g=["paragraph ".concat(h||"primary"," ").concat(a&&!t?h?"".concat(h,"--animate"):"primary--animate":""," ").concat(i||"")].join(" ");return(0,s.jsxs)("button",{"data-testid":"button",...m,disabled:t,className:g,style:{...o},children:[n&&(0,s.jsx)("div",{"data-testid":"left-icon",className:"icon_left ".concat(c||""),children:n}),d&&(0,s.jsx)("div",{"data-testid":"button-label",className:"label_container ".concat(u||""),children:a&&h in l?(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)("span",{"data-testid":"left-label",className:"label_left_slide",children:d}),(0,s.jsx)("span",{"data-testid":"right-label",className:"label_right_slide",children:d})]}):d}),r&&(0,s.jsx)("div",{"data-testid":"right-icon",className:"icon_right ".concat(c||""),children:r})]})}},42824:(e,a,t)=>{"use strict";t.d(a,{A:()=>c});var s=t(2222),l=t(22531),n=t(97867),r=t(52692);let c=e=>{let{url:a,debounceTime:t,shouldFetch:c=!0,loadingValue:i}=e||{},{lang:o}
1=(0,r.A)(),[d,u]=(0,n.useState)(void 0),h=(0,l.A)(d,t||500),{data:m,loading:g,error:v,handleSetLoading:p}=(0,s.q)({url:"".concat(a||"/tools/search/","?term=").concat(h),skip:void 0===h||!c,loadingValue:i,baseURL:"https://prod.backend.eduwo.ch/api/v3",params:{locale:o},data:{term:h}});return{data:m,loading:g,error:v,handleSetSearchValue:e=>u(e),handleSetLoading:p,searchValue:d,debounceValue:h}}},59170:(e,a,t)=>{(window.__NEXT_P=window.__NEXT_P||[]).push(["/components/headercover",function(){return t(67736)}])},67736:(e,a,t)=>{"use strict";t.r(a),t.d(a,{default:()=>n});var s=t(55427);t(97867);var l=t(31485);let n=()=>(0,s.jsxs)("div",{style:{minHeight:"100vh",width:"100vw"},children:[(0,s.jsx)(l.A,{}),";"]})},80612:(e,a,t)=>{"use strict";t.d(a,{A:()=>r});var s=t(55427),l=t(97867);let n=(0,l.forwardRef)((e,a)=>{let{onFocus:t,onChange:n,onKeyDown:r,onBlur:c,icon:i,inputClassName:o,className:d,children:u,reversed:h,iconClassName:m,...g}=e,[v,p]=(0,l.useState)(""),x=g.value||v,j=["h6",o].join(" "),_=["SucheContainer ".concat(h?"SucheContainer--reversed":""),d].join(" ");return(0,s.jsx)("div",{"data-testid":"search-input-container ",className:_,children:(0,s.jsxs)("div",{className:"row row1180 full_width flex",children:[i&&(0,s.jsx)("div",{"data-testid":"search-input-icon-container",className:"".concat(m||""),children:i}),(0,s.jsx)("input",{ref:a,"data-testid":"search-input",className:j,type:"text",onChange:e=>{p(e.target.value),n&&n(e)},onKeyDown:e=>r&&r(e),onFocus:e=>t&&t(e),onBlur:e=>c&&c(e),value:x,...g}),u]})})});n.displayName="SucheInput";let r=n}},e=>{e.O(0,[1645,636,6593,8792],()=>e(e.s=59170)),_N_E=e.O()}]);
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.