PageSourceSearch

https://gemspace.com/_nuxt/226a7a1.js

js gemspace.com collected 2026-09-24 09:32:05 UTC 12,124 bytes, 2 lines download raw bytes

vendor: 12,124 bytes, lines 1-2
1(window.webpackJsonp=window.webpackJsonp||[]).push([[11],{764:function(t,e,n){"use strict";function r(t,e){for(var i=0;i<e.length;i++){var n=e[i];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}function o(t,e,n){return e&&r(t.prototype,e),n&&r(t,n),t}function c(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function l(object,t){var e=Object.keys(object);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(object);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(object,t).enumerable}))),e.push.apply(e,n)}return e}function f(t){for(var i=1;i<arguments.length;i++){var source=null!=arguments[i]?arguments[i]:{};i%2?l(Object(source),!0).forEach((function(e){c(t,e,source[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(source)):l(Object(source)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(source,e))}))}return t}function d(t,i){return function(t){if(Array.isArray(t))return t}(t)||function(t,i){if("undefined"==typeof Symbol||!(Symbol.iterator in Object(t)))return;var e=[],n=!0,r=!1,o=void 0;try{for(var c,l=t[Symbol.iterator]();!(n=(c=l.next()).done)&&(e.push(c.value),!i||e.length!==i);n=!0);}catch(t){r=!0,o=t}finally{try{n||null==l.return||l.return()}finally{if(r)throw o}}return e}(t,i)||y(t,i)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function h(t){return function(t){if(Array.isArray(t))return v(t)}(t)||function(t){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(t))return Array.from(t)}(t)||y(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function y(t,e){if(t){if("string"==typeof t)return v(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);return"Object"===n&&t.constructor&&(n=t.constructor.name),"Map"===n||"Set"===n?Array.from(t):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?v(t,e):void 0}}function v(t,e){(null==e||e>t.length)&&(e=t.length);for(var i=0,n=new Array(e);i<e;i++)n[i]=t[i];return n}function m(t,object){return Object.getOwnPropertyNames(Object(t)).reduce((function(e,n){var r=Object.getOwnPropertyDescriptor(Object(t),n),o=Object.getOwnPropertyDescriptor(Object(object),n);return Object.defineProperty(e,n,o||r)}),{})}function w(t){return"string"==typeof t}function O(t){return Array.isArray(t)}function j(){var t,e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},object=m(e);return void 0!==object.types?t=object.types:void 0!==object.split&&(t=object.split),void 0!==t&&(object.types=(w(t)||O(t)?String(t):"").split(",").map((function(t){return String(t).trim()})).filter((function(t){return/((line)|(word)|(char))/i.test(t)}))),(object.absolute||object.position)&&(object.absolute=object.absolute||/absolute/.test(e.position)),object}function C(t){var e=w(t)||O(t)?String(t):"";return{none:!e,lines:/line/i.test(e),words:/word/i.test(e),chars:/char/i.test(e)}}function E(t){return null!==t&&"object"==typeof t}function S(input){return E(input)&&/^(1|3|11)$/.test(input.nodeType)}function x(t){return O(t)?t:null==t?[]:function(t){return E(t)&&function(t){return"number"==typeof t&&t>-1&&t%1==0}(t.length)}(t)?Array.prototype.slice.call(t):[t]}function k(t){var e=t;return w(t)&&(e=/^(#[a-z]\w+)$/.test(t.trim())?document.getElementById(t.trim().slice(1)):document.querySelectorAll(t)),x(e).reduce((function(t,element){return[].concat(h(t),h(x(element).filter(S)))}),[])}n.r(e),n.d(e,"default",(function(){return ft})),function(){function t(){for(var t=arguments.length,i=0;i<t;i++){var e=i<0||arguments.length<=i?void 0:arguments[i];1===e.nodeType||11===e.nodeType?this.appendChild(e):this.appendChild(document.createTextNode(String(e)))}}function e(){for(;this.lastChild;)this.removeChild(this.lastChild);arguments.length&&this.append.apply(this,arguments)}function n(){for(var t=this.parentNode,e=arguments.length,n=new Array(e),r=0;r<e;r++)n[r]=arguments[r];var i=n.length;if(t)for(i||t.removeChild(this);i--;){var o=n[i];"object"!=typeof o?o=this.ownerDocument.createTextNode(o):o.parentNode&&o.parentNode.removeChild(o),i?t.insertBefore(this.previousSibling,o):t.replaceChild(o,this)}}"undefined"!=typeof Element&&(Element.prototype.append||(Element.prototype.append=t,DocumentFragment.prototype.append=t),Element.prototype.replaceChildren||(Element.prototype.replaceChildren=e,DocumentFragment.prototype.replaceChildren=e),Element.prototype.replaceWith||(Element.prototype.replaceWith=n,DocumentFragment.prototype.replaceWith=n))}();var W=Object.entries,A="_splittype",P={},T=0;function D(t,e,n){if(!E(t))return console.warn("[data.set] owner is not an object"),null;var r=t[A]||(t[A]=++T),data=P[r]||(P[r]={});return void 0===n?e&&Object.getPrototypeOf(e)===Object.prototype&&(P[r]=f(f({},data),e)):void 0!==e&&(data[e]=n),n}function N(t,e){var n=E(t)?t[A]:null,data=n&&P[n]||{};return void 0===e?data:data[e]}function R(element){var t=element&&element[A];t&&(delete element[t],delete P[t])}var $="\\ud800-\\udfff",B="\\u0300-\\u036f\\ufe20-\\ufe23",F="\\u20d0-\\u20f0",I="\\ufe0e\\ufe0f",L="[".concat($,"]"),H="[".concat(B).concat(F,"]"),M="\\ud83c[\\udffb-\\udfff]",z="(?:".concat(H,"|").concat(M,")"),J="[^".concat($,"]"),V="(?:\\ud83c[\\udde6-\\uddff]){2}",U="[\\ud800-\\udbff][\\udc00-\\udfff]",X="\\u200d",Y="".concat(z,"?"),_="[".concat(I,"]?"),G=_+Y+("(?:"+X+"(?:"+[J,V,U].join("|")+")"+_+Y+")*"),K="(?:".concat(["".concat(J).concat(H,"?"),H,V,U,L].join("|"),"\n)"),Q=RegExp("".concat(M,"(?=").concat(M,")|").concat(K).concat(G),"g"),Z=RegExp("[".concat([X,$,B,F,I].join(""),"]"));function tt(t){return Z.test(t)}function et(t){return tt(t)?function(t){return t.match(Q)||[]}(t):function(t){return t.split("")}(t)}function nt(t){var e,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";return(t=null==(e=t)?"":String(e))&&w(t)&&!n&&tt(t)?et(t):t.split(n)}function ot(t,e){var element=document.createElement(t);return e?(Object.keys(e).forEach((function(t){var n=e[t],r=w(n)?n.trim():n;null!==r&&""!==r&&("children"===t?element.append.apply(element,h(x(r))):element.setAttribute(t,r))})),element):element}var it={splitClass:"",lineClass:"line",wordClass:"word",charClass:"char",types:["lines","words","chars"],absolute:!1,tagName:"div"};function at(t,e){var n,r=C((e=m(it,e)).types),o=e.tagName,c=t.nodeValue,l=document.createDocumentFragment(),f=[];return/^\s/.test(c)&&l.append(" "),n=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:" ";return(t?String(t):"").trim().replace(/\s+/g," ").split(e)}(c).reduce((function(t,n,c,d){var y,v;return r.chars&&(v=nt(n).map((function(t){var n=ot(o,{class:"".concat(e.splitClass," ").concat(e.charClass),style:"display: inline-block;",children:t});return D(n,"isChar",!0),f=[].concat(h(f),[n]),n}))),r.words||r.lines?(D(y=ot(o,{class:"".concat(e.wordClass," ").concat(e.splitClass),style:"display: inline-block; ".concat(r.words&&e.absolute?"position: relative;":""),children:r.chars?v:n}),{isWord:!0,isWordStart:!0,isWordEnd:!0}),l.appendChild(y)):v.forEach((function(t){l.appendChild(t)})),c<d.length-1&&l.append(" "),r.words?t.concat(y):t}),[]),/\s$/.test(c)&&l.append(" "),t.replaceWith(l),{words:n,chars:f}}function ct(t,e){var n=t.nodeType,r={words:[],chars:[]};if(!/(1|3|11)/.test(n))return r;if(3===n&&/\S/.test(t.nodeValue))return at(t,e);var o=x(t.childNodes);if(o.length&&(D(t,"isSplit",!0),!N(t).isRoot)){t.style.display="inline-block",t.style.position="relative";var c=t.nextSibling,l=t.previousSibling,text=t.textContent||"",f=c?c.textContent:" ",d=l?l.textContent:" ";D(t,{isWordEnd:/\s$/.test(text)||/^\s/.test(f),isWordStart:/^\s/.test(text)||/\s$/.test(d)})}return o.reduce((function(t,n){var r=ct(n,e),o=r.words,c=r.chars;return{words:[].concat(h(t.words),h(o)),chars:[].concat(h(t.chars),h(c))}}),r)}function st(element){N(element).isWord?(R(element),element.replaceWith.apply(element,h(element.childNodes))):x(element.children).forEach((function(t){return st(t)}))}function lt(element,t,e){var n,r,o,c=C(t.types),l=t.tagName,f=element.getElementsByTagName("*"),h=[],y=[],v=null,m=[],w=element.parentElement,O=element.nextElementSibling,j=document.createDocumentFragment(),E=window.getComputedStyle(element),S=E.textAlign,k=.2*parseFloat(E.fontSize);return t.absolute&&(o={left:element.offsetLeft,top:element.offsetTop,width:element.offsetWidth},r=element.offsetWidth,n=element.offsetHeight,D(element,{cssWidth:element.style.width,cssHeight:element.style.height})),x(f).forEach((function(n){var r=n.parentElement===element,o=function(t,e,n,r){if(!n.absolute)return{top:e?t.offsetTop:null};var o=t.offsetParent,c=d(r,2),l=c[0],f=c[1],h=0,y=0;if(o&&o!==document.body){var v=o.getBoundingClientRect();h=v.x+l,y=v.y+f}var m=t.getBoundingClientRect(),w=m.width,O=m.height,j=m.x;return{width:w,height:O,top:m.y+f-y,left:j+l-h}}(n,r,t,e),l=o.width,f=o.height,m=o.top,w=o.left;/^br$/i.test(n.nodeName)||(c.lines&&r&&((null===v||m-v>=k)&&(v=m,h.push(y=[])),y.push(n)),t.absolute&&D(n,{top:m,left:w,width:l,height:f}))})),w&&w.removeChild(element),c.lines&&(m=h.map((function(e){var n=ot(l,{class:"".concat(t.splitClass," ").concat(t.lineClass),style:"display: block; text-align: ".concat(S,"; width: 100%;")});D(n,"isLine",!0);var r={height:0,top:1e4};return j.appendChild(n),e.forEach((function(t,e,o){var c=N(t),l=c.isWordEnd,f=c.top,d=c.height,h=o[e+1];r.height=Math.max(r.height,d),r.top=Math.min(r.top,f),n.appendChild(t),l&&N(h).isWordStart&&n.append(" ")})),t.absolute&&D(n,{height:r.height,top:r.top}),n})),c.words||st(j),element.replaceChildren(j)),t.absolute&&(element.style.width="".concat(element.style.width||r,"px"),element.style.height="".concat(n,"px"),x(f).forEach((function(t){var e=N(t),n=e.isLine,r=e.top,c=e.left,l=e.width,f=e.height,d=N(t.parentElement),h=!n&&d.isLine;t.style.top="".concat(h?r-d.top:r,"px"),t.style.left="".concat(n?o.left:c-(h?o.left:0),"px"),t.style.height="".concat(f,"px"),t.style.width="".concat(n?o.width:l,"px"),t.style.position="absolute"}))),w&&(O?w.insertBefore(element,O):w.appendChild(element)),m}var ut=m(it,{}),ft=function(){function t(e,n){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this.isSplit=!1,this.settings=m(ut,j(n)),this.elements=k(e),this.split()}return o(t,null,[{key:"clearData",value:function(){Object.keys(P).forEach((function(t){delete P[t]}))}},{key:"setDefaults",value:function(t){return ut=m(ut,j(t)),it}},{key:"revert",value:function(t){k(t).forEach((function(element){var t=N(element),e=t.isSplit,html=t.html,n=t.cssWidth,r=t.cssHeight;e&&(element.innerHTML=html,element.style.width=n||"",element.style.height=r||"",R(element))}))}},{key:"create",value:function(e,n){return new t(e,n)}},{key:"data",get:function(){return P}},{key:"defaults",get:function(){return ut},set:function(t){ut=m(ut,j(t))}}]),o(t,[{key:"split",value:function(t){var e=this;this.revert(),this.elements.forEach((function(element){D(element,"html",element.innerHTML)})),this.lines=[],this.words=[],this.chars=[];var n=[window.pageXOffset,window.pageYOffset];void 0!==t&&(this.settings=m(this.settings,j(t)));var r=C(this.settings.types);r.none||(this.elements.forEach((function(element){D(element,"isRoot",!0);var t=ct(element,e.settings),n=t.words,r=t.chars;e.words=[].concat(h(e.words),h(n)),e.chars=[].concat(h(e.chars),h(r))})),this.elements.forEach((function(element){if(r.lines||e.settings.absolute){var t=lt(element,e.settings,n);e.lines=[].concat(h(e.lines),h(t))}})),this.isSplit=!0,window.scrollTo(n[0],n[1]),W(P).forEach((function(t){var e=d(t,2),n=e[0],r=e[1],o=r.isRoot,c=r.isSplit;o&&c||(P[n]=null,delete P[n])})))}},{key:"revert",value:function(){this.isSplit&&(this.lines=null,this.words=null,this.chars=null,this.isSplit=!1),t.revert(this.elements)}}]),t}()}}]);
2//# sourceMappingURL=../sourcemaps/226a7a1.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.