1try{!function(){var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{},a=(new e.Error).stack;a&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[a]="5e9d9a4c-17d6-40c8-9791-65b3011db7e4",e._sentryDebugIdIdentifier="sentry-dbid-5e9d9a4c-17d6-40c8-9791-65b3011db7e4")}()}catch(e){}"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[2380],{22082:(e,a,n)=>{n.d(a,{j:()=>o});var d=n(79237),s=n(53951),l=n(70659),i=n(24626),r=n(66960),t=n(38113);function o(e){let{open:a,loading:n,onClose:o,onNeverRemindChange:c,onConfirm:f}=e,{$t:h}=(0,r.B)(),[m,p]=(0,t.useState)(!1);return(0,t.useEffect)(()=>{a&&p(!1)},[a]),(0,d.jsx)(s.Dialog,{open:a,onOpenChange:e=>{e||o()},title:h("Cancel Confirmation"),variant:"drawer",className:"!w-full !max-w-none md:!w-[420px] md:!max-w-[calc(100vw-32px)]",bodyClassName:"px-4 pt-s4 pb-0 md:px-s8 md:pb-s6",footer:(0,d.jsxs)("div",{className:"gap-s2 flex",children:[(0,d.jsx)(l.$,{variant:"secondary",className:"h-10 flex-1",disabled:n,onClick:o,children:h("Later")}),(0,d.jsx)(l.$,{className:"h-10 flex-1",loading:n,disabled:n,onClick:f,children:h("Confirm")})]}),children:(0,d.jsxs)("div",{className:"flex flex-col gap-6",children:[(0,d.jsx)("div",{className:"text-b14 text-t2 py-s5 text-center",children:h("Are you sure to cancel this order?")}),(0,d.jsx)(i.Checkbox,{checked:m,onCheckedChange:e=>{var a;p(a=!!e),c(a)},labelClassName:"items-start gap-1",className:"mt-px",children:(0,d.jsx)("span",{className:"text-c12 text-t1 leading-4",children:h("Never remind me again")})})]})})}},37716:(e,a,n)=>{n.r(a),n.d(a,{default:()=>r});var d=n(79237),s=n(22082);n(38113);var l=n(1605),i=n(50791);function r(){let e=(0,i.x3)(),a=e.params,n=(0,l.Uh)(),r=async()=>{(null==a?void 0:a.planId)&&!1!==await n.cancel(a.planId)&&e.hideLayer()};return(0,d.jsx)(s.j,{open:e.visible,loading:n.loading,onClose:e.hideLayer,onNeverRemindChange:n.setNeverRemind,onConfirm:()=>void r()})}},86322:(e,a,n)=>{n.r(a),n.d(a,{default:()=>r});var d=n(79237),s=n(22082);n(38113);var l=n(71451),i=n(25749);function r(){let e=(0,i.x3)(),a=e.params,n=(0,l.Uh)(),r=async()=>{(null==a?void 0:a.planId)&&!1!==await n.cancel(a.planId)&&e.hideLayer()};return(0,d.jsx)(s.j,{open:e.visible,loading:n.loading,onClose:e.hideLayer,onNeverRemindChange:n.setNeverRemind,onConfirm:()=>void r()})}}}]);
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.