PageSourceSearch

https://www.paulaschoice.com/on/demandware.static/Sites-paulaschoi…/static/js/2399.956406d805a6c7e577fe.js

js paulaschoice.com collected 2026-09-24 17:09:26 UTC 2,691 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunksite=self.webpackChunksite||[]).push([[2399],{12399:(e,t,n)=>{n.r(t),n.d(t,{default:()=>y});var i=n(14041),d=n(53057),l=n(23324),a=n(84883),r=d.Ay.div.withConfig({displayName:"CalendlyEmbedstyles__Wrapper",componentId:"sc-trkz8s-0"})(["width:100%;box-sizing:border-box;"]),s=d.Ay.div.withConfig({displayName:"CalendlyEmbedstyles__Header",componentId:"sc-trkz8s-1"})(["display:flex;justify-content:center;align-items:baseline;margin-bottom:45px;@media screen and (max-width:","){margin-bottom:35px;}"],l.A.mobileWidth),o=(0,d.Ay)(a.Ay).withConfig({displayName:"CalendlyEmbedstyles__HeaderText",componentId:"sc-trkz8s-2"})(["width:100%;text-align:center;"]),c=d.Ay.div.withConfig({displayName:"CalendlyEmbedstyles__WidgetViewport",componentId:"sc-trkz8s-3"})(["width:100%;box-sizing:border-box;min-height:800px;overflow:hidden;@media screen and (max-width:","){min-height:600px;}"],l.A.mobileMaxWidth),m=d.Ay.div.withConfig({displayName:"CalendlyEmbedstyles__WidgetOffset",componentId:"sc-trkz8s-4"})(["width:100%;transform:translateY(-56px);min-height:calc(800px + 56px);@media screen and (max-width:","){min-height:calc(600px + 56px);}"],l.A.mobileMaxWidth),u=d.Ay.div.withConfig({displayName:"CalendlyEmbedstyles__InlineWidget",componentId:"sc-trkz8s-5"})(["width:100%;box-sizing:border-box;min-height:800px;iframe{display:block;width:100%;border:0;}@media screen and (max-width:","){min-height:600px;}"],l.A.mobileMaxWidth),h=l.A.mobileWidthValue,p="https://assets.calendly.com/assets/external/widget.js";const y=function(e){var t=e.data,n=t.cmsData,d=(0,i.useRef)(null);return(0,i.useEffect)((function(){if(null!=n&&n.url){var e=function(){window.Calendly&&d.current&&(d.current.innerHTML="",window.Calendly.initInlineWidget({url:n.url,parentElement:d.current}))};if(document.querySelector('script[src="'.concat(p,'"]')))e();else{var t=document.createElement("script");t.src=p,t.async=!0,t.onload=e,document.body.appendChild(t)}}}),[null==n?void 0:n.url]),(0,i.useEffect)((function(){var e=function(e){var t;"https://calendly.com"===e.origin&&"calendly.event_scheduled"===(null===(t=e.data)||void 0===t?void 0:t.event)&&(window.innerWidth<h&&d.current&&setTimeout((function(){var e;null===(e=d.current)||void 0===e||e.scrollIntoView({behavior:"smooth",block:"end"})}),300))};return window.addEventListener("message",e),function(){return window.removeEventListener("message",e)}}),[]),n&&n.url?i.createElement(r,null,n.header&&i.createElement(s,null,i.createElement(o,{text:n.header,assetId:t.id})),i.createElement(c,null,i.createElement(m,null,i.createElement(u,{ref:d,className:"calendly-inline-widget","data-url":n.url,"data-resize":"true"})))):null}}}]);

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.