PageSourceSearch

https://delco.mn/_next/static/chunks/pages/admin/systemCalc/month-e976521c03707ceb.js

js delco.mn collected 2026-09-24 15:06:40 UTC 19,239 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[7861],{62548:function(e,t,n){"use strict";n.d(t,{Z:function(){return l}});var r=n(87462),i=n(67294),o={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M811.4 368.9C765.6 248 648.9 162 512.2 162S258.8 247.9 213 368.8C126.9 391.5 63.5 470.2 64 563.6 64.6 668 145.6 752.9 247.6 762c4.7.4 8.7-3.3 8.7-8v-60.4c0-4-3-7.4-7-7.9-27-3.4-52.5-15.2-72.1-34.5-24-23.5-37.2-55.1-37.2-88.6 0-28 9.1-54.4 26.2-76.4 16.7-21.4 40.2-36.9 66.1-43.7l37.9-10 13.9-36.7c8.6-22.8 20.6-44.2 35.7-63.5 14.9-19.2 32.6-36 52.4-50 41.1-28.9 89.5-44.2 140-44.2s98.9 15.3 140 44.3c19.9 14 37.5 30.8 52.4 50 15.1 19.3 27.1 40.7 35.7 63.5l13.8 36.6 37.8 10c54.2 14.4 92.1 63.7 92.1 120 0 33.6-13.2 65.1-37.2 88.6-19.5 19.2-44.9 31.1-71.9 34.5-4 .5-6.9 3.9-6.9 7.9V754c0 4.7 4.1 8.4 8.8 8 101.7-9.2 182.5-94 183.2-198.2.6-93.4-62.7-172.1-148.6-194.9z"}},{tag:"path",attrs:{d:"M376.9 656.4c1.8-33.5 15.7-64.7 39.5-88.6 25.4-25.5 60-39.8 96-39.8 36.2 0 70.3 14.1 96 39.8 1.4 1.4 2.7 2.8 4.1 4.3l-25 19.6a8 8 0 003 14.1l98.2 24c5 1.2 9.9-2.6 9.9-7.7l.5-101.3c0-6.7-7.6-10.5-12.9-6.3L663 532.7c-36.6-42-90.4-68.6-150.5-68.6-107.4 0-195 85.1-199.4 191.7-.2 4.5 3.4 8.3 8 8.3H369c4.2-.1 7.7-3.4 7.9-7.7zM703 664h-47.9c-4.2 0-7.7 3.3-8 7.6-1.8 33.5-15.7 64.7-39.5 88.6-25.4 25.5-60 39.8-96 39.8-36.2 0-70.3-14.1-96-39.8-1.4-1.4-2.7-2.8-4.1-4.3l25-19.6a8 8 0 00-3-14.1l-98.2-24c-5-1.2-9.9 2.6-9.9 7.7l-.4 101.4c0 6.7 7.6 10.5 12.9 6.3l23.2-18.2c36.6 42 90.4 68.6 150.5 68.6 107.4 0 195-85.1 199.4-191.7.2-4.5-3.4-8.3-8-8.3z"}}]},name:"cloud-sync",theme:"outlined"},a=n(18103),c=function(e,t){return i.createElement(a.Z,(0,r.Z)({},e,{ref:t,icon:o}))};var l=i.forwardRef(c)},76489:function(e,t){"use strict";t.Q=function(e,t){if("string"!==typeof e)throw new TypeError("argument str must be a string");var n={},r=(t||{}).decode||i,o=0;for(;o<e.length;){var c=e.indexOf("=",o);if(-1===c)break;var l=e.indexOf(";",o);if(-1===l)l=e.length;else if(l<c){o=e.lastIndexOf(";",c-1)+1;continue}var s=e.slice(o,c).trim();if(void 0===n[s]){var u=e.slice(c+1,l).trim();34===u.charCodeAt(0)&&(u=u.slice(1,-1)),n[s]=a(u,r)}o=l+1}return n},t.q=function(e,t,i){var a=i||{},c=a.encode||o;if("function"!==typeof c)throw new TypeError("option encode is invalid");if(!r.test(e))throw new TypeError("argument name is invalid");var l=c(t);if(l&&!r.test(l))throw new TypeError("argument val is invalid");var s=e+"="+l;if(null!=a.maxAge){var u=a.maxAge-0;if(isNaN(u)||!isFinite(u))throw new TypeError("option maxAge is invalid");s+="; Max-Age="+Math.floor(u)}if(a.domain){if(!r.test(a.domain))throw new TypeError("option domain is invalid");s+="; Domain="+a.domain}if(a.path){if(!r.test(a.path))throw new TypeError("option path is invalid");s+="; Path="+a.path}if(a.expires){var d=a.expires;if(!function(e){return"[object Date]"===n.call(e)||e instanceof Date}(d)||isNaN(d.valueOf()))throw new TypeError("option expires is invali
1d");s+="; Expires="+d.toUTCString()}a.httpOnly&&(s+="; HttpOnly");a.secure&&(s+="; Secure");a.partitioned&&(s+="; Partitioned");if(a.priority){switch("string"===typeof a.priority?a.priority.toLowerCase():a.priority){case"low":s+="; Priority=Low";break;case"medium":s+="; Priority=Medium";break;case"high":s+="; Priority=High";break;default:throw new TypeError("option priority is invalid")}}if(a.sameSite){switch("string"===typeof a.sameSite?a.sameSite.toLowerCase():a.sameSite){case!0:s+="; SameSite=Strict";break;case"lax":s+="; SameSite=Lax";break;case"strict":s+="; SameSite=Strict";break;case"none":s+="; SameSite=None";break;default:throw new TypeError("option sameSite is invalid")}}return s};var n=Object.prototype.toString,r=/^[\u0009\u0020-\u007e\u0080-\u00ff]+$/;function i(e){return-1!==e.indexOf("%")?decodeURIComponent(e):e}function o(e){return encodeURIComponent(e)}function a(e,t){try{return t(e)}catch(n){return e}}},98123:function(e,t,n){(window.__NEXT_P=window.__NEXT_P||[]).push(["/admin/systemCalc/month",function(){return n(94543)}])},94543:function(e,t,n){"use strict";n.r(t);var r=n(34051),i=n.n(r),o=n(85893),a=n(67294),c=n(11163),l=n(23059),s=n(12461),u=n(71577),d=n(59652),m=n(40280),p=n(77987),h=n(62548),f=n(91798);function v(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function _(e,t,n,r,i,o,a){try{var c=e[o](a),l=c.value}catch(s){return void n(s)}c.done?t(l):Promise.resolve(l).then(r,i)}function y(e){return function(){var t=this,n=arguments;return new Promise((function(r,i){var o=e.apply(t,n);function a(e){_(o,r,i,a,c,"next",e)}function c(e){_(o,r,i,a,c,"throw",e)}a(void 0)}))}}function g(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function b(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},r=Object.keys(n);"function"===typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})))),r.forEach((function(t){g(e,t,n[t])}))}return e}function w(e){return function(e){if(Array.isArray(e))return v(e)}(e)||function(e){if("undefined"!==typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,t){if(!e)return;if("string"===typeof e)return v(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(n);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return v(e,t)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}t.default=function(){var e,t,n,r,v,_,g,x,k,S,O,C,j,I=(0,a.useState)(!1),N=I[0],E=I[1],T=(0,a.useState)(!1),A=T[0],F=T[1],P=(0,a.useState)(null),Z=P[0],M=P[1],D=(0,c.useRouter)(),L=new l.Z,U=(L.get("delco_user"),(new Date).getFullYear()),H=(new Date).getMonth()+1,K=(0,a.useState)([]),q=(K[0],K[1]),R=Array.from({length:U-2023+1},(function(e,t){return 2023+t})),z=(0,a.useState)(Array.from({length:12},(function(e,t){return{month:t+1,data:null}}))),W=z[0],Q=z[1],B=(0,a.useState)({totalWeb:0,totalMechanic:0,totalWebFee:0,totalMechanicFee:0,totalFee:0}),J=B[0],X=B[1],Y=(0,a.useState)({year:U,month:H+1}),$=Y[0],V=Y[1];function G(){return(G=y(i().mark((function e(t){var n,r,o;return i().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(null===(n=L.get("delco_user"))||void 0===n?void 0:n.merchant_id){e.next=3;break}return e.abrupt("return");case 3:if(!(Z>0)){e.next=5;break}return e.abrupt("return");case 5:return M(t),e.prev=6,e.next=9,f._6.salesCalculationByMerchant(null===n||void 0===n?void 0:n.merchant_id,$.year,t);case 9:"Success"===(null===(r=e.sent.data)||void 0===r?void 0:r.status)?s.ZP.success("\u0410\u043c\u0436\u0438\u043b\u0442\u0442\u0430\u0439"):null===r||void 0===r||null===(o=r.errors)||void 0===o||o.map((function(e){s.ZP.error(e.msg)})),e.next=15;break;case 13:e.prev=13,e.t0=e.catch(6);case 15:return e.prev=15,M(null),e.finish(15);case 18:case"end":return e.stop()}}),e,null,[[6,13,15,18]])})))).apply(this,arguments)}function ee(){return te.apply(this,arguments)}function te(){return(te=y(i().mark((function e(){var t,n,r,o;return i().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(null===(t=L.get("delco_user"))||void 0===t?void 0:t.merchant_id){e.next=3;break}return e.abrupt("return");case 3:if(!N){e.next=5;break}return e.abrupt("return");case 5:return E(!0),e.prev=6,e.next=9,f._6.salesCalculation("".concat(null===t||void 0===t?void 0:t.merchant_id,"?page=0&results=25&year=").concat($.year));case 9:n=e.sent.data,r=w(W),o={totalDelivery_price:0,totalSubtotal_price:0,totalTotal_price:0,totalTake_merchant_price:0,totalPaid_customer_price:0,totalSend_merchant_price:0,totalAmount:0,totalPaid:0,totalCalc_delivery_price:0},(null===n||void 0===n?void 0:n.data.length)>0?(null===n||void 0===n||n.data.map((function(e){r[e.calc_month-1]={month:e.calc_month,data:e},o.totalDelivery_price+=e.delivery_price,o.totalTotal_price+=e.total_price,o.totalSubtotal_price+=e.subtotal_price,o.totalTake_merchant_price+=e.take_merchant_price,o.totalPaid_customer_price+=e.paid_customer_price,o.totalSend_merchant_price+=e.send_merchant_price,o.totalAmount+=e.amount,o.totalPaid+=e.paid,o.totalCalc_delivery_price+=e.calc_delivery_price})),Q(r),X(o)):(X({totalWeb:0,totalMechanic:0,totalWebFee:0,totalMechanicFee:0,totalFee:0}),Q(Array.from({length:12},(function(e,t){return{month:t+1,data:null}})))),E(!1),e.next=19;break;case 16:e.prev=16,e.t0=e.catch(6),console.log(e.t0);case 19:return e.prev=19,E(!1),e.finish(19);case 22:case"end":return e.stop()}}),e,null,[[6,16,19,22]])})))).apply(this,arguments)}function ne(){return(ne=y(i().mark((function e(){var t,n,r;return i().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(null===(t=L.get("delco_user"))||void 0===t?void 0:t.merchant_id){e.next=3;break}return e.abrupt("return");case 3:if(!A){e.next=5;break}return e.abrupt("return");case 5:return F(!0),e.prev=6,e.next=9,f._6.salesCalculation("".concat(null===t||void 0===t?void 0:t.merchant_id,"?page=0&results=25&year=").concat($.year,"&month=").concat($.month,"&calc_type=DAY"));case 9:n=e.sent.data,r=null===n||void 0===n?void 0:n.data.map((function(e){return b({},e,{date:"".concat(e.calc_year,"-").concat(e.calc_month,"-").concat(e.calc_day),order_price:"".concat(e.total_price-e.customer_price),balance:"".concat(e.customer_price-e.paid_customer_price)})})).sort((function(e,t){return e.calc_day-t.calc_day})),q(r),F(!1),e.next=18;break;case 15:e.prev=15,e.t0=e.catch(6),console.log(e.t0);case 18:return e.prev=18,F(!1),e.finish(18);case 21:case"end":return e.stop()}}),e,null,[[6,15,18,21]])})))).apply(this,arguments)}(0,a.useEffect)((function(){ee()}),[$.year]),(0,a.useEffect)((function(){$.month&&function(){ne.apply(this,arguments)}()}),[$.month]),(0,a.useEffect)((function(){D.query.id&&ee()}),[D.query.id]);var re,ie,oe,ae,ce,le,se,ue=[{title:"\u041e\u0433\u043d\u043e\u043e(\u0421\u0430\u0440\u0430\u0430\u0440)",dataIndex:"month",key:"month",render:function(t,n){var r;return(0,o.jsxs)("p",{className:"cursor-pointer ".concat($.month===n.month?"text-[#000] underline font-semibold":""),children:[null!==(e=null===(r=n.data)||void 0===r?void 0:r.calc_year)&&void 0!==e?e:$.year,"-",n.month," \u0441\u0430\u0440"]})}},{title:"\u041d\u0438\u0439\u0442 \u0430\u0432\u0430\u0445",dataIndex:"total_price",key:"total_price",render:function(e,n){var r;return"".concat((new Intl.NumberFormat).format(null!==(t=null===n||void 0===n||null===(r=n.data)||void 0===r?void 0:r.total_price)&&void 0!==t?t:0),"\u20ae")}},{title:"\u0423\u0440\u044c\u0434\u0447\u0438\u043b\u0430\u043d \u0430\u0432\u0441\u0430\u043d",dataIndex:"prepaid",key:"prepaid",render:function(e,t){var i,o;return"".concat((new Intl.NumberFormat).format((null!==(n=null===t||void 0===t||null===(i=t.data)||void 0===i?void 0:i.total_price)&&void 0!==n?n:0)-(null!==(r=null===t||void 0===t||null===(o=t.data)||void 0===o?void 0:o.customer_price)&&void 0!==r?r:0)),"\u20ae")}},{title:"\u0425\u0410 \u0430\u0432\u0430\u0445",dataIndex:"customer_price",key:"customer_price",render:function(e,t){var n;return"".concat((new Intl.NumberFormat).format(null!==(v=null===t||void 0===t||null===(n=t.data)||void 0===n?void 0:n.customer_price)&&void 0!==v?v:0),"\u20ae")}},{title:"\u0425\u0410 \u0430\u0432\u0441\u0430\u043d",dataIndex:"paid_customer_price",key:"paid_customer_price",render:function(e,t){var n;return"".concat((new Intl.NumberFormat).format(null!==(_=null===t||void 0===t||null===(n=t.data)||void 0===n?void 0:n.paid_customer_price)&&void 0!==_?_:0),"\u20ae")}},{title:"\u04ae\u043b\u0434\u044d\u0433\u0434\u044d\u043b",dataIndex:"balance",key:"balance",render:function(e,t){var n,r;return"".concat((new Intl.NumberFormat).format((null!==(g=null===t||void 0===t||null===(n=t.data)||void 0===n?void 0:n.customer_price)&&void 0!==g?g:0)-(null!==(x=null===t||void 0===t||null===(r=t.data)||void 0===r?void 0:r.paid_customer_price)&&void 0!==x?x:0)),"\u20ae")}},{title:"\u0425\u04af\u0440\u0433\u044d\u043b\u0442\u0438\u0439\u043d \u04af\u0439\u043b\u0447\u0438\u043b\u0433\u044d\u044d\u043d\u0438\u0439 \u0442\u04e9\u043b\u0431\u04e9\u0440",dataIndex:"calc_delivery_price",key:"calc_delivery_price",render:function(e,t){var n;return"".concat((new Intl.NumberFormat).format(null!==(k=null===(n=t.data)||void 0===n?void 0:n.calc_delivery_price)&&void 0!==k?k:0),"\u20ae")}},{title:"\u0422\u0430\u0442\u0430\u043d \u0430\u0432\u0430\u043b\u0442\u044b\u043d \u0442\u04e9\u043b\u0431\u04e9\u0440",dataIndex:"withdraw_price",key:"withdraw_price",render:function(e,t){var n;return"".concat((new Intl.NumberFormat).format(null!==(S=null===(n=t.data)||void 0===n?void 0:n.withdraw_price)&&void 0!==S?S:0),"\u20ae")}},{title:"\u0425\u0430\u0440\u0438\u043b\u0446\u0430\u0433\u0447\u0438\u0434 \u0442\u04e9\u043b\u04e9\u0445",dataIndex:"send_merchant_price",key:"send_merchant_price",render:function(e,t){var n;return"".concat((new Intl.NumberFormat).format(null!==(O=null===t||void 0===t||null===(n=t.data)||void 0===n?void 0:n.send_merchant_price)&&void 0!==O?O:0),"\u20ae")}},{title:"\u0425\u0430\u0440\u0438\u043b\u0446\u0430\u0433\u0447\u0430\u0430\u0441 \u0442\u04e9\u043b\u04e9\u0445",dataIndex:"take_merchant_price",key:"take_merchant_price",render:function(e,t){var n;return"".concat((new Intl.NumberFormat).format(null!==(C=null===t||void 0===t||null===(n=t.data)||void 0===n?void 0:n.take_merchant_price)&&void 0!==C?C:0),"\u20ae")}}
1,{title:"\u0417\u04e9\u0440\u04af\u04af",dataIndex:"amount",key:"amount",render:function(e,t){var n;return"".concat((new Intl.NumberFormat).format(null!==(j=null===t||void 0===t||null===(n=t.data)||void 0===n?void 0:n.amount)&&void 0!==j?j:0),"\u20ae")}},{title:"\u0422\u043e\u043e\u0446\u043e\u043e\u043d\u044b \u0442\u04e9\u043b\u04e9\u04e9\u0432",dataIndex:"payment_status",key:"payment_status"},{title:"\u04ae\u0439\u043b\u0434\u044d\u043b",key:"action",render:function(e,t){return(0,o.jsx)(u.Z,{size:"small",icon:(0,o.jsx)(h.Z,{rev:"",className:"text-[#fff]"}),loading:Z==t.month,onClick:function(){return function(e){return G.apply(this,arguments)}(null===t||void 0===t?void 0:t.month)},className:(null===t||void 0===t?void 0:t.data)?"bg-primary-100 ml-2":"bg-red-500 ml-2"})}}];return(0,o.jsx)("div",{children:(0,o.jsx)(d.Z,{title:"\u0425\u04af\u0440\u0433\u044d\u043b\u0442\u0438\u0439\u043d \u0442\u043e\u043e\u0446\u043e\u043e \u0441\u0430\u0440\u0430\u0430\u0440",extra:[(0,o.jsx)(m.Z,{value:$.year,onSelect:function(e){V(b({},$,{year:e}))},children:R.map((function(e){return(0,o.jsxs)(m.Z.Option,{value:e,children:[e," \u043e\u043d"]})}))}),(0,o.jsx)(u.Z,{onClick:function(){return D.push("/admin/systemCalc")},className:" ml-1",children:"\u04e8\u0434\u0440\u04e9\u04e9\u0440 \u0445\u0430\u0440\u0430\u0445"})],children:(0,o.jsx)(p.Z,{dataSource:W,columns:ue,rowKey:"month",pagination:!1,bordered:!0,scroll:{x:1300},loading:N,className:"mb-4",summary:function(){return(0,o.jsxs)(p.Z.Summary.Row,{children:[(0,o.jsx)(p.Z.Summary.Cell,{index:0,colSpan:1,children:(0,o.jsx)("strong",{children:"\u041d\u0438\u0439\u0442 \u0434\u04af\u043d:"})}),(0,o.jsx)(p.Z.Summary.Cell,{index:1,children:(0,o.jsxs)("strong",{children:[(new Intl.NumberFormat).format(null!==(re=J.totalSubtotal_price)&&void 0!==re?re:""),"\u20ae"]})}),(0,o.jsx)(p.Z.Summary.Cell,{index:2,children:(0,o.jsxs)("strong",{children:[(new Intl.NumberFormat).format(null!==(ie=J.totalDelivery_price)&&void 0!==ie?ie:""),"\u20ae"]})}),(0,o.jsx)(p.Z.Summary.Cell,{index:3,children:(0,o.jsxs)("strong",{children:[(new Intl.NumberFormat).format(null!==(oe=J.totalTotal_price)&&void 0!==oe?oe:""),"\u20ae"]})}),(0,o.jsx)(p.Z.Summary.Cell,{index:4,children:(0,o.jsxs)("strong",{children:[(new Intl.NumberFormat).format(null!==(ae=J.totalTake_merchant_price)&&void 0!==ae?ae:""),"\u20ae"]})}),(0,o.jsx)(p.Z.Summary.Cell,{index:5,children:(0,o.jsxs)("strong",{children:[(new Intl.NumberFormat).format(null!==(ce=J.totalPaid_customer_price)&&void 0!==ce?ce:""),"\u20ae"]})}),(0,o.jsx)(p.Z.Summary.Cell,{index:6,children:(0,o.jsxs)("strong",{children:[(new Intl.NumberFormat).format(null!==(le=J.totalSend_merchant_price)&&void 0!==le?le:""),"\u20ae"]})}),(0,o.jsx)(p.Z.Summary.Cell,{index:7,children:(0,o.jsxs)("strong",{children:[(new Intl.NumberFormat).format(null!==(se=J.totalAmount)&&void 0!==se?se:""),"\u20ae"]})}),(0,o.jsx)(p.Z.Summary.Cell,{index:8,colSpan:4})]})}})})})}},23059:function(e,t,n){"use strict";n.d(t,{Z:function(){return o}});var r=n(76489);function i(e,t={}){const n=function(e){if(e&&"j"===e[0]&&":"===e[1])return e.substr(2);return e}(e);if(!t.doNotParse)try{return JSON.parse(n)}catch(r){}return e}class o{constructor(e,t={}){this.changeListeners=[],this.HAS_DOCUMENT_COOKIE=!1,this.update=()=>{if(!this.HAS_DOCUMENT_COOKIE)return;const e=this.cookies;this.cookies=r.Q(document.cookie),this._checkChanges(e)};const n="undefined"===typeof document?"":document.cookie;this.cookies=function(e){return"string"===typeof e?r.Q(e):"object"===typeof e&&null!==e?e:{}}(e||n),this.defaultSetOptions=t,this.HAS_DOCUMENT_COOKIE=function(){const e="undefined"===typeof global?void 0:global.TEST_HAS_DOCUMENT_COOKIE;return"boolean"===typeof e?e:"object"===typeof document&&"string"===typeof document.cookie}()}_emitChange(e){for(let t=0;t<this.changeListeners.length;++t)this.changeListeners[t](e)}_checkChanges(e){new Set(Object.keys(e).concat(Object.keys(this.cookies))).forEach((t=>{e[t]!==this.cookies[t]&&this._emitChange({name:t,value:i(this.cookies[t])})}))}_startPolling(){this.pollingInterval=setInterval(this.update,300)}_stopPolling(){this.pollingInterval&&clearInterval(this.pollingInterval)}get(e,t={}){return t.doNotUpdate||this.update(),i(this.cookies[e],t)}getAll(e={}){e.doNotUpdate||this.update();const t={};for(let n in this.cookies)t[n]=i(this.cookies[n],e);return t}set(e,t,n){n=n?Object.assign(Object.assign({},this.defaultSetOptions),n):this.defaultSetOptions;const i="string"===typeof t?t:JSON.stringify(t);this.cookies=Object.assign(Object.assign({},this.cookies),{[e]:i}),this.HAS_DOCUMENT_COOKIE&&(document.cookie=r.q(e,i,n)),this._emitChange({name:e,value:t,options:n})}remove(e,t){const n=t=Object.assign(Object.assign(Object.assign({},this.defaultSetOptions),t),{expires:new Date(1970,1,1,0,0,1),maxAge:0}
1);this.cookies=Object.assign({},this.cookies),delete this.cookies[e],this.HAS_DOCUMENT_COOKIE&&(document.cookie=r.q(e,"",n)),this._emitChange({name:e,value:void 0,options:t})}addChangeListener(e){this.changeListeners.push(e),this.HAS_DOCUMENT_COOKIE&&1===this.changeListeners.length&&("object"===typeof window&&"cookieStore"in window?window.cookieStore.addEventListener("change",this.update):this._startPolling())}removeChangeListener(e){const t=this.changeListeners.indexOf(e);t>=0&&this.changeListeners.splice(t,1),this.HAS_DOCUMENT_COOKIE&&0===this.changeListeners.length&&("object"===typeof window&&"cookieStore"in window?window.cookieStore.removeEventListener("change",this.update):this._stopPolling())}}}},function(e){e.O(0,[280,2658,9652,7616,7987,9774,2888,179],(function(){return t=98123,e(e.s=t);var t}));var t=e.O();_N_E=t}]);

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.