PageSourceSearch

https://www.nvbw.de/typo3conf/ext/site_package/Resources/Public/Ja…/Vendor/Hyphenopoly_Loader.1790152948.js

js nvbw.de collected 2026-10-02 10:28:29 UTC 3,124 bytes, 1 lines download raw bytes

1((n,a,r,l)=>{const e=sessionStorage,t="Hyphenopoly_Loader.js",i=new Map,o={ac:"appendChild",ce:"createElement",ct:"createTextNode"};var s,c;r.cacheFeatureTests&&e.getItem(t)?(r.cf=JSON.parse(e.getItem(t)),r.cf.langs=new Map(r.cf.langs)):r.cf={langs:new Map,pf:!1},c=(s=a.currentScript.src.slice(0,-t.length))+"patterns/",r.paths?(r.paths.maindir=r.paths.maindir||s,r.paths.patterndir=r.paths.patterndir||c):r.paths={maindir:s,patterndir:c},r.setup?(r.setup.CORScredentials=r.setup.CORScredentials||"include",r.setup.hide=r.setup.hide||"all",r.setup.selectors=r.setup.selectors||{".hyphenate":{}},r.setup.timeout=r.setup.timeout||1e3):r.setup={CORScredentials:"include",hide:"all",selectors:{".hyphenate":{}},timeout:1e3},r.setup.hide=["all","element","text"].indexOf(r.setup.hide);{const y=r.fallbacks?new Map(l.entries(r.fallbacks)):new Map;l.entries(r.require).forEach(([e,t])=>{i.set(e.toLowerCase(),{fn:y.get(e)||e,wo:t})})}r.defProm=()=>{let s=null,n=null;const e=new Promise((e,t)=>{s=e,n=t});return e.resolve=s,e.reject=n,e};let p=null;r.hide=(e,s)=>{if(0===e)p&&p.remove();else{const n="{visibility:hidden!important}";(p=a[o.ce]("style")).id="H9Y_Styles";let t="";0===s?t="html"+n:l.keys(r.setup.selectors).forEach(e=>{t+=1===s?e+n:e+"{color:transparent!important}"}),p[o.ac](a[o.ct](t)),a.head[o.ac](p)}};const h=(()=>{let n=null;return{ap:()=>n?(a.documentElement[o.ac](n),n):null,cl:()=>{n&&n.remove()},cr:e=>{if(!r.cf.langs.has(e)){n=n||a[o.ce]("body");const s=a[o.ce]("div");var t="hyphens:auto";s.lang=e,s.style.cssText=`visibility:hidden;-webkit-${t};-ms-${t};${t};width:48px;font-size:12px;line-height:12px;border:none;padding:0;word-wrap:normal`,s[o.ac](a[o.ct](i.get(e).wo.toLowerCase())),n[o.ac](s)}}}})(),d=(r.res={he:new Map},new Map);function u(e){var t=i.get(e).fn+".wasm";if(r.cf.pf=!0,r.cf.langs.set(e,"H9Y"),d.has(t)){const s=r.res.he.get(d.get(t));s.c+=1,r.res.he.set(e,s)}else r.res.he.set(e,{c:1,w:n.fetch(r.paths.patterndir+t,{credentials:r.setup.CORScredentials})}),d.set(t,e)}i.forEach((e,t)=>{"FORCEHYPHENOPOLY"===e.wo||"H9Y"===r.cf.langs.get(t)?u(t):h.cr(t)});const f=h.ap(),m=(f&&(f.querySelectorAll("div").forEach(e=>{var t;"auto"===((t=e.style).hyphens||t.webkitHyphens||t.msHyphens)&&12<e.offsetHeight?r.cf.langs.set(e.lang,"CSS"):u(e.lang)}),h.cl()),r.handleEvent);if(r.cf.pf){r.res.DOM=new Promise(e=>{"loading"===a.readyState?a.addEventListener("DOMContentLoaded",e,{once:!0,passive:!0}):e()}),0===r.setup.hide&&r.hide(1,0),-1!==r.setup.hide&&(r.timeOutHandler=n.setTimeout(()=>{r.hide(0,null),console.info(t+" timed out.")},r.setup.timeout)),r.res.DOM.then(()=>{0<r.setup.hide&&r.hide(1,r.setup.hide)});const g=a[o.ce]("script");g.src=r.paths.maindir+"Hyphenopoly.js",a.head[o.ac](g),r.hy6ors=new Map,r.cf.langs.forEac
1h((e,t)=>{"H9Y"===e&&r.hy6ors.set(t,r.defProm())}),r.hy6ors.set("HTML",r.defProm()),r.hyphenators=new Proxy(r.hy6ors,{get:(e,t)=>e.get(t),set:()=>!0}),m&&m.polyfill&&m.polyfill()}else m&&m.tearDown&&m.tearDown(),n.Hyphenopoly=null;r.cacheFeatureTests&&e.setItem(t,JSON.stringify({langs:[...r.cf.langs.entries()],pf:r.cf.pf}))})(window,document,Hyphenopoly,Object);

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.