PageSourceSearch

https://auth2.fastlance.vn/assets/media-BcW9SRgY.js

js fastlance.vn collected 2026-10-01 16:30:01 UTC 6,179 bytes, 1 lines download raw bytes

vendor: 4,126 bytes, line 1
1import{o as A,r as f}from"./index-C8NiCK7J.js";var k={},_;function $(){if(_)return k;_=1,k.match=i,k.parse=u;var e=/(?:(only|not)?\s*([^\s\(\)]+)(?:\s*and)?\s*)?(.+)?/i,t=/\(\s*([^\s\:\)]+)\s*(?:\:\s*([^\s\)]+))?\s*\)/,n=/^(?:(min|max)-)?(.+)/,r=/(em|rem|px|cm|mm|in|pt|pc)?$/,a=/(dpi|dpcm|dppx)?$/;function i(m,o){return u(m).some(function(c){var l=c.inverse,w=c.type==="all"||o.type===c.type;if(w&&l||!(w||l))return!1;var g=c.expressions.every(function(v){var E=v.feature,T=v.modifier,h=v.value,y=o[E];if(!y)return!1;switch(E){case"orientation":case"scan":return y.toLowerCase()===h.toLowerCase();case"width":case"height":case"device-width":case"device-height":h=M(h),y=M(y);break;case"resolution":h=p(h),y=p(y);break;case"aspect-ratio":case"device-aspect-ratio":case"device-pixel-ratio":h=b(h),y=b(y);break;case"grid":case"color":case"color-index":case"monochrome":h=parseInt(h,10)||1,y=parseInt(y,10)||0;break}switch(T){case"min":return y>=h;case"max":return y<=h;default:return y===h}});return g&&!l||!g&&l})}function u(m){return m.split(",").map(function(o){o=o.trim();var c=o.match(e),l=c[1],w=c[2],g=c[3]||"",v={};return v.inverse=!!l&&l.toLowerCase()==="not",v.type=w?w.toLowerCase():"all",g=g.match(/\([^\)]+\)/g)||[],v.expressions=g.map(function(E){var T=E.match(t),h=T[1].toLowerCase().match(n);return{modifier:h[1],feature:h[2],value:T[2]}}),v})}function b(m){var o=Number(m),c;return o||(c=m.match(/^(\d+)\s*\/\s*(\d+)$/),o=c[1]/c[2]),o}function p(m){var o=parseFloat(m),c=String(m).match(a)[1];switch(c){case"dpcm":return o/2.54;case"dppx":return o*96;default:return o}}function M(m){var o=parseFloat(m),c=String(m).match(r)[1];switch(c){case"em":return o*16;case"rem":return o*16;case"cm":return o*96/2.54;case"mm":return o*96/2.54/10;case"in":return o*96;case"pt":return o*72;case"pc":return o*72/12;default:return o}}return k}var L,D;function j(){if(D)return L;D=1;var e=$().match,t=typeof window<"u"?window.matchMedia:null;function n(a,i,u){var b=this,p;t&&!u&&(p=t.call(window,a)),p?(this.matches=p.matches,this.media=p.media,p.addListener(o)):(this.matches=e(a,i),this.media=a),this.addListener=M,this.removeListener=m,this.dispose=c;function M(l){p&&p.addListener(l)}function m(l){p&&p.removeListener(l)}function o(l){b.matches=l.matches,b.media=l.media}function c(){p&&p.removeListener(o)}}function r(a,i,u){return new n(a,i,u)}return L=r,L}var K=j();const V=A(K);var Y=/[A-Z]/g,B=/^ms-/,S={};function G(e){return"-"+e.toLowerCase()}function F(e){if(S.hasOwnProperty(e))return S[e];var t=e.replace(Y,G);return S[e]=B.test(t)?"-"+t:t}function X(e,t){if(e===t)return!0;if(!e||!t)return!1;const n=Object.keys(e),r=Object.keys(t),a=n.length;if(r.length!==a)return!1;for(let i=0;i<a;i++){const u=n[i];if(e[u]!==t[u]||!Object.prototype.hasOwnProperty.call(t,u))return!1}return!0}var O={exports:{}},C,W;function Z(){if(W)return C;W=1;var e="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED";return C=e,C}var q,I;function z(){if(I)return q;I=1;var e=Z();function t(){}function n(){}return n.resetWarningCache=t,q=function(){function r(u,b,p,M,m,o){if(o!==e){var c=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw c.name="Invariant Violation",c}}r.isRequired=r;function a(){return r}var i={array:r,bigint:r,bool:r,func:r,number:r,object:r,string:r,symbol:r,any:r,arrayOf:a,element:r,elementType:r,instanceOf:a,node:r,objectOf:a,oneOf:a,oneOfType:a,shape:a,exact:a,checkPropTypes:n,resetWarningCache:t};return i.PropTypes=i,i},q}var N;function J(){return N||(N=1,O.exports=z()()),O.exports}var ee=J();const s=A(ee),d=s.oneOfType([s.string,s.number]),U={all:s.bool,grid:s.bool,aural:s.bool,braille:s.bool,handheld:s.bool,print:s.bool,projection:s.bool,screen:s.bool,tty:s.bool,tv:s.bool,embossed:s.bool},te={orientation:s.oneOf(["portrait","landscape"]),scan:s.oneOf(["progressive","interlace"]),aspectRatio:s.string,deviceAspectRatio:s.string,height:d,deviceHeight:d,width:d,deviceWidth:d,color:s.bool,colorIndex:s.bool,monochrome:s.bool,resolution:d,type:Object.keys(U)}
1,{type:Te,...re}=te,ne={minAspectRatio:s.string,maxAspectRatio:s.string,minDeviceAspectRatio:s.string,maxDeviceAspectRatio:s.string,minHeight:d,maxHeight:d,minDeviceHeight:d,maxDeviceHeight:d,minWidth:d,maxWidth:d,minDeviceWidth:d,maxDeviceWidth:d,minColor:s.number,maxColor:s.number,minColorIndex:s.number,maxColorIndex:s.number,minMonochrome:s.number,maxMonochrome:s.number,minResolution:d,maxResolution:d,...re},se={...U,...ne};var ae={all:se};const oe=e=>`not ${e}`,ie=(e,t)=>{const n=F(e);return typeof t=="number"&&(t=`${t}px`),t===!0?n:t===!1?oe(n):`(${n}: ${t})`},ce=e=>e.join(" and "),ue=e=>{const t=[];return Object.keys(ae.all).forEach(n=>{const r=e[n];r!=null&&t.push(ie(n,r))}),ce(t)},pe=f.createContext(void 0),me=e=>e.query||ue(e),Q=e=>e?Object.keys(e).reduce((n,r)=>(n[F(r)]=e[r],n),{}):void 0,H=()=>{const e=f.useRef(!1);return f.useEffect(()=>{e.current=!0},[]),e.current},he=e=>{const t=f.useContext(pe),n=()=>Q(e)||Q(t),[r,a]=f.useState(n);return f.useEffect(()=>{const i=n();X(r,i)||a(i)},[e,t]),r},de=e=>{const t=()=>me(e),[n,r]=f.useState(t);return f.useEffect(()=>{const a=t();n!==a&&r(a)},[e]),n},le=(e,t)=>{const n=()=>V(e,t||{},!!t),[r,a]=f.useState(n),i=H();return f.useEffect(()=>{if(i){const u=n();return a(u),()=>{u&&u.dispose()}}},[e,t]),r},fe=e=>{const[t,n]=f.useState(e.matches);return f.useEffect(()=>{const r=a=>{n(a.matches)};return e.addListener(r),n(e.matches),()=>{e.removeListener(r)}},[e]),t},R=(e,t,n)=>{const r=he(t),a=de(e);if(!a)throw new Error("Invalid or missing MediaQuery!");const i=le(a,r),u=fe(i);return H(),f.useEffect(()=>{},[u]),f.useEffect(()=>()=>{i&&i.dispose()},[]),u},ye="476",ve="768",be="1024",P={breakpointSm:ye,breakpointMd:ve,breakpointLg:be},x={sm:Number(P.breakpointSm),md:Number(P.breakpointMd),lg:Number(P.breakpointLg)},ge=()=>R({minWidth:x.lg+1}),xe=()=>R({maxWidth:x.lg}),Me=()=>R({maxWidth:x.lg,minWidth:x.md+1}),we=()=>R({maxWidth:x.md}),Re=()=>R({maxWidth:x.sm}),ke=()=>({isMobile:Re(),isTabletAndBelow:we(),isLaptopAndBelow:xe(),isLaptop:Me(),isDesktop:ge()});export{ke as u};

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.