(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[308],{3222:(e,r,s)=>{"use strict";s.r(r),s.d(r,{default:()=>d});var t=s(5155),i=s(6046),n=s(4085),a=s(7364),o=s(4857);function d(){let e=(0,i.useRouter)();return(0,t.jsxs)("div",{className:"min-h-screen bg-gray-100 px-10 py-6",children:[(0,t.jsxs)("div",{className:"flex justify-between items-center mb-6",children:[(0,t.jsxs)(n.$,{onClick:()=>e.back(),className:"bg-white text-black border border-gray-300 flex items-center gap-2",children:[(0,t.jsx)(a.A,{size:16})," Back"]}),(0,t.jsxs)(n.$,{onClick:()=>{window.open("/assets/[TEMPLATE] SURAT SELESAI KP.pdf","_blank")},className:"bg-red-600 text-white flex items-center gap-2",children:[(0,t.jsx)(o.A,{size:16})," Download PDF"]})]}),(0,t.jsx)("div",{className:"bg-white rounded-md shadow-md p-4",children:(0,t.jsx)("iframe",{src:"/assets/[TEMPLATE] SURAT SELESAI KP.pdf",className:"w-full h-[80vh] rounded"})})]})}},4085:(e,r,s)=>{"use strict";s.d(r,{$:()=>d});var t=s(5155);s(2115);var i=s(2317),n=s(1027),a=s(9602);let o=(0,n.F)("inline-flex items-center justify-center gap-2 whitespace-nowrap rounded-md text-sm font-medium transition-[color,box-shadow] disabled:pointer-events-none disabled:opacity-50 [&_svg]:pointer-events-none [&_svg:not([class*='size-'])]:size-4 shrink-0 [&_svg]:shrink-0 outline-none focus-visible:border-ring focus-visible:ring-ring/50 focus-visible:ring-[3px] aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 aria-invalid:border-destructive",{variants:{variant:{default:"bg-primary text-primary-foreground shadow-xs hover:bg-primary/90",destructive:"bg-destructive text-white shadow-xs hover:bg-destructive/90 focus-visible:ring-destructive/20 dark:focus-visible:ring-destructive/40",outline:"border border-input bg-background shadow-xs hover:bg-accent hover:text-accent-foreground",secondary:"bg-secondary text-secondary-foreground shadow-xs hover:bg-secondary/80",ghost:"hover:bg-accent hover:text-accent-foreground",link:"text-primary underline-offset-4 hover:underline"},size:{default:"h-9 px-4 py-2 has-[>svg]:px-3",sm:"h-8 rounded-md gap-1.5 px-3 has-[>svg]:px-2.5",lg:"h-10 rounded-md px-6 has-[>svg]:px-4",icon:"size-9"}},defaultVariants:{variant:"default",size:"default"}});function d(e){let{className:r,variant:s,size:n,asChild:d=!1,...c}=e,u=d?i.DX:"button";return(0,t.jsx)(u,{"data-slot":"button",className:(0,a.cn)(o({variant:s,size:n,className:r})),...c})}},4857:(e,r,s)=>{"use strict";s.d(r,{A:()=>t});let t=(0,s(7401).A)("Download",[["path",{d:"M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4",key:"ih7n3h"}],["polyline",{points:"7 10 12 15 17 10",key:"2ggqvy"}],["line",{x1:"12",x2:"12",y1:"15",y2:"3",key:"1vk2je"}]])},6046:(e,r,s)=>{"use strict";var t=s(6658);s.o(t,"useRouter")&&s.d(r,{useRouter:function(){return t.useRouter}}),s.o(t,"useSearchParams")&&s.d(r,{useSearchParams:function(){return t.useSearchParams}})},7364:(e,r,s)=>{"use strict";s.d(r,{A:()=>t});let t=(0,s(7401).A)("ArrowLeft",[["path",{d:"m12 19-7-7 7-7",key:"1l729n"}],["path",{d:"M19 12H5",key:"x3x0zl"}]])},9235:(e,r,s)=>{Promise.resolve().then(s.bind(s,3222))},9602:(e,r,s)=>{"use strict";s.d(r,{cn:()=>n});var t=s(3463),i=s(9795);function n(){for(var e=arguments.length,r=Array(e),s=0;s<e;s++)r[s]=arguments[s];return(0,i.QP)((0,t.$)(r))}}},e=>{var r=r=>e(e.s=r);e.O(0,[501,441,587,358],()=>r(9235)),_N_E=e.O()}]);