PageSourceSearch

https://static-product.cellphones.com.vn/00c51c3.js

js cellphones.com.vn collected 2026-10-02 05:34:51 UTC 21,678 bytes, 1 lines download raw bytes

1(window.webpackJsonp=window.webpackJsonp||[]).push([[114,199],{2181:function(e,t,r){"use strict";r.r(t);var n=r(17),o=r(0),c=r(3),l=(r(5),r(8),r(55),r(33),r(45),r(35),r(39),r(85),r(10),r(6),r(16),r(342),r(18),r(15),r(23),r(24),r(28),r(95),r(659),r(660),r(661),r(662),r(663),r(664),r(665),r(666),r(667),r(668),r(669),r(670),r(671),r(672),r(673),r(674),r(14),r(32),r(11)),d=r(700),h=r(636),f=r(755),v=r(73),m=r(838),x=r(1274);function k(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function w(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?k(Object(r),!0).forEach(function(t){Object(c.a)(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):k(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}var y={name:"CategoryBoxVoucherRedeem",components:{LayoutsTeleportModal:function(){return r.e(6).then(r.bind(null,713))},RenderHtml:function(){return Promise.resolve().then(r.bind(null,241))},FixedTooltip:function(){return r.e(43).then(r.bind(null,1272))},VueRecaptcha:d.a,Swiper:h.Swiper,SwiperSlide:h.SwiperSlide},extends:x.default,data:function(){return{cpsSmember:"https://smember.com.vn/",availableTurn:0,showPopup:!1,showModalTnc:!1,contentTnc:"",showModalGuest:!1,stepOtp:"get",phoneGuest:"",otpGuest:"",pendingCollectItem:null,tokenRecaptcha:"",versionCaptcha:3,enableRecaptcha:!1,ggcaptcha_sitekey:"6LetVbYUAAAAABRM1I3VO6WD-xxhzTKiR9MDmbNK",ggcaptcha_v3_sitekey:"6LciitkqAAAAAPx7pAQBXIsJHmqwIdl4Ks9GyefN",titleErrorCaptchaScoreLow:"Vui lòng xác thực ReCaptcha",showModalSuccess:!1,successCollectItem:null,swiperOptions:{slidesPerView:"auto",spaceBetween:16,watchOverflow:!0,loop:!1,freeMode:!0,breakpoints:{0:{slidesPerView:"auto",spaceBetween:12},769:{slidesPerView:"auto",spaceBetween:16}}},truncatedMap:{}}},computed:w(w(w(w(w({},Object(l.e)("voucher-redeem",["listVoucherRedeem","collectedVoucherRedeem"])),Object(l.e)("login",["user","getProfileDone"])),Object(l.e)("block-by-id",["blockData"])),Object(l.e)("product",["filterData","categoryId"])),{},{userLevel:function(){var e;return(null===(e=this.user)||void 0===e||null===(e=e.level)||void 0===e?void 0:e.toLowerCase())||"special"},userType:function(){var e;return(null===(e=this.user)||void 0===e||null===(e=e.customer_type)||void 0===e?void 0:e.toLowerCase())||""},showViewAll:function(){var e;return((null===(e=this.listVoucherRedeem)||void 0===e?void 0:e.length)||0)>=2}}),watch:{user:{handler:function(){var e;null!==(e=this.user)&&void 0!==e&&e.loggedIn&&(this.showModalGuest=!1,this.lockScroll(!1))}},getProfileDone:{handler:function(e){e&&this.fetchVouchers()}}},mounted:function(){var e=this;return Object(o.a)(regeneratorRuntime.mark(function t(){var r,n;return regeneratorRuntime.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return t.prev=0,t.next=1,null===(r=e.$recaptcha)||void 0===r?void 0:r.init();case 1:t.next=3;break;case 2:t.prev=2,n=t.catch(0),console.error("Recaptcha init:",n);case 3:if(!e.getProfileDone){t.next=4;break}return t.next=4,e.fetchVouchers();case 4:e.$nextTick(e.checkTruncation);case 5:case"end":return t.stop()}},t,null,[[0,2]])}))()},updated:function(){this.$nextTick(this.checkTruncation)},beforeDestroy:function(){var e;null===(e=this.$recaptcha)||void 0===e||e.destroy()},methods:w(w(w(w({lockScroll:v.x,copyToClipboard:v.k,findCommonElements:v.n,getVoucherTimeLabel:m.a,isVoucherCollectable:m.b,checkTruncation:function(){var e=this,map={};Object.keys(this.$refs).forEach(function(t){if(t.startsWith("carousel-")||t.startsWith("popup-")||t.startsWith("desc-carousel-")||t.startsWith("desc-popup-")){var r=Array.isArray(e.$refs[t])?e.$refs[t][0]:e.$refs[t];r&&(map[t]=r.scrollHeight>r.clientHeight)}});var t=this.truncatedMap;(Object.keys(map).some(function(e){return map[e]!==t[e]})||Object.keys(t).some(function(e){return!(e in map)}))&&(this.truncatedMap=map)}},Object(l.b)("voucher-redeem",["collectVoucherRedeem","getListVoucherRedeem"])),Object(l.b)("block-by-id",["getDataBlockId"])),Object(l.d)("login",["toggleModalLogin"])),{},{openTncModal:function(e){null!=e&&e.tnc&&this.toggleModalTnc(!0,e.tnc)},toggleModalTnc:function(e,t){var r=this;return Object(o.a)(regeneratorRuntime.mark(function n(){return regeneratorRuntime.wrap(function(n){for(;;)switch(n.prev=n.next){case 0:if(r.showModalTnc=e,r.lockScroll(e),!e||!t){n.next=2;break}if(r.blockData[t]){n.next=1;break}return n.next=1,r.getDataBlockId({block:t,ud:t});case 1:r.contentTnc=r.blockData[t]||"";case 2:case"end":return n.stop()}},n)}))()},fetchVouchers:function(){var e=this;return Object(o.a)(regeneratorRuntime.mark(function t(){var r,o,c,l;return regeneratorRuntime.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return o=e.filterData["".concat(e.categoryId)],c=(null==o?void 0:o.categories)||[],l=[].concat(Object(n.a)(c.map(function(e){return Number(null==e?void 0:e.id)}
1)),Object(n.a)(e.categoryId?[Number(e.categoryId)]:[])),t.next=1,e.getListVoucherRedeem({customerLevel:(null===(r=e.user)||void 0===r||null===(r=r.level)||void 0===r?void 0:r.toLowerCase())||"guest",productId:null,categories:Object(n.a)(new Set(l)),price:null});case 1:case"end":return t.stop()}},t)}))()},getPriceByUser:function(){return 0},collectVoucher:function(e){var t=this;return Object(o.a)(regeneratorRuntime.mark(function r(){var n,o,c,l,d,h;return regeneratorRuntime.wrap(function(r){for(;;)switch(r.prev=r.next){case 0:if(null!=e&&e.code){r.next=1;break}return r.abrupt("return");case 1:if(0!==e.remain_slot){r.next=2;break}return t.$alertMessage({message:"Bạn đã thu thập voucher này rồi.",icon:"CircleExclamation",type:"warning"}),r.abrupt("return");case 2:if(null!==(n=t.user)&&void 0!==n&&n.loggedIn){r.next=3;break}return t.pendingCollectItem=e,t.toggleModalGuest(!0),r.abrupt("return");case 3:return r.prev=3,t.pendingCollectItem=e,r.next=4,t.getTask({optAction:""});case 4:if(r.sent){r.next=5;break}return r.abrupt("return");case 5:return r.next=6,t.getAvailableTurn({gameCode:e.code});case 6:return r.next=7,t.collectVoucherRedeem({gameCode:e.code,phone:null===(o=t.user)||void 0===o?void 0:o.phone});case 7:return r.next=8,t.fetchVouchers();case 8:t.successCollectItem=e,t.toggleModalSuccess(!0),t.launchConfetti(),r.next=11;break;case 9:if(r.prev=9,"voucher_expired"!==(null==(h=r.catch(3))||null===(c=h.response)||void 0===c||null===(c=c.data)||void 0===c?void 0:c.code)){r.next=10;break}return r.abrupt("return");case 10:d=(null==h||null===(l=h.response)||void 0===l||null===(l=l.data)||void 0===l?void 0:l.message)||(null==h?void 0:h.message)||"Thu thập voucher thất bại. Vui lòng thử lại.",t.$alertMessage({message:d,icon:"CircleExclamation",type:"warning"});case 11:case"end":return r.stop()}},r,null,[[3,9]])}))()},getTask:function(e){var t=this;return Object(o.a)(regeneratorRuntime.mark(function r(){var n,o,c,l,d,h,f,v,m,x,k,w,y,S;return regeneratorRuntime.wrap(function(r){for(;;)switch(r.prev=r.next){case 0:if(o=e.optAction,"sent"!==(c=void 0===o?"":o)){r.next=1;break}if(t.otpGuest=t.verifyOTP(),t.otpGuest){r.next=1;break}return r.abrupt("return",!1);case 1:if(l=null===(n=t.pendingCollectItem)||void 0===n?void 0:n.code){r.next=2;break}return r.abrupt("return",!1);case 2:if(d=t.$cookies.get("token")||t.$cookies.get("guest_token")||""){r.next=3;break}return r.abrupt("return",!1);case 3:return h=t.phoneGuest&&c?"&phone=".concat(t.phoneGuest):"",f=t.otpGuest&&c?"&otp=".concat(t.otpGuest):"",v="".concat("https://api.cellphones.com.vn/","minigame-flip-card/tasks?game_code=").concat(l).concat(h).concat(f),m={headers:{accept:"application/json, text/plain, */*",authorization:"Bearer ".concat(d),"X-Client-Type":"web","X-Recaptcha-Token":t.tokenRecaptcha,"X-Recaptcha-Version":t.versionCaptcha,"X-Recaptcha-Key":2===t.versionCaptcha?t.ggcaptcha_sitekey:t.ggcaptcha_v3_sitekey,"X-Recaptcha-Action":"campaign"}},r.prev=4,r.next=5,t.$axios.get(v,m);case 5:if(200!==(x=r.sent).status){r.next=11;break}if("get"!==c){r.next=6;break}t.stepOtp="sent",t.setupOtpInputs(),r.next=10;break;case 6:if("sent"!==c){r.next=10;break}return r.next=7,t.getAvailableTurn({gameCode:null===(k=t.pendingCollectItem)||void 0===k?void 0:k.code});case 7:return r.next=8,t.collectVoucherRedeem({gameCode:null===(w=t.pendingCollectItem)||void 0===w?void 0:w.code,phone:t.phoneGuest});case 8:return r.next=9,t.fetchVouchers();case 9:t.successCollectItem=t.pendingCollectItem,t.toggleModalGuest(!1),t.toggleModalSuccess(!0),t.launchConfetti();case 10:r.next=12;break;case 11:429===x.status&&t.enableRecaptchaV2();case 12:r.next=15;break;case 13:return r.prev=13,S=r.catch(4),r.next=14,t.handleTaskError(S);case 14:if("voucher_expired"!==(null==S||null===(y=S.response)||void 0===y||null===(y=y.data)||void 0===y?void 0:y.code)){r.next=15;break}return r.abrupt("return",!1);case 15:return r.abrupt("return",!0);case 16:case"end":return r.stop()}}
1,r,null,[[4,13]])}))()},getAvailableTurn:function(e){var t=this;return Object(o.a)(regeneratorRuntime.mark(function r(){var n,o,c,l,d,h,f,v,m;return regeneratorRuntime.wrap(function(r){for(;;)switch(r.prev=r.next){case 0:if(n=e.gameCode,o=t.$cookies.get("token")||t.$cookies.get("guest_token")||""){r.next=1;break}return r.abrupt("return");case 1:return c=t.phoneGuest?"&phone=".concat(t.phoneGuest):"",l="".concat("https://api.cellphones.com.vn/","minigame-flip-card/check-play-times?game_code=").concat(n).concat(c),d={headers:{Authorization:"Bearer ".concat(o)}},r.prev=2,r.next=3,t.$axios.get(l,d);case 3:200===(h=r.sent).status&&(t.availableTurn=(null===(f=h.data)||void 0===f?void 0:f.play_times)||0),r.next=6;break;case 4:if(r.prev=4,"voucher_expired"!==(null==(m=r.catch(2))||null===(v=m.response)||void 0===v||null===(v=v.data)||void 0===v?void 0:v.code)){r.next=5;break}return t.$alertMessage({message:m.response.data.message,icon:"CircleExclamation",type:"warning"}),r.next=5,t.fetchVouchers();case 5:throw m;case 6:case"end":return r.stop()}},r,null,[[2,4]])}))()},checkValidPhone:function(){return/^((09|03|07|08|05)+(\d{8}))$/g.test(this.phoneGuest)},verifyToken:function(data){this.tokenRecaptcha=data},handleExpired:function(){this.tokenRecaptcha=""},getOtp:function(){var e=this;return Object(o.a)(regeneratorRuntime.mark(function t(){return regeneratorRuntime.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:if(e.enableRecaptcha){t.next=2;break}return t.next=1,e.$recaptcha.getToken(e.ggcaptcha_v3_sitekey,{action:"campaign"});case 1:e.tokenRecaptcha=t.sent;case 2:return t.next=3,e.getTask({optAction:"get"});case 3:case"end":return t.stop()}},t)}))()},toggleModalGuest:function(e){this.showModalGuest=e,this.lockScroll(e),e?(this.stepOtp="get",this.phoneGuest="",this.otpGuest="",this.tokenRecaptcha="",this.enableRecaptcha=!1,this.versionCaptcha=3):this.pendingCollectItem=null},toggleModalSuccess:function(e){this.showModalSuccess=e,this.lockScroll(e),e||(this.successCollectItem=null)},copyVoucherCode:function(){var e,code=(null===(e=this.collectedVoucherRedeem)||void 0===e||null===(e=e.data)||void 0===e?void 0:e.voucher_code)||"";this.copyToClipboard(code,"Đã sao chép mã voucher!")},handleTaskError:function(e){var t=this;return Object(o.a)(regeneratorRuntime.mark(function r(){var n,o,c;return regeneratorRuntime.wrap(function(r){for(;;)switch(r.prev=r.next){case 0:if("voucher_expired"!==(c=null==e||null===(n=e.response)||void 0===n||null===(n=n.data)||void 0===n?void 0:n.code)){r.next=2;break}return t.$alertMessage({message:e.response.data.message,icon:"CircleExclamation",type:"warning"}),t.toggleModalGuest(!1),r.next=1,t.fetchVouchers();case 1:return r.abrupt("return");case 2:if("wait_otp"!==c){r.next=3;break}return t.toggleModalGuest(!1),t.toggleModalLogin({condition:!0,title:"thu thập voucher dễ dàng và nhanh chóng hơn"}),r.abrupt("return");case 3:["invalid_captcha","captcha_score_low"].includes(c)&&(t.enableRecaptchaV2(),t.handleExpired()),t.$alertMessage({message:(null==e||null===(o=e.response)||void 0===o||null===(o=o.data)||void 0===o?void 0:o.message)||"Đã xảy ra lỗi!",icon:"CircleExclamation",type:"error"}),"invalid_captcha"!==c&&"captcha_score_low"!==c&&t.toggleModalGuest(!1);case 4:case"end":return r.stop()}},r)}))()},verifyOTP:function(){var e=document.querySelectorAll(".box-voucher-redeem-otp input"),t=Array.from(e).map(function(input){return input.value}).join("");return 4===t.length?t:(this.$alertMessage({message:"Vui lòng nhập đầy đủ mã OTP",icon:"CircleExclamation",type:"error"}),"")},setupOtpInputs:function(){var e=document.querySelectorAll(".box-voucher-redeem-otp input");e.forEach(function(input,t){input.addEventListener("input",function(r){r.target.value.length>1&&(r.target.value=r.target.value.slice(0,1)),1===r.target.value.length&&t<e.length-1&&e[t+1].focus()}),input.addEventListener("keydown",function(r){"Backspace"===r.key&&!r.target.value&&t>0&&e[t-1].focus(),"e"===r.key&&r.preventDefault()})})},enableRecaptchaV2:function(){var e;this.enableRecaptcha=!0,this.versionCaptcha=2,null===(e=this.$refs.recaptchav2)||void 0===e||e.reset(),this.tokenRecaptcha=""}
1,launchConfetti:function(){var canvas=document.getElementById("confetti");canvas&&(canvas.confetti=canvas.confetti||f.a.create(canvas,{resize:!0}),canvas.confetti({particleCount:100,spread:70,origin:{y:.6}}))}})},S=r(44),component=Object(S.a)(y,void 0,void 0,!1,null,null,null);t.default=component.exports},626:function(e,t,r){"use strict";var n=r(629).has;e.exports=function(e){return n(e),e}},629:function(e,t,r){"use strict";var n=r(9),o=Set.prototype;e.exports={Set:Set,add:n(o.add),has:n(o.has),remove:n(o.delete),proto:o}},631:function(e,t,r){"use strict";var n=r(9),o=r(341),c=r(629),l=c.Set,d=c.proto,h=n(d.forEach),f=n(d.keys),v=f(new l).next;e.exports=function(e,t,r){return r?o({iterator:f(e),next:v},t):h(e,t)}},637:function(e,t,r){"use strict";var n=r(60),o=r(25),c=r(684),l=r(21),d=n("Set");e.exports=function(e){return function(e){return l(e)&&"number"==typeof e.size&&o(e.has)&&o(e.keys)}(e)?e:c(e)?new d(e):e}},638:function(e,t,r){"use strict";var n=r(52),o=r(37),c=r(19),l=r(67),d=r(686),h="Invalid size",f=RangeError,v=TypeError,m=Math.max,x=function(e,t){this.set=e,this.size=m(t,0),this.has=n(e.has),this.keys=n(e.keys)};x.prototype={getIterator:function(){return d(o(c(this.keys,this.set)))},includes:function(e){return c(this.has,this.set,e)}},e.exports=function(e){o(e);var t=+e.size;if(t!=t)throw new v(h);var r=l(t);if(r<0)throw new f(h);return new x(e,r)}},645:function(e,t,r){"use strict";var n=r(344),o=r(629);e.exports=n(o.proto,"size","get")||function(e){return e.size}},651:function(e,t,r){"use strict";var n=r(629),o=r(631),c=n.Set,l=n.add;e.exports=function(e){var t=new c;return o(e,function(e){l(t,e)}),t}},659:function(e,t,r){"use strict";var n=r(4),o=r(626),c=r(629).add;n({target:"Set",proto:!0,real:!0,forced:!0},{addAll:function(){for(var e=o(this),t=0,r=arguments.length;t<r;t++)c(e,arguments[t]);return e}})},660:function(e,t,r){"use strict";var n=r(4),o=r(626),c=r(629).remove;n({target:"Set",proto:!0,real:!0,forced:!0},{deleteAll:function(){for(var e,t=o(this),r=!0,n=0,l=arguments.length;n<l;n++)e=c(t,arguments[n]),r=r&&e;return!!r}})},661:function(e,t,r){"use strict";var n=r(4),o=r(19),c=r(637),l=r(685);n({target:"Set",proto:!0,real:!0,forced:!0},{difference:function(e){return o(l,this,c(e))}})},662:function(e,t,r){"use strict";var n=r(4),o=r(49),c=r(626),l=r(631);n({target:"Set",proto:!0,real:!0,forced:!0},{every:function(e){var t=c(this),r=o(e,arguments.length>1?arguments[1]:void 0);return!1!==l(t,function(e){if(!r(e,e,t))return!1},!0)}})},663:function(e,t,r){"use strict";var n=r(4),o=r(49),c=r(626),l=r(629),d=r(631),h=l.Set,f=l.add;n({target:"Set",proto:!0,real:!0,forced:!0},{filter:function(e){var t=c(this),r=o(e,arguments.length>1?arguments[1]:void 0),n=new h;return d(t,function(e){r(e,e,t)&&f(n,e)}),n}})},664:function(e,t,r){"use strict";var n=r(4),o=r(49),c=r(626),l=r(631);n({target:"Set",proto:!0,real:!0,forced:!0},{find:function(e){var t=c(this),r=o(e,arguments.length>1?arguments[1]:void 0),n=l(t,function(e){if(r(e,e,t))return{value:e}},!0);return n&&n.value}})},665:function(e,t,r){"use strict";var n=r(4),o=r(19),c=r(637),l=r(687);n({target:"Set",proto:!0,real:!0,forced:!0},{intersection:function(e){return o(l,this,c(e))}})},666:function(e,t,r){"use strict";var n=r(4),o=r(19),c=r(637),l=r(688);n({target:"Set",proto:!0,real:!0,forced:!0},{isDisjointFrom:function(e){return o(l,this,c(e))}})},667:function(e,t,r){"use strict";var n=r(4),o=r(19),c=r(637),l=r(689);n({target:"Set",proto:!0,real:!0,forced:!0},{isSubsetOf:function(e){return o(l,this,c(e))}})},668:function(e,t,r){"use strict";var n=r(4),o=r(19),c=r(637),l=r(690);n({target:"Set",proto:!0,real:!0,forced:!0},{isSupersetOf:function(e){return o(l,this,c(e))}})},669:function(e,t,r){"use strict";var n=r(4),o=r(9),c=r(626),l=r(631),d=r(36),h=o([].join),f=o([].push);n({target:"Set",proto:!0,real:!0,forced:!0},{join:function(e){var t=c(this),r=void 0===e?",":d(e),n=[];return l(t,function(e){f(n,e)}),h(n,r)}})},670:function(e,t,r){"use strict";var n=r(4),o=r(49),c=r(626),l=r(629),d=r(631),h=l.Set,f=l.add;n({target:"Set",proto:!0,real:!0,forced:!0},{map:function(e){var t=c(this),r=o(e,arguments.length>1?arguments[1]:void 0),n=new h;return d(t,function(e){f(n,r(e,e,t))}),n}})},671:function(e,t,r){"use strict";
1var n=r(4),o=r(52),c=r(626),l=r(631),d=TypeError;n({target:"Set",proto:!0,real:!0,forced:!0},{reduce:function(e){var t=c(this),r=arguments.length<2,n=r?void 0:arguments[1];if(o(e),l(t,function(o){r?(r=!1,n=o):n=e(n,o,o,t)}),r)throw new d("Reduce of empty set with no initial value");return n}})},672:function(e,t,r){"use strict";var n=r(4),o=r(49),c=r(626),l=r(631);n({target:"Set",proto:!0,real:!0,forced:!0},{some:function(e){var t=c(this),r=o(e,arguments.length>1?arguments[1]:void 0);return!0===l(t,function(e){if(r(e,e,t))return!0},!0)}})},673:function(e,t,r){"use strict";var n=r(4),o=r(19),c=r(637),l=r(691);n({target:"Set",proto:!0,real:!0,forced:!0},{symmetricDifference:function(e){return o(l,this,c(e))}})},674:function(e,t,r){"use strict";var n=r(4),o=r(19),c=r(637),l=r(692);n({target:"Set",proto:!0,real:!0,forced:!0},{union:function(e){return o(l,this,c(e))}})},684:function(e,t,r){"use strict";var n=r(81),o=r(29),c=r(93),l=r(20),d=r(125),h=l("iterator"),f=Object;e.exports=function(e){if(c(e))return!1;var t=f(e);return void 0!==t[h]||"@@iterator"in t||o(d,n(t))}},685:function(e,t,r){"use strict";var n=r(626),o=r(629),c=r(651),l=r(645),d=r(638),h=r(631),f=r(341),v=o.has,m=o.remove;e.exports=function(e){var t=n(this),r=d(e),o=c(t);return l(o)<=r.size?h(o,function(e){r.includes(e)&&m(o,e)}):f(r.getIterator(),function(e){v(o,e)&&m(o,e)}),o}},686:function(e,t,r){"use strict";e.exports=function(e){return{iterator:e,next:e.next,done:!1}}},687:function(e,t,r){"use strict";var n=r(626),o=r(629),c=r(645),l=r(638),d=r(631),h=r(341),f=o.Set,v=o.add,m=o.has;e.exports=function(e){var t=n(this),r=l(e),o=new f;return c(t)>r.size?h(r.getIterator(),function(e){m(t,e)&&v(o,e)}):d(t,function(e){r.includes(e)&&v(o,e)}),o}},688:function(e,t,r){"use strict";var n=r(626),o=r(629).has,c=r(645),l=r(638),d=r(631),h=r(341),f=r(189);e.exports=function(e){var t=n(this),r=l(e);if(c(t)<=r.size)return!1!==d(t,function(e){if(r.includes(e))return!1},!0);var v=r.getIterator();return!1!==h(v,function(e){if(o(t,e))return f(v.iterator,"normal",!1)})}},689:function(e,t,r){"use strict";var n=r(626),o=r(645),c=r(631),l=r(638);e.exports=function(e){var t=n(this),r=l(e);return!(o(t)>r.size)&&!1!==c(t,function(e){if(!r.includes(e))return!1},!0)}},690:function(e,t,r){"use strict";var n=r(626),o=r(629).has,c=r(645),l=r(638),d=r(341),h=r(189);e.exports=function(e){var t=n(this),r=l(e);if(c(t)<r.size)return!1;var f=r.getIterator();return!1!==d(f,function(e){if(!o(t,e))return h(f.iterator,"normal",!1)})}},691:function(e,t,r){"use strict";var n=r(626),o=r(629),c=r(651),l=r(638),d=r(341),h=o.add,f=o.has,v=o.remove;e.exports=function(e){var t=n(this),r=l(e).getIterator(),o=c(t);return d(r,function(e){f(t,e)?v(o,e):h(o,e)}),o}},692:function(e,t,r){"use strict";var n=r(626),o=r(629).add,c=r(651),l=r(638),d=r(341);e.exports=function(e){var t=n(this),r=l(e).getIterator(),h=c(t);return d(r,function(e){o(h,e)}),h}},838:function(e,t,r){"use strict";r.d(t,"a",function(){return o}),r.d(t,"b",function(){return c});r(8),r(244);function n(e){var t=new Date(e),r=String(t.getHours()).padStart(2,"0"),n=String(t.getMinutes()).padStart(2,"0"),dd=String(t.getDate()).padStart(2,"0"),o=String(t.getMonth()+1).padStart(2,"0");return"".concat(r,":").concat(n," ").concat(dd,"/").concat(o,"/").concat(t.getFullYear())}function o(e){var t=Date.now(),r=e.show_at?new Date(e.show_at).getTime():0,o=e.started_at?new Date(e.started_at).getTime():0,c=e.ended_at?new Date(e.ended_at).getTime():0;if("collected"===e.state)return e.expired_date?{label:"HSD: ",value:n(e.expired_date)}:null;if(t>c)return null;if("out_of_stock"===e.state||0===e.remain_slot)return null;if(t>r&&t<o){var l=o-t;return l<36e5?{label:"Thu thập sau ",value:"".concat(Math.ceil(l/6e4)," phút")}:{label:"Thu thập vào: ",value:n(e.started_at)}}if(t>o&&t<c&&"available"===e.state&&e.remain_slot>0){var d=c-t;return d<36e5?{label:"Còn lại ",value:"".concat(Math.ceil(d/6e4)," phút")}:{label:"Thời hạn thu thập: ",value:n(e.ended_at)}}return null}function c(e){var t=Date.now(),r=e.started_at?new Date(e.started_at).getTime():0,n=e.ended_at?new Date(e.ended_at).getTime():0;return"available"===e.state&&e.remain_slot>0&&t>r&&t<n}}}]);

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.