PageSourceSearch

https://andplants.jp/cdn/shopifycloud/checkout-web/assets/c1/73a9b0a0.CQfFMcRa.js

js andplants.jp collected 2026-10-02 18:06:49 UTC 12,739 bytes, 2 lines download raw bytes

1const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["05aacf00.4eHLuujE.js","2c1ab0fe.GMbxnz74.js","164ad2e3.BmqNdq2P.js","4c290a1e.2OXqqQwu.js","app.iZwEIta_.js","assets/app.BuSMBobh.css","assets/previous.Cyrg41An.css","9f047e05.Bp-gLL-x.js","0a7dffce.BIRsKacx.js","5fda1420.C7SyMXTh.js","60a453ce.fEeMtJEq.js","21cc90a2.BYvnDDaS.js","bb728e1c.D-ELh9cQ.js","assets/helpers.CWAfD7H_.css","53bbdad9.Z4N3tZKQ.js","137622f3.BmZtJbLW.js","47b970b2.B-hNfQZG.js","29034f35.B7Z7JU9E.js","ac5a19ff.DlwW5UC8.js","0727407f.C7yJLDwL.js","assets/PhoneField.-WW1pYgW.css","91319467.DppLddIz.js","0e67bd3b.DOcRijTT.js","74835653.BSuX4rG5.js","31cc568e.udVq2alB.js","assets/index.CiYh36Pk.css","064f6ac1.DqrP83xw.js","assets/Popover.Bi1nHaU-.css","efa0389a.BaeWUwuC.js","assets/Choice.CIaVEvsx.css","assets/BillingAddressForm.2HXntA0X.css","86720dbb.Ct5aj3SV.js","bff2ff9b.dZiLBpKk.js","dfca5da5.Fvk36gmC.js","assets/Section.CU18S7Ap.css","55098bf1.8h6_nu_5.js","f3fe2775.ChzXrCys.js","598fef4e.DTBD4kzt.js","assets/PaymentIcon.DUuFvlux.css","e77f7fe0.Cq2mLjfT.js","assets/PaymentLine.B_vs66ws.css","a422df8c.Dcy8n41E.js","assets/EmptyState.CZwDb_Yh.css","cc6ff67d.BpIrWxUy.js","08a3b809.C53JtSED.js","87bfafec.Beljf8If.js","e39bc11c.mSpfzD2E.js","cf29e63b.B2McWB3h.js","assets/hasViolationsIgnoringCodes.CQ_TUsw-.css","7a8217fd.DRC5-yl-.js","assets/useShopPayProgressIntercepts.DIc3vsmn.css","e477f96c.C25EBhFr.js","7114e006.CeS-dcri.js","f692f62f.DHgy7Fzw.js","assets/RedirectionNotice.B8v_QGNW.css","b684bff6.9cHCtOaB.js","assets/MissingFields.BbxB_6wt.css","6720fa5f.DvQHpC_1.js","assets/Rollup.DH9hPBhl.css","58314944.ZUK41gg1.js","assets/PaymentMethodProgressionHost.DAMvZY87.css","e0989459.CCPu1541.js","assets/RememberMe.DPtC9XKn.css"])))=>i.map(i=>d[i]);
2import{t as e,l as a,s as n,m as t,u as r,x as l,w as i,q as s,T as o,v as c,_ as d,S as u,o as p,p as m}from"./2c1ab0fe.GMbxnz74.js";import{bX as h,i as b,B as _,c_ as v,bi as y,c$ as f,d0 as g,bF as P,d1 as I,c as k,H as E,P as S,cm as C,a3 as O,b as w,o as x,c3 as B,ah as L,L as M,l as R,J as N,cx as z}from"./164ad2e3.BmqNdq2P.js";import{S as A,T as F,F as T,v as j,aZ as D,W as V,b0 as q,w as W,cq as G,bq as K,y as $,cM as H,cN as X,c6 as Z,cO as U,Z as J,bk as Y,bm as Q,cg as ee,bj as ae,X as ne,_ as te,cP as re,ak as le}from"./4c290a1e.2OXqqQwu.js";import{v as ie}from"./91319467.DppLddIz.js";import{u as se}from"./0e67bd3b.DOcRijTT.js";import{u as oe,a as ce,b as de,g as ue,c as pe,d as me}from"./86720dbb.Ct5aj3SV.js";import{a as he}from"./87bfafec.Beljf8If.js";import{u as be}from"./e0989459.CCPu1541.js";import{_ as _e}from"./app.iZwEIta_.js";import{a as ve,b as ye}from"./53bbdad9.Z4N3tZKQ.js";const fe="shop_pay_approval_id";function ge(){const{shop:a}=A(),{paymentMethods:n}=F();return e(()=>a.hasFlagEnabled(T)&&j(n.value))}function Pe(){const{observability:e,shop:l}=A(),{checkoutProtocolModalEventSignal:i}=D(),s=V(),o=h(),{negotiate:c}=b(),d=a(null),u=a(""),p=a(""),m=l.hasFlagEnabled(q),v=n(()=>{const a=d.current?.value.trim()??"";if(!a||a===u.current)return;const n=function(e,a){return ie(e)?"7"!==e[14]?"uuid_v7_required":a?void 0:"payment_not_required":"malformed_uuid"}(a,o.value);if(n)return void(p.current!==a&&(p.current=a,e.counter({name:"shop_pay_approval_id_field_discarded",value:1,attributes:{reason:n}}),e.histogram({name:"shop_pay_approval_id_field_discarded_length",value:a.length,attributes:{reason:n}}),e.log("shop_pay_approval_id_field_discarded","Shop Pay approval id discarded before negotiation",{reason:n,valueLength:a.length})));u.current=a,e.counter({name:"shop_pay_approval_id_field_applied",value:1,attributes:{verificationOpen:"shopPayVerification"===i.peek()}});const t={method:{type:"shopWallet",shopPayApprovalId:a}};s.paymentLines.value=W(s.paymentLines.value,t),s.generalPaymentError.value=void 0,s.generalPaymentErrorCode.value=void 0,c({})},[i,c,e,s,o]);return t(()=>{const e=setInterval(v,250);return()=>clearInterval(e)},[v]),r(_,{accessibilityVisibility:"exclusive",children:r("input",{ref:d,type:"text",tabIndex:-1,"aria-hidden":!0,id:fe,name:fe,autoComplete:"off",onInput:m?v:void 0})})}function Ie({localizationExtension:e,index:a}){const n=G(),{negotiate:i}
2=b(),[s,o]=l(),[c,d]=l(),u=K(e.fields.value,n),p=e.fields.title.value,{localizedFieldErrors:m}=v().value,h=`$.cart.localizedField.${e.peek().key}`,_=`$.localizationExtension[${a}]`,g=m.find(({target:e})=>e===h),P=e=>{const a=e.violations?.find(e=>{const{code:a,localizedMessage:n,nonLocalizedMessage:t,target:r}=e;if("LOCALIZATION_EXTENSION_FIELD_ERROR"===a&&r===_)return n??t});if(!a)return;const{localizedMessage:n,nonLocalizedMessage:t}=a;return n??t};return t(()=>{n.value=g?g.message:c||void 0},[n,g,c,s]),y(e=>{d(P(e)),o("submit")}),r(f,{...u,label:p,name:p,onBlur:()=>{u.onBlur(),o(void 0),d(void 0),i({legacyFiltering:{include:[]},fieldsToResolve:["localizationExtensions"],silenceViolations:$(["localizationExtensions"]),onComplete:e=>{d(P(e)),o("blur")}})},value:u.value??void 0})}function ke(){const{checkout:a,i18n:n,shop:t}=A(),{paymentMethods:l}=F(),s=g(),o=se(),c=e(()=>t.hasFlagEnabled(H)&&function({identity:e}){return["guest","customerAccount"].includes(e.current.value)}({identity:a.identity})&&o.value&&s.value&&X(l.value));return r(i,{when:c,children:r(_,{paddingBlockStart:"small-200",children:r(P,{tone:"info",children:n.translate("payment.shop_pay_hsa.login_message")})})})}function Ee({headingId:e,autoFocus:t}){const{i18n:l}=A(),i=I().value?`${l.translate("payment.billing_must_match_shipping_notice")} `:"",c=l.translate("payment.card_security_notice"),{title:d,creditCardInline:u}=function(){const{i18n:e,checkout:a}=A(),{identity:n}=a,{displayedPaymentMethods:t}=oe({experienceType:"list"}),r=ce(t),l=function(e,a){return"shopPay"===e.current.value&&a}(n,a.installments.paymentMethodMustSupportDebitCardOnly.value),i=de(),s=he(),c=!(null!==ue(n,s.value)||i.value.freeOrder||i.value.giftCard||i.value.storeCredit||i.value.redeemables)&&"singlePaymentMethodCreditCard"===r.mode;return o(()=>function(e,a,n,t){const r={title:a.translate("payment.title")};if(!n)return r;const[l]=e;return"direct"!==l?.type?r:{title:t?a.translate("payment.pay_with_debit_card"):a.translate("payment.pay_with_credit_card"),creditCardInline:{paymentBrands:l.paymentBrands,cardNetworkStateKey:Z(l)}}}(t,e,c,l),[t,e,c,l])}(),{ref:p,isMultiline:m}=function(){const e=s(!1),t=a(null);return{ref:n(a=>{if(t.current?.disconnect(),t.current=null,!a)return;const n=()=>{const n=a.ownerDocument.createRange();n.selectNodeContents(a);const t=n.getClientRects;e.value="function"==typeof t&&Array.from(t.call(n)).filter(({width:e})=>e>0).length>1};if(n(),"undefined"==typeof ResizeObserver)return;const r=new ResizeObserver(n);r.observe(a),t.current=r},[e]),isMultiline:e}}();return r(k,{gap:u?"small-300":"small-400",children:[r(k,{direction:"inline",gap:"small-200",alignItems:"end",className:"zA7WO",children:[r("div",{className:"bIqDC",children:r(E,{id:e,level:1,autoFocus:t,children:r("span",{ref:p,className:"jGvwB",children:d})})}),u&&r(Se,{cardNetworkStateKey:u.cardNetworkStateKey,availableBrands:u.paymentBrands,headingIsMultiline:m.value})]}),r(S,{color:"subdued",children:i+c}),r(ke,{})]})}function Se({cardNetworkStateKey:e,availableBrands:a,headingIsMultiline:n=!1}){const{checkout:{cardNetworkSelection:t}}=A(),l=t.forMethod(e),i=a.filter(U),s=l.networkSelectionEnabled.value&&l.selectableBrands.value.length>1,{ref:o,overflowIndicatorRef:d,maxVisibleBrands:u}=pe(i.length);return 0===i.length?null:r("div",{ref:o,className:c("haX3x",s&&"_5Jkpa",n&&"iq64C"),children:r(k,{direction:"inline",gap:"none",alignItems:"center",justifyContent:"end",className:"_1OE8N",children:r(me,{animate:!0,availableBrands:a,selectableBrands:l.selectableBrands.value,activeBrand:l.activeBrand.value,savedCardBrand:l.selectedSavedCreditCardBrand.value,onSelectBrand:l.setSelectedNetwork,networkSelectionEnabled:l.networkSelectionEnabled.value,binLength:l.bankIdNumberLength.value,viewTransitionKey:e,maxVisibleBrands:u.value,overflowIndicatorRef:d,announceNetworkSelector:!0,announceOverflowBrands:!0})})})}const Ce=["AT","BE","BG","HR","CY","CZ","DK","EE","FI","FR","GF","DE","GR","HU","IE","IT","LV","LT","LU","MT","NL","PL","PT","RO","SK","SI","ES","SE","IS","LI","NO","CH","GB"],Oe=e=>Ce.includes(e);function we(){const e=Y.ShopPayRememberMeOptOut;return{storeOptOutPreference:n(a=>{a?Q(e,a):ee(e)},[e]),getOptOutPreference:n(()=>ae(e),[e])}}function xe(){const{geolocation:e}=C(),{router:a,shop:n}
2=A(),t=a.currentUrl.value,r=J(t.searchParams),l=V().shopPayArtifact.value,{getOptOutPreference:i}=we(),o=s(!0);if(d(()=>{o.value=Boolean(i())},[i,o]),!(n.shopPayRememberMeAutoOptinEnabled??!0))return{autoOptIn:!1,isOptedIn:!1};const c=!Oe(e.country.code)&&!r&&!o.value;return{autoOptIn:c,isOptedIn:c&&!1!==l?.optIn}}function Be({busy:e,children:a,title:n,compact:t}){return t?r(O,{accessibilityLabel:n,children:r(k,{gap:"base",children:r("div",{"aria-busy":e||void 0,children:a})})}):r(u,{children:[r("div",{"aria-busy":e||void 0,"aria-label":n,role:"group",children:a}),r(w,{blockSize:"large-300"})]})}function Le({buyerPhone:e,isApplePayWalletSelected:a,requiresExplicitConsent:n,validatedProposedPhone:t}){return e?"standard":n?a?"gdprCheckboxOnly":t?"gdprCheckboxWithPhone":"standaloneGdprPhone":"noInputRow"}function Me(e){const a=V(),{shop:n}=A(),t=!n.hasFlagEnabled(ne)&&Boolean(te(a.paymentLines.value,"APPLE_PAY")),r=function(){const{geolocation:e}=C();return Oe(e.country.code)}(),l=ve(),i=ye(e??l.value).value;return{kind:Le({buyerPhone:a.phone.value,isApplePayWalletSelected:t,requiresExplicitConsent:r,validatedProposedPhone:i}),isApplePayWalletSelected:t,requiresExplicitConsent:r,validatedProposedPhone:i}}function Re({title:e,compact:a}){const{i18n:n,shop:{name:t}}=A(),l=V(),{shopPayArtifact:i}=l,{isOptedIn:s}=xe(),o=Boolean(i.value?.optIn)||s,c=re().value??!1,{kind:d}=Me(),u={terms_href:n.translate("shop_pay_remember_me.terms"),privacy_href:n.translate("shop_pay_remember_me.privacy_policy")},p=c?n.translate("shop_pay_remember_me.consent_by_completing_order",u):n.translate("shop_pay_remember_me.consent_by_paying",u),m=n.translate("shop_pay_remember_me.value_prop_shop_name_verbose",{shop_name:t}),h=n.translate("shop_pay_remember_me.consent_with_phone",u),b=n.translate("shop_pay_remember_me.consent_with_email",u),v=n.translate("shop_pay_remember_me.consent_with_checkbox_only",u),y=n.translate("shop_pay_remember_me.label"),g=n.translate("shop_pay_remember_me.mobile_phone_optional"),P=n.translate("shop_pay_remember_me.email_label_optional");let I;return I="standaloneGdprPhone"===d?r(k,{gap:"base",children:[r(x,{children:y}),r(L,{contentDisplay:"block",inlineSize:"100%",children:r(f,{label:g})}),r(B,{content:h,size:"small"})]}):"gdprCheckboxWithPhone"===d?r(k,{gap:"base",children:[r(N,{gridTemplateColumns:"auto minmax(0, 1fr)",gap:"base",alignItems:"start",children:[r(L,{children:r(z,{accessibilityLabel:y})}),r(x,{children:y})]}),r(L,{contentDisplay:"block",inlineSize:"100%",children:r(f,{label:g})}),r(B,{content:v})]}):"gdprCheckboxOnly"===d?r(N,{gridTemplateColumns:"auto minmax(0, 1fr)",gap:"base",alignItems:"start",children:[r(L,{children:r(z,{accessibilityLabel:y})}),r(k,{children:[r(x,{children:y}),r(B,{content:v,size:"small"})]})]}):"standard"===d?r(k,{gap:"base",children:[r(x,{children:y}),r(L,{contentDisplay:"block",inlineSize:"100%",children:r(f,{label:P})}),r(B,{content:b,size:"small"})]}):r(N,{gridTemplateColumns:"minmax(0, 1fr) auto",gap:"base",alignItems:"center",children:[r(k,{children:[r(x,{children:y}),r(B,{content:o?p:m,size:"small"})]}),o?r(_,{paddingInlineStart:"small-500",children:r(L,{contentDisplay:"block",children:r(M,{textDecoration:"none",children:n.translate("shop_pay_remember_me.not_now")})})}):r(L,{contentDisplay:"block",children:r(R,{variant:"secondary",children:n.translate("shop_pay_remember_me.save")})})]}),r(Be,{busy:!0,title:e,compact:a,children:I})}const Ne=p({displayName:"RememberMe",renderLoading:e=>r(Re,{...e}),renderError:()=>null,load:()=>m(()=>_e(()=>import("./05aacf00.4eHLuujE.js"),__vite__mapDeps([0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62]))).then(({RememberMeSurface:e})=>e)});function ze({compact:e}){const{i18n:a}=A(),n=le(),l=be(),i=V(),s=a.translate("shop_pay_remember_me.title"),o=i.shopPayRememberMeVisible.value?s:"";return t(()=>{l||(i.shopPayRememberMeVisible.value=!1)},[l,i.shopPayRememberMeVisible]),n.value&&l?r(u,{children:[r(_,{accessibilityRole:"status",accessibilityVisibility:"exclusive",children:o}),r(Ne,{title:s,compact:e})]}):null}export{Ie as L,Ee as P,ze as R,Pe as S,xe as a,we as b,Me as c,Be as d,ge as u};

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.