nextcloud/core/js/dist/unified-search.js

2 lines
635 KiB
JavaScript
Raw Normal View History

!function(e){var t={};function n(r){if(t[r])return t[r].exports;var o=t[r]={i:r,l:!1,exports:{}};return e[r].call(o.exports,o,o.exports,n),o.l=!0,o.exports}n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var o in e)n.d(r,o,function(t){return e[t]}.bind(null,o));return r},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=934)}([,,,function(e,t,n){var r=n(5),o=n(34).f,s=n(14),a=n(17),i=n(61),l=n(136),c=n(80);e.exports=function(e,t){var n,u,m,p,f,d=e.target,g=e.global,A=e.stat;if(n=g?r:A?r[d]||i(d,{}):(r[d]||{}).prototype)for(u in t){if(p=t[u],m=e.noTargetGet?(f=o(n,u))&&f.value:n[u],!c(g?u:d+(A?".":"#")+u,e.forced)&&void 0!==m){if(typeof p==typeof m)continue;l(p,m)}(e.sham||m&&m.sham)&&s(p,"sham",!0),a(n,u,p,e)}}},function(e,t){e.exports=function(e){try{return!!e()}catch(e){return!0}}},function(e,t,n){(function(t){var n=function(e){return e&&e.Math==Math&&e};e.exports=n("object"==typeof globalThis&&globalThis)||n("object"==typeof window&&window)||n("object"==typeof self&&self)||n("object"==typeof t&&t)||function(){return this}()||Function("return this")()}).call(this,n(21))},function(e,t,n){var r=n(5),o=n(85),s=n(12),a=n(52),i=n(88),l=n(137),c=o("wks"),u=r.Symbol,m=l?u:u&&u.withoutSetter||a;e.exports=function(e){return s(c,e)||(i&&s(u,e)?c[e]=u[e]:c[e]=m("Symbol."+e)),c[e]}},,function(e,t,n){var r=n(9);e.exports=function(e){if(!r(e))throw TypeError(String(e)+" is not an object");return e}},function(e,t){e.exports=function(e){return"object"==typeof e?null!==e:"function"==typeof e}},,function(e,t,n){var r=n(4);e.exports=!r((function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]}))},function(e,t){var n={}.hasOwnProperty;e.exports=function(e,t){return n.call(e,t)}},function(e,t,n){var r=n(11),o=n(100),s=n(8),a=n(38),i=Object.defineProperty;t.f=r?i:function(e,t,n){if(s(e),t=a(t,!0),s(n),o)try{return i(e,t,n)}catch(e){}if("get"in n||"set"in n)throw TypeError("Accessors not supported");return"value"in n&&(e[t]=n.value),e}},function(e,t,n){var r=n(11),o=n(13),s=n(31);e.exports=r?function(e,t,n){return o.f(e,t,s(1,n))}:function(e,t,n){return e[t]=n,e}},function(e,t,n){"use strict";n(155),n(117),n(77),n(45),n(141),n(82),Object.defineProperty(t,"__esModule",{value:!0}),t.getRootUrl=t.generateFilePath=t.imagePath=t.generateUrl=t.generateOcsUrl=t.generateRemoteUrl=t.linkTo=void 0;t.linkTo=function(e,t){return r(e,"",t)};t.generateRemoteUrl=function(e){return window.location.protocol+"//"+window.location.host+function(e){return o()+"/remote.php/"+e}(e)};t.generateOcsUrl=function(e,t){return t=2!==t?1:2,window.location.protocol+"//"+window.location.host+o()+"/ocs/v"+t+".php/"+e+"/"};t.generateUrl=function(e,t,n){var r=Object.assign({escape:!0,noRewrite:!1},n||{}),s=function(e,t){return t=t||{},e.replace(/{([^{}]*)}/g,(function(e,n){var o=t[n];return r.escape?"string"==typeof o||"number"==typeof o?encodeURIComponent(o.toString()):encodeURIComponent(e):"string"==typeof o||"number"==typeof o?o.toString():e}))};return"/"!==e.charAt(0)&&(e="/"+e),!0!==OC.config.modRewriteWorking||r.noRewrite?o()+"/index.php"+s(e,t||{}):o()+s(e,t||{})};t.imagePath=function(e,t){return-1===t.indexOf(".")?r(e,"img",t+".svg"):r(e,"img",t)};var r=function(e,t,n){var r=-1!==OC.coreApps.indexOf(e),s=o();return"php"!==n.substring(n.length-3)||r?"php"===n.substring(n.length-3)||r?(s+="settings"!==e&&"core"!==e&&"search"!==e||"ajax"!==t?"/":"/index.php/",r||(s+="apps/"),""!==e&&(s+=e+="/"),t&&(s+=t+"/"),s+=n):(s=OC.appswebroots[e],t&&(s+="/"+t+"/"),"/"!==s.substring(s.le
//# sourceMappingURL=unified-search.js.map