PageSourceSearch

https://www.decidim.barcelona/decidim-packs/js/7277-1d8d9cd366eb7c759b97.chunk.js

js decidim.barcelona collected 2026-10-01 10:21:24 UTC 2,482 bytes, 3 lines download raw bytes

1"use strict";(self.webpackChunkapp=self.webpackChunkapp||[]).push([[7277],{47277:(function(y,v,m){m.r(v);var g=m(43422),n=m.n(g);n().defineOption("info",!1,(e,t,i)=>{if(i&&i!==n().Init){const o=e.state.info.onMouseOver;n().off(e.getWrapperElement(),"mouseover",o),clearTimeout(e.state.info.hoverTimeout),delete e.state.info}if(t){const o=e.state.info=T(t);o.onMouseOver=M.bind(null,e),n().on(e.getWrapperElement(),"mouseover",o.onMouseOver)}});function T(e){return{options:e instanceof Function?{render:e}:e===!0?{}:e}}function h(e){const{options:t}=e.state.info;return(t==null?void 0:t.hoverTime)||500}function M(e,t){const i=e.state.info,o=t.target||t.srcElement;if(!(o instanceof HTMLElement)||o.nodeName!=="SPAN"||i.hoverTimeout!==void 0)return;const r=o.getBoundingClientRect(),u=function(){clearTimeout(i.hoverTimeout),i.hoverTimeout=setTimeout(p,f)},s=function(){n().off(document,"mousemove",u),n().off(e.getWrapperElement(),"mouseout",s),clearTimeout(i.hoverTimeout),i.hoverTimeout=void 0},p=function(){n().off(document,"mousemove",u),n().off(e.getWrapperElement(),"mouseout",s),i.hoverTimeout=void 0,E(e,r)},f=h(e);i.hoverTimeout=setTimeout(p,f),n().on(document,"mousemove",u),n().on(e.getWrapperElement(),"mouseout",s)}function E(e,t){const i=e.coordsChar({left:(t.left+t.right)/2,top:(t.top+t.bottom)/2},"window"),o=e.state.info,{options:r}=o,u=r.render||e.getHelper(i,"info");if(u){const s=e.getTokenAt(i,!0);if(s){const p=u(s,r,e,i);p&&O(e,t,p)}}}function O(e,t,i){const o=document.createElement("div");o.className="CodeMirror-info",o.append(i),document.body.append(o);const r=o.getBoundingClientRect(),u=window.getComputedStyle(o),s=r.right-r.left+parseFloat(u.marginLeft)+parseFloat(u.marginRight),p=r.bottom-r.top+parseFloat(u.marginTop)+parseFloat(u.marginBottom);let f=t.bottom;p>window.innerHeight-t.bottom-15&&t.top>window.innerHeight-t.bottom&&(f=t.top-p),f<0&&(f=t.bottom);let l=Math.max(0,window.innerWidth-s-15);l>t.left&&(l=t.left),o.style.opacity="1",o.style.top=f+"px",o.style.left=l+"px";let c;const d=function(){clearTimeout(c)},a=function(){clearTimeout(c),c=setTimeout(w,200)},w=function(){n().off(o,"mouseover",d),n().off(o,"mouseout",a),n().off(e.getWrapperElement(),"mouseout",a),o.style.opacity?(o.style.opacity="0",setTimeout(()=>{o.parentNode&&o.remove()},600)):o.parentNode&&o.remove()};n().on(o,"mouseover",d),n().on(o,"mouseout",a),n().on(e.getWrapperElement(),"mouseout",a)}})}]);
2
3//# sourceMappingURL=7277-1d8d9cd366eb7c759b97.chunk.js.map

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.