PageSourceSearch

https://shop.wordup.com.tw/_next/static/chunks/8682.46fedc4b361b62b2.js

js wordup.com.tw collected 2026-09-24 09:47:22 UTC 2,367 bytes, 1 lines download raw bytes

1!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{},t=(new e.Error).stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="3a10d644-085b-492f-b891-cb21906e38cb",e._sentryDebugIdIdentifier="sentry-dbid-3a10d644-085b-492f-b891-cb21906e38cb")}catch(e){}}();"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[8682],{16385:(e,t,n)=>{n.d(t,{A:()=>d,Q:()=>r});var a=n(55729);let r=(0,a.createContext)({paymentRef:null});function d(){let e=(0,a.useContext)(r);if(void 0===e)throw Error("PaymentContext must be used within a PaymentProvider");return{paymentRef:e.paymentRef}}},78682:(e,t,n)=>{n.r(t),n.d(t,{default:()=>f});var a=n(2860),r=n(98986),d=n(55729),c=n(15553),o=n(97043),i=n(16385),l=n(75075),u=n(47126);let s="vacc-form";function f(){let{t:e}=(0,r.Bd)(),{paymentRef:t}=(0,i.A)(),[n,f]=(0,d.useState)({gatewayUrl:"",merchantId:"",tradeInfo:"",tradeSha:"",version:""}),[y,m]=(0,d.useState)(!1),p=(0,d.useCallback)(e=>{try{var t;if(!e)return!1;let{newebpayMpgGatewayUrl:n,newebpayMpgFormData:a}=null!=(t=e.meta)?t:{};if(!n||!a)return!1;let{merchantId:r,tradeInfo:d,tradeSha:c,version:o}=a;return f({gatewayUrl:n,merchantId:r,tradeInfo:d,tradeSha:c,version:o}),m(!0),!1}catch(e){return(0,o.me)({err:e,context:{key:"vacc checkout error."}}),!1}},[]);return(0,d.useImperativeHandle)(t,()=>({onSubmit:()=>({paymentDetails:{},paymentMethod:l.J.NEWEBPAY_VACC}),onSuccess:p}),[p]),(0,d.useEffect)(()=>{if(!y)return;let e=document.querySelector("#".concat(s));e&&e.submit()},[y]),(0,a.Y)(a.FK,{children:(0,a.FD)("div",{className:"flex flex-col",children:[(0,a.FD)("div",{className:"bg-peach-50 flex items-center gap-x-2 rounded-lg px-3 py-2",children:[(0,a.Y)(u.I,{type:"error",color:"peach-500"}),(0,a.Y)(c.E,{variant:"body_m_400",color:"peach-500",dangerouslySetInnerHTML:{__html:e("crowdin:cart.payment.convenience-store.vacc.disclaimer-notes")}})]}),(0,a.FD)("form",{id:s,action:n.gatewayUrl,method:"post",name:s,className:"hidden",children:[(0,a.Y)("input",{type:"hidden",name:"MerchantID",value:n.merchantId}),(0,a.Y)("input",{type:"hidden",name:"TradeInfo",value:n.tradeInfo}),(0,a.Y)("input",{type:"hidden",name:"TradeSha",value:n.tradeSha}),(0,a.Y)("input",{type:"hidden",name:"Version",value:n.version})]})]})})}}}]);

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.