PageSourceSearch

https://zsolution.vn/_next/static/chunks/pages/complain/ticket-0bc9ea2f6f7cbf62da80.js

js zsolution.vn collected 2026-10-02 01:11:21 UTC 33,192 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[8037],{25495:function(n,e,t){"use strict";t.r(e),t.d(e,{__N_SSP:function(){return In},default:function(){return Fn}});var i=t(92809),r=t(85893),o=t(69867),c=t(52209),a=t(809),l=t.n(a),s=t(30266),u=t(80318),d=t(67294),p=t(52220),f=t(40412),v=t(90810),h=t(78124),g=t(96486),x=t(72441),m=t(97745),b=t(63611),j=t(8246);function y(){var n=(0,c.Z)(["\n    width:100%;\n    height: 1px;\n    background-color: #e6e3e3;\n"]);return y=function(){return n},n}function w(){var n=(0,c.Z)(["\n     color: #222;\n     padding: 5px;\n     font-size: 14px;\n     color: #222;\n     font-family: NutitoNew-Semibold;\n"]);return w=function(){return n},n}function k(){var n=(0,c.Z)(["\n     color: #222;\n     font-size: 14px;\n     color: #222;\n     font-family: NutitoNew-Regular;\n     margin: 0px 10px 10px;\n"]);return k=function(){return n},n}function Z(){var n=(0,c.Z)(["\n  background: #fff;\n  padding-top: 10px;\n  color: #222;\n  border-radius: 10px;\n  min-width: 100px;\n  text-align: center;\n  font-size: 13px;\n  max-width: 51%;\n  line-height: 22px;\n  box-shadow: 0 0 10px hsl(0deg 0% 53% / 53%);\n  overflow: hidden;\n"]);return Z=function(){return n},n}function O(){var n=(0,c.Z)(["\n  position: fixed;\n  z-index: 2;\n  top: 0px;\n  left: 0px;\n  right: 0px;\n  bottom: 0px;\n  max-width: 414px;\n  display: flex;\n  justify-content: center;\n  align-items: center;\n  margin: auto;\n  flex-direction: column;\n  background: #27262659;\n"]);return O=function(){return n},n}function P(){var n=(0,c.Z)(["\n    flex: 1;\n    display: flex;\n    justify-content: center;
1\n    align-items: center;\n    cursor: pointer;\n    \n"]);return P=function(){return n},n}function N(){var n=(0,c.Z)(["\n    flex: 1;\n    display: flex;\n    justify-content: center;\n    align-items: center;\n    cursor: pointer;\n    color: #52aa09;\n"]);return N=function(){return n},n}function E(){var n=(0,c.Z)(["\n    width: 1px;\n    height: 37px;\n    background-color: #e6e3e3;\n"]);return E=function(){return n},n}function C(){var n=(0,c.Z)(["\n    display: flex;\n"]);return C=function(){return n},n}function I(){var n=(0,c.Z)(["\n    color: #fff;\n    background: #52aa09;\n    width: 38%;\n    margin: auto;\n    margin-bottom: 15px;\n    padding: 5px;\n    border-radius: 6px;\n    \n"]);return I=function(){return n},n}function F(){var n=(0,c.Z)(["\n    height: 1px;\n    background: #b6b6b6;\n    width: 80%;\n    margin: auto;\n    margin-bottom: 12px;\n"]);return F=function(){return n},n}function _(){var n=(0,c.Z)(["\n    font-size: 14px;\n     color: #222;\n     font-family: NutitoNew-Regular;\n     margin-bottom: 10px;\n"]);return _=function(){return n},n}var S=p.ZP.div(_()),A=p.ZP.div(F()),T=p.ZP.div(I()),z=p.ZP.div(C()),D=p.ZP.div(E()),G=p.ZP.div(N()),L=p.ZP.div(P()),R=p.ZP.div(O()),H=p.ZP.div(Z()),V=p.ZP.div(k()),B=p.ZP.div(w()),U=p.ZP.div(y()),X=function(n){var e=n.content,t=n.titleOK,i=n.titleCancel,o=n.onClose,c=n.onOk,a=n.maxWidth,l=n.onlyOk,s=n.isFlashCampaign,u=n.desctiption,p=n.onShare,f=n.notShare;return(0,r.jsx)(R,{children:(0,r.jsx)(H,{style:{maxWidth:a||"51%",position:"relative"},children:s?(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)("div",{style:{position:"absolute",right:"7px",top:"7px",cursor:"pointer"},onClick:function(){return o()},children:(0,r.jsx)(j.Z,{alt:"iconClose",src:"/img/webview/close.svg",style:{width:"21px"}})}),(0,r.jsx)(j.Z,{alt:"iconClose",src:"/img/webview/success.svg",style:{width:"70px"}}),(0,r.jsx)(B,{children:e}),(0,r.jsx)(V,{children:u}),!f&&(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(A,{}),(0,r.jsx)(S,{children:"C\xf9ng lan t\u1ecfa chi\u1ebfn d\u1ecbch"}),(0,r.jsx)(T,{onClick:p,children:"Chia s\u1ebb"})]})]}):(0,r.jsxs)(d.Fragment,{children:[(0,r.jsx)(B,{children:e}),(0,r.jsx)(U,{}),(0,r.jsxs)(z,{children:[!l&&(0,r.jsx)(L,{onClick:function(){o&&o()},children:i||"H\u1ee7y"}),(0,r.jsx)(D,{}),(0,r.jsx)(G,{onClick:function(){c&&c()},children:t||"OK"})]})]})})})},K=t(59443),J=t(22637),M=t(37703),Y=t(30381),$=t.n(Y),q=t(77170),W=t(70690);function Q(){var n=(0,c.Z)(["\n    padding: 20px 16px;\n    padding-bottom: 80px;\n"]);return Q=function(){return n},n}function nn(){var n=(0,c.Z)(["\n   min-height:100vh;\n   background:#fff;\n   &.ticketadd-desktop {\n       min-height:unset;\n   }\n"]);return nn=function(){return n},n}function en(){var n=(0,c.Z)(["\n    min-height: calc(100vh - 75px);\n    background: #fff;\n    border-radius: 16px 16px 0px 0px;\n    margin-top: -16px;\n    padding: 16px;\n    overflow-y: hidden;\n    display: flex;\n    flex-direction: column;\n    justify-content: space-between;\n    padding-bottom:70px;\n"]);return en=function(){return n},n}function tn(){var n=(0,c.Z)(["\n    font-style: normal;\n    font-weight: bold;\n    font-size: 18px;\n    line-height: 22px;\n    text-align: center;\n\n    color: #FFFFFF;\n"]);return tn=function(){return n},n}function rn(){var n=(0,c.Z)(["\n    display: flex;\n    align-items: center;\n"]);return rn=function(){return n},n}function on(){var n=(0,c.Z)(["\n    padding: 16px;\n    padding-top: 31px;\n    padding-bottom: 40px;\n    display: flex;\n    justify-content: space-between;\n    align-items: center;\n    background-color: #8F3899;\n"]);return on=function(){return n},n}function cn(){var n=(0,c.Z)(["\n    .form-group {\n        margin-bottom:15px;\n        .list-radio {\n            display:flex;\n            align-items:center;\n            justify-content: space-around;\n            margin:10px 0 20px;\n        }\n        >input {\n            width:100%;\n            background:#F9FAFB;\n            border: 1px solid #E5E7EB;\n            border-radius: 12px;\n            height:50px;\n            line-height:50px;\n            padding: 0 20px;\n            font-size:16px;\n            font-family: Averta;\n            &:focus {\n                outline: none;\n                box-shadow:none;\n            }\n        }\n        >textarea {\n            width:100%;\n            background:#F9FAFB;\n            border: 1px solid #E5E7EB;\n            border-radius: 12px;\n            line-height:50px;\n            padding: 10px 20px;\n            font-size:16px;\n            font-family: Averta;\n            line-height: 25px;\n            min-height: 115px;\n            &:focus {\n                outline: none;\n                box-shadow:none;\n            }\n        }\n        .react-select {\n            .react-select__control {\n                background:#F9FAFB;\n                border: 1px solid #E5E7EB;\n                border-radius: 12px;\n                height:50px;\n                padding: 0 10px;\n                font-size:16px;\n                font-family: Averta;\n            }\n            .react-select__control--is-focused {\n                outline: none;\n                box-shadow:none;\n            }\n        }\n    }\n    .radio-item {\n        display:flex;\n        align-items:center;\n        cursor: pointer;\n        >img {\n            width:20px!important;\n            height:20px;\n            object-fit:contain;\n        }\n        >span {\n            margin-left:10px;\n            font-size:14px;\n        }\n    }\n"]);return cn=function(){return n},n}function an(){var n=(0,c.Z)(["\n    position: fixed;\n    max-width: 414px;\n    margin: auto;\n    width:100%;\n    bottom: 0;\n    .f-button {\n        cursor:pointer;\n        background: #8F3899;\n        border-radius: 12px;\n        margin: 16px;\n        height:50px;\n        display:flex;\n        align-items:center;\n        justify-content: center;\n        >button {\n            background:none;\n            border:none;\n            color:#fff;\n            font-size:16px;\n            font-weight: bold;;\n        }\n    }\n"]);return an=function(){return n},n}function ln(){var n=(0,c.Z)(["\n\n"]);return ln=function(){return n},n}function sn(){var n=(0,c.Z)(["\n    cursor:pointer;\n"]);return sn=function(){return n},n}function un(){var n=(0,c.Z)(["\n    background:#F5F5FA;\n    height:auto;\n    >.container {\n        .ticket-box {\n            padding:60px 0;\n            .list-radio {\n                justify-content: flex-start;\n                .radio-item {\n                    margin-right:100px;\n                }\n            }\n            >.row {\n                .col-md-3 {\n                    width:28%;\n                    max-width:28%\n                }\n                .col-md-9 {\n                    width: 72%;\n                    max-width: 72%;\n                }\n            }\n        }\n    }\n    .ticket-box {\n        >.row {\n            justify-content: center;;\n        }\n    }\n    .ticket-content {\n        background:unset;\n        .ticket-wrap {\n            min-height:unset;\n            margin:0;\n            padding:0;\n            padding-bottom:0;\n            border-radius: 8px;\n            .ticket-head {\n                padding:20px;\n                border-bottom: 1px solid #E3E5E8;\n                >h5 {\n                    margin:0;\n                    text-transform: capitalize;\n                    font-weight: 600;\n                    font-size: 22px;\n                    line-height: 27px;\n                }\n            }\n            .complain-add {\n                padding:20px 50px;\n            }\n            .ticket-action {\n                padding:20px;\n                border-top: 1px solid #E3E5E8;\n                .f-button {\n                    cursor:pointer;\n                    background: #8F3899;\n                    border-radius: 12px;
1\n                    width:200px;\n                    height:50px;\n                    display:flex;\n                    align-items:center;\n                    justify-content: center;\n                    margin:auto;\n                    >button {\n                        background:none;\n                        border:none;\n                        color:#fff;\n                        font-size:16px;\n                        font-weight: bold;;\n                    }\n                }\n            }\n            .upload-file {\n                .item-input {\n                    width:90px;\n                    height:90px;\n                }\n                .wrapper-images {\n                    margin: 0 -8px;\n                    .item-box {\n                        padding: 0 8px;\n                        margin-bottom:16px;\n                    }\n                    .item-images {\n                        width:90px;\n                        height:90px;\n                        >img {\n                            width:90px;\n                            height:90px; \n                        }\n                        .image-del {\n                            width:20px;\n                            height:20px;\n                            top:-8px;\n                            right:-8px;\n                        }\n                    }\n                }\n            }\n        }\n    }\n"]);return un=function(){return n},n}function dn(){var n=(0,c.Z)(["\n    width:414px;\n    margin:auto;\n    position: fixed;\n    z-index: 2;\n    top: 0;\n    bottom: 0;\n    left: 0;\n    right: 0;\n    .dialog-box {\n        position:absolute;\n        top:50%;\n        left:50%;\n        transform:translate(-50%, -50%);\n        z-index:2;\n        background: #FFFFFF;\n        border-radius: 16px;\n        padding:15px;\n        width:80%;\n        text-align:center;\n        &.desktop {\n            min-width:400px;\n        }\n        .images {\n            text-align:center;\n            >img {\n                height:120px;\n                object-fit: contain;\n            }\n        }\n        .desc {\n            margin-top:15px;\n            margin-bottom:25px;\n            font-size: 16px;\n            line-height: 22px;\n        }\n        .group-button {\n            display:flex;\n            align-items:center;\n            margin: 0 -8px;\n            .item {\n                padding:0 8px;\n                width:50%;\n                .button {\n                    cursor:pointer;\n                    height: 44px;\n                    border-radius: 8px;\n                    background:#AEAEAE;\n                    overflow:hidden;\n                    display:inline-flex;\n                    align-items:center;\n                    justify-content: center;\n                    color:#fff;\n                    width:100%;\n                    &.active {\n                        background:#8F3899;\n                    }\n                }\n            }\n        }\n    }\n"]);return dn=function(){return n},n}function pn(){var n=(0,c.Z)(["\n    position: fixed;\n    top: 0px;\n    right: 0px;\n    left: 0px;\n    bottom: 0;\n    transition: opacity 450ms ease 0s;\n    pointer-events: auto;\n    background-color: black;\n    opacity: 0.54;\n    z-index:1;\n"]);return pn=function(){return n},n}function fn(n,e){var t=Object.keys(n);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(n);e&&(i=i.filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable}))),t.push.apply(t,i)}return t}function vn(n){for(var e=1;e<arguments.length;e++){var t=null!=arguments[e]?arguments[e]:{};e%2?fn(Object(t),!0).forEach((function(e){(0,i.Z)(n,e,t[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(n,Object.getOwnPropertyDescriptors(t)):fn(Object(t)).forEach((function(e){Object.defineProperty(n,e,Object.getOwnPropertyDescriptor(t,e))}))}return n}var hn={receivingGroupId:"",receivingUserId:"",tagTicketId:"",phone:"",resolveTeam:"",resolveUserId:"",fullname:"",source:7,orderId:"",content:"",status:1,starOfResults:-1,starOfEmployee:-1,files:"",createdTime:"",shop:"",warehouse:"",division:1,typeTrading:0},gn=p.ZP.div(pn()),xn=p.ZP.div(dn()),mn=p.ZP.div(un()),bn=p.ZP.div(sn()),jn=(p.ZP.img(ln()),p.ZP.div(an())),yn=p.ZP.div(cn()),wn=p.ZP.div(on()),kn=p.ZP.div(rn()),Zn=p.ZP.div(tn()),On=p.ZP.div(en()),Pn=p.ZP.div(nn()),Nn=(p.ZP.div(Q()),(0,M.$j)((function(n){return{user:n.user}}),(function(n){return{}}))((function(n){var e,t=n.user,i=n.query,o=d.useState(vn(vn({},hn),{},{phone:null===t||void 0===t||null===(e=t.phoneNumber)||void 0===e?void 0:e.replace("84","0"),orderId:null===i||void 0===i?void 0:i.orderId})),c=(0,u.Z)(o,2),a=c[0],p=c[1],j=(0,x.useRouter)(),y=(0,d.useState)(!1),w=(y[0],y[1],(0,d.useState)(!1)),k=(w[0],w[1]),Z=(0,d.useState)(!1),O
1=Z[0],P=Z[1],N=(0,d.useState)({type:1}),E=N[0],C=N[1],I=(0,d.useState)([]),F=I[0],_=I[1],S=(0,d.useState)([]),A=S[0],T=S[1],z=(0,d.useState)([]),D=z[0],G=z[1],L=(0,d.useState)([]),R=L[0],H=L[1];(0,d.useEffect)((function(){B()}),[E]),(0,d.useEffect)((function(){U(),M(),Y()}),[]),console.log("form",a);function V(n,e){var t,i,r,o=g.cloneDeep(a);g.set(o,n,e),console.log("filesss",null===o||void 0===o||null===(t=o.files)||void 0===t?void 0:t.split(",")),(null===o||void 0===o||null===(i=o.files)||void 0===i||null===(r=i.split(","))||void 0===r?void 0:r.length)>10?P(!0):p(o)}var B=function(){var n=(0,s.Z)(l().mark((function n(){var e,t,i,r,o,c;return l().wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return k(!0),e="https://hrm".concat("",".f99.com.vn/tickets/tag-ticket"),t={type:null===E||void 0===E?void 0:E.type,division:1},n.next=5,m.Z.GETHEADER(e,t,b.V);case 5:i=n.sent,r=i.response,i.error,r&&(null===r||void 0===r?void 0:r.data)&&(c=[],null===r||void 0===r||null===(o=r.data)||void 0===o||o.map((function(n){var e;null===c||void 0===c||c.push({value:null===n||void 0===n?void 0:n.id,label:null===n||void 0===n?void 0:n.name,receivingGroup:null===n||void 0===n||null===(e=n.receivingGroup)||void 0===e?void 0:e.id})})),G(c));case 9:case"end":return n.stop()}}),n)})));return function(){return n.apply(this,arguments)}}(),U=function(){var n=(0,s.Z)(l().mark((function n(){var e,i,r,o,c,a,s;return l().wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return k(!0),i="https://".concat("","analytics.f99.com.vn/orders/order-name"),r={phone:null===t||void 0===t||null===(e=t.phoneNumber)||void 0===e?void 0:e.replace("84","0")},n.next=5,m.Z.GETHEADER(i,r,b.V);case 5:o=n.sent,c=o.response,o.error,c&&(null===c||void 0===c?void 0:c.data)&&(s=[],null===c||void 0===c||null===(a=c.data)||void 0===a||a.map((function(n,e){null===s||void 0===s||s.push({value:null===n||void 0===n?void 0:n.name,label:null===n||void 0===n?void 0:n.name})})),H(s));case 9:case"end":return n.stop()}}),n)})));return function(){return n.apply(this,arguments)}}(),M=function(){var n=(0,s.Z)(l().mark((function n(){var e,t,i,r;return l().wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return k(!0),e="https://hrm".concat("",".f99.com.vn/employee/search"),t={code:"F001469"},n.next=5,m.Z.GETHEADER(e,t,b.V);case 5:i=n.sent,r=i.response,i.error,k(!1),r&&(null===r||void 0===r?void 0:r.data)&&_(null===r||void 0===r?void 0:r.data);case 10:case"end":return n.stop()}}),n)})));return function(){return n.apply(this,arguments)}}(),Y=function(){var n=(0,s.Z)(l().mark((function n(){var e,t,i,r;return l().wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return k(!0),e="https://hrm".concat("",".f99.com.vn/employee/search"),t={code:"F001171"},n.next=5,m.Z.GETHEADER(e,t,b.V);case 5:i=n.sent,r=i.response,i.error,k(!1),r&&(null===r||void 0===r?void 0:r.data)&&T(null===r||void 0===r?void 0:r.data);case 10:case"end":return n.stop()}}),n)})));return function(){return n.apply(this,arguments)}}(),Q=function(n){var e=n.target.value;" "!==e&&p(vn(vn({},a),{},{phone:e}))},nn=function(n){var e=n.target.value;" "!==e&&p(vn(vn({},a),{},{fullname:e}))},en=function(n){var e=n.target.value;" "!==e&&p(vn(vn({},a),{},{content:e}))},tn=function(){var n;return(0,g.isEmpty)(null===a||void 0===a?void 0:a.phone)?(J.Z.show("Vui l\xf2ng nh\u1eadp s\u1ed1 \u0111i\u1ec7n tho\u1ea1i"),!1):K.Z.validatePhone(null===a||void 0===a?void 0:a.phone)?(0,g.isEmpty)(null===a||void 0===a?void 0:a.fullname)?(J.Z.show("Vui l\xf2ng nh\u1eadp h\u1ecd t\xean"),!1):(null===a||void 0===a?void 0:a.tagTicketId)?(0,g.isEmpty)(null===a||void 0===a?void 0:a.content)?(J.Z.show("Vui l\xf2ng nh\u1eadp n\u1ed9i dung khi\u1ebfu n\u1ea1i"),!1):!((null===a||void 0===a||null===(n=a.content)||void 0===n?void 0:n.length)>300)||(J.Z.show("N\u1ed9i dung khi\u1ebfu n\u1ea1i kh\xf4ng \u0111\u01b0\u1ee3c v\u01b0\u1ee3t qu\xe1 300 k\xfd t\u1ef1"),!1):(J.Z.show("Vui l\xf2ng ch\u1ecdn lo\u1ea1i khi\u1ebfu n\u1ea1i"),!1):(J.Z.show("S\u1ed1 \u0111i\u1ec7n tho\u1ea1i nh\u1eadp sai \u0111\u1ecbnh d\u1ea1ng"),!1)},rn=function(){var n=(0,s.Z)(l().mark((function n(){var e,t,i,r,o,c,s,u,d,p;return l().wrap((function(n){for(;;)switch(n.prev=n.next){case 0:if(c="",!a.files){n.next=5;break}return n.next=4,(0,h.c)(a.files);case 4:c=n.sent;case 5:if(tn()){n.next=7;break}return n.abrupt("return");
1case 7:return s=vn(vn({},a),{},{files:c,createdTime:$()().valueOf(),resolveUserId:null===F||void 0===F||null===(e=F[0])||void 0===e?void 0:e.id,resolveTeam:null===F||void 0===F||null===(t=F[0])||void 0===t||null===(i=t.dataUserTeam)||void 0===i||null===(r=i[0])||void 0===r?void 0:r.teamId,receivingUserId:null===A||void 0===A||null===(o=A[0])||void 0===o?void 0:o.id,complainLevel:2==(null===E||void 0===E?void 0:E.type)?2:void 0,procedure:2==(null===E||void 0===E?void 0:E.type)?"Y\xeau c\u1ea7u g\u1eedi t\u1eeb App b\xe1n bu\xf4n":""}),console.log("dataAPI",s),u="https://hrm".concat("",".f99.com.vn/tickets"),n.next=12,m.Z.POST(u,s,b.V);case 12:d=n.sent,p=d.response,d.error,p&&(null===p||void 0===p?void 0:p.data)?(J.Z.show("T\u1ea1o y\xeau c\u1ea7u th\xe0nh c\xf4ng"),null===j||void 0===j||j.push("/complain")):J.Z.show("\u0110\xe3 c\xf3 l\u1ed7i x\u1ea3y ra, vui l\xf2ng th\u1eed l\u1ea1i sau");case 16:case"end":return n.stop()}}),n)})));return function(){return n.apply(this,arguments)}}(),on=function(n){C(vn(vn({},E),{},{type:n})),p(vn(vn({},a),{},{tagTicketId:""}))};return console.log("form",a),q.Z.isMobile()?(0,r.jsxs)(Pn,{children:[(0,r.jsxs)(wn,{children:[(0,r.jsx)(bn,{onClick:function(){return null===j||void 0===j?void 0:j.back()},children:(0,r.jsx)("img",{src:"/img/icon/icon_back.png"})}),(0,r.jsx)(Zn,{children:"T\u1ea1o y\xeau c\u1ea7u"}),(0,r.jsx)(kn,{style:{width:"24px"}})]}),(0,r.jsx)(On,{children:(0,r.jsx)(yn,{children:(0,r.jsxs)("div",{className:"complain-add",children:[(0,r.jsx)("div",{className:"form-group",children:(0,r.jsxs)("div",{className:"list-radio",children:[(0,r.jsxs)("div",{className:"radio-item",onClick:function(){return on(1)},children:[(0,r.jsx)("img",{src:"/img/complain/".concat(1==(null===E||void 0===E?void 0:E.type)?"icon_radio_checked":"icon_radio",".png"),alt:""}),(0,r.jsx)("span",{children:"H\u1ed7 tr\u1ee3"})]}),(0,r.jsxs)("div",{className:"radio-item",onClick:function(){return on(2)},children:[(0,r.jsx)("img",{src:"/img/complain/".concat(2==(null===E||void 0===E?void 0:E.type)?"icon_radio_checked":"icon_radio",".png"),alt:""}),(0,r.jsx)("span",{children:"Khi\u1ebfu n\u1ea1i"})]})]})}),(0,r.jsx)("div",{className:"form-group",children:(0,r.jsx)(v.ZP,{placeholder:"M\xe3 \u0111\u01a1n h\xe0ng",className:"react-select mb-2",classNamePrefix:"react-select",onChange:function(n){p(vn(vn({},a),{},{orderId:null===n||void 0===n?void 0:n.label}))},value:R.filter((function(n){return n.value==(null===a||void 0===a?void 0:a.orderId)})),options:R})}),(0,r.jsx)("div",{className:"form-group",children:(0,r.jsx)(f.II,{placeholder:"S\u1ed1 \u0111i\u1ec7n tho\u1ea1i",type:"number",onChange:Q,value:null===a||void 0===a?void 0:a.phone})}),(0,r.jsx)("div",{className:"form-group",children:(0,r.jsx)(f.II,{placeholder:"H\u1ecd v\xe0 t\xean",onChange:nn,value:null===a||void 0===a?void 0:a.fullname})}),(0,r.jsx)("div",{className:"form-group",children:(0,r.jsx)(v.ZP,{placeholder:1==(null===E||void 0===E?void 0:E.type)?"Lo\u1ea1i h\u1ed7 tr\u1ee3":"Lo\u1ea1i khi\u1ebfu n\u1ea1i",className:"react-select mb-2",classNamePrefix:"react-select",onChange:function(n){p(vn(vn({},a),{},{tagTicketId:null===n||void 0===n?void 0:n.value,receivingGroupId:null===n||void 0===n?void 0:n.receivingGroup}))},value:D.filter((function(n){return n.value===(null===a||void 0===a?void 0:a.tagTicketId)})),options:D})}),(0,r.jsx)("div",{className:"form-group",children:(0,r.jsx)(f.II,{placeholder:1==(null===E||void 0===E?void 0:E.type)?"N\u1ed9i dung h\u1ed7 tr\u1ee3":"N\u1ed9i dung khi\u1ebfu n\u1ea1i",type:"textarea",rows:2,onChange:en,value:null===a||void 0===a?void 0:a.content})}),(0,r.jsx)("div",{className:"form-group",children:(0,r.jsx)(h.R,{disabled:!1,setFileOrigin:function(n){return V("files",n)},files:a.files})})]})})}),(0,r.jsx)(jn,{children:(0,r.jsx)("div",{className:"form-group f-button",onClick:rn,children:(0,r.jsx)("button",{children:"G\u1eedi y\xeau c\u1ea7u"})})}),O&&(0,r.jsx)(X,{content:"B\u1ea1n ch\u1ec9 c\xf3 th\u1ec3 ch\u1ecdn t\u1ed1i \u0111a 10 h\xecnh \u1ea3nh",onOk:function(){return P(!1)},onClose:function(){return P(!1)},titleOK:"\u0110\xe3 hi\u1ec3u"})]}):(0,r.jsx)(mn,{children:(0,r.jsx)("div",{className:"container",children:(0,r.jsx)("div",{className:"ticket-box",children:(0,r.jsxs)(f.X2,{children:[(0,r.jsx)(f.JX,{md:3,children:(0,r.jsx)(W.Z,{})}),(0,r.jsx)(f.JX,{md:9,sm:12,children:(0,r.jsxs)(Pn,{className:"ticket-content ticketadd-desktop",children:[(0,r.jsxs)(On,{className:"ticket-wrap",children:[(0,r.jsx)("div",{className:"ticket-head",children:(0,r.jsx)("h5",{children:"T\u1ea1o y\xeau c\u1ea7u"})}),(0,r.jsxs)(yn,{children:[(0,r.jsxs)("div",{className:"complain-add",children:[(0,r.jsx)("div",{className:"form-group",children:(0,r.jsxs)("div",{className:"list-radio",children:[(0,r.jsxs)("div",{className:"radio-item",onClick:function(){return on(1)},children:[(0,r.jsx)("img",{src:"/img/complain/".concat(1==(null===E||void 0===E?void 0:E.type)?"icon_radio_checked":"icon_radio",".png"),alt:""}),(0,r.jsx)("span",{children:"H\u1ed7 tr\u1ee3"})]}),(0,r.jsxs)("div",{className:"radio-item",onClick:function(){return on(2)},children:[(0,r.jsx)("img",{src:"/img/complain/".concat(2==(null===E||void 0===E?void 0:E.type)?"icon_radio_checked":"icon_radio",".png"),alt:""}),(0,r.jsx)("span",{children:"Khi\u1ebfu n\u1ea1i"})]})]})}),(0,r.jsx)("div",{className:"form-group",children:(0,r.jsx)(v.ZP,{placeholder:"M\xe3 \u0111\u01a1n h\xe0ng",className:"react-select mb-2",classNamePrefix:"react-select",onChange:function(n){p(vn(vn({},a),{},{orderId:null===n||void 0===n?void 0:n.label}))},value:R.filter((function(n){return n.value==(null===a||void 0===a?void 0:a.orderId)})),options:R})}),(0,r.jsxs)(f.X2,{children:[(0,r.jsx)(f.JX,{md:6,children:(0,r.jsx)("div",{className:"form-group",children:(0,r.jsx)(f.II,{placeholder:"S\u1ed1 \u0111i\u1ec7n tho\u1ea1i",type:"number",onChange:Q,value:null===a||void 0===a?void 0:a.phone})})}),(0,r.jsx)(f.JX,{md:6,children:(0,r.jsx)("div",{className:"form-group",children:(0,r.jsx)(f.II,{placeholder:"H\u1ecd v\xe0 t\xean",onChange:nn,value:null===a||void 0===a?void 0:a.fullname})})})]}),(0,r.jsx)("div",{className:"form-group",children:(0,r.jsx)(v.ZP,{placeholder:1==(null===E||void 0===E?void 0:E.type)?"Lo\u1ea1i h\u1ed7 tr\u1ee3":"Lo\u1ea1i khi\u1ebfu n\u1ea1i",className:"react-select mb-2",classNamePrefix:"react-select",onChange:function(n){p(vn(vn({},a),{},{tagTicketId:null===n||void 0===n?void 0:n.value,receivingGroupId:null===n||void 0===n?void 0:n.receivingGroup}))},value:D.filter((function(n){return n.value===(null===a||void 0===a?void 0:a.tagTicketId)})),options:D})}),(0,r.jsx)("div",{className:"form-group",children:(0,r.jsx)(f.II,{placeholder:1==(null===E||void 0===E?void 0:E.type)?"N\u1ed9i dung h\u1ed7 tr\u1ee3":"N\u1ed9i dung khi\u1ebfu n\u1ea1i",type:"textarea",rows:2,onChange:en,value:null===a||void 0===a?void 0:a.content})}),(0,r.jsx)("div",{className:"form-group",children:(0,r.jsx)(h.R,{disabled:!1,setFileOrigin:function(n){return V("files",n)},files:a.files})})]}),(0,r.jsx)("div",{className:"ticket-action",children:(0,r.jsx)("div",{className:"f-button",onClick:rn,children:(0,r.jsx)("button",{children:"G\u1eedi y\xeau c\u1ea7u"})})})]})]}),O&&(0,r.jsx)(xn,{children:(0,r.jsxs)("div",{className:"dialog-box desktop",children:[(0,r.jsx)("div",{className:"desc",children:"B\u1ea1n ch\u1ec9 c\xf3 th\u1ec3 ch\u1ecdn t\u1ed1i \u0111a 10 h\xecnh \u1ea3nh."}),(0,r.jsxs)("div",{className:"group-button",children:[(0,r.jsx)("div",{className:"item",onClick:function(){return P(!1)},children:(0,r.jsx)("div",{className:"button",children:"\u0110\xf3ng"})}),(0,r.jsx)("div",{className:"item",onClick:function(){return P(!1)},children:(0,r.jsx)("div",{className:"button active",children:"\u0110\xe3 hi\u1ec3u"})})]})]})}),O&&(0,r.jsx)(gn,{onClick:function(){return P(!1)}})]})})]})})})})})));function En(n,e){var t=Object.keys(n);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(n);e&&(i=i.filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable}))),t.push.apply(t,i)}return t}var Cn=function(n){return(0,r.jsx)(Nn,function(n){for(var e=1;e<arguments.length;e++){var t=null!=arguments[e]?arguments[e]:{};
1e%2?En(Object(t),!0).forEach((function(e){(0,i.Z)(n,e,t[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(n,Object.getOwnPropertyDescriptors(t)):En(Object(t)).forEach((function(e){Object.defineProperty(n,e,Object.getOwnPropertyDescriptor(t,e))}))}return n}({},n))};Cn.Layout=o.Ar;var In=!0,Fn=Cn},8246:function(n,e,t){"use strict";var i=t(92809),r=t(52209),o=t(85893);t(67294);function c(n,e){var t=Object.keys(n);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(n);e&&(i=i.filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable}))),t.push.apply(t,i)}return t}function a(n){for(var e=1;e<arguments.length;e++){var t=null!=arguments[e]?arguments[e]:{};e%2?c(Object(t),!0).forEach((function(e){(0,i.Z)(n,e,t[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(n,Object.getOwnPropertyDescriptors(t)):c(Object(t)).forEach((function(e){Object.defineProperty(n,e,Object.getOwnPropertyDescriptor(t,e))}))}return n}function l(){var n=(0,r.Z)(["\n\n"]);return l=function(){return n},n}var s=t(52220).ZP.img(l());e.Z=function(n){var e="".concat("").concat(n.src);return(0,o.jsx)(s,{style:a({},n.style),src:e})}},59443:function(n,e,t){"use strict";t.d(e,{Z:function(){return a}});var i=t(68216),r=t(25997),o=t(92809),c=t(96486),a=function(){function n(){(0,i.Z)(this,n)}return(0,r.Z)(n,null,[{key:"convertToSlug",value:function(n){var e=n.toLowerCase();return e=(e="@"+(e=(e=(e=(e=(e=(e=(e=(e=(e=(e=(e=(e=(e=e.replace(/\xe1|\xe0|\u1ea3|\u1ea1|\xe3|\u0103|\u1eaf|\u1eb1|\u1eb3|\u1eb5|\u1eb7|\xe2|\u1ea5|\u1ea7|\u1ea9|\u1eab|\u1ead/gi,"a")).replace(/\xe9|\xe8|\u1ebb|\u1ebd|\u1eb9|\xea|\u1ebf|\u1ec1|\u1ec3|\u1ec5|\u1ec7/gi,"e")).replace(/i|\xed|\xec|\u1ec9|\u0129|\u1ecb/gi,"i")).replace(/\xf3|\xf2|\u1ecf|\xf5|\u1ecd|\xf4|\u1ed1|\u1ed3|\u1ed5|\u1ed7|\u1ed9|\u01a1|\u1edb|\u1edd|\u1edf|\u1ee1|\u1ee3/gi,"o")).replace(/\xfa|\xf9|\u1ee7|\u0169|\u1ee5|\u01b0|\u1ee9|\u1eeb|\u1eed|\u1eef|\u1ef1/gi,"u")).replace(/\xfd|\u1ef3|\u1ef7|\u1ef9|\u1ef5/gi,"y")).replace(/\u0111/gi,"d")).replace(/\`|\~|\!|\@|\#|\||\$|\%|\^|\&|\*|\(|\)|\+|\=|\,|\.|\/|\?|\>|\<|\'|\"|\:|\;|_/gi,"")).replace(/ /gi,"-")).replace(/\-\-\-\-\-/gi,"-")).replace(/\-\-\-\-/gi,"-")).replace(/\-\-\-/gi,"-")).replace(/\-\-/gi,"-"))+"@").replace(/\@\-|\-\@|\@/gi,"")}},{key:"xoa_dau",value:function(n){return n=(n=(n=(n=(n=(n=(n=(n=(n=(n=(n=(n=(n=(n=n.replace(/\xe0|\xe1|\u1ea1|\u1ea3|\xe3|\xe2|\u1ea7|\u1ea5|\u1ead|\u1ea9|\u1eab|\u0103|\u1eb1|\u1eaf|\u1eb7|\u1eb3|\u1eb5/g,"a")).replace(/\xe8|\xe9|\u1eb9|\u1ebb|\u1ebd|\xea|\u1ec1|\u1ebf|\u1ec7|\u1ec3|\u1ec5/g,"e")).replace(/\xec|\xed|\u1ecb|\u1ec9|\u0129/g,"i")).replace(/\xf2|\xf3|\u1ecd|\u1ecf|\xf5|\xf4|\u1ed3|\u1ed1|\u1ed9|\u1ed5|\u1ed7|\u01a1|\u1edd|\u1edb|\u1ee3|\u1edf|\u1ee1/g,"o")).replace(/\xf9|\xfa|\u1ee5|\u1ee7|\u0169|\u01b0|\u1eeb|\u1ee9|\u1ef1|\u1eed|\u1eef/g,"u")).replace(/\u1ef3|\xfd|\u1ef5|\u1ef7|\u1ef9/g,"y")).replace(/\u0111/g,"d")).replace(/\xc0|\xc1|\u1ea0|\u1ea2|\xc3|\xc2|\u1ea6|\u1ea4|\u1eac|\u1ea8|\u1eaa|\u0102|\u1eb0|\u1eae|\u1eb6|\u1eb2|\u1eb4/g,"A")).replace(/\xc8|\xc9|\u1eb8|\u1eba|\u1ebc|\xca|\u1ec0|\u1ebe|\u1ec6|\u1ec2|\u1ec4/g,"E")).replace(/\xcc|\xcd|\u1eca|\u1ec8|\u0128/g,"I")).replace(/\xd2|\xd3|\u1ecc|\u1ece|\xd5|\xd4|\u1ed2|\u1ed0|\u1ed8|\u1ed4|\u1ed6|\u01a0|\u1edc|\u1eda|\u1ee2|\u1ede|\u1ee0/g,"O")).replace(/\xd9|\xda|\u1ee4|\u1ee6|\u0168|\u01af|\u1eea|\u1ee8|\u1ef0|\u1eec|\u1eee/g,"U")).replace(/\u1ef2|\xdd|\u1ef4|\u1ef6|\u1ef8/g,"Y")).replace(/\u0110/g,"D")}},{key:"removeAccents",value:function(n){for(var e=["a\xe0\u1ea3\xe3\xe1\u1ea1\u0103\u1eb1\u1eb3\u1eb5\u1eaf\u1eb7\xe2\u1ea7\u1ea9\u1eab\u1ea5\u1ead","A\xc0\u1ea2\xc3\xc1\u1ea0\u0102\u1eb0\u1eb2\u1eb4\u1eae\u1eb6\xc2\u1ea6\u1ea8\u1eaa\u1ea4\u1eac","d\u0111","D\u0110","e\xe8\u1ebb\u1ebd\xe9\u1eb9\xea\u1ec1\u1ec3\u1ec5\u1ebf\u1ec7","E\xc8\u1eba\u1ebc\xc9\u1eb8\xca\u1ec0\u1ec2\u1ec4\u1ebe\u1ec6","i\xec\u1ec9\u0129\xed\u1ecb","I\xcc\u1ec8\u0128\xcd\u1eca","o\xf2\u1ecf\xf5\xf3\u1ecd\xf4\u1ed3\u1ed5\u1ed7\u1ed1\u1ed9\u01a1\u1edd\u1edf\u1ee1\u1edb\u1ee3","O\xd2\u1ece\xd5\xd3\u1ecc\xd4\u1ed2\u1ed4\u1ed6\u1ed0\u1ed8\u01a0\u1edc\u1ede\u1ee0\u1eda\u1ee2","u\xf9\u1ee7\u0169\xfa\u1ee5\u01b0\u1eeb\u1eed\u1eef\u1ee9\u1ef1","U\xd9\u1ee6\u0168\xda\u1ee4\u01af\u1eea\u1ee
1c\u1eee\u1ee8\u1ef0","y\u1ef3\u1ef7\u1ef9\xfd\u1ef5","Y\u1ef2\u1ef6\u1ef8\xdd\u1ef4"],t=0;t<e.length;t++){var i=new RegExp("["+e[t].substr(1)+"]","g"),r=e[t][0];n=n.replace(i,r)}return n}}]),n}();(0,o.Z)(a,"truncate",(function(n,e,t){if((0,c.isEmpty)(n))return n;var i=n.substr(0,e);return i.substr(0,Math.min(i.length,i.lastIndexOf(" ")))+(t||"")})),(0,o.Z)(a,"validateEmail",(function(n){return/^(([^<>()\[\]\\.,;:\s@"]+(\.[^<>()\[\]\\.,;:\s@"]+)*)|(".+"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\])|(([a-zA-Z\-0-9]+\.)+[a-zA-Z]{2,}))$/.test(String(n).toLowerCase())})),(0,o.Z)(a,"validatePhone",(function(n){if(!n)return!1;return/\b(0|84)([9|8|3|5|7])+([0-9]{8})\b/g.test(String(n.replace(/\s/g,"")).toLowerCase())})),(0,o.Z)(a,"capitalize",(function(n){var e=(0,c.clone)(n);return e.charAt(0).toUpperCase()+e.slice(1)})),(0,o.Z)(a,"uncapitalize",(function(n){var e=(0,c.clone)(n);return e.charAt(0).toLowerCase()+e.slice(1)})),(0,o.Z)(a,"formatPhone",(function(n){return n.slice(0,3)+"****"+n.slice(-3)})),(0,o.Z)(a,"transferNormalString",(function(n){return console.log(n),n=(n=(n=(n=(n=(n=(n=(n=n.toLowerCase().trim()).replace(/\xe0|\xe1|\u1ea1|\u1ea3|\xe3|\xe2|\u1ea7|\u1ea5|\u1ead|\u1ea9|\u1eab|\u0103|\u1eb1|\u1eaf|\u1eb7|\u1eb3|\u1eb5/g,"a")).replace(/\xe8|\xe9|\u1eb9|\u1ebb|\u1ebd|\xea|\u1ec1|\u1ebf|\u1ec7|\u1ec3|\u1ec5/g,"e")).replace(/\xec|\xed|\u1ecb|\u1ec9|\u0129/g,"i")).replace(/\xf2|\xf3|\u1ecd|\u1ecf|\xf5|\xf4|\u1ed3|\u1ed1|\u1ed9|\u1ed5|\u1ed7|\u01a1|\u1edd|\u1edb|\u1ee3|\u1edf|\u1ee1/g,"o")).replace(/\xf9|\xfa|\u1ee5|\u1ee7|\u0169|\u01b0|\u1eeb|\u1ee9|\u1ef1|\u1eed|\u1eef/g,"u")).replace(/\u1ef3|\xfd|\u1ef5|\u1ef7|\u1ef9/g,"y")).replace(/\u0111/g,"d")}))},78607:function(n,e,t){(window.__NEXT_P=window.__NEXT_P||[]).push(["/complain/ticket",function(){return t(25495)}])}},function(n){n.O(0,[9774,3662,260,4885,3336,8915,3804,343,205,2156,1968,8281,3014],(function(){return e=78607,n(n.s=e);var e}));var e=n.O();_N_E=e}]);

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.