PageSourceSearch

https://vigilantes-do-sono.netlify.app/b941975d1edb9644c241268b3bb7e5a677119f1d-3986ca5b877dfff76835.js

js vigilantes-do-sono.netlify.app collected 2026-10-03 11:35:54 UTC 11,152 bytes, 2 lines download raw bytes

1"use strict";(self.__LOADABLE_LOADED_CHUNKS__=self.__LOADABLE_LOADED_CHUNKS__||[]).push([[2656],{5131:function(e,t,n){n.d(t,{pL:function(){return m}});n(20410);var r=n(14041);function i(){return i=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},i.apply(this,arguments)}var o=new Map,a=new WeakMap,l=0;function s(e){return Object.keys(e).sort().filter(function(t){return void 0!==e[t]}).map(function(t){return t+"_"+("root"===t?(n=e.root)?(a.has(n)||(l+=1,a.set(n,l.toString())),a.get(n)):"0":e[t]);var n}).toString()}function u(e,t,n){if(void 0===n&&(n={}),!e)return function(){};var r=function(e){var t=s(e),n=o.get(t);if(!n){var r,i=new Map,a=new IntersectionObserver(function(t){t.forEach(function(t){var n,o=t.isIntersecting&&r.some(function(e){return t.intersectionRatio>=e});e.trackVisibility&&void 0===t.isVisible&&(t.isVisible=o),null==(n=i.get(t.target))||n.forEach(function(e){e(o,t)})})},e);r=a.thresholds||(Array.isArray(e.threshold)?e.threshold:[e.threshold||0]),n={id:t,observer:a,elements:i},o.set(t,n)}return n}(n),i=r.id,a=r.observer,l=r.elements,u=l.get(e)||[];return l.has(e)||l.set(e,u),u.push(t),a.observe(e),function(){u.splice(u.indexOf(t),1),0===u.length&&(l.delete(e),a.unobserve(e)),0===l.size&&(a.disconnect(),o.delete(i))}}function c(e){return"function"!=typeof e.children}var m=function(e){var t,n;function o(t){var n;return(n=e.call(this,t)||this).node=null,n._unobserveCb=null,n.handleNode=function(e){n.node&&(n.unobserve(),e||n.props.triggerOnce||n.props.skip||n.setState({inView:!!n.props.initialInView,entry:void 0})),n.node=e||null,n.observeNode()},n.handleChange=function(e,t){e&&n.props.triggerOnce&&n.unobserve(),c(n.props)||n.setState({inView:e,entry:t}),n.props.onChange&&n.props.onChange(e,t)},n.state={inView:!!t.initialInView,entry:void 0},n}n=e,(t=o).prototype=Object.create(n.prototype),t.prototype.constructor=t,t.__proto__=n;var a=o.prototype;return a.componentDidUpdate=function(e){e.rootMargin===this.props.rootMargin&&e.root===this.props.root&&e.threshold===this.props.threshold&&e.skip===this.props.skip&&e.trackVisibility===this.props.trackVisibility&&e.delay===this.props.delay||(this.unobserve(),this.observeNode())},a.componentWillUnmount=function(){this.unobserve(),this.node=null},a.observeNode=function(){if(this.node&&!this.props.skip){var e=this.props,t=e.threshold,n=e.root,r=e.rootMargin,i=e.trackVisibility,o=e.delay;this._unobserveCb=u(this.node,this.handleChange,{threshold:t,root:n,rootMargin:r,trackVisibility:i,delay:o})}},a.unobserve=function(){this._unobserveCb&&(this._unobserveCb(),this._unobserveCb=null)},a.render=function(){if(!c(this.props)){var e=this.state,t=e.inView,n=e.entry;return this.props.children({inView:t,entry:n,ref:this.handleNode})}var o=this.props,a=o.children,l=o.as,s=o.tag,u=function(e,t){if(null==e)return{};var n,r,i={},o=Object.keys(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||(i[n]=e[n]);return i}(o,["children","as","tag","triggerOnce","threshold","root","rootMargin","onChange","skip","trackVisibility","delay","initialInView"]);return(0,r.createElement)(l||s||"div",i({ref:this.handleNode},u),a)},o}(r.Component);m.displayName="InView",m.defaultProps={threshold:0,triggerOnce:!1,initialInView:!1}},9299:function(e,t,n){n.d(t,{D:function(){return r}});var r=n(6853).default.div.withConfig({displayName:"clickablecomponentstyle__Clickable",componentId:"sc-k636ra-0"})(["cursor:pointer;"])},21627:function(e,t,n){n.d(t,{k:function(){return i},v:function(){return o}});var r=n(77794),i=function(e){var t=e>0?e:e+1440,n=Math.floor(t/60);return(0,r.a)(n%24)+":"+(0,r.a)(Math.round(t)%60)},o=function(e){return(0,r.a)(e.getHours())+":"+(0,r.a)(e.getMinutes())}},68567:function(e,t,n){n.d(t,{j:function(){return S}});var r=n(92513),i=n(21627),o=n(53943),a=n(14041),l=function(e){return a.createElement("svg",Object.assign({width:40,height:40},e),a.createElement("path",{d:"M20 0C8.969 0 0 8.969 0 20s8.969 20 20 20 20-8.969 20-20S31.031 0 20 0zm6.443 21.01l-9.433 6.274c-.8.548-1.895-.043-1.895-1.01V13.727c0-.97 1.096-1.558 1.895-1.01l9.43 6.273c.718.462.718 1.557.002 2.02z",fill:"#1D1841",fillRule:"nonzero"}))},s=n(42807),u=n(56512),c=n(1386),m=n(26881),d=n(9520),p=n(5131),g=n(6853),f="16px",h=parseInt(f)/2,b=g.default.div.withConfig({displayName:"progress-gaugecomponentstyle__ProgressGaugeWrapper",componentId:"sc-1sp838m-0"})(["position:relative;"]),_=g.default.div.withConfig({displayName:"progress-gaugecomponentstyle__ProgressGaugeBackgroun
1d",componentId:"sc-1sp838m-1"})(["height:",";background:",";width:","%;border-radius:","px;"],f,o.Bs.GrayXXXLight,function(e){return e.percentage},h),v=(0,g.css)(["position:absolute;top:","px;height:calc(100% - ",");"],h,f),y=g.default.div.withConfig({displayName:"progress-gaugecomponentstyle__ProgressGaugeBackgroundBorder",componentId:"sc-1sp838m-2"})([""," right:0;width:","%;border-right:2px dashed ",";border-top:2px dashed ",";border-radius:0 ","px 0 0;"],v,function(e){return 100-e.percentage},o.Bs.GrayLight,o.Bs.GrayLight,h),E=(0,g.default)(o.Ub).withConfig({displayName:"progress-gaugecomponentstyle__ProgressGaugeBackgroundText",componentId:"sc-1sp838m-3"})([""]),w=g.default.div.withConfig({displayName:"progress-gaugecomponentstyle__ProgressGaugeForeground",componentId:"sc-1sp838m-4"})(["position:absolute;top:0;z-index:2;height:",";background:",";animation:"," 1s ease-in-out forwards;border-radius:","px;"],f,function(e){return T(e.kind)},function(e){return function(e){return(0,g.keyframes)(["0%{width:0;};100%{width:","%;};"],e.percentage)}(e)},h),k=g.default.div.withConfig({displayName:"progress-gaugecomponentstyle__ProgressGaugeForegroundBorder",componentId:"sc-1sp838m-5"})([""," left:0;border-left:2px dashed ",";"],v,function(e){return T(e.kind)}),I=g.default.label.withConfig({displayName:"progress-gaugecomponentstyle__ProgressGaugeForegroundText",componentId:"sc-1sp838m-6"})(["color:",";font-size:",";font-family:",";font-weight:",";margin:0;"],function(e){return T(e.kind)},o.Z4.XXXSmall,o.ay.Primary,o.IT.Normal),T=function(e){switch(e){case"positive":return o.HV.Green;case"negative":return o.HV.Red;default:return o.HV.PortGore}},x=function(e){var t=e.maxValue,n=e.backgroundValue,r=e.foregroungValue,i=e.leftText,l=e.rightText,s=e.kind,u=n/t*100,c=r/t*100;return a.createElement(b,null,a.createElement(p.pL,{triggerOnce:!0},function(e){var t=e.inView,n=e.ref;return a.createElement(a.Fragment,null,a.createElement(_,{ref:n,percentage:u}),t&&a.createElement(w,{percentage:c,kind:s}))}),(i||l)&&a.createElement(a.Fragment,null,i&&a.createElement(k,{kind:s}),l&&a.createElement(y,{percentage:u}),a.createElement(o.wv,null),a.createElement(o.qK,null,a.createElement(o.qK.Separator,null),i&&a.createElement(o.qK.Item,{wrap:!0},a.createElement(I,{kind:s},i)),a.createElement(o.GG,null),l&&a.createElement(o.qK.Item,{wrap:!0},a.createElement(E,null,l)),a.createElement(o.qK.Separator,null))))},V=n(32532),C=n(24755),A=n(9299),q=g.default.q.withConfig({displayName:"testimonial-cardcomponentstyle__TestimonialQuoteStyled",componentId:"sc-q4k7dk-0"})(["quotes:'“' '”' '‘' '’';font-weight:",";font-size:",";font-family:",";text-align:center;"],o.IT.Bold,o.Z4.Small,o.ay.Secondary),O=g.default.p.withConfig({displayName:"testimonial-cardcomponentstyle__TestimonialCaptionStyled",componentId:"sc-q4k7dk-1"})(["font-size:",";"],o.Z4.XXSmall),B=function(e){var t=(0,C.useTranslation)("common").t,n=e.name,r=e.insomniaAge,p=e.image,g=e.quote,f=e.beforeTimeInBed,h=e.beforeTimeAsleep,b=e.treatmentDuration,_=e.afterTimeInBed,v=e.afterTimeAsleep,y=e.maxTime;return a.createElement(c.C,null,function(c){return a.createElement(a.Fragment,null,a.createElement(m.cy,{show:!0},a.createElement(s.Ox,{noPadding:!0},a.createElement(s.Db,null,a.createElement(o.qK,null,a.createElement(o.qK.Item,null,a.createElement(o.H3,{cell:!0},n,","),a.createElement(O,null,t("had_insomnia_for",{insomniaAge:r}))),a.createElement(o.qK.Item,{wrap:!0,vAlign:"center"},a.createElement(A.D,{onClick:c.setTrue},a.createElement(l,null))))),a.createElement(V.G,{image:p,alt:t("photo_of",{name:n})}),a.createElement(s.Db,null,a.createElement(q,null,g),a.createElement(o.wv,null),a.createElement(o.Z5,null),a.createElement(o.wv,null),a.createElement(o.H4,null,t("before_program")),a.createElement(x,{maxValue:y,backgroundValue:f,foregroungValue:h,leftText:a.createElement(a.Fragment,null,t("sleeping")," ",a.createElement("strong",null,(0,i.k)(h))),rightText:a.createElement(a.Fragment,null,t("in_bed")," ",a.createElement("strong",null,(0,i.k)(f))),kind:"negative"}),a.createElement(o.wv,null),a.createElement(o.H4,null,t("after_treatment",{treatmentDuration:b})),a.createElement(x,{maxValue:y,backgroundValue:_,foregroungValue:v,leftText:a.createElement(a.Fragment,null,t("sleeping")," ",a.createElement("strong",null,(0,i.k)(v))),rightText:a.createElement(a.Fragment,null,t("in_bed")," ",a.createElement("strong",null,(0,i.k)(_))),kind:"positive"})))),a.createElement(d.a,{opened:c.value,onClose:c.setFalse,noPadding:!0,overflow:"hidden"},a.createElement(u.C,{url:e.youtubeUrl})))})},D=n(92805),N=n(64810),S=function(e){var t=(0,C.useTranslation)(["landing","home"]).t,n=(0,N.useStaticQuery)("2939386724"),i=[{name:"Nina",insomniaAge:t("testimonial_nina_insomnia_age",{ns:"home"}),image:n.nina.childImageSharp.gatsbyImageData,quote:t("testimonial_nina_quote",{ns:"home"}),beforeTimeInBed:481,beforeTimeAsleep:218,treatmentDuration:t("testimonial_nina_duration",{ns:"home"}),afterTimeInBed:411,afterTimeAsleep:382,youtubeUrl:"https://www.youtube.com/embed/cYOHjqfADYc",maxTime:617},{name:"Wania",insomniaAge:t("testimonial_wania_insomnia_age",{ns:"home"}),image:n.wania.childImageSharp.gatsbyImageData,quote:t("testimonial_wania_quote",{ns:"home"}),beforeTimeInBed:617,beforeTimeAsleep:330,treatmentDuration:t("testimonial_wania_duration",{ns:"home"}),afterTimeInBed:517,afterTimeAsleep:494,youtubeUrl:"https://www.youtube.com/embed/7goawFAZ0TQ",maxTime:617},{name:"Miquelina",insomniaAge:t("testimonial_miquelina_insomnia_age",{ns:"home"}),image:n.miquelina.childImageSharp.gatsbyImageData,quote:t("testimonial_miquelina_quote",{ns:"home"}),beforeTimeInBed:408,beforeTimeAsleep:336,treatmentDuration:t("testimonial_miquelina_duration",{ns:"home"}),afterTimeInBed:423,afterTimeAsleep:410,youtubeUrl:"https://www.youtube.com/embed/pIodWlLbhlE",maxTime:617}];return a.createElement("section",{id:"depoimentos"},a.createElement(o.xA,null,a.createElement(o.r7,null,t("section_testimonials_title")),a.createElement(o.fI,{center:"xs"},i.map(function(t,n){return a.createElement(o.fv,{xs:(0===n||e.showAllOnMobile)&&12,sm:6,md:3,key:t.name},a.createElement(B,t),a.createElement(o.wv,null))})),e.hideBottomLink||a.createElement(o.fI,{center:"xs"},a.createElement(o.fv,{xs:12},a.createElement(r.B,{id:"ga-testimonials",to:D.u_.testimonials.path,kind:"link",expanded:!0},t("button_see_more_stories"))))))}},77794:function(e,t,n){n.d(t,{a:function(){return r}});var r=function(e){return("0"+e).slice(-2)}}}]);
2//# sourceMappingURL=b941975d1edb9644c241268b3bb7e5a677119f1d-3986ca5b877dfff76835.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.