PageSourceSearch

https://www.nerva.es/es/.content/AV/bubble-trigger.component-5JUBBUJI.js

js nerva.es collected 2026-10-02 13:57:08 UTC 1,637 bytes, 1 lines download raw bytes

1import{a as h}from"./chunk-G3IYRU5Z.js";import"./chunk-ZR2VQGMP.js";import{k as y}from"./chunk-WQW72BYF.js";import{Cb as m,Sa as a,Tb as u,Y as n,Yb as c,Zb as f,ba as o,mb as g,ua as s,ub as p,vb as d,za as l}from"./chunk-6ER5EEDF.js";var v=class r{_elementRef=n(l);set trigger(t){this._createTrigger(t)}image;dragDisabled=!0;dispatch=new s;dispatchFn(){this.dispatch.emit()}_createTrigger(t){let e=this._elementRef.nativeElement.style;this._setLayout({styleElement:e,trigger:t})}_setLayout(t){let{styleElement:e,trigger:i}=t,{bottom:b="20px",end:D="20px",size:_="60px"}=i||{};e.removeProperty("--bubble-size"),e.removeProperty("--bubble-bottom"),e.removeProperty("--bubble-right"),e.setProperty("--bubble-size",_),e.setProperty("--bubble-bottom",b),e.setProperty("--bubble-right",D)}static \u0275fac=function(e){return new(e||r)};static \u0275cmp=o({type:r,selectors:[["widget-bubble-trigger"]],inputs:{trigger:"trigger",image:"image",dragDisabled:"dragDisabled"},outputs:{dispatch:"dispatch"},standalone:!0,features:[u],decls:2,vars:4,consts:[["cdkDrag","",1,"chat-widget__bubble",3,"click","cdkDragDisabled","src"]],template:function(e,i){e&1&&(p(0,"img",0),c(1,"fixAssetsDirectory"),m("click",function(){return i.dispatchFn()}),d()),e&2&&g("cdkDragDisabled",i.dragDisabled)("src",f(1,2,i.image),a)},dependencies:[y,h],styles:[".chat-widget__bubble[_ngcontent-%COMP%]{z-index:999;width:var(--bubble-size, 60px);height:var(--bubble-size, 60px);bottom:var(--bubble-bottom, 20px);right:var(--bubble-right, 20px);cursor:pointer;position:fixed;object-fit:contain;display:flex;visibility:visible}"]})};export{v as BubbleTriggerComponent};

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.