PageSourceSearch

https://nanoporetech.com/_nuxt/B3XFBuMJ.js

js nanoporetech.com collected 2026-09-24 15:21:53 UTC 14,653 bytes, 1 lines download raw bytes

1import{A as $,B as S,C as w,y as ue,D as ye,E as j,G as ce,H as fe,q as X,I as be,J as ge,K as we,r as de,L as Se,s as ve,m as Te,c as P,z as ie,u as Ee,M as _e,N as Oe}from"./CH7hBqN2.js";(function(){try{var e=typeof globalThis<"u"?globalThis:typeof global<"u"?global:typeof window<"u"?window:typeof self<"u"?self:{};e["__faroGitHash_Corporate website"]="398b77a0431d58485aa32c4e66620479c825652a"}catch{}})();(function(){try{var e=typeof globalThis<"u"?globalThis:typeof global<"u"?global:typeof window<"u"?window:typeof self<"u"?self:{};e["__faroBundleId_Corporate website"]="1790088952739e4e15c68b6"}catch{}})();function Y(e,t){return ue()?(ye(e,t),!0):!1}const Q=new WeakMap,Me=(...e)=>{var t;const o=e[0],n=(t=X())===null||t===void 0?void 0:t.proxy,r=n??ue();if(r==null&&!ve())throw new Error("injectLocal must be called in setup");return r&&Q.has(r)&&o in Q.get(r)?Q.get(r)[o]:Te(...e)},q=typeof window<"u"&&typeof document<"u";typeof WorkerGlobalScope<"u"&&globalThis instanceof WorkerGlobalScope;const pe=e=>e!=null,Ce=Object.prototype.toString,We=e=>Ce.call(e)==="[object Object]",z=()=>{};function Ie(...e){if(e.length!==1)return be(...e);const t=e[0];return typeof t=="function"?ge(we(()=>({get:t,set:z}))):de(t)}function U(e,t){function o(...n){return new Promise((r,i)=>{Promise.resolve(e(()=>t.apply(this,n),{fn:t,thisArg:this,args:n})).then(r).catch(i)})}return o}const me=e=>e();function xe(e,t={}){let o,n,r=z;const i=c=>{clearTimeout(c),r(),r=z};let s;return c=>{const f=w(e),l=w(t.maxWait);return o&&i(o),f<=0||l!==void 0&&l<=0?(n&&(i(n),n=void 0),Promise.resolve(c())):new Promise((u,h)=>{r=t.rejectOnCancel?h:u,s=c,l&&!n&&(n=setTimeout(()=>{o&&i(o),n=void 0,u(s())},l)),o=setTimeout(()=>{n&&i(n),n=void 0,u(c())},f)})}}function Ae(...e){let t=0,o,n=!0,r=z,i,s,a,c,f;!Se(e[0])&&typeof e[0]=="object"?{delay:s,trailing:a=!0,leading:c=!0,rejectOnCancel:f=!1}=e[0]:[s,a=!0,c=!0,f=!1]=e;const l=()=>{o&&(clearTimeout(o),o=void 0,r(),r=z)};return h=>{const p=w(s),T=Date.now()-t,O=()=>i=h();return l(),p<=0?(t=Date.now(),O()):(T>p?(t=Date.now(),(c||!n)&&O()):a&&(i=new Promise((b,E)=>{r=f?E:b,o=setTimeout(()=>{t=Date.now(),n=!0,b(O()),l()},Math.max(0,p-T))})),!c&&!o&&(o=setTimeout(()=>n=!0,p)),n=!1,i)}}function Re(e=me,t={}){const{initialState:o="active"}=t,n=Ie(o==="active");function r(){n.value=!1}function i(){n.value=!0}const s=(...a)=>{n.value&&e(...a)};return{isActive:$(n),pause:r,resume:i,eventFilter:s}}function Fe(e){let t;function o(){return t||(t=e()),t}return o.reset=async()=>{const n=t;t=void 0,n&&await n},o}function re(e){return e.endsWith("rem")?Number.parseFloat(e)*16:Number.parseFloat(e)}function B(e){return Array.isArray(e)?e:[e]}function Ne(e){return X()}function ze(e,t=200,o={}){return U(xe(t,o),e)}function De(e,t=200,o=!1,n=!0,r=!1){return U(Ae(t,o,n,r),e)}function Pe(e,t,o={}){const{eventFilter:n=me,...r}=o;return j(e,U(n,t),r)}function Ve(e,t,o={}){const{eventFilter:n,initialState:r="active",...i}=o,{eventFilter:s,pause:a,resume:c,isActive:f}=Re(n,{initialState:r});return{stop:Pe(e,t,{...i,eventFilter:s}),pause:a,resume:c,isActive:f}}function K(e,t=!0,o){Ne()?ce(e,o):t?e():fe(e)}function Le(e,t,o={}){const{immediate:n=!0,immediateCallback:r=!1}=o,i=S(!1);let s;function a(){s&&(clearTimeout(s),s=void 0)}function c(){i.value=!1,a()}function f(...l){r&&e(),a(),i.value=!0,s=setTimeout(()=>{i.value=!1,s=void 0,e(...l)},w(t))}return n&&(i.value=!0,q&&f()),Y(c),{isPending:$(i),start:f,stop:c}}function je(e,t,o){return j(e,t,{...o,immediate:!0})}const F=q?window:void 0,Z=q?window.navigator:void 0;function D(e){var t;const o=w(e);return(t=o?.$el)!==null&&t!==void 0?t:o}function N(...e){const t=(n,r,i,s)=>(n.addEventListener(r,i,s),()=>n.removeEventListener(r,i,s)),o=P(()=>{const n=B(w(e[0])).filter(r=>r!=null);return n.every(r=>typeof r!="string")?n:void 0});return je(()=>{var n,r;return[(n=(r=o.value)===null||r===void 0?void 0:r.map(i=>D(i)))!==null&&n!==void 0?n:[F].filter(i=>i!=null),B(w(o.value?e[1]:e[0])),B(Ee(o.value?e[2]:e[1])),w(o.value?e[3]:e[2])]},([n,r,i,s],a,c)=>{if(!n?.length||!r?.length||!i?.length)return;const f=We(s)?{...s}:s,l=n.flatMap(u=>r.flatMap(h=>i.map(p=>t(u,h,p,f))));c(()=>{l.forEach(u=>u())})},{flush:"post"})}function He(){const e=S(!1),t=X();return t&&ce(()=>{e.value=!0},t),e}function k(e){const t=He();return P(()=>
1(t.value,!!e()))}function he(e,t,o={}){const{window:n=F,...r}=o;let i;const s=k(()=>n&&"MutationObserver"in n),a=()=>{i&&(i.disconnect(),i=void 0)},c=j(P(()=>{const u=B(w(e)).map(D).filter(pe);return new Set(u)}),u=>{a(),s.value&&u.size&&(i=new MutationObserver(t),u.forEach(h=>i.observe(h,r)))},{immediate:!0,flush:"post"}),f=()=>i?.takeRecords(),l=()=>{c(),a()};return Y(l),{isSupported:s,stop:l,takeRecords:f}}const ke=Symbol("vueuse-ssr-width");function $e(){const e=ve()?Me(ke,null):null;return typeof e=="number"?e:void 0}function Be(e,t={}){const{window:o=F,ssrWidth:n=$e()}=t,r=k(()=>o&&"matchMedia"in o&&typeof o.matchMedia=="function"),i=S(typeof n=="number"),s=S(),a=S(!1),c=f=>{a.value=f.matches};return Oe(()=>{if(i.value){i.value=!r.value,a.value=w(e).split(",").some(f=>{const l=f.includes("not all"),u=f.match(/\(\s*min-width:\s*(-?\d+(?:\.\d*)?[a-z]+\s*)\)/),h=f.match(/\(\s*max-width:\s*(-?\d+(?:\.\d*)?[a-z]+\s*)\)/);let p=!!(u||h);return u&&p&&(p=n>=re(u[1])),h&&p&&(p=n<=re(h[1])),l?!p:p});return}r.value&&(s.value=o.matchMedia(w(e)),a.value=s.value.matches)}),N(s,"change",c,{passive:!0}),P(()=>a.value)}function le(e,t={}){const{controls:o=!1,navigator:n=Z}=t,r=k(()=>n&&"permissions"in n),i=S(),s=typeof e=="string"?{name:e}:e,a=S(),c=()=>{var l,u;a.value=(l=(u=i.value)===null||u===void 0?void 0:u.state)!==null&&l!==void 0?l:"prompt"};N(i,"change",c,{passive:!0});const f=Fe(async()=>{if(r.value){if(!i.value)try{i.value=await n.permissions.query(s)}catch{i.value=void 0}finally{c()}if(o)return _e(i.value)}});return f(),o?{state:a,isSupported:r,query:f}:a}function Ue(e={}){const{navigator:t=Z,read:o=!1,source:n,copiedDuring:r=1500,legacy:i=!1}=e,s=k(()=>t&&"clipboard"in t),a=le("clipboard-read"),c=le("clipboard-write"),f=P(()=>s.value||i),l=S(""),u=S(!1),h=S(!1),p=Le(()=>u.value=!1,r,{immediate:!1});let T=0;async function O(){let g=!(s.value&&I(a.value));if(!g)try{l.value=await t.clipboard.readText()}catch{g=!0}g&&(l.value=C())}f.value&&o&&N(["copy","cut"],O,{passive:!0});async function b(g){const y=g??w(n);if(f.value&&y!=null){h.value=!0;let W=!(s.value&&I(c.value));if(!W)try{const V=E(y);await t.clipboard.write([V])}catch{W=!0}if(W)if(typeof y=="string")l.value=y,_(y);else{const V=++T,d=await y();d!=null&&V===T&&(l.value=d,_(d))}u.value=!0,p.start(),h.value=!1}}function E(g){return typeof g=="string"?(l.value=g,new ClipboardItem({"text/plain":g})):new ClipboardItem({"text/plain":g().then((y="")=>(l.value=y,new Blob([y],{type:"text/plain"})))})}function _(g){const y=document.createElement("textarea");y.value=g,y.style.position="absolute",y.style.opacity="0",y.setAttribute("readonly",""),document.body.appendChild(y),y.select(),document.execCommand("copy"),y.remove()}function C(){var g,y,W;return(g=(y=document)===null||y===void 0||(W=y.getSelection)===null||W===void 0||(W=W.call(y))===null||W===void 0?void 0:W.toString())!==null&&g!==void 0?g:""}function I(g){return g==="granted"||g==="prompt"}return{copyPending:$(h),isSupported:f,text:$(l),copied:$(u),copy:b}}const J=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},G="__vueuse_ssr_handlers__",Je=Ge();function Ge(){return G in J||(J[G]=J[G]||{}),J[G]}function Ye(e,t){return Je[e]||t}function Ke(e){return e==null?"any":e instanceof Set?"set":e instanceof Map?"map":e instanceof Date?"date":typeof e=="boolean"?"boolean":typeof e=="string"?"string":typeof e=="object"?"object":Number.isNaN(e)?"any":"number"}const Qe={boolean:{read:e=>e==="true",write:e=>String(e)},object:{read:e=>JSON.parse(e),write:e=>JSON.stringify(e)},number:{read:e=>Number.parseFloat(e),write:e=>String(e)},any:{read:e=>e,write:e=>String(e)},string:{read:e=>e,write:e=>String(e)},map:{read:e=>new Map(JSON.parse(e)),write:e=>JSON.stringify(Array.from(e.entries()))},set:{read:e=>new Set(JSON.parse(e)),write:e=>JSON.stringify(Array.from(e))},date:{read:e=>new Date(e),write:e=>e.toISOString()}},se="vueuse-storage";function Ze(e,t,o,n={}){var r;const{flush:i="pre",deep:s=!0,listenToStorageChanges:a=!0,writeDefaults:c=!0,mergeDefaults:f=!1,shallow:l,window:u=F,eventFilter:h,onError:p=v=>{console.error(v)},initOnMounted:T}=n,O=(l?S:de)(typeof t=="function"?t():t),b=P(()=>w(e));if(!o)try{o=Ye("getDefaultStorage",()=>F?.localStorage)()}catch(v){p(v)}if(!o)return O;const E=w(t),_=Ke(E),C=(r=n.serializer)!==null&&r!==void 0?r:Qe[_],{pause:I,resume:g}=Ve(O,v=>R(v),{flush:i,deep:s,eventFilter:h});j(b,()=>A(),{flush:i});let y=!1;const W=v=>{T&&!y||A(v)},V=v=>{T&&!y||L(v)};u&&a&&(o instanceof Storage?N(u,"storage",W,{passive:!0}):N(u,se,V)),T?K(()=>{y=!0,A()}):A();function d(v,m){if(u){const M={key:b.value,oldValue:v,newValue:m,storageArea:o};u.dispatchEvent(o instanceof Storage?new StorageEvent("storage",M):new CustomEvent(se,{detail:M}))}}function R(v){try{const m=o.getItem(b.value);if(v==null)d(m,null),o.removeItem(b.value);else{const M=C.write(v);m!==M&&(o.setItem(b.value,M),d(m,M))}}catch(m){p(m)}}function x(v){const m=v?v.newValue:o.getItem(b.value);if(m==null)return c&&E!=null&&o.setItem(b.value,C.write(E)),E;if(!v&&f){const M=C.read(m);return typeof f=="function"?f(M,E):_==="object"&&!Array.isArray(M)?{...E,...M}:M}else return typeof m!="string"?m:C.read(m)}function A(v){if(!(v&&v.storageArea!==o)){if(v&&v.key==null){O.value=E;return}if(!(v&&v.key!==b.value)){I();try{const m=C.write(O.value);(v===void 0||v?.newValue!==m)&&(O.value=x(v))}catch(m){p(m)}finally{v?fe(g):g()}}}}function L(v){A(v.detail)}return O}function Xe(e,t,o={}){const{window:n=F,...r}=o;let i;const s=k(()=>n&&"ResizeObserver"in n),a=()=>
1{i&&(i.disconnect(),i=void 0)},c=j(P(()=>{const l=w(e);return Array.isArray(l)?l.map(u=>D(u)):[D(l)]}),l=>{if(a(),s.value&&n){i=new ResizeObserver(t);for(const u of l)u&&i.observe(u,r)}},{immediate:!0,flush:"post"}),f=()=>{a(),c()};return Y(f),{isSupported:s,stop:f}}function et(e,t={}){const{reset:o=!0,windowResize:n=!0,windowScroll:r=!0,immediate:i=!0,updateTiming:s="sync"}=t,a=S(0),c=S(0),f=S(0),l=S(0),u=S(0),h=S(0),p=S(0),T=S(0);function O(){const E=D(e);if(!E){o&&(a.value=0,c.value=0,f.value=0,l.value=0,u.value=0,h.value=0,p.value=0,T.value=0);return}const _=E.getBoundingClientRect();a.value=_.height,c.value=_.bottom,f.value=_.left,l.value=_.right,u.value=_.top,h.value=_.width,p.value=_.x,T.value=_.y}function b(){s==="sync"?O():s==="next-frame"&&requestAnimationFrame(()=>O())}return Xe(e,b),j(()=>D(e),E=>!E&&b()),he(e,b,{attributeFilter:["style","class"]}),r&&N("scroll",b,{capture:!0,passive:!0}),n&&N("resize",b,{passive:!0}),K(()=>{i&&b()}),{height:a,bottom:c,left:f,right:l,top:u,width:h,x:p,y:T,update:b}}function tt(e,t,o={}){const{root:n,rootMargin:r,threshold:i=0,window:s=F,immediate:a=!0}=o,c=k(()=>s&&"IntersectionObserver"in s),f=P(()=>B(w(e)).map(D).filter(pe));let l=z;const u=S(a),h=c.value?j(()=>[f.value,D(n),w(r),u.value],([T,O,b])=>{if(l(),!u.value||!T.length)return;const E=new IntersectionObserver(t,{root:D(O),rootMargin:b,threshold:i});T.forEach(_=>_&&E.observe(_)),l=()=>{E.disconnect(),l=z}},{immediate:a,flush:"post"}):z,p=()=>{l(),h(),u.value=!1};return Y(p),{isSupported:c,isActive:u,pause(){l(),u.value=!1},resume(){u.value=!0},stop:p}}const ae=1;function nt(e,t={}){const{throttle:o=0,idle:n=200,onStop:r=z,onScroll:i=z,offset:s={left:0,right:0,top:0,bottom:0},observe:a={mutation:!1},eventListenerOptions:c={capture:!1,passive:!0},behavior:f="auto",window:l=F,onError:u=d=>{console.error(d)}}=t,h=typeof a=="boolean"?{mutation:a}:a,p=S(0),T=S(0),O=P({get(){return p.value},set(d){E(d,void 0)}}),b=P({get(){return T.value},set(d){E(void 0,d)}});function E(d,R){var x,A,L,v;if(!l)return;const m=w(e);if(!m)return;(x=m instanceof Document?l.document.body:m)===null||x===void 0||x.scrollTo({top:(A=w(R))!==null&&A!==void 0?A:b.value,left:(L=w(d))!==null&&L!==void 0?L:O.value,behavior:w(f)});const M=(m==null||(v=m.document)===null||v===void 0?void 0:v.documentElement)||m?.documentElement||m;O!=null&&(p.value=M.scrollLeft),b!=null&&(T.value=M.scrollTop)}const _=S(!1),C=ie({left:!0,right:!1,top:!0,bottom:!1}),I=ie({left:!1,right:!1,top:!1,bottom:!1}),g=d=>{_.value&&(_.value=!1,I.left=!1,I.right=!1,I.top=!1,I.bottom=!1,r(d))},y=ze(g,o+n),W=d=>{var R;if(!l)return;const x=(d==null||(R=d.document)===null||R===void 0?void 0:R.documentElement)||d?.documentElement||D(d),{display:A,flexDirection:L,direction:v}=l.getComputedStyle(x),m=v==="rtl"?-1:1,M=x.scrollLeft;I.left=M<p.value,I.right=M>p.value;const ee=Math.abs(M*m)<=(s.left||0),te=Math.abs(M*m)+x.clientWidth>=x.scrollWidth-(s.right||0)-ae;A==="flex"&&L==="row-reverse"?(C.left=te,C.right=ee):(C.left=ee,C.right=te),p.value=M;let H=x.scrollTop;d===l.document&&!H&&(H=l.document.body.scrollTop),I.top=H<T.value,I.bottom=H>T.value;const ne=Math.abs(H)<=(s.top||0),oe=Math.abs(H)+x.clientHeight>=x.scrollHeight-(s.bottom||0)-ae;A==="flex"&&L==="column-reverse"?(C.top=oe,C.bottom=ne):(C.top=ne,C.bottom=oe),T.value=H},V=d=>{var R;l&&(W((R=d.target.documentElement)!==null&&R!==void 0?R:d.target),_.value=!0,y(d),i(d))};return N(e,"scroll",o?De(V,o,!0,!1):V,c),K(()=>{try{const d=w(e);if(!d)return;W(d)}catch(d){u(d)}}),h?.mutation&&e!=null&&e!==l&&e!==document&&he(e,()=>{const d=w(e);d&&W(d)},{attributes:!0,childList:!0,subtree:!0}),N(e,"scrollend",g,c),{x:O,y:b,isScrolling:_,arrivedState:C,directions:I,measure(){const d=w(e);l&&d&&W(d)}}}function ot(e={},t={}){const{navigator:o=Z}=t,n=o,r=k(()=>n&&"canShare"in n);return{isSupported:r,share:async(s={})=>{if(r.value){const a={...w(e),...w(s)};let c=!1;if(n.canShare&&(c=n.canShare(a)),c)return n.share(a)}}}}function it(e={}){const{window:t=F,initialWidth:o=Number.POSITIVE_INFINITY,initialHeight:n=Number.POSITIVE_INFINITY,listenOrientation:r=!0,includeScrollbar:i=!0,type:s="inner"}=e,a=S(o),c=S(n),f=()=>{if(t)if(s==="outer")a.value=t.outerWidth,c.value=t.outerHeight;
1else if(s==="visual"&&t.visualViewport){const{width:u,height:h,scale:p}=t.visualViewport;a.value=Math.round(u*p),c.value=Math.round(h*p)}else i?(a.value=t.innerWidth,c.value=t.innerHeight):(a.value=t.document.documentElement.clientWidth,c.value=t.document.documentElement.clientHeight)};f(),K(f);const l={passive:!0};return N("resize",f,l),t&&s==="visual"&&t.visualViewport&&N(t.visualViewport,"resize",f,l),r&&j(Be("(orientation: portrait)"),()=>f()),{width:a,height:c}}export{Ue as a,ot as b,et as c,it as d,tt as e,nt as f,Xe as g,Ze 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.