import{Ra as h,hd as p,ka as f,na as l}from"./chunk-7SRP4E7J.js";var u;try{u=typeof Intl<"u"&&Intl.v8BreakIterator}catch{u=!1}var B=(()=>{let t=class t{constructor(i){this._platformId=i,this.isBrowser=this._platformId?p(this._platformId):typeof document=="object"&&!!document,this.EDGE=this.isBrowser&&/(edge)/i.test(navigator.userAgent),this.TRIDENT=this.isBrowser&&/(msie|trident)/i.test(navigator.userAgent),this.BLINK=this.isBrowser&&!!(window.chrome||u)&&typeof CSS<"u"&&!this.EDGE&&!this.TRIDENT,this.WEBKIT=this.isBrowser&&/AppleWebKit/i.test(navigator.userAgent)&&!this.BLINK&&!this.EDGE&&!this.TRIDENT,this.IOS=this.isBrowser&&/iPad|iPhone|iPod/.test(navigator.userAgent)&&!("MSStream"in window),this.FIREFOX=this.isBrowser&&/(firefox|minefield)/i.test(navigator.userAgent),this.ANDROID=this.isBrowser&&/android/i.test(navigator.userAgent)&&!this.TRIDENT,this.SAFARI=this.isBrowser&&/safari/i.test(navigator.userAgent)&&this.WEBKIT}};t.\u0275fac=function(E){return new(E||t)(l(h))},t.\u0275prov=f({token:t,factory:t.\u0275fac,providedIn:"root"});let e=t;return e})();var o,m=["color","button","checkbox","date","datetime-local","email","file","hidden","image","month","number","password","radio","range","reset","search","submit","tel","text","time","url","week"];function A(){if(o)return o;if(typeof document!="object"||!document)return o=new Set(m),o;let e=document.createElement("input");return o=new Set(m.filter(t=>(e.setAttribute("type",t),e.type===t))),o}var r;function w(){if(r==null&&typeof window<"u")try{window.addEventListener("test",null,Object.defineProperty({},"passive",{get:()=>r=!0}))}finally{r=r||!1}return r}function b(e){return w()?e:!!e.capture}var s=function(e){return e[e.NORMAL=0]="NORMAL",e[e.NEGATED=1]="NEGATED",e[e.INVERTED=2]="INVERTED",e}(s||{}),d,n;function j(){if(n==null){if(typeof document!="object"||!document||typeof Element!="function"||!Element)return n=!1,n;if("scrollBehavior"in document.documentElement.style)n=!0;else{let e=Element.prototype.scrollTo;e?n=!/\{\s*\[native code\]\s*\}/.test(e.toString()):n=!1}}return n}function L(){if(typeof document!="object"||!document)return s.NORMAL;if(d==null){let e=document.createElement("div"),t=e.style;e.dir="rtl",t.width="1px",t.overflow="auto",t.visibility="hidden",t.pointerEvents="none",t.position="absolute";let c=document.createElement("div"),i=c.style;i.width="2px",i.height="1px",e.appendChild(c),document.body.appendChild(e),d=s.NORMAL,e.scrollLeft===0&&(e.scrollLeft=1,d=e.scrollLeft===0?s.NEGATED:s.INVERTED),e.remove()}return d}var a;function v(){if(a==null){let e=typeof document<"u"?document.head:null;a=!!(e&&(e.createShadowRoot||e.attachShadow))}return a}function M(e){if(v()){let t=e.getRootNode?e.getRootNode():null;if(typeof ShadowRoot<"u"&&ShadowRoot&&t instanceof ShadowRoot)return t}return null}function O(){let e=typeof document<"u"&&document?document.activeElement:null;for(;e&&e.shadowRoot;){let t=e.shadowRoot.activeElement;if(t===e)break;e=t}return e}function P(e){return e.composedPath?e.composedPath()[0]:e.target}function _(){return typeof __karma__<"u"&&!!__karma__||typeof jasmine<"u"&&!!jasmine||typeof jest<"u"&&!!jest||typeof Mocha<"u"&&!!Mocha}export{B as a,A as b,b as c,s as d,j as e,L as f,M as g,O as h,P as i,_ as j};
