PageSourceSearch

https://textiaa.com/chunk-2NYW35ED.js

js textiaa.com collected 2026-09-24 13:40:07 UTC 32,622 bytes, 77 lines download raw bytes

1import{a as H,c as mt}from"./chunk-FF7FCVWI.js";import{a as ot,b as ut,e as nt,f as st,g as ft,i as F,j as gt}from"./chunk-OE6MEREY.js";import{A as N,C,E as _,G as D,L as y,P as tt,V as et,W as it,s as L,v as G,w as J,x as K,y as Q,z as g}from"./chunk-B3UUWMEV.js";import{v as Y,z as pt}from"./chunk-MZWCCPRN.js";import{Bb as q,Ea as z,Hc as j,U as B,V as k,X as $,Yc as P,Z as x,Zc as O,dd as a,pb as V,pd as w,qd as T,td as X,vb as Z,wb as U,ya as E}from"./chunk-JXIB5BED.js";import{a as I,b as R,e as M}from"./chunk-J6LPXIX4.js";var bt,W,lt=M(()=>{"use strict";it();bt=(()=>{class r{static zindex=1e3;static calculatedScrollbarWidth=null;static calculatedScrollbarHeight=null;static browser;static addClass(t,e){t&&e&&(t.classList?t.classList.add(e):t.className+=" "+e)}static addMultipleClasses(t,e){if(t&&e)if(t.classList){let i=e.trim().split(" ");for(let o=0;o<i.length;o++)t.classList.add(i[o])}else{let i=e.split(" ");for(let o=0;o<i.length;o++)t.className+=" "+i[o]}}static removeClass(t,e){t&&e&&(t.classList?t.classList.remove(e):t.className=t.className.replace(new RegExp("(^|\\b)"+e.split(" ").join("|")+"(\\b|$)","gi")," "))}static removeMultipleClasses(t,e){t&&e&&[e].flat().filter(Boolean).forEach(i=>i.split(" ").forEach(o=>this.removeClass(t,o)))}static hasClass(t,e){return t&&e?t.classList?t.classList.contains(e):new RegExp("(^| )"+e+"( |$)","gi").test(t.className):!1}static siblings(t){return Array.prototype.filter.call(t.parentNode.children,function(e){return e!==t})}static find(t,e){return Array.from(t.querySelectorAll(e))}static findSingle(t,e){return this.isElement(t)?t.querySelector(e):null}static index(t){let e=t.parentNode.childNodes,i=0;for(var o=0;o<e.length;o++){if(e[o]==t)return i;e[o].nodeType==1&&i++}return-1}static indexWithinGroup(t,e){let i=t.parentNode?t.parentNode.childNodes:[],o=0;for(var n=0;n<i.length;n++){if(i[n]==t)return o;i[n].attributes&&i[n].attributes[e]&&i[n].nodeType==1&&o++}return-1}static appendOverlay(t,e,i="self"){i!=="self"&&t&&e&&this.appendChild(t,e)}static alignOverlay(t,e,i="self",o=!0){t&&e&&(o&&(t.style.minWidth=`${r.getOuterWidth(e)}px`),i==="self"?this.relativePosition(t,e):this.absolutePosition(t,e))}static relativePosition(t,e,i=!0){let o=v=>{if(v)return getComputedStyle(v).getPropertyValue("position")==="relative"?v:o(v.parentElement)},n=t.offsetParent?{width:t.offsetWidth,height:t.offsetHeight}:this.getHiddenElementDimensions(t),s=e.offsetHeight,l=e.getBoundingClientRect(),p=this.getWindowScrollTop(),d=this.getWindowScrollLeft(),c=this.getViewport(),h=o(t)?.getBoundingClientRect()||{top:-1*p,left:-1*d},f,b,S="top";l.top+s+n.height>c.height?(f=l.top-h.top-n.height,S="bottom",l.top+f<0&&(f=-1*l.top)):(f=s+l.top-h.top,S="top");let A=l.left+n.width-c.width,ht=l.left-h.left;if(n.width>c.width?b=(l.left-h.left)*-1:A>0?b=ht-A:b=l.left-h.left,t.style.top=f+"px",t.style.left=b+"px",t.style.transformOrigin=S,i){let v=G(/-anchor-gutter$/)?.value;t.style.marginTop=S==="bottom"?`calc(${v??"2px"} * -1)`:v??""}}static absolutePosition(t,e,i=!0){let o=t.offsetParent?{width:t.offsetWidth,height:t.offsetHeight}:this.getHiddenElementDimensions(t),n=o.height,s=o.width,l=e.offsetHeight,p=e.offsetWidth,d=e.getBoundingClientRect(),c=this.getWindowScrollTop(),u=this.getWindowScrollLeft(),h=this.getViewport(),f,b;d.top+l+n>h.height?(f=d.top+c-n,t.style.transformOrigin="bottom",f<0&&(f=c)):(f=l+d.top+c,t.style.transformOrigin="top"),d.left+s>h.width?b=Math.max(0,d.left+u+p-s):b=d.left+u,t.style.top=f+"px",t.style.left=b+"px",i&&(t.style.marginTop=origin==="bottom"?"calc(var(--p-anchor-gutter) * -1)":"calc(var(--p-anchor-gutter))")}static getParents(t,e=[]){return t.parentNode===null?e:this.getParents(t.parentNode,e.concat([t.parentNode]))}static getScrollableParents(t){let e=[];
1if(t){let i=this.getParents(t),o=/(auto|scroll)/,n=s=>{let l=window.getComputedStyle(s,null);return o.test(l.getPropertyValue("overflow"))||o.test(l.getPropertyValue("overflowX"))||o.test(l.getPropertyValue("overflowY"))};for(let s of i){let l=s.nodeType===1&&s.dataset.scrollselectors;if(l){let p=l.split(",");for(let d of p){let c=this.findSingle(s,d);c&&n(c)&&e.push(c)}}s.nodeType!==9&&n(s)&&e.push(s)}}return e}static getHiddenElementOuterHeight(t){t.style.visibility="hidden",t.style.display="block";let e=t.offsetHeight;return t.style.display="none",t.style.visibility="visible",e}static getHiddenElementOuterWidth(t){t.style.visibility="hidden",t.style.display="block";let e=t.offsetWidth;return t.style.display="none",t.style.visibility="visible",e}static getHiddenElementDimensions(t){let e={};return t.style.visibility="hidden",t.style.display="block",e.width=t.offsetWidth,e.height=t.offsetHeight,t.style.display="none",t.style.visibility="visible",e}static scrollInView(t,e){let i=getComputedStyle(t).getPropertyValue("borderTopWidth"),o=i?parseFloat(i):0,n=getComputedStyle(t).getPropertyValue("paddingTop"),s=n?parseFloat(n):0,l=t.getBoundingClientRect(),d=e.getBoundingClientRect().top+document.body.scrollTop-(l.top+document.body.scrollTop)-o-s,c=t.scrollTop,u=t.clientHeight,h=this.getOuterHeight(e);d<0?t.scrollTop=c+d:d+h>u&&(t.scrollTop=c+d-u+h)}static fadeIn(t,e){t.style.opacity=0;let i=+new Date,o=0,n=function(){o=+t.style.opacity.replace(",",".")+(new Date().getTime()-i)/e,t.style.opacity=o,i=+new Date,+o<1&&(window.requestAnimationFrame?window.requestAnimationFrame(n):setTimeout(n,16))};n()}static fadeOut(t,e){var i=1,o=50,n=e,s=o/n;let l=setInterval(()=>{i=i-s,i<=0&&(i=0,clearInterval(l)),t.style.opacity=i},o)}
1static getWindowScrollTop(){let t=document.documentElement;return(window.pageYOffset||t.scrollTop)-(t.clientTop||0)}static getWindowScrollLeft(){let t=document.documentElement;return(window.pageXOffset||t.scrollLeft)-(t.clientLeft||0)}static matches(t,e){var i=Element.prototype,o=i.matches||i.webkitMatchesSelector||i.mozMatchesSelector||i.msMatchesSelector||function(n){return[].indexOf.call(document.querySelectorAll(n),this)!==-1};return o.call(t,e)}static getOuterWidth(t,e){let i=t.offsetWidth;if(e){let o=getComputedStyle(t);i+=parseFloat(o.marginLeft)+parseFloat(o.marginRight)}return i}static getHorizontalPadding(t){let e=getComputedStyle(t);return parseFloat(e.paddingLeft)+parseFloat(e.paddingRight)}static getHorizontalMargin(t){let e=getComputedStyle(t);return parseFloat(e.marginLeft)+parseFloat(e.marginRight)}static innerWidth(t){let e=t.offsetWidth,i=getComputedStyle(t);return e+=parseFloat(i.paddingLeft)+parseFloat(i.paddingRight),e}static width(t){let e=t.offsetWidth,i=getComputedStyle(t);return e-=parseFloat(i.paddingLeft)+parseFloat(i.paddingRight),e}static getInnerHeight(t){let e=t.offsetHeight,i=getComputedStyle(t);return e+=parseFloat(i.paddingTop)+parseFloat(i.paddingBottom),e}static getOuterHeight(t,e){let i=t.offsetHeight;if(e){let o=getComputedStyle(t);i+=parseFloat(o.marginTop)+parseFloat(o.marginBottom)}return i}static getHeight(t){let e=t.offsetHeight,i=getComputedStyle(t);return e-=parseFloat(i.paddingTop)+parseFloat(i.paddingBottom)+parseFloat(i.borderTopWidth)+parseFloat(i.borderBottomWidth),e}static getWidth(t){let e=t.offsetWidth,i=getComputedStyle(t);return e-=parseFloat(i.paddingLeft)+parseFloat(i.paddingRight)+parseFloat(i.borderLeftWidth)+parseFloat(i.borderRightWidth),e}static getViewport(){let t=window,e=document,i=e.documentElement,o=e.getElementsByTagName("body")[0],n=t.innerWidth||i.clientWidth||o.clientWidth,s=t.innerHeight||i.clientHeight||o.clientHeight;return{width:n,height:s}}static getOffset(t){var e=t.getBoundingClientRect();return{top:e.top+(window.pageYOffset||document.documentElement.scrollTop||document.body.scrollTop||0),left:e.left+(window.pageXOffset||document.documentElement.scrollLeft||document.body.scrollLeft||0)}}static replaceElementWith(t,e){let i=t.parentNode;if(!i)throw"Can't replace element";return i.replaceChild(e,t)}static getUserAgent(){if(navigator&&this.isClient())return navigator.userAgent}static isIE(){var t=window.navigator.userAgent,e=t.indexOf("MSIE ");if(e>0)return!0;var i=t.indexOf("Trident/");if(i>0){var o=t.indexOf("rv:");return!0}var n=t.indexOf("Edge/");return n>0}static isIOS(){return/iPad|iPhone|iPod/.test(navigator.userAgent)&&!window.MSStream}static isAndroid(){return/(android)/i.test(navigator.userAgent)}static isTouchDevice(){return"ontouchstart"in window||navigator.maxTouchPoints>0}static appendChild(t,e){if(this.isElement(e))e.appendChild(t);else if(e&&e.el&&e.el.nativeElement)e.el.nativeElement.appendChild(t);else throw"Cannot append "+e+" to "+t}static removeChild(t,e){if(this.isElement(e))e.removeChild(t);else if(e.el&&e.el.nativeElement)e.el.nativeElement.removeChild(t);else throw"Cannot remove "+t+" from "+e}static removeElement(t){"remove"in Element.prototype?t.remove():t.parentNode?.removeChild(t)}static isElement(t){return typeof HTMLElement=="object"?t instanceof HTMLElement:t&&typeof t=="object"&&t!==null&&t.nodeType===1&&typeof t.nodeName=="string"}static calculateScrollbarWidth(t){if(t){let e=getComputedStyle(t);return t.offsetWidth-t.clientWidth-parseFloat(e.borderLeftWidth)-parseFloat(e.borderRightWidth)}else{if(this.calculatedScrollbarWidth!==null)return this.calculatedScrollbarWidth;let e=document.createElement("div");e.className="p-scrollbar-measure",document.body.appendChild(e);let i=e.offsetWidth-e.clientWidth;return document.body.removeChild(e),this.calculatedScrollbarWidth=i,i}}static calculateScrollbarHeight(){if(this.calculatedScrollbarHeight!==null)return this.calculatedScrollbarHeight;let t=document.createElement("div");t.className="p-scrollbar-measure",document.body.appendChild(t);let e=t.offsetHeight-t.clientHeight;return document.body.removeChild(t),this.calculatedScrollbarWidth=e,e}static invokeElementMethod(t,e,i){t[e].apply(t,i)}static clearSelection(){if(window.getSelection&&window.getSelection())window.getSelection()?.empty?window.getSelection()?.empty():window.getSelection()?.removeAllRanges&&(window.getSelection()?.rangeCount||0)>0&&(window.getSelection()?.getRangeAt(0)?.getClientRects()?.length||0)>0&&window.getSelection()?.removeAllRanges();else if(document.selection&&document.selection.empty)try{document.selection.empty()}catch(t){}}static getBrowser(){if(!this.browser){let t=this.resolveUserAgent();this.browser={},t.browser&&(this.browser[t.browser]=!0,this.browser.version=t.version),this.browser.chrome?this.browser.webkit=!0:this.browser.webkit&&(this.browser.safari=!0)}return this.browser}static resolveUserAgent(){let t=navigator.userAgent.toLowerCase(),e=/(chrome)[ \/]([\w.]+)/.exec(t)||/(webkit)[ \/]([\w.]+)/.exec(t)||/(opera)(?:.*version|)[ \/]([\w.]+)/.exec(t)||/(msie) ([\w.]+)/.exec(t)||t.indexOf("compatible")<0&&/(mozilla)(?:.*? rv:([\w.]+)|)/.exec(t)||[];return{browser:e[1]||"",version:e[2]||"0"}}static isInteger(t){return Number.isInteger?Number.isInteger(t):typeof t=="number"&&isFinite(t)&&Math.floor(t)===t}static isHidden(t){return!t||t.offsetParent===null}static isVisible(t){return t&&t.offsetParent!=null}static isExist(t){return t!==null&&typeof t<"u"&&t.nodeName&&t.parentNode}static focus(t,e){t&&document.activeElement!==t&&t.focus(e)}
1static getFocusableSelectorString(t=""){return`button:not([tabindex = "-1"]):not([disabled]):not([style*="display:none"]):not([hidden])${t},
2        [href][clientHeight][clientWidth]:not([tabindex = "-1"]):not([disabled]):not([style*="display:none"]):not([hidden])${t},
3        input:not([tabindex = "-1"]):not([disabled]):not([style*="display:none"]):not([hidden])${t},
4        select:not([tabindex = "-1"]):not([disabled]):not([style*="display:none"]):not([hidden])${t},
5        textarea:not([tabindex = "-1"]):not([disabled]):not([style*="display:none"]):not([hidden])${t},
6        [tabIndex]:not([tabIndex = "-1"]):not([disabled]):not([style*="display:none"]):not([hidden])${t},
7        [contenteditable]:not([tabIndex = "-1"]):not([disabled]):not([style*="display:none"]):not([hidden])${t},
8        .p-inputtext:not([tabindex = "-1"]):not([disabled]):not([style*="display:none"]):not([hidden])${t},
9        .p-button:not([tabindex = "-1"]):not([disabled]):not([style*="display:none"]):not([hidden])${t}`}static getFocusableElements(t,e=""){let i=this.find(t,this.getFocusableSelectorString(e)),o=[];for(let n of i){let s=getComputedStyle(n);this.isVisible(n)&&s.display!="none"&&s.visibility!="hidden"&&o.push(n)}return o}static getFocusableElement(t,e=""){let i=this.findSingle(t,this.getFocusableSelectorString(e));if(i){let o=getComputedStyle(i);if(this.isVisible(i)&&o.display!="none"&&o.visibility!="hidden")return i}return null}static getFirstFocusableElement(t,e=""){let i=this.getFocusableElements(t,e);return i.length>0?i[0]:null}static getLastFocusableElement(t,e){let i=this.getFocusableElements(t,e);return i.length>0?i[i.length-1]:null}static getNextFocusableElement(t,e=!1){let i=r.getFocusableElements(t),o=0;if(i&&i.length>0){let n=i.indexOf(i[0].ownerDocument.activeElement);e?n==-1||n===0?o=i.length-1:o=n-1:n!=-1&&n!==i.length-1&&(o=n+1)}return i[o]}static generateZIndex(){return this.zindex=this.zindex||999,++this.zindex}static getSelection(){return window.getSelection?window.getSelection()?.toString():document.getSelection?document.getSelection()?.toString():document.selection?document.selection.createRange().text:null}static getTargetElement(t,e){if(!t)return null;switch(t){case"document":return document;case"window":return window;case"@next":return e?.nextElementSibling;case"@prev":return e?.previousElementSibling;case"@parent":return e?.parentElement;case"@grandparent":return e?.parentElement?.parentElement;default:let i=typeof t;if(i==="string")return document.querySelector(t);if(i==="object"&&t.hasOwnProperty("nativeElement"))return this.isExist(t.nativeElement)?t.nativeElement:void 0;let n=(s=>!!(s&&s.constructor&&s.call&&s.apply))(t)?t():t;return n&&n.nodeType===9||this.isExist(n)?n:null}}static isClient(){return!!(typeof window<"u"&&window.document&&window.document.createElement)}static getAttribute(t,e){if(t){let i=t.getAttribute(e);return isNaN(i)?i==="true"||i==="false"?i==="true":i:+i}}static calculateBodyScrollbarWidth(){return window.innerWidth-document.documentElement.offsetWidth}static blockBodyScroll(t="p-overflow-hidden"){document.body.style.setProperty("--px-scrollbar-width",this.calculateBodyScrollbarWidth()+"px"),this.addClass(document.body,t)}static unblockBodyScroll(t="p-overflow-hidden"){document.body.style.removeProperty("--px-scrollbar-width"),this.removeClass(document.body,t)}static createElement(t,e={},...i){if(t){let o=document.createElement(t);return this.setAttributes(o,e),o.append(...i),o}}static setAttribute(t,e="",i){this.isElement(t)&&i!==null&&i!==void 0&&t.setAttribute(e,i)}static setAttributes(t,e={}){if(this.isElement(t)){let i=(o,n)=>{let s=t?.$attrs?.[o]?[t?.$attrs?.[o]]:[];return[n].flat().reduce((l,p)=>{if(p!=null){let d=typeof p;if(d==="string"||d==="number")l.push(p);else if(d==="object"){let c=Array.isArray(p)?i(o,p):Object.entries(p).map(([u,h])=>o==="style"&&(h||h===0)?`${u.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase()}:${h}`:h?u:void 0);l=c.length?l.concat(c.filter(u=>!!u)):l}}return l},s)};Object.entries(e).forEach(([o,n])=>{if(n!=null){let s=o.match(/^on(.+)/);s?t.addEventListener(s[1].toLowerCase(),n):o==="pBind"?this.setAttributes(t,n):(n=o==="class"?[...new Set(i("class",n))].join(" ").trim():o==="style"?i("style",n).join(";").trim():n,(t.$attrs=t.$attrs||{})&&(t.$attrs[o]=n),t.setAttribute(o,n))}})}}static isFocusableElement(t,e=""){return this.isElement(t)?t.matches(`button:not([tabindex = "-1"]):not([disabled]):not([style*="display:none"]):not([hidden])${e},
10                [href][clientHeight][clientWidth]:not([tabindex = "-1"]):not([disabled]):not([style*="display:none"]):not([hidden])${e},
11                input:not([tabindex = "-1"]):not([disabled]):not([style*="display:none"]):not([hidden])${e},
12                select:not([tabindex = "-1"]):not([disabled]):not([style*="display:none"]):not([hidden])${e},
13                textarea:not([tabindex = "-1"]):not([disabled]):not([style*="display:none"]):not([hidden])${e},
14                [tabIndex]:not([tabIndex = "-1"]):not([disabled]):not([style*="display:none"]):not([hidden])${e},
15                [contenteditable]:not([tabIndex = "-1"]):not([disabled]):not([style*="display:none"]):not([hidden])${e}`):!1}}return r})(),W=class{element;listener;scrollableParents;constructor(m,t=()=>{}){this.element=m,this.listener=t}bindScrollListener(){this.scrollableParents=bt.getScrollableParents(this.element);for(let m=0;m<this.scrollableParents.length;m++)this.scrollableParents[m].addEventListener("scroll",this.listener)}unbindScrollListener(){if(this.scrollableParents)for(let m=0;m<this.scrollableParents.length;m++)this.scrollableParents[m].removeEventListener("scroll",this.listener)}destroy(){this.unbindScrollListener(),this.element=null,this.listener=null,this.scrollableParents=null}}});var rt,at=M(()=>{"use strict";rt=`
16    .p-tooltip {
17        position: absolute;
18        display: none;
19        max-width: dt('tooltip.max.width');
20    }
21
22    .p-tooltip-right,
23    .p-tooltip-left {
24        padding: 0 dt('tooltip.gutter');
25    }
26
27    .p-tooltip-top,
28    .p-tooltip-bottom {
29        padding: dt('tooltip.gutter') 0;
30    }
31
32    .p-tooltip-text {
33        white-space: pre-line;
34        word-break: break-word;
35        background: dt('tooltip.background');
36        color: dt('tooltip.color');
37        padding: dt('tooltip.padding');
38        box-shadow: dt('tooltip.shadow');
39        border-radius: dt('tooltip.border.radius');
40        font-weight: dt('tooltip.font.weight');
41        font-size: dt('tooltip.font.size');
42    }
43
44    .p-tooltip-arrow {
45        position: absolute;
46        width: 0;
47        height: 0;
48        border-color: transparent;
49        border-style: solid;
50    }
51
52    .p-tooltip-right .p-tooltip-arrow {
53        margin-top: calc(-1 * dt('tooltip.gutter'));
54        border-width: dt('tooltip.gutter') dt('tooltip.gutter') dt('tooltip.gutter') 0;
55        border-right-color: dt('tooltip.background');
56    }
57
58    .p-tooltip-left .p-tooltip-arrow {
59        margin-top: calc(-1 * dt('tooltip.gutter'));
60        border-width: dt('tooltip.gutter') 0 dt('tooltip.gutter') dt('tooltip.gutter');
61        border-left-color: dt('tooltip.background');
62    }
63
64    .p-tooltip-top .p-tooltip-arrow {
65        margin-left: calc(-1 * dt('tooltip.gutter'));
66        border-width: dt('tooltip.gutter') dt('tooltip.gutter') 0 dt('tooltip.gutter');
67        border-top-color: dt('tooltip.background');
68        border-bottom-color: dt('tooltip.background');
69    }
70
71    .p-tooltip-bottom .p-tooltip-arrow {
72        margin-left: calc(-1 * dt('tooltip.gutter'));
73        border-width: 0 dt('tooltip.gutter') dt('tooltip.gutter') dt('tooltip.gutter');
74        border-top-color: dt('tooltip.background');
75        border-bottom-color: dt('tooltip.background');
76    }
77`});var yt,dt,ct,It,Rt,vt=M(()=>{"use strict";pt();X();X();it();ft();gt();lt();mt();at();ut();yt={root:"p-tooltip p-component",arrow:"p-tooltip-arrow",text:"p-tooltip-text"},dt=(()=>{class r extends ot{name="tooltip";style=rt;classes=yt;static \u0275fac=(()=>{let t;return function(i){return(t||(t=z(r)))(i||r)}})();static \u0275prov=B({token:r,factory:r.\u0275fac})}return r})(),ct=new $("TOOLTIP_INSTANCE"),It=(()=>{class r extends st{componentName="Tooltip";$pcTooltip=x(ct,{optional:!0,skipSelf:!0})??void 0;tooltipPosition=a();tooltipEvent=a("hover");positionStyle=a();tooltipStyleClass=a();tooltipZIndex=a();escape=a(!0,{transform:w});showDelay=a(void 0,{transform:T});hideDelay=a(void 0,{transform:T});life=a(void 0,{transform:T});positionTop=a(void 0,{transform:T});positionLeft=a(void 0,{transform:T});autoHide=a(!0,{transform:w});fitContent=a(!0,{transform:w});hideOnEscape=a(!0,{transform:w});showOnEllipsis=a(!1,{transform:w});content=a(void 0,{alias:"pTooltip"});tooltipDisabled=a(!1,{transform:w});tooltipOptions=a();appendTo=a(void 0);$appendTo=P(()=>this.appendTo()||this.config.overlayAppendTo());tooltipId=et("pn_id_")+"_tooltip";_tooltipOptions=P(()=>R(I({tooltipLabel:this.content(),tooltipPosition:this.tooltipPosition()??"right",tooltipEvent:this.tooltipEvent(),appendTo:this.appendTo()??"body",positionStyle:this.positionStyle(),tooltipStyleClass:this.tooltipStyleClass(),tooltipZIndex:this.tooltipZIndex()??"auto",escape:this.escape(),showDelay:this.showDelay(),hideDelay:this.hideDelay(),life:this.life(),positionTop:this.positionTop()??0,positionLeft:this.positionLeft()??0,autoHide:this.autoHide(),hideOnEscape:this.hideOnEscape(),showOnEllipsis:this.showOnEllipsis(),disabled:this.tooltipDisabled()},this.tooltipOptions()),{id:this.tooltipId}));container=null;styleClass;tooltipText=null;rootPTClasses="";showTimeout=null;hideTimeout=null;active;mouseEnterListener;mouseLeaveListener;containerMouseleaveListener;clickListener;focusListener;blurListener;touchStartListener;touchEndListener;documentTouchListener;documentEscapeListener;scrollHandler=null;resizeListener=null;_componentStyle=x(dt);pTooltipPT=a();pTooltipUnstyled=a();viewContainer=x(V);constructor(){super(),E(()=>{let t=this.pTooltipPT();t&&this.directivePT.set(t)}),E(()=>{this.pTooltipUnstyled()&&this.directiveUnstyled.set(this.pTooltipUnstyled())}),E(()=>{let t=this.content();O(()=>{this.active&&(t?this.container&&this.container.offsetParent?(this.updateText(),this.align()):this.show():this.hide())})}),E(()=>{let t=this.tooltipDisabled();O(()=>{t&&this.deactivate()})}),E(()=>{let t=this.tooltipOptions();O(()=>{t&&(this.deactivate(),this.active&&(this.getOption("tooltipLabel")?this.container&&this.container.offsetParent?(this.updateText(),this.align()):this.show():this.hide()))})})}onAfterViewInit(){if(Y(this.platformId)){let t=this.getOption("tooltipEvent");
77if((t==="hover"||t==="both")&&(this.mouseEnterListener=this.onMouseEnter.bind(this),this.mouseLeaveListener=this.onMouseLeave.bind(this),this.clickListener=this.onInputClick.bind(this),this.el.nativeElement.addEventListener("mouseenter",this.mouseEnterListener),this.el.nativeElement.addEventListener("click",this.clickListener),this.el.nativeElement.addEventListener("mouseleave",this.mouseLeaveListener),this.touchStartListener=this.onTouchStart.bind(this),this.touchEndListener=this.onTouchEnd.bind(this),this.el.nativeElement.addEventListener("touchstart",this.touchStartListener,{passive:!0}),this.el.nativeElement.addEventListener("touchend",this.touchEndListener,{passive:!0})),t==="focus"||t==="both"){this.focusListener=this.onFocus.bind(this),this.blurListener=this.onBlur.bind(this);let e=this.el.nativeElement.querySelector(".p-component");e||(e=this.getTarget(this.el.nativeElement)),e.addEventListener("focus",this.focusListener),e.addEventListener("blur",this.blurListener)}}}isAutoHide(){return this.getOption("autoHide")}onMouseEnter(t){!this.container&&!this.showTimeout&&this.activate()}onMouseLeave(t){this.isAutoHide()?this.deactivate():!(L(t.relatedTarget,"p-tooltip")||L(t.relatedTarget,"p-tooltip-text")||L(t.relatedTarget,"p-tooltip-arrow"))&&this.deactivate()}onTouchStart(t){!this.container&&!this.showTimeout&&(this.activate(),this.isAutoHide()||this.bindDocumentTouchListener())}onTouchEnd(t){this.isAutoHide()&&this.deactivate()}bindDocumentTouchListener(){this.documentTouchListener||(this.documentTouchListener=this.renderer.listen("document","touchstart",t=>{let e=t.target;this.container&&!this.container.contains(e)&&!this.el.nativeElement.contains(e)&&(this.deactivate(),this.unbindDocumentTouchListener())}))}unbindDocumentTouchListener(){this.documentTouchListener&&(this.documentTouchListener(),this.documentTouchListener=null)}onFocus(t){this.activate()}onBlur(t){this.deactivate()}onInputClick(t){this.deactivate()}hasEllipsis(){let t=this.el.nativeElement;return t.offsetWidth<t.scrollWidth||t.offsetHeight<t.scrollHeight}activate(){if(this.active||this.getOption("showOnEllipsis")&&!this.hasEllipsis())return;this.active=!0,this.clearHideTimeout();let t=this.getOption("showDelay");t?this.showTimeout=setTimeout(()=>{this.show()},t):this.show();let e=this.getOption("life");if(e){let i=t?e+t:e;this.hideTimeout=setTimeout(()=>{this.hide()},i)}this.getOption("hideOnEscape")&&(this.documentEscapeListener=this.renderer.listen("document","keydown.escape",()=>{this.deactivate(),this.documentEscapeListener?.()}))}deactivate(){this.active=!1,this.clearShowTimeout();let t=this.getOption("hideDelay");t?(this.clearHideTimeout(),this.hideTimeout=setTimeout(()=>{this.hide()},t)):this.hide(),this.documentEscapeListener&&this.documentEscapeListener()}create(){this.container&&(this.clearHideTimeout(),this.remove());let t=C("div",{class:this.cx("root"),"p-bind":this.ptm("root"),"data-pc-section":"root"}),e=C("div",{class:this.cx("arrow"),"p-bind":this.ptm("arrow"),"data-pc-section":"arrow"}),i=C("div",{class:this.cx("text"),"p-bind":this.ptm("text"),"data-pc-section":"text"});t.setAttribute("role","tooltip"),t.appendChild(e),this.container=t,this.tooltipText=i,this.updateText(),this.getOption("positionStyle")&&(t.style.position=this.getOption("positionStyle")),t.appendChild(i),this.getOption("appendTo")==="body"?document.body.appendChild(t):this.getOption("appendTo")==="target"?N(t,this.el.nativeElement):N(this.getOption("appendTo"),t),t.style.display="none",this.fitContent()&&(t.style.width="fit-content"),this.isAutoHide()?t.style.pointerEvents="none":(t.style.pointerEvents="unset",this.bindContainerMouseleaveListener())}bindContainerMouseleaveListener(){!this.containerMouseleaveListener&&this.container&&(this.containerMouseleaveListener=this.renderer.listen(this.container,"mouseleave",()=>{this.deactivate()}))}unbindContainerMouseleaveListener(){this.containerMouseleaveListener&&(this.bindContainerMouseleaveListener(),this.containerMouseleaveListener=null)}show(){if(!this.getOption("tooltipLabel")||this.getOption("disabled"))return;this.create();let t=this.container;this.el.nativeElement.closest("p-dialog")?setTimeout(()=>{this.container&&(this.container.style.display="inline-block",this.align())},100):(t.style.display="inline-block",this.align()),_(t,250),this.getOption("tooltipZIndex")==="auto"?H.set("tooltip",t,this.config.zIndex.tooltip):t.style.zIndex=this.getOption("tooltipZIndex"),this.bindDocumentResizeListener(),this.bindScrollListener()}hide(){this.getOption("tooltipZIndex")==="auto"&&H.clear(this.container),this.remove()}updateText(){if(!this.tooltipText)return;let t=this.getOption("tooltipLabel");if(t&&typeof t.createEmbeddedView=="function"){let e=this.viewContainer.createEmbeddedView(t);
77e.detectChanges(),e.rootNodes.forEach(i=>this.tooltipText.appendChild(i))}else this.getOption("escape")?(this.tooltipText.innerHTML="",this.tooltipText.appendChild(document.createTextNode(t))):this.tooltipText.innerHTML=t}align(){let t=this.getOption("tooltipPosition"),i={top:[this.alignTop,this.alignBottom,this.alignRight,this.alignLeft],bottom:[this.alignBottom,this.alignTop,this.alignRight,this.alignLeft],left:[this.alignLeft,this.alignRight,this.alignTop,this.alignBottom],right:[this.alignRight,this.alignLeft,this.alignTop,this.alignBottom]}[t]||[];for(let[o,n]of i.entries())if(o===0)n.call(this);else if(this.isOutOfBounds())n.call(this);else break}getHostOffset(){if(this.getOption("appendTo")==="body"||this.getOption("appendTo")==="target"){let t=this.el.nativeElement.getBoundingClientRect(),e=t.left+K(),i=t.top+Q();return{left:e,top:i}}else return{left:0,top:0}}get activeElement(){return this.el.nativeElement.nodeName.startsWith("P-")?D(this.el.nativeElement,".p-component"):this.el.nativeElement}alignRight(){this.preAlign("right");let t=this.activeElement,e=g(t),i=(y(t)-y(this.container))/2;this.alignTooltip(e,i);let o=this.getArrowElement();o&&(o.style.top="50%",o.style.right="",o.style.bottom="",o.style.left="0")}alignLeft(){this.preAlign("left");let t=this.getArrowElement(),e=g(this.container),i=(y(this.el.nativeElement)-y(this.container))/2;this.alignTooltip(-e,i),t&&(t.style.top="50%",t.style.right="0",t.style.bottom="",t.style.left="")}alignTop(){this.preAlign("top");let t=this.getArrowElement(),e=this.getHostOffset(),i=g(this.container),o=(g(this.el.nativeElement)-g(this.container))/2,n=y(this.container);this.alignTooltip(o,-n);let s=e.left-this.getHostOffset().left+i/2;t&&(t.style.top="",t.style.right="",t.style.bottom="0",t.style.left=s+"px")}getArrowElement(){return D(this.container,'[data-pc-section="arrow"]')}alignBottom(){this.preAlign("bottom");let t=this.getArrowElement(),e=g(this.container),i=this.getHostOffset(),o=(g(this.el.nativeElement)-g(this.container))/2,n=y(this.el.nativeElement);this.alignTooltip(o,n);let s=i.left-this.getHostOffset().left+e/2;t&&(t.style.top="0",t.style.right="",t.style.bottom="",t.style.left=s+"px")}alignTooltip(t,e){let i=this.getHostOffset(),o=i.left+t,n=i.top+e;this.container.style.left=o+this.getOption("positionLeft")+"px",this.container.style.top=n+this.getOption("positionTop")+"px"}getOption(t){return this._tooltipOptions()[t]}getTarget(t){return L(t,"p-inputwrapper")?D(t,"input"):t}preAlign(t){this.container.style.left="-999px",this.container.style.top="-999px",this.container.className=this.cn(this.cx("root"),this.ptm("root")?.class,"p-tooltip-"+t,this.getOption("tooltipStyleClass")??"")??""}isOutOfBounds(){let t=this.container.getBoundingClientRect(),e=t.top,i=t.left,o=g(this.container),n=y(this.container),s=J();return i+o>s.width||i<0||e<0||e+n>s.height}onWindowResize(t){this.hide()}bindDocumentResizeListener(){let t=this.onWindowResize.bind(this);this.resizeListener=t,window.addEventListener("resize",t)}unbindDocumentResizeListener(){this.resizeListener&&(window.removeEventListener("resize",this.resizeListener),this.resizeListener=null)}bindScrollListener(){this.scrollHandler||(this.scrollHandler=new W(this.el.nativeElement,()=>{this.container&&this.hide()})),this.scrollHandler.bindScrollListener()}unbindScrollListener(){this.scrollHandler&&this.scrollHandler.unbindScrollListener()}unbindEvents(){let t=this.getOption("tooltipEvent");if((t==="hover"||t==="both")&&(this.el.nativeElement.removeEventListener("mouseenter",this.mouseEnterListener),this.el.nativeElement.removeEventListener("mouseleave",this.mouseLeaveListener),this.el.nativeElement.removeEventListener("click",this.clickListener),this.el.nativeElement.removeEventListener("touchstart",this.touchStartListener),this.el.nativeElement.removeEventListener("touchend",this.touchEndListener),this.unbindDocumentTouchListener()),t==="focus"||t==="both"){let e=this.el.nativeElement.querySelector(".p-component");e||(e=this.getTarget(this.el.nativeElement)),e.removeEventListener("focus",this.focusListener),e.removeEventListener("blur",this.blurListener)}this.unbindDocumentResizeListener()}remove(){this.container&&this.container.parentElement&&(this.getOption("appendTo")==="body"?document.body.removeChild(this.container):this.getOption("appendTo")==="target"?this.el.nativeElement.removeChild(this.container):tt(this.getOption("appendTo"),this.container)),this.unbindDocumentResizeListener(),this.unbindScrollListener(),this.unbindContainerMouseleaveListener(),this.unbindDocumentTouchListener(),this.clearTimeouts(),this.container=null,this.scrollHandler=null}clearShowTimeout(){this.showTimeout&&(clearTimeout(this.showTimeout),this.showTimeout=null)}clearHideTimeout(){this.hideTimeout&&(clearTimeout(this.hideTimeout),this.hideTimeout=null)}clearTimeouts(){this.clearShowTimeout(),this.clearHideTimeout()}onDestroy(){this.unbindEvents(),this.container&&H.clear(this.container),this.remove(),this.scrollHandler&&(this.scrollHandler.destroy(),this.scrollHandler=null),this.documentEscapeListener&&this.documentEscapeListener()}static \u0275fac=function(e){return new(e||r)};static \u0275dir=U({type:r,selectors:[["","pTooltip",""]],inputs:{tooltipPosition:[1,"tooltipPosition"],tooltipEvent:[1,"tooltipEvent"],positionStyle:[1,"positionStyle"],tooltipStyleClass:[1,"tooltipStyleClass"],tooltipZIndex:[1,"tooltipZIndex"],escape:[1,"escape"],showDelay:[1,"showDelay"],hideDelay:[1,"hideDelay"],life:[1,"life"],positionTop:[1,"positionTop"],positionLeft:[1,"positionLeft"],autoHide:[1,"autoHide"],fitContent:[1,"fitContent"],hideOnEscape:[1,"hideOnEscape"],showOnEllipsis:[1,"showOnEllipsis"],content:[1,"pTooltip","content"],tooltipDisabled:[1,"tooltipDisabled"],tooltipOptions:[1,"tooltipOptions"],appendTo:[1,"appendTo"],pTooltipPT:[1,"pTooltipPT"],pTooltipUnstyled:[1,"pTooltipUnstyled"]},features:[j([dt,{provide:ct,useExisting:r},{provide:nt,useExisting:r}]),q]})}return r})(),Rt=(()=>{class r{static \u0275fac=function(e){return new(e||r)};static \u0275mod=Z({type:r});static \u0275inj=k({imports:[F,F]})}return r})()});
77export{It as a,Rt as b,vt as c};

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.