PageSourceSearch

https://db.brainofmaterials.com/build/assets/display-BFkBrEh_.js

js brainofmaterials.com collected 2026-10-08 23:08:11 UTC 2,204 bytes, 1 lines download raw bytes

1import{At as e,Dt as t,N as n,P as r,St as i,ct as a,gt as o,kt as s,v as c,xt as l}from"./vue.runtime.esm-bundler-C9z_6Bg8.js";import{Gn as u,Kn as d,Nn as f,On as p,Un as m,gn as h,ht as g,pt as _}from"./position-CbdkydQx.js";n(),o();var v=[`sm`,`md`,`lg`,`xl`,`xxl`],y=Symbol.for(`vuetify:display`),b={mobileBreakpoint:`lg`,thresholds:{xs:0,sm:600,md:840,lg:1145,xl:1545,xxl:2138}},x=(e=b)=>h(b,e);function S(e){return p&&!e?window.innerWidth:d(e)&&e.clientWidth||0}function C(e){return p&&!e?window.innerHeight:d(e)&&e.clientHeight||0}function w(e){let t=p&&!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:f,ssr:t===`ssr`}}function T(n,r){let{thresholds:o,mobileBreakpoint:s}=x(n),c=t(C(r)),d=t(w(r)),f=i({}),m=t(S(r));function h(){c.value=C(),m.value=S()}function g(){h(),d.value=w()}return a(()=>{let e=m.value<o.sm,t=m.value<o.md&&!e,n=m.value<o.lg&&!(t||e),r=m.value<o.xl&&!(n||t||e),i=m.value<o.xxl&&!(r||n||t||e),a=m.value>=o.xxl,l=e?`xs`:t?`sm`:n?`md`:r?`lg`:i?`xl`:`xxl`,p=u(s)?s:o[s],h=m.value<p;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=l,f.height=c.value,f.width=m.value,f.mobile=h,f.mobileBreakpoint=s,f.platform=d.value,f.thresholds=o}),p&&(window.addEventListener(`resize`,h,{passive:!0}),l(()=>{window.removeEventListener(`resize`,h)},!0)),{...e(f),update:g,ssr:!!r}}var E=g({mobile:{type:Boolean,default:!1},mobileBreakpoint:[Number,String]},`display`);function D(e={mobile:null},t=_()){let n=r(y);if(!n)throw Error(`Could not find Vuetify display injection`);let i=c(()=>e.mobile?!0:u(e.mobileBreakpoint)?n.width.value<e.mobileBreakpoint:e.mobileBreakpoint?n.width.value<n.thresholds.value[e.mobileBreakpoint]:m(e.mobile)?n.mobile.value:!1),a=s(()=>t?{[`${t}--mobile`]:i.value}:{});return{...n,displayClasses:a,mobile:i}}export{D as a,E as i,v as n,T as r,y as 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.