PageSourceSearch

https://inter-nation.uz/_next/static/chunks/267.f8632707c6235ed7.js

js inter-nation.uz collected 2026-10-07 17:39:58 UTC 5,286 bytes, 2 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[267],{49784:function(n,e,t){t.r(e),t.d(e,{default:function(){return app_certificate}});var i=t(85893),r=t(67294),o=t(82729),c=t(37556);function _templateObject(){let n=(0,o._)(['\n  background: url("/certificate/pattern.jpg") no-repeat center;\n  width: 100%;\n  min-height: calc(100vh - 380px);\n  padding-top: 80px;\n  .icon {\n    width: 80px;\n    height: 80px;\n    border-radius: 50%;\n    background: #ffcf00;\n    display: flex;\n    align-items: center;\n    justify-content: center;\n  }\n  .ant-picker-input {\n    display: flex;\n    flex-direction: row-reverse;\n    gap: 4px;\n\n    input::placeholder {\n      font-size: 12px;\n      line-height: 15px;\n      font-weight: 500;\n      color: #b1b5c3;\n    }\n  }\n\n  h1 {\n    font-weight: 700;\n    font-size: 48px;\n    line-height: 58px;\n    letter-spacing: -0.01em;\n    margin-top: 19px;\n    text-align: center;\n  }\n\n  .description {\n    font-size: 18px;\n    line-height: 22px;\n    text-align: center;\n    letter-spacing: -0.01em;\n    color: #777e90;\n    margin-top: 16px;\n  }\n  \n  .error-text {  \n    text-align:left;\n  }\n\n  .actions {\n    display: flex;\n    flex-direction: column;\n    gap: 12px;\n    margin-top: 48px;\n    width: 68vw;\n    max-width: 300px;\n    height: 68px;\n  }\n\n  button {\n    display: flex;\n    flex-direction: row;\n    justify-content: center;
1\n    align-items: center;\n    padding: 13px 15px;\n    height: 44px !important;\n    width: 100%;\n  }\n\n  .ant-input-affix-wrapper {\n    height: 44px;\n  }\n\n  .ant-picker {\n    height: 44px;\n  }\n\n  @media (max-width: 530px) {\n    background-size: 1100px;\n    padding-top: 36px;\n    .actions {\n      display: flex;\n      flex-direction: column;\n      width: 90vw;\n    }\n\n    h1 {\n      font-size: 24px;\n      line-height: 29px;\n    }\n\n    .description {\n      font-size: 16px;\n      line-height: 130%;\n      text-align: center;\n      color: #777e90;\n      width: 90vw;\n    }\n\n    button {\n      width: 100%;\n    }\n  }\n\n  @media (max-width: 768px) {\n    background-size: 1300px;\n  }\n']);return _templateObject=function(){return n},n}function _templateObject1(){let n=(0,o._)(["\n  max-width: 732px;\n  text-align: center;\n  margin: 0 auto;\n  display: flex;\n  flex-direction: column;\n  align-items: center;\n"]);return _templateObject1=function(){return n},n}let a=c.Z.div(_templateObject()),s=c.Z.div(_templateObject1());var p=t(25675),d=t.n(p),l=t(88050),h=t(87536),x=t(88767),f=t(95520),u=t(81354),g=t.n(u);let m=g().enc.Utf8.parse("fdg43fdsgdg54tdfgfdg43fdsgdg54td"),w=g().enc.Utf8.parse("1234567890123458"),encrypt=n=>{let e=g().AES.encrypt(n,m,{iv:w,mode:g().mode.CBC,padding:g().pad.Pkcs7});return g().enc.Base64.stringify(e.ciphertext)};var k=t(11163),j=t(67421),v=t(4618),app_certificate=()=>{var n;let e=(0,h.cI)(),t=(0,k.useRouter)(),{t:o}=(0,j.$G)(["common","info"]),c=t.query.token,p=(0,x.useMutation)({mutationFn:n=>f.Z.getCertificateByApi(n),onSuccess:async n=>{var e,i;let r=await (0,v.Dp)(null===(e=JSON.parse(n.config.data))||void 0===e?void 0:e.a),o=null==r?void 0:null===(i=r.query_params)||void 0===i?void 0:i.token;await t.push("/certificate/id-of-certificate?token=".concat(o))},onError:()=>{e.setError("certificate_id",{message:"Certificate not found!"})}});(0,r.useEffect)(()=>{c&&t.replace("/certificate/view?token=".concat(encodeURIComponent(c)))},[c]);let onSubmit=n=>{p.mutate({query_params:{token:encrypt(JSON.stringify(n))}})};return(0,i.jsx)(a,{children:(0,i.jsxs)(s,{children:[(0,i.jsx)("div",{className:"icon",children:(0,i.jsx)(d(),{src:"/images/certificate/certificate-icon.svg",alt:"circle-image-of-certificate",width:36,height:36})}),(0,i.jsx)("h1",{children:o("CERTIFICATE_PAGE.TITLE")}),(0,i.jsx)("p",{className:"description",children:o("CERTIFICATE_PAGE.DESCRIPTION")}),(0,i.jsx)("form",{onSubmit:e.handleSubmit(onSubmit),children:(0,i.jsxs)("div",{className:"actions",children:[(0,i.jsx)(l.II,{name:"certificate_id",control:e.control,placeholder:o("CERTIFICATE_PAGE.FORM.ID_CERTIFICATE"),prefix:(0,i.jsx)(d(),{src:"/certificate/search.png",alt:"search.png",width:20,height:20}),onInput:n=>n.target.value=n.target.value.toUpperCase(),error:null===(n=e.formState.errors.certificate_id)||void 0===n?void 0:n.message}),(0,i.jsx)(l.Mt,{name:"dob",control:e.control,placeholder:o("CERTIFICATE_PAGE.FORM.DOB"),suffixIcon:(0,i.jsxs)("svg",{width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[(0,i.jsx)("path",{d:"M6.24838 2.49683V4.99787",stroke:"#B1B5C3",strokeWidth:"1.2",strokeLinecap:"round",strokeLinejoin:"round"}),(0,i.jsx)("path",{d:"M13.7516 2.49683V4.99787",stroke:"#B1B5C3",strokeWidth:"1.2",strokeLinecap:"round",strokeLinejoin:"round"}),(0,i.jsx)("path",{d:"M2.49683 7.91586H17.5031",stroke:"#B1B5C3",strokeWidth:"1.2",strokeLinecap:"round",strokeLinejoin:"round"}),(0,i.jsx)("rect",{x:"2.49683",y:"3.74731",width:"15.0063",height:"13.7557",rx:"2",stroke:"#B1B5C3",strokeWidth:"1.2",strokeLinecap:"round",strokeLinejoin:"round"})]})}),(0,i.jsx)(l.zx,{className:"w-100",onClick:e.handleSubmit(onSubmit),children:o("CERTIFICATE_PAGE.FORM.SUBMIT")})]})})]})})}}}]);
2//# sourceMappingURL=267.f8632707c6235ed7.js.map

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.