1import{O as e,St as t,Tt as n,_t as r,d as i,gt as a,st as o,wt as s}from"./runtime-core.esm-bundler-UheJ8LN3.js";import{X as c,ct as l,f as u,pt as d,u as f}from"./tag-Btqo1t2a.js";var p=[`sm`,`md`,`lg`,`xl`,`xxl`],m=Symbol.for(`vuetify:display`),h={mobileBreakpoint:`lg`,thresholds:{xs:0,sm:600,md:960,lg:1280,xl:1920,xxl:2560}},g=function(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:h;return c(h,e)};function _(e){return l&&!e?window.innerWidth:typeof e==`object`&&e.clientWidth||0}function v(e){return l&&!e?window.innerHeight:typeof e==`object`&&e.clientHeight||0}function y(e){let t=l&&!e?window.navigator.userAgent:`ssr`;function n(e){return!!t.match(e)}return{android:n(/android/i),ios:n(/iphone|ipad|ipod/i),cordova:n(/cordova/i),electron:n(/electron/i),chrome:n(/chrome/i),edge:n(/edge/i),firefox:n(/firefox/i),opera:n(/opera/i),win:n(/win/i),mac:n(/mac/i),linux:n(/linux/i),touch:d,ssr:t===`ssr`}}function b(e,i){let{thresholds:s,mobileBreakpoint:c}=g(e),u=t(v(i)),d=t(y(i)),f=r({}),p=t(_(i));function m(){u.value=v(),p.value=_()}function h(){m(),d.value=y()}return o(()=>{let e=p.value<s.sm,t=p.value<s.md&&!e,n=p.value<s.lg&&!(t||e),r=p.value<s.xl&&!(n||t||e),i=p.value<s.xxl&&!(r||n||t||e),a=p.value>=s.xxl,o=e?`xs`:t?`sm`:n?`md`:r?`lg`:i?`xl`:`xxl`,l=typeof c==`number`?c:s[c],m=p.value<l;f.xs=e,f.sm=t,f.md=n,f.lg=r,f.xl=i,f.xxl=a,f.smAndUp=!e,f.mdAndUp=!(e||t),f.lgAndUp=!(e||t||n),f.xlAndUp=!(e||t||n||r),f.smAndDown=!(n||r||i||a),f.mdAndDown=!(r||i||a),f.lgAndDown=!(i||a),f.xlAndDown=!a,f.name=o,f.height=u.value,f.width=p.value,f.mobile=m,f.mobileBreakpoint=c,f.platform=d.value,f.thresholds=s}),l&&(window.addEventListener(`resize`,m,{passive:!0}),a(()=>{window.removeEventListener(`resize`,m)},!0)),{...n(f),update:h,ssr:!!i}}var x=u({mobile:{type:Boolean,default:!1},mobileBreakpoint:[Number,String]},`display`);function S(){let t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{mobile:null},n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:f(),r=e(m);if(!r)throw Error(`Could not find Vuetify display injection`);let a=i(()=>t.mobile?!0:typeof t.mobileBreakpoint==`number`?r.width.value<t.mobileBreakpoint:t.mobileBreakpoint?r.width.value<r.thresholds.value[t.mobileBreakpoint]:t.mobile===null&&r.mobile.value),o=s(()=>n?{[`${n}--mobile`]:a.value}:{});return{...r,displayClasses:o,mobile:a}}export{S as a,x as i,p as n,b as r,m as t}; 2//# sourceMappingURL=display-BqNuCvUd.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.