%PDF- %PDF-
Direktori : /var/www/projetos/suporte.iigd.com.br.old/public/lib/ |
Current File : /var/www/projetos/suporte.iigd.com.br.old/public/lib/fuzzy.min.js |
(()=>{var e={395:e=>{(function(){var t=this;var n={};if(true){e.exports=n}else{}n.simpleFilter=function(e,t){return t.filter((function(t){return n.test(e,t)}))};n.test=function(e,t){return n.match(e,t)!==null};n.match=function(e,t,n){n=n||{};var r=0,o=[],i=t.length,f=0,a=0,l=n.pre||"",u=n.post||"",s=n.caseSensitive&&t||t.toLowerCase(),c;e=n.caseSensitive&&e||e.toLowerCase();for(var p=0;p<i;p++){c=t[p];if(s[p]===e[r]){c=l+c+u;r+=1;a+=1+a}else{a=0}f+=a;o[o.length]=c}if(r===e.length){f=s===e?Infinity:f;return{rendered:o.join(""),score:f}}return null};n.filter=function(e,t,r){if(!t||t.length===0){return[]}if(typeof e!=="string"){return t}r=r||{};return t.reduce((function(t,o,i,f){var a=o;if(r.extract){a=r.extract(o)}var l=n.match(e,a,r);if(l!=null){t[t.length]={string:l.rendered,score:l.score,index:i,original:o}}return t}),[]).sort((function(e,t){var n=t.score-e.score;if(n)return n;return e.index-t.index}))}})()},399:e=>{"use strict"; /**! * hotkeys-js v3.8.8 * A simple micro-library for defining and dispatching keyboard shortcuts. It has no dependencies. * * Copyright (c) 2022 kenny wong <wowohoo@qq.com> * http://jaywcjlove.github.io/hotkeys * Licensed under the MIT license */var t=typeof navigator!=="undefined"?navigator.userAgent.toLowerCase().indexOf("firefox")>0:false;function n(e,t,n){if(e.addEventListener){e.addEventListener(t,n,false)}else if(e.attachEvent){e.attachEvent("on".concat(t),(function(){n(window.event)}))}}function r(e,t){var n=t.slice(0,t.length-1);for(var r=0;r<n.length;r++){n[r]=e[n[r].toLowerCase()]}return n}function o(e){if(typeof e!=="string")e="";e=e.replace(/\s/g,"");var t=e.split(",");var n=t.lastIndexOf("");for(;n>=0;){t[n-1]+=",";t.splice(n,1);n=t.lastIndexOf("")}return t}function i(e,t){var n=e.length>=t.length?e:t;var r=e.length>=t.length?t:e;var o=true;for(var i=0;i<n.length;i++){if(r.indexOf(n[i])===-1)o=false}return o}var f={backspace:8,tab:9,clear:12,enter:13,return:13,esc:27,escape:27,space:32,left:37,up:38,right:39,down:40,del:46,delete:46,ins:45,insert:45,home:36,end:35,pageup:33,pagedown:34,capslock:20,num_0:96,num_1:97,num_2:98,num_3:99,num_4:100,num_5:101,num_6:102,num_7:103,num_8:104,num_9:105,num_multiply:106,num_add:107,num_enter:108,num_subtract:109,num_decimal:110,num_divide:111,"⇪":20,",":188,".":190,"/":191,"`":192,"-":t?173:189,"=":t?61:187,";":t?59:186,"'":222,"[":219,"]":221,"\\":220};var a={"⇧":16,shift:16,"⌥":18,alt:18,option:18,"⌃":17,ctrl:17,control:17,"⌘":91,cmd:91,command:91};var l={16:"shiftKey",18:"altKey",17:"ctrlKey",91:"metaKey",shiftKey:16,ctrlKey:17,altKey:18,metaKey:91};var u={16:false,18:false,17:false,91:false};var s={};for(var c=1;c<20;c++){f["f".concat(c)]=111+c}var p=[];var d=false;var y="all";var h=[];var v=function e(t){return f[t.toLowerCase()]||a[t.toLowerCase()]||t.toUpperCase().charCodeAt(0)};function m(e){y=e||"all"}function g(){return y||"all"}function w(){return p.slice(0)}function k(e){var t=e.target||e.srcElement;var n=t.tagName;var r=true;if(t.isContentEditable||(n==="INPUT"||n==="TEXTAREA"||n==="SELECT")&&!t.readOnly){r=false}return r}function O(e){if(typeof e==="string"){e=v(e)}return p.indexOf(e)!==-1}function b(e,t){var n;var r;if(!e)e=g();for(var o in s){if(Object.prototype.hasOwnProperty.call(s,o)){n=s[o];for(r=0;r<n.length;){if(n[r].scope===e)n.splice(r,1);else r++}}}if(g()===e)m(t||"all")}function x(e){var t=e.keyCode||e.which||e.charCode;var n=p.indexOf(t);if(n>=0){p.splice(n,1)}if(e.key&&e.key.toLowerCase()==="meta"){p.splice(0,p.length)}if(t===93||t===224)t=91;if(t in u){u[t]=false;for(var r in a){if(a[r]===t)T[r]=false}}}function K(e){if(!e){Object.keys(s).forEach((function(e){return delete s[e]}))}else if(Array.isArray(e)){e.forEach((function(e){if(e.key)_(e)}))}else if(typeof e==="object"){if(e.key)_(e)}else if(typeof e==="string"){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++){n[r-1]=arguments[r]}var o=n[0],i=n[1];if(typeof o==="function"){i=o;o=""}_({key:e,scope:o,method:i,splitKey:"+"})}}var _=function e(t){var n=t.key,f=t.scope,l=t.method,u=t.splitKey,c=u===void 0?"+":u;var p=o(n);p.forEach((function(e){var t=e.split(c);var n=t.length;var o=t[n-1];var u=o==="*"?"*":v(o);if(!s[u])return;if(!f)f=g();var p=n>1?r(a,t):[];s[u]=s[u].filter((function(e){var t=l?e.method===l:true;return!(t&&e.scope===f&&i(e.mods,p))}))}))};function E(e,t,n){var r;if(t.scope===n||t.scope==="all"){r=t.mods.length>0;for(var o in u){if(Object.prototype.hasOwnProperty.call(u,o)){if(!u[o]&&t.mods.indexOf(+o)>-1||u[o]&&t.mods.indexOf(+o)===-1){r=false}}}if(t.mods.length===0&&!u[16]&&!u[18]&&!u[17]&&!u[91]||r||t.shortcut==="*"){if(t.method(e,t)===false){if(e.preventDefault)e.preventDefault();else e.returnValue=false;if(e.stopPropagation)e.stopPropagation();if(e.cancelBubble)e.cancelBubble=true}}}}function C(e){var t=s["*"];var n=e.keyCode||e.which||e.charCode;if(!T.filter.call(this,e))return;if(n===93||n===224)n=91;if(p.indexOf(n)===-1&&n!==229)p.push(n);["ctrlKey","altKey","shiftKey","metaKey"].forEach((function(t){var n=l[t];if(e[t]&&p.indexOf(n)===-1){p.push(n)}else if(!e[t]&&p.indexOf(n)>-1){p.splice(p.indexOf(n),1)}else if(t==="metaKey"&&e[t]&&p.length===3){if(!(e.ctrlKey||e.shiftKey||e.altKey)){p=p.slice(p.indexOf(n))}}}));if(n in u){u[n]=true;for(var r in a){if(a[r]===n)T[r]=true}if(!t)return}for(var o in u){if(Object.prototype.hasOwnProperty.call(u,o)){u[o]=e[l[o]]}}if(e.getModifierState&&!(e.altKey&&!e.ctrlKey)&&e.getModifierState("AltGraph")){if(p.indexOf(17)===-1){p.push(17)}if(p.indexOf(18)===-1){p.push(18)}u[17]=true;u[18]=true}var i=g();if(t){for(var f=0;f<t.length;f++){if(t[f].scope===i&&(e.type==="keydown"&&t[f].keydown||e.type==="keyup"&&t[f].keyup)){E(e,t[f],i)}}}if(!(n in s))return;for(var c=0;c<s[n].length;c++){if(e.type==="keydown"&&s[n][c].keydown||e.type==="keyup"&&s[n][c].keyup){if(s[n][c].key){var d=s[n][c];var y=d.splitKey;var h=d.key.split(y);var m=[];for(var w=0;w<h.length;w++){m.push(v(h[w]))}if(m.sort().join("")===p.sort().join("")){E(e,d,i)}}}}}function j(e){return h.indexOf(e)>-1}function T(e,t,i){p=[];var f=o(e);var l=[];var u="all";var c=document;var y=0;var m=false;var g=true;var w="+";if(i===undefined&&typeof t==="function"){i=t}if(Object.prototype.toString.call(t)==="[object Object]"){if(t.scope)u=t.scope;if(t.element)c=t.element;if(t.keyup)m=t.keyup;if(t.keydown!==undefined)g=t.keydown;if(typeof t.splitKey==="string")w=t.splitKey}if(typeof t==="string")u=t;for(;y<f.length;y++){e=f[y].split(w);l=[];if(e.length>1)l=r(a,e);e=e[e.length-1];e=e==="*"?"*":v(e);if(!(e in s))s[e]=[];s[e].push({keyup:m,keydown:g,scope:u,mods:l,shortcut:f[y],method:i,key:f[y],splitKey:w})}if(typeof c!=="undefined"&&!j(c)&&window){h.push(c);n(c,"keydown",(function(e){C(e)}));if(!d){d=true;n(window,"focus",(function(){p=[]}))}n(c,"keyup",(function(e){C(e);x(e)}))}}var L={setScope:m,getScope:g,deleteScope:b,getPressedKeyCodes:w,isPressed:O,filter:k,unbind:K};for(var P in L){if(Object.prototype.hasOwnProperty.call(L,P)){T[P]=L[P]}}if(typeof window!=="undefined"){var S=window.hotkeys;T.noConflict=function(e){if(e&&window.hotkeys===T){window.hotkeys=S}return T};window.hotkeys=T}e.exports=T},398:e=>{"use strict"; /*! hotkeys-js v3.8.8 | MIT © 2022 kenny wong <wowohoo@qq.com> http://jaywcjlove.github.io/hotkeys */var t="undefined"!=typeof navigator&&0<navigator.userAgent.toLowerCase().indexOf("firefox");function n(e,t,n){e.addEventListener?e.addEventListener(t,n,!1):e.attachEvent&&e.attachEvent("on".concat(t),(function(){n(window.event)}))}function r(e,t){for(var n=t.slice(0,t.length-1),r=0;r<n.length;r++)n[r]=e[n[r].toLowerCase()];return n}function o(e){for(var t=(e=(e="string"!=typeof e?"":e).replace(/\s/g,"")).split(","),n=t.lastIndexOf("");0<=n;)t[n-1]+=",",t.splice(n,1),n=t.lastIndexOf("");return t}function i(e,t){for(var n=e.length<t.length?t:e,r=e.length<t.length?e:t,o=!0,i=0;i<n.length;i++)~r.indexOf(n[i])||(o=!1);return o}for(var f={backspace:8,tab:9,clear:12,enter:13,return:13,esc:27,escape:27,space:32,left:37,up:38,right:39,down:40,del:46,delete:46,ins:45,insert:45,home:36,end:35,pageup:33,pagedown:34,capslock:20,num_0:96,num_1:97,num_2:98,num_3:99,num_4:100,num_5:101,num_6:102,num_7:103,num_8:104,num_9:105,num_multiply:106,num_add:107,num_enter:108,num_subtract:109,num_decimal:110,num_divide:111,"⇪":20,",":188,".":190,"/":191,"`":192,"-":t?173:189,"=":t?61:187,";":t?59:186,"'":222,"[":219,"]":221,"\\":220},a={"⇧":16,shift:16,"⌥":18,alt:18,option:18,"⌃":17,ctrl:17,control:17,"⌘":91,cmd:91,command:91},l={16:"shiftKey",18:"altKey",17:"ctrlKey",91:"metaKey",shiftKey:16,ctrlKey:17,altKey:18,metaKey:91},u={16:!1,18:!1,17:!1,91:!1},s={},c=1;c<20;c++)f["f".concat(c)]=111+c;var p=[],d=!1,y="all",h=[],v=function(e){return f[e.toLowerCase()]||a[e.toLowerCase()]||e.toUpperCase().charCodeAt(0)};function m(e){y=e||"all"}function g(){return y||"all"}function w(){return p.slice(0)}function k(e){var e=e.target||e.srcElement,t=e.tagName;return!e.isContentEditable&&("INPUT"!==t&&"TEXTAREA"!==t&&"SELECT"!==t||e.readOnly)?!0:!1}function O(e){return"string"==typeof e&&(e=v(e)),!!~p.indexOf(e)}function b(e,t){var n,r,o;for(o in e=e||g(),s)if(Object.prototype.hasOwnProperty.call(s,o))for(n=s[o],r=0;r<n.length;)n[r].scope===e?n.splice(r,1):r++;g()===e&&m(t||"all")}function x(e){var t=e.keyCode||e.which||e.charCode,n=p.indexOf(t);if(n<0||p.splice(n,1),e.key&&"meta"==e.key.toLowerCase()&&p.splice(0,p.length),(t=93!==t&&224!==t?t:91)in u)for(var r in u[t]=!1,a)a[r]===t&&(T[r]=!1)}function K(e){if(e){if(Array.isArray(e))e.forEach((function(e){e.key&&_(e)}));else if("object"==typeof e)e.key&&_(e);else if("string"==typeof e){for(var t=arguments.length,n=Array(1<t?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];var o=n[0],i=n[1];"function"==typeof o&&(i=o,o=""),_({key:e,scope:o,method:i,splitKey:"+"})}}else Object.keys(s).forEach((function(e){return delete s[e]}))}var _=function(e){var t=e.scope,n=e.method,f=e.splitKey,l=void 0===f?"+":f;o(e.key).forEach((function(e){var o,e=e.split(l),f=e.length,u=e[f-1],u="*"===u?"*":v(u);s[u]&&(t=t||g(),o=1<f?r(a,e):[],s[u]=s[u].filter((function(e){return!((!n||e.method===n)&&e.scope===t&&i(e.mods,o))})))}))};function E(e,t,n){var r;if(t.scope===n||"all"===t.scope){for(var o in r=0<t.mods.length,u)Object.prototype.hasOwnProperty.call(u,o)&&(!u[o]&&~t.mods.indexOf(+o)||u[o]&&!~t.mods.indexOf(+o))&&(r=!1);(0!==t.mods.length||u[16]||u[18]||u[17]||u[91])&&!r&&"*"!==t.shortcut||!1===t.method(e,t)&&(e.preventDefault?e.preventDefault():e.returnValue=!1,e.stopPropagation&&e.stopPropagation(),e.cancelBubble&&(e.cancelBubble=!0))}}function C(e){var t=s["*"],n=e.keyCode||e.which||e.charCode;if(T.filter.call(this,e)){if(~p.indexOf(n=93!==n&&224!==n?n:91)||229===n||p.push(n),["ctrlKey","altKey","shiftKey","metaKey"].forEach((function(t){var n=l[t];e[t]&&!~p.indexOf(n)?p.push(n):!e[t]&&~p.indexOf(n)?p.splice(p.indexOf(n),1):"metaKey"!==t||!e[t]||3!==p.length||e.ctrlKey||e.shiftKey||e.altKey||(p=p.slice(p.indexOf(n)))})),n in u){for(var r in u[n]=!0,a)a[r]===n&&(T[r]=!0);if(!t)return}for(var o in u)Object.prototype.hasOwnProperty.call(u,o)&&(u[o]=e[l[o]]);e.getModifierState&&(!e.altKey||e.ctrlKey)&&e.getModifierState("AltGraph")&&(~p.indexOf(17)||p.push(17),~p.indexOf(18)||p.push(18),u[17]=!0,u[18]=!0);var i=g();if(t)for(var f=0;f<t.length;f++)t[f].scope===i&&("keydown"===e.type&&t[f].keydown||"keyup"===e.type&&t[f].keyup)&&E(e,t[f],i);if(n in s)for(var c=0;c<s[n].length;c++)if(("keydown"===e.type&&s[n][c].keydown||"keyup"===e.type&&s[n][c].keyup)&&s[n][c].key){for(var d=s[n][c],y=d.key.split(d.splitKey),h=[],m=0;m<y.length;m++)h.push(v(y[m]));h.sort().join("")===p.sort().join("")&&E(e,d,i)}}}function j(e){return!!~h.indexOf(e)}function T(e,t,i){p=[];var f=o(e),l=[],u="all",c=document,y=0,m=!1,g=!0,w="+";for(void 0===i&&"function"==typeof t&&(i=t),"[object Object]"===Object.prototype.toString.call(t)&&(t.scope&&(u=t.scope),t.element&&(c=t.element),t.keyup&&(m=t.keyup),void 0!==t.keydown&&(g=t.keydown),"string"==typeof t.splitKey&&(w=t.splitKey)),"string"==typeof t&&(u=t);y<f.length;y++)l=[],1<(e=f[y].split(w)).length&&(l=r(a,e)),(e="*"===(e=e[e.length-1])?"*":v(e))in s||(s[e]=[]),s[e].push({keyup:m,keydown:g,scope:u,mods:l,shortcut:f[y],method:i,key:f[y],splitKey:w});void 0!==c&&!j(c)&&window&&(h.push(c),n(c,"keydown",(function(e){C(e)})),d||(d=!0,n(window,"focus",(function(){p=[]}))),n(c,"keyup",(function(e){C(e),x(e)})))}var L,P,S={setScope:m,getScope:g,deleteScope:b,getPressedKeyCodes:w,isPressed:O,filter:k,unbind:K};for(L in S)Object.prototype.hasOwnProperty.call(S,L)&&(T[L]=S[L]);"undefined"!=typeof window&&(P=window.hotkeys,T.noConflict=function(e){return e&&window.hotkeys===T&&(window.hotkeys=P),T},window.hotkeys=T),e.exports=T},396:(e,t,n)=>{var r=n(397);if(r.env.NODE_ENV==="production"){e.exports=n(398)}else{e.exports=n(399)}},397:e=>{var t=e.exports={};var n;var r;function o(){throw new Error("setTimeout has not been defined")}function i(){throw new Error("clearTimeout has not been defined")}(function(){try{if(typeof setTimeout==="function"){n=setTimeout}else{n=o}}catch(e){n=o}try{if(typeof clearTimeout==="function"){r=clearTimeout}else{r=i}}catch(e){r=i}})();function f(e){if(n===setTimeout){return setTimeout(e,0)}if((n===o||!n)&&setTimeout){n=setTimeout;return setTimeout(e,0)}try{return n(e,0)}catch(t){try{return n.call(null,e,0)}catch(t){return n.call(this,e,0)}}}function a(e){if(r===clearTimeout){return clearTimeout(e)}if((r===i||!r)&&clearTimeout){r=clearTimeout;return clearTimeout(e)}try{return r(e)}catch(t){try{return r.call(null,e)}catch(t){return r.call(this,e)}}}var l=[];var u=false;var s;var c=-1;function p(){if(!u||!s){return}u=false;if(s.length){l=s.concat(l)}else{c=-1}if(l.length){d()}}function d(){if(u){return}var e=f(p);u=true;var t=l.length;while(t){s=l;l=[];while(++c<t){if(s){s[c].run()}}c=-1;t=l.length}s=null;u=false;a(e)}t.nextTick=function(e){var t=new Array(arguments.length-1);if(arguments.length>1){for(var n=1;n<arguments.length;n++){t[n-1]=arguments[n]}}l.push(new y(e,t));if(l.length===1&&!u){f(d)}};function y(e,t){this.fun=e;this.array=t}y.prototype.run=function(){this.fun.apply(null,this.array)};t.title="browser";t.browser=true;t.env={};t.argv=[];t.version="";t.versions={};function h(){}t.on=h;t.addListener=h;t.once=h;t.off=h;t.removeListener=h;t.removeAllListeners=h;t.emit=h;t.prependListener=h;t.prependOnceListener=h;t.listeners=function(e){return[]};t.binding=function(e){throw new Error("process.binding is not supported")};t.cwd=function(){return"/"};t.chdir=function(e){throw new Error("process.chdir is not supported")};t.umask=function(){return 0}}};var t={};function n(r){var o=t[r];if(o!==undefined){return o.exports}var i=t[r]={exports:{}};e[r](i,i.exports,n);return i.exports}(()=>{n.n=e=>{var t=e&&e.__esModule?()=>e["default"]:()=>e;n.d(t,{a:t});return t}})();(()=>{n.d=(e,t)=>{for(var r in t){if(n.o(t,r)&&!n.o(e,r)){Object.defineProperty(e,r,{enumerable:true,get:t[r]})}}}})();(()=>{n.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t)})();(()=>{n.r=e=>{if(typeof Symbol!=="undefined"&&Symbol.toStringTag){Object.defineProperty(e,Symbol.toStringTag,{value:"Module"})}Object.defineProperty(e,"__esModule",{value:true})}})();var r={};(()=>{"use strict";n.r(r);var e=n(396);var t=n.n(e); /** * --------------------------------------------------------------------- * * GLPI - Gestionnaire Libre de Parc Informatique * * http://glpi-project.org * * @copyright 2015-2022 Teclib' and contributors. * @copyright 2003-2014 by the INDEPNET Development Team. * @licence https://www.gnu.org/licenses/gpl-3.0.html * * --------------------------------------------------------------------- * * LICENSE * * This file is part of GLPI. * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with this program. If not, see <https://www.gnu.org/licenses/>. * * --------------------------------------------------------------------- */window.fuzzy=n(395)})()})();