1
0
Fork 0
forked from Simnation/Main
Main/resources/[tools]/dialog/web/dist/assets/webfontloader-523643f5.js

2 lines
12 KiB
JavaScript
Raw Normal View History

2025-07-20 19:03:04 +02:00
function Ft(p,S){for(var x=0;x<S.length;x++){const h=S[x];if(typeof h!="string"&&!Array.isArray(h)){for(const m in h)if(m!=="default"&&!(m in p)){const T=Object.getOwnPropertyDescriptor(h,m);T&&Object.defineProperty(p,m,T.get?T:{enumerable:!0,get:()=>h[m]})}}}return Object.freeze(Object.defineProperty(p,Symbol.toStringTag,{value:"Module"}))}function Pt(p){return p&&p.__esModule&&Object.prototype.hasOwnProperty.call(p,"default")?p.default:p}var at={exports:{}};(function(p){(function(){function S(t,n,e){return t.call.apply(t.bind,arguments)}function x(t,n,e){if(!t)throw Error();if(2<arguments.length){var i=Array.prototype.slice.call(arguments,2);return function(){var o=Array.prototype.slice.call(arguments);return Array.prototype.unshift.apply(o,i),t.apply(n,o)}}return function(){return t.apply(n,arguments)}}function h(t,n,e){return h=Function.prototype.bind&&Function.prototype.bind.toString().indexOf("native code")!=-1?S:x,h.apply(null,arguments)}var m=Date.now||function(){return+new Date};function T(t,n){this.a=t,this.o=n||t,this.c=this.o.document}var ct=!!window.FontFace;function F(t,n,e,i){if(n=t.c.createElement(n),e)for(var o in e)e.hasOwnProperty(o)&&(o=="style"?n.style.cssText=e[o]:n.setAttribute(o,e[o]));return i&&n.appendChild(t.c.createTextNode(i)),n}function B(t,n,e){t=t.c.getElementsByTagName(n)[0],t||(t=document.documentElement),t.insertBefore(e,t.lastChild)}function E(t){t.parentNode&&t.parentNode.removeChild(t)}function y(t,n,e){n=n||[],e=e||[];for(var i=t.className.split(/\s+/),o=0;o<n.length;o+=1){for(var s=!1,r=0;r<i.length;r+=1)if(n[o]===i[r]){s=!0;break}s||i.push(n[o])}for(n=[],o=0;o<i.length;o+=1){for(s=!1,r=0;r<e.length;r+=1)if(i[o]===e[r]){s=!0;break}s||n.push(i[o])}t.className=n.join(" ").replace(/\s+/g," ").replace(/^\s+|\s+$/,"")}function D(t,n){for(var e=t.className.split(/\s+/),i=0,o=e.length;i<o;i++)if(e[i]==n)return!0;return!1}function ut(t){return t.o.location.hostname||t.a.location.hostname}function L(t,n,e){function i(){a&&o&&s&&(a(r),a=null)}n=F(t,"link",{rel:"stylesheet",href:n,media:"all"});var o=!1,s=!0,r=null,a=e||null;ct?(n.onload=function(){o=!0,i()},n.onerror=function(){o=!0,r=Error("Stylesheet failed to load"),i()}):setTimeout(function(){o=!0,i()},0),B(t,"head",n)}function P(t,n,e,i){var o=t.c.getElementsByTagName("head")[0];if(o){var s=F(t,"script",{src:n}),r=!1;return s.onload=s.onreadystatechange=function(){r||this.readyState&&this.readyState!="loaded"&&this.readyState!="complete"||(r=!0,e&&e(null),s.onload=s.onreadystatechange=null,s.parentNode.tagName=="HEAD"&&o.removeChild(s))},o.appendChild(s),setTimeout(function(){r||(r=!0,e&&e(Error("Script load timeout")))},i||5e3),s}return null}function $(){this.a=0,this.c=null}function M(t){return t.a++,function(){t.a--,z(t)}}function q(t,n){t.c=n,z(t)}function z(t){t.a==0&&t.c&&(t.c(),t.c=null)}function H(t){this.a=t||"-"}H.prototype.c=function(t){for(var n=[],e=0;e<arguments.length;e++)n.push(arguments[e].replace(/[\W_]+/g,"").toLowerCase());return n.join(this.a)};function v(t,n){this.c=t,this.f=4,this.a="n";var e=(n||"n4").match(/^([nio])([1-9])$/i);e&&(this.a=e[1],this.f=parseInt(e[2],10))}function ht(t){return K(t)+" "+(t.f+"00")+" 300px "+G(t.c)}function G(t){var n=[];t=t.split(/,\s*/);for(var e=0;e<t.length;e++){var i=t[e].replace(/['"]/g,"");i.indexOf(" ")!=-1||/^\d/.test(i)?n.push("'"+i+"'"):n.push(i)}return n.join(",")}function g(t){return t.a+t.f}function K(t){var n="normal";return t.a==="o"?n="oblique":t.a==="i"&&(n="italic"),n}function lt(t){var n=4,e="n",i=null;return t&&((i=t.match(/(normal|oblique|italic)/i))&&i[1]&&(e=i[1].substr(0,1).toLowerCase()),(i=t.match(/([1-9]00|normal|bold)/i))&&i[1]&&(/bold/i.test(i[1])?n=7:/[1-9]00/.test(i[1])&&(n=parseInt(i[1].substr(0,1),10)))),e+n}function pt(t,n){this.c=t,this.f=t.o.document.documentElement,this.h=n,this.a=new H("-"),this.j=n.events!==!1,this.g=n.classes!==!1}function gt(t){t.g&&y(t.f,[t.a.c("wf","loading")]),j(t,"loading")}function R(t){if(t.g){var n=D(t.f,t.a.c("wf","active")),e=[],i=[t.a.c("wf","loading")];n||e.push(t.a.c("wf","inactive")),y(t.f,e,i)}j(t,"inactive")}fu