PageSourceSearch

https://www.lodestartech.com/65.3d748f1764d1fc6e8c4f.js

js lodestartech.com collected 2026-10-09 22:41:11 UTC 8,359 bytes, 65 lines download raw bytes

1/*! @version pwa-studio: 2.12, @magento/venia-ui: ~11.6.0, @magento/upward-security-headers: ~1.0.14, @magento/pwa-theme-venia: ~2.4.0, @magento/pwa-buildpack: ~11.5.4, @magento/peregrine: ~14.5.1, @magento/pagebuilder: ~9.3.3, @magento/eslint-config: ~1.5.0, @magento/babel-preset-peregrine: ~1.3.3, @apollo/client: ~3.13.8 */
2(window.webpackJsonp=window.webpackJsonp||[]).push([[65],{"4CK1":function(e,t,a){"use strict"
3var n,c=a("VkAN"),r=a.n(c),s=a("UYTu")
4const o=Object(s.d)(n||(n=r()(["\n    query GetReCaptchaV3Config {\n        recaptchaV3Config {\n            website_key\n            badge_position\n            language_code\n            forms\n        }\n    }\n"])))
5t.a={getReCaptchaV3ConfigQuery:o}},KOY7:function(e,t,a){"use strict"
6a.d(t,"a",function(){return c})
7var n=a("q1tI")
8const c=()=>{const[e,t]=Object(n.useState)(!1),a=Object(n.useCallback)(()=>{t(!e)},[e])
9return{handleBlur:Object(n.useCallback)(()=>{t(!1)},[]),togglePasswordVisibility:a,visible:e}}},MsnC:function(e,t,a){"use strict"
10a.d(t,"a",function(){return l})
11var n=a("q1tI"),c=a("+TN3"),r=a("hibG"),s=a("y1Xp"),o=a("4CK1")
12const l=e=>{var t,a,l,i
13const u=Object(s.a)(o.a,e.operations),{currentForm:d,formAction:b}=e,{data:g,error:p,loading:h}=Object(c.f)(u.getReCaptchaV3ConfigQuery,{fetchPolicy:"cache-and-network"})
14globalThis.recaptchaCallbacks||(globalThis.recaptchaCallbacks={})
15const[f,m]=Object(n.useState)(globalThis.hasOwnProperty("grecaptcha")),[O,y]=Object(n.useState)(!1),[v,j]=Object(n.useState)(null),[C,w]=Object(n.useState)(null),P=Object(n.useCallback)(e=>{null!==e&&w(e)},[]),E=null!=g&&null!==(t=g.recaptchaV3Config)&&void 0!==t&&t.badge_position&&g.recaptchaV3Config.badge_position.length>0?g.recaptchaV3Config.badge_position:"bottomright",k=null==g?void 0:null===(a=g.recaptchaV3Config)||void 0===a?void 0:a.website_key,T=null==g?void 0:null===(l=g.recaptchaV3Config)||void 0===l?void 0:l.language_code,I=(null==g?void 0:null===(i=g.recaptchaV3Config)||void 0===i?void 0:i.forms)||[],_=!(p instanceof Error)&&k&&k.length>0&&I.includes(d),q="inline"===E,N=new URL("https://www.google.com/recaptcha/api.js")
16N.searchParams.append("badge",E),N.searchParams.append("render",q?"explicit":k),N.searchParams.append("onload","onloadRecaptchaCallback"),T&&T.length>0&&N.searchParams.append("hl",T)
17const R=Object(r.a)(!f&&_?N:null),S=h||_&&!f&&"ready"!==R
18return Object(n.useEffect)(()=>{if(null!==C&&q&&f&&null===v)if("widgetId"in C.dataset)j(C.dataset.widgetId)
19else{const e=globalThis.grecaptcha.render(C,{sitekey:k,size:"invisible"})
20j(e),C.dataset.widgetId=e}},[f,q,k,v,C]),!globalThis.recaptchaCallbacks[b]&&_&&(globalThis.recaptchaCallbacks[b]=(()=>{if(!q){const e=document.getElementsByClassName("grecaptcha-badge")
21e&&e.length>0&&(e[0].style.zIndex=999)}m(!0)})),globalThis.onloadRecaptchaCallback=Object(n.useCallback)(()=>{for(const e in globalThis.recaptchaCallbacks)globalThis.recaptchaCallbacks[e]()
22globalThis.recaptchaCallbacks={}},[]),{recaptchaLoading:O||S,generateReCaptchaData:Object(n.useCallback)(async()=>{if(f)try{y(!0)
23const e={context:{headers:{"X-ReCaptcha":await globalThis.grecaptcha.execute(q?v:k,{action:b})}}}
24return y(!1),e}catch(e){y(!1)}return{}},[f,b,q,k,v]),recaptchaWidgetProps:{containerElement:P,shouldRender:!!(_&&q&&f)}}}},UPvi:function(e,t,a){"use strict"
25a.d(t,"a",function(){return f}),a.d(t,"c",function(){return m}),a.d(t,"b",function(){return y})
26var n,c=a("VkAN"),r=a.n(c),s=a("QILm"),o=a.n(s),l=a("q1tI"),i=a.n(l),u=a("UYTu"),d=a("+TN3"),b=a("rid2")
27const g=["children"],p=["children"],h=["children"]
28b.a.defaultProps.defer=!1
29const f=e=>{const{children:t}=e,a=o()(e,g)
30return i.a.createElement(b.a,null,i.a.createElement("meta",a,t))},m=e=>{const{children:t}=e,a=o()(e,p)
31return i.a.createElement(b.a,null,i.a.createElement("title",a,t))},O=Object(u.d)(n||(n=r()(["\n    query getStoreName {\n        # eslint-disable-next-line @graphql-eslint/require-id-when-available\n        storeConfig {\n            store_code\n            store_name\n        }\n    }\n"]))),y=e=>{const{children:t}=e,a=o()(e,h),{data:n}=Object(d.f)(O),c=Object(l.useMemo)(()=>n?n.storeConfig.store_name:"Lodestar Technology",[n])
32let r
33return r=t?"".concat(t," - ").concat(c):c,i.a.createElement(b.a,null,i.a.createElement("title",a,r))}},XX48:function(e,t,a){"use strict"
34a.r(t),a.d(t,"default",function(){return f})
35var n=a("q1tI"),c=a.n(n),r=a("17x9"),s=a("dDsW"),o=a("kriW"),l=a("fP3x"),i=a("gq/D"),u=a("UPvi"),d=a("LboF"),b=a.n(d),g=a("gtTR"),p={insert:"head",singleton:!1}
36b()(g.a,p),g.a.locals
37const h=e=>{const{createAccountProps:t}=Object(l.a)(e),{formatMessage:a}=Object(s.a)()
38return c.a.createElement("div",{className:"create-account-page page page--tertiary bg-light"},c.a.createElement("div",{className:"container"},c.a.createElement("header",{className:"row"},c.a.createElement("div",{className:"col-12"}
38,c.a.createElement(u.b,null,a({id:"createAccountPage.title",defaultMessage:"Create an Account"})),c.a.createElement("h1",{className:"hero hero--secondary"},c.a.createElement(o.a,{id:"createAccount.createAccountText",defaultMessage:"Create an Account"})))),c.a.createElement("section",{className:"page__content row justify-content-center"},c.a.createElement("div",{className:"col-12 col-md-8 col-xl-6"},c.a.createElement(i.a,t)))))}
39h.defaultProps={signedInRedirectUrl:"/products.html",signInPageUrl:"/sign-in"},h.propTypes={signedInRedirectUrl:r.string,signInPageUrl:r.string}
40var f=h},dhg2:function(e,t,a){"use strict"
41a.d(t,"a",function(){return o})
42var n,c=a("VkAN"),r=a.n(c),s=a("UYTu")
43const o=Object(s.d)(n||(n=r()(["\n    fragment CheckoutPageFragment on Cart {\n        id\n        # eslint-disable-next-line @graphql-eslint/require-id-when-available\n        items {\n            uid\n            # eslint-disable-next-line @graphql-eslint/require-id-when-available\n            product {\n                uid\n                stock_status\n            }\n        }\n        # If total quantity is falsy we render empty.\n        total_quantity\n        available_payment_methods {\n            code\n        }\n    }\n"])))},fP3x:function(e,t,a){"use strict"
44a.d(t,"a",function(){return i})
45var n=a("lSNA"),c=a.n(n),r=a("q1tI"),s=a("Ty5D"),o=a("FITH")
46function ownKeys(e,t){var a=Object.keys(e)
47if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e)
48t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),a.push.apply(a,n)}return a}function _objectSpread(e){for(var t=1;t<arguments.length;t++){var a=null!=arguments[t]?arguments[t]:{}
49t%2?ownKeys(Object(a),!0).forEach(function(t){c()(e,t,a[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(a)):ownKeys(Object(a)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(a,t))})}return e}const l=["email","firstName","lastName"],i=e=>{const{signedInRedirectUrl:t,signInPageUrl:a}=e,n=Object(s.g)(),[{isSignedIn:c}]=Object(o.b)(),{search:i}=Object(s.h)(),u=Object(r.useMemo)(()=>n&&n.location.state?n.location.state:{},[n]),d=u.from||null
50Object(r.useEffect)(()=>{c&&(d||t)&&n.push(d||t)},[d,n,c,t])
51const b=Object(r.useCallback)(()=>{a&&n.push(a,u)},[n,u,a])
52return{createAccountProps:{initialValues:Object(r.useMemo)(()=>(e=>{const t=new URLSearchParams(e)
53return l.reduce((e,a)=>_objectSpread(_objectSpread({},e),{},{[a]:t.get(a)}),{})})(i),[i]),isCancelButtonHidden:!1,onCancel:b}}}},gtTR:function(e,t,a){"use strict"
54var n=a("denP"),c=a.n(n),r=a("JPst"),s=a.n(r)()(c.a)
55s.push([e.i,"","",{version:3,sources:[],names:[],mappings:"",sourceRoot:""}]),s.locals={},t.a=s},hibG:function(e,t,a){"use strict"
56a.d(t,"a",function(){return c})
57var n=a("q1tI")
58const c=e=>{const[t,a]=Object(n.useState)(e?"loading":"idle")
59return Object(n.useEffect)(()=>{if(!e)return void a("idle")
60let t=document.querySelector('script[src="'.concat(e,'"]'))
61if(t)a(t.getAttribute("data-status"))
62else{(t=document.createElement("script")).src=e,t.async=!0,t.setAttribute("data-status","loading"),document.body.appendChild(t)
63const a=e=>{t.setAttribute("data-status","load"===e.type?"ready":"error")}
64t.addEventListener("load",a),t.addEventListener("error",a)}const n=e=>{a("load"===e.type?"ready":"error")}
65return t.addEventListener("load",n),t.addEventListener("error",n),()=>{t&&(t.removeEventListener("load",n),t.removeEventListener("error",n))}},[e]),t}}}])

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.