PageSourceSearch

https://cdn.stonly.com/website/def43109/build/_shared/chunk-ZVUBXAYB.js

js stonly.com collected 2026-09-24 08:38:27 UTC 11,872 bytes, 95 lines download raw bytes

1import{a as Et}from"https://cdn.stonly.com/website/def43109/build/_shared/chunk-MGP66766.js";import{i as w,j as v,m as H}from"https://cdn.stonly.com/website/def43109/build/_shared/chunk-RN4UBHQU.js";import{a as U,f as M}from"https://cdn.stonly.com/website/def43109/build/_shared/chunk-4522FDYF.js";import{a as R,b as z,c as d}from"https://cdn.stonly.com/website/def43109/build/_shared/chunk-62HR36CZ.js";import{c as B,e as y,h as i,i as s,j as c,l as u,n as f}from"https://cdn.stonly.com/website/def43109/build/_shared/chunk-L7PPNJWH.js";var Q=B((ee,K)=>{"use strict";i();s();c();f();u();K.exports=function(t){return encodeURIComponent(t).replace(/[!'()*]/g,function(r){return"%"+r.charCodeAt(0).toString(16).toUpperCase()})}});var Y=B((se,Z)=>{"use strict";i();s();c();f();u();var G=Object.getOwnPropertySymbols,Lt=Object.prototype.hasOwnProperty,Dt=Object.prototype.propertyIsEnumerable;function Pt(t){if(t==null)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(t)}function kt(){try{if(!Object.assign)return!1;var t=new String("abc");if(t[5]="de",Object.getOwnPropertyNames(t)[0]==="5")return!1;for(var r={},e=0;e<10;e++)r["_"+String.fromCharCode(e)]=e;var o=Object.getOwnPropertyNames(r).map(function(a){return r[a]});if(o.join("")!=="0123456789")return!1;var n={};return"abcdefghijklmnopqrst".split("").forEach(function(a){n[a]=a}),Object.keys(Object.assign({},n)).join("")==="abcdefghijklmnopqrst"}catch{return!1}}Z.exports=kt()?Object.assign:function(t,r){for(var e,o=Pt(t),n,a=1;a<arguments.length;a++){e=Object(arguments[a]);for(var p in e)Lt.call(e,p)&&(o[p]=e[p]);if(G){n=G(e);for(var l=0;l<n.length;l++)Dt.call(e,n[l])&&(o[n[l]]=e[n[l]])}}return o}});var et=B((de,tt)=>{"use strict";i();s();c();f();u();var X="%[a-f0-9]{2}",J=new RegExp("("+X+")|([^%]+?)","gi"),V=new RegExp("("+X+")+","gi");function _(t,r){try{return[decodeURIComponent(t.join(""))]}catch{}if(t.length===1)return t;r=r||1;var e=t.slice(0,r),o=t.slice(r);return Array.prototype.concat.call([],_(e),_(o))}function Rt(t){try{return decodeURIComponent(t)}catch{for(var r=t.match(J)||[],e=1;e<r.length;e++)t=_(r,e).join(""),r=t.match(J)||[];return t}}function _t(t){for(var r={"%FE%FF":"\uFFFD\uFFFD","%FF%FE":"\uFFFD\uFFFD"},e=V.exec(t);e;){try{r[e[0]]=decodeURIComponent(e[0])}catch{var o=Rt(e[0]);o!==e[0]&&(r[e[0]]=o)}e=V.exec(t)}r["%C2"]="\uFFFD";for(var n=Object.keys(r),a=0;a<n.length;a++){var p=n[a];t=t.replace(new RegExp(p,"g"),r[p])}return t}tt.exports=function(t){if(typeof t!="string")throw new TypeError("Expected `encodedURI` to be of type `string`, got `"+typeof t+"`");try{return t=t.replace(/\+/g," "),decodeURIComponent(t)}catch{return _t(t)}}});var A=B(j=>{"use strict";i();s();c();f();u();var At=Q(),nt=Y(),rt=et();function Nt(t){switch(t.arrayFormat){case"index":return function(r,e,o){return e===null?[m(r,t),"[",o,"]"].join(""):[m(r,t),"[",m(o,t),"]=",m(e,t)].join("")};case"bracket":return function(r,e){return e===null?m(r,t):[m(r,t),"[]=",m(e,t)].join("")};default:return function(r,e){return e===null?m(r,t):[m(r,t),"=",m(e,t)].join("")}}}function Tt(t){var r;switch(t.arrayFormat){case"index":return function(e,o,n){if(r=/\[(\d*)\]$/.exec(e),e=e.replace(/\[\d*\]$/,""),!r){n[e]=o;return}n[e]===void 0&&(n[e]={}),n[e][r[1]]=o};case"bracket":return function(e,o,n){if(r=/(\[\])$/.exec(e),e=e.replace(/\[\]$/,""),r){if(n[e]===void 0){n[e]=[o];return}}else{n[e]=o;return}n[e]=[].concat(n[e],o)};default:return function(e,o,n){if(n[e]===void 0){n[e]=o;return}n[e]=[].concat(n[e],o)}}}function m(t,r){return r.encode?r.strict?At(t):encodeURIComponent(t):t}function ot(t){return Array.isArray(t)?t.sort():typeof t=="object"?ot(Object.keys(t)).sort(function(r,e){return Number(r)-Number(e)}).map(function(r){return t[r]}):t}function at(t){var r=t.indexOf("?");return r===-1?"":t.slice(r+1)}function it(t,r){r=nt({arrayFormat:"none"},r);var e=Tt(r),o=Object.create(null);return typeof t!="string"||(t=t.trim().replace(/^[?#&]/,""),!t)?o:(t.split("&").forEach(function(n){var a=n.replace(/\+/g," ").split("="),p=a.shift(),l=a.length>0?a.join("="):void 0;l=l===void 0?null:rt(l),e(rt(p),l,o)}),Object.keys(o).sort().reduce(function(n,a){var p=o[a];return Boolean(p)&&typeof p=="object"&&!Array.isArray(p)?n[a]=ot(p):n[a]=p,n},Object.create(null)))}j.extract=at;j.parse=it;j.stringify=function(t,r){var e={encode:!0,strict:!0,arrayFormat:"none"};r=nt(e,r),r.sort===!1&&(r.sort=function(){});var o=Nt(r);return t?Object.keys(t).sort(r.sort).map(function(n){var a=t[n];if(a===void 0)return"";if(a===null)return m(n,r);if(Array.isArray(a)){var p=[];
1return a.slice().forEach(function(l){l!==void 0&&p.push(o(n,l,p.length))}),p.join("&")}return m(n,r)+"="+m(a,r)}).filter(function(n){return n.length>0}).join("&"):""};j.parseUrl=function(t,r){return{url:t.split("?")[0]||"",query:it(at(t),r)}}});var ct=B((je,st)=>{i();s();c();f();u();st.exports={middleware:function(t,r,e){throw new Error("`middleware` cannot be called from the browser code.")},get:function(t){return null},set:function(t,r){}}});i();s();c();f();u();var ut=y(ct()),ft=y(A());var Wt=/\/hc\/([A-Za-z]{2,3})-?([\dA-Za-z]{2,3})?\/?/,qt=395,Mt=24*60*60*1e3;function zt(t){if(typeof window!="undefined"){let r={cookie:document.cookie,referrer:document.referrer||"",languages:window.navigator.languages,userAgent:window.navigator.userAgent,location:document.location,siteLanguage:window.siteLanguage||"",host:window.location.host,csrfToken:window.csrfToken};if(document.referrer&&!r.siteLanguage){let o=document.referrer.match(Wt);if(o){let[,n]=o;r.siteLanguage=n}}let e=ft.default.parse(document.location.search);return e.lang&&!r.siteLanguage&&(r.siteLanguage=e.lang),e.widgetRuleId&&(r.widgetRuleId=e.widgetRuleId),r[t]===void 0?window[t]:r[t]}return ut.default.get(t)}function Ht(){return zt("cookie")}function $(t,r,e){let o=d.stonlyConfig==="docker"||d.stonlyConfig==="srv_test",n=o?document.domain:document.domain.match(/[^.]*\.[^.]*$/)[0],a=e?`max-age=${e};`:"",p=o?"":"SameSite=None; Secure",l=new Date(Date.now()+qt*Mt);document.cookie=`${t}=${r}; domain=${n}; path=/; expires=${l.toUTCString()};${a}${p}`}var Kt=t=>{try{return decodeURIComponent(t)}catch{return t}};function lt(){return Ht().split(";").reduce((t,r)=>{let[e,o]=r.trim().split("=").map(Kt);try{return Object.assign(t,{[e]:JSON.parse(o)})}catch{return Object.assign(t,{[e]:o})}},{})}i();s();c();f();u();var pt=y(R()),Qt=pt.default.createContext(null),dt=Qt;i();s();c();f();u();var gt=y(R());function mt(){return(0,gt.useContext)(dt)}var ht=()=>{let t=mt();return t?(Object==null?void 0:Object.keys(t).length)!==0:!1};i();s();c();f();u();i();s();c();f();u();var yt=y(A()),F=(t,r)=>{if(t.startsWith("#"))return t;let e;try{e=new URL(t)}catch(n){return console.error(`attachCurrentQueryParams: invalid buttonLink url "${t}"`,n),t}let o=yt.default.parse(r.search);return Object.entries(o).forEach(([n,a])=>{a&&(e.searchParams.has(n)?e.searchParams.set(n,a):e.searchParams.append(n,a))}),e=e.toString(),e};var Gt={},xt=()=>{if(typeof document=="undefined")return null;let t=lt();return(t==null?void 0:t.stonly_last_login_dc)||null},Zt=()=>xt()==="us"?d.usAppUrl:d.appUrl,wt=()=>typeof document=="undefined"?d.playerUrl:xt()==="us"?d.usPlayerUrl:d.playerUrl,Yt=t=>
1{if(t&&typeof t=="string")$("returnUrl",encodeURIComponent(t));else{let r=Zt();$("returnUrl",encodeURIComponent(`${r}/app/general`))}},Jt=({ssoCookie:t}={})=>{let r=ht(),e=U(),o=`${d.stonlyGettingStartedLink}`;return{onOpenSignIn:l=>{l==null||l.preventDefault();let x=wt();window.location.href=t?`${x}/authentication/signInWithSSO`:`${x}/authentication`},onOpenSignUp:({returnUrl:l,postAuthenticationAction:x}=Gt)=>{if(r){window.location.href=`${d.appUrl}/app/general`;return}Yt(l),x&&typeof x=="string"&&$("postAuthenticationAction",x),window.location.href=F(o,e)},getSignInUrl:()=>{let l=wt();return t?`${l}/authentication/signInWithSSO`:`${l}/authentication`}}},bt=Jt;i();s();c();f();u();var Ct=t=>{t&&window.scrollTo({top:t.offsetTop,behavior:"smooth"})};i();s();c();f();u();i();s();c();f();u();var L=y(R()),g=y(Et());i();s();c();f();u();var vt=v.button.withConfig({componentId:"sc-1y7eatb-0",displayName:"BaseButton.styles__Button"})`
2  border: none;
3  background: transparent;
4  -webkit-appearance: none;
5  -webkit-tap-highlight-color: transparent;
6  text-decoration: none;
7  outline: none;
8  border-radius: 200px;
9  padding: 0;
10  width: max-content;
11  color: inherit;
12
13  ${({$fullWidth:t})=>t&&w`
14      width: 100%;
15    `}
16`,I=v.div.withConfig({componentId:"sc-1y7eatb-1",displayName:"BaseButton.styles__ButtonBody"})`
17  position: relative;
18  display: inline-flex;
19  padding: 13px 24px 11px 24px;
20  height: 48px;
21  align-items: center;
22  justify-content: center;
23  text-transform: none;
24  font-weight: 500;
25  font-size: 16px;
26  line-height: 20px;
27  border-radius: 200px;
28  cursor: pointer;
29  font-family: Graphik, sans-serif;
30  max-width: 250px;
31
32  &:first-letter {
33    text-transform: uppercase !important;
34  }
35
36  ${({$disabled:t})=>t&&w`
37      pointer-events: none;
38    `}
39
40  ${({$fullWidth:t})=>t&&w`
41      width: 100%;
42      max-width: unset;
43    `}
44
45  ${({$isTextLong:t})=>t&&w`
46      max-width: unset;
47      height: auto !important;
48      min-height: 40px;
49    `}
50
51  ${({$small:t})=>t&&w`
52      height: 40px;
53      padding: 8px 20px;
54      font-size: 14px;
55    `}
56  
57  body.navigating-with-keyboard &:focus {
58    box-shadow: 0 0 0 2px white, 0 0 0 4px ${t=>t.theme.turquoise};
59  }
60
61  @media (max-width: ${H.SM}) {
62    padding: 8px 20px;
63  }
64`,Ot=v.a.withConfig({componentId:"sc-1y7eatb-2",displayName:"BaseButton.styles__ExternalLink"})``,E=v.span.withConfig({componentId:"sc-1y7eatb-3",displayName:"BaseButton.styles__ButtonChildrenWrap"})`
65  display: block;
66  text-align: center;
67`;var h=y(z()),Bt=L.default.forwardRef(({className:t,ariaLabel:r,children:e,buttonLink:o,onClick:n,fullWidth:a,isButtonExternal:p,usage:l,small:x,buttonDataCta:St,openUrlInNewTab:S,disableDefaultOnClick:N,...Ut},$t)=>{let{onOpenSignUp:Ft}=bt(),O=(o==null?void 0:o.url)||null,T=U(),W=p||O&&!O.includes(d.playerUrl),b=(0,L.useMemo)(()=>{if(O)return F(O,T).replace(d.playerUrl,"")||"/"},[O,T]),D=typeof b=="string"&&b.startsWith("#")&&!S,q=()=>{n?n():O||Ft()},P=C=>{C.preventDefault(),Ct(document.getElementById(b.slice(1)))},It=C=>{(C.key==="Enter"||C.key===" ")&&(C.preventDefault(),N||q(),D&&P(C))},k={ref:$t,className:t,tabIndex:0,type:"button","data-cta":St,"aria-label":r||(typeof e=="string"?e:void 0),$isTextLong:typeof e=="string"&&e.length>20,$small:x,$fullWidth:a,onClick:N?null:q,onKeyDown:It,...Ut};return(0,h.jsxs)(vt,{$fullWidth:a,children:[!b&&(0,h.jsx)(I,{...k,children:(0,h.jsx)(E,{children:e})}),b&&!W&&(0,h.jsx)(M,{to:b,target:S?"_blank":"",onClick:D?P:void 0,children:(0,h.jsx)(I,{...k,children:(0,h.jsx)(E,{children:e})})}),b&&W&&(0,h.jsx)(Ot,{href:b,target:S?"_blank":"",rel:S?"noopener":"",onClick:D?P:void 0,children:(0,h.jsx)(I,{...k,children:(0,h.jsx)(E,{children:e})})})]})}),Vt={className:g.default.string,ariaLabel:g.default.string,fullWidth:g.default.bool,children:g.default.oneOfType([g.default.string,g.default.func,g.default.element,g.default.object,g.default.array,g.default.node]),isButtonExternal:g.default.bool,small:g.default.bool,buttonDataCta:g.default.string};Bt.propTypes=Vt;var jt=Bt;var Xt=w`
68  transition: all 0.2s, background-color 0.2s;
69  color: ${t=>t.theme.white};
70
71  & svg path {
72    fill: ${t=>t.theme.white};
73    transition: fill 0.2s;
74  }
75
76  ${({theme:t})=>w`
77    background: ${r=>r.theme.raspberry};
78
79    &:hover,
80    &:active {
81      background: ${t.darkRaspberry};
82    }
83  `}
84`,Mr=v(jt).withConfig({componentId:"sc-ww81wt-0",displayName:"PrimaryButton"})`
85  ${Xt};
86`;export{A as a,zt as b,Ht as c,$ as d,lt as e,vt as f,dt as g,mt as h,ht as i,bt as j,Ct as k,jt as l,Mr as m};
87/*! Bundled license information:
88
89object-assign/index.js:
90  (*
91  object-assign
92  (c) Sindre Sorhus
93  @license MIT
94  *)
95*/

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.