From 3f9589e6c71d8c0b4247fe683dbfbbdf8aeee1e3 Mon Sep 17 00:00:00 2001 From: flarum-bot Date: Wed, 11 Jan 2023 14:12:16 +0000 Subject: [PATCH] Bundled output for commit 76224f6e9875b516dad2814438836fcd0fa6d849 Includes transpiled JS/TS, and Typescript declaration files (typings). [skip ci] --- js/dist/admin.js | 2 +- js/dist/admin.js.map | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/js/dist/admin.js b/js/dist/admin.js index 53522f0..bd3ee49 100644 --- a/js/dist/admin.js +++ b/js/dist/admin.js @@ -1,2 +1,2 @@ -(()=>{var t={n:e=>{var a=e&&e.__esModule?()=>e.default:()=>e;return t.d(a,{a}),a},d:(e,a)=>{for(var l in a)t.o(a,l)&&!t.o(e,l)&&Object.defineProperty(e,l,{enumerable:!0,get:a[l]})},o:(t,e)=>Object.prototype.hasOwnProperty.call(t,e),r:t=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})}},e={};(()=>{"use strict";t.r(e);const a=flarum.core.compat["admin/app"];var l=t.n(a),r="datlechin-link-preview";l().initializers.add("datlechin/flarum-link-preview",(function(){l().extensionData.for(r+"").registerSetting({setting:r+".convert_media_urls",label:l().translator.trans(r+".admin.settings.convert_media_urls_label"),help:l().translator.trans(r+".admin.settings.convert_media_urls_help"),type:"checkbox"}).registerSetting({setting:r+".use_google_favicons",label:l().translator.trans(r+".admin.settings.use_google_favicons_label"),help:l().translator.trans(r+".admin.settings.use_google_favicons_help"),type:"checkbox"}).registerSetting({setting:r+".blacklist",label:l().translator.trans(r+".admin.settings.blacklist_label"),help:l().translator.trans(r+".admin.settings.blacklist_help"),placeholder:l().translator.trans(r+".admin.settings.blacklist_placeholder"),type:"textarea"}).registerSetting({setting:r+".whitelist",label:l().translator.trans(r+".admin.settings.whitelist_label"),help:l().translator.trans(r+".admin.settings.whitelist_help"),placeholder:l().translator.trans(r+".admin.settings.whitelist_placeholder"),type:"textarea"})}))})(),module.exports=e})(); +(()=>{var t={n:e=>{var a=e&&e.__esModule?()=>e.default:()=>e;return t.d(a,{a}),a},d:(e,a)=>{for(var n in a)t.o(a,n)&&!t.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:a[n]})},o:(t,e)=>Object.prototype.hasOwnProperty.call(t,e),r:t=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})}},e={};(()=>{"use strict";t.r(e);const a=flarum.core.compat["admin/app"];var n=t.n(a),r="datlechin-link-preview";n().initializers.add("datlechin/flarum-link-preview",(function(){n().extensionData.for(r+"").registerSetting({setting:r+".convert_media_urls",label:n().translator.trans(r+".admin.settings.convert_media_urls_label"),help:n().translator.trans(r+".admin.settings.convert_media_urls_help"),type:"checkbox"}).registerSetting({setting:r+".use_google_favicons",label:n().translator.trans(r+".admin.settings.use_google_favicons_label"),help:n().translator.trans(r+".admin.settings.use_google_favicons_help"),type:"checkbox"}).registerSetting({setting:r+".blacklist",label:n().translator.trans(r+".admin.settings.blacklist_label"),help:n().translator.trans(r+".admin.settings.blacklist_help"),placeholder:n().translator.trans(r+".admin.settings.blacklist_placeholder"),type:"textarea"}).registerSetting({setting:r+".whitelist",label:n().translator.trans(r+".admin.settings.whitelist_label"),help:n().translator.trans(r+".admin.settings.whitelist_help"),placeholder:n().translator.trans(r+".admin.settings.whitelist_placeholder"),type:"textarea"}).registerSetting({setting:r+".cache_time",label:n().translator.trans(r+".admin.settings.cache_time_label"),help:n().translator.trans(r+".admin.settings.cache_time_help"),type:"number",min:0})}))})(),module.exports=e})(); //# sourceMappingURL=admin.js.map \ No newline at end of file diff --git a/js/dist/admin.js.map b/js/dist/admin.js.map index e4984c0..677db35 100644 --- a/js/dist/admin.js.map +++ b/js/dist/admin.js.map @@ -1 +1 @@ -{"version":3,"file":"admin.js","mappings":"MACA,IAAI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AAa,mCACzCK,KAAMJ,IAAAA,WAAAA,MAAqBD,EAAa,kCACxCO,YAAaN,IAAAA,WAAAA,MAAqBD,EAAa,yCAC/CM,KAAM,YAEX,G","sources":["webpack://@datlechin/flarum-link-preview/webpack/bootstrap","webpack://@datlechin/flarum-link-preview/webpack/runtime/compat get default export","webpack://@datlechin/flarum-link-preview/webpack/runtime/define property getters","webpack://@datlechin/flarum-link-preview/webpack/runtime/hasOwnProperty shorthand","webpack://@datlechin/flarum-link-preview/webpack/runtime/make namespace object","webpack://@datlechin/flarum-link-preview/external root \"flarum.core.compat['admin/app']\"","webpack://@datlechin/flarum-link-preview/./src/admin/index.js"],"sourcesContent":["// The require scope\nvar __webpack_require__ = {};\n\n","// getDefaultExport function for compatibility with non-harmony modules\n__webpack_require__.n = (module) => {\n\tvar getter = module && module.__esModule ?\n\t\t() => (module['default']) :\n\t\t() => (module);\n\t__webpack_require__.d(getter, { a: getter });\n\treturn getter;\n};","// define getter functions for harmony exports\n__webpack_require__.d = (exports, definition) => {\n\tfor(var key in definition) {\n\t\tif(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) {\n\t\t\tObject.defineProperty(exports, key, { enumerable: true, get: definition[key] });\n\t\t}\n\t}\n};","__webpack_require__.o = (obj, prop) => (Object.prototype.hasOwnProperty.call(obj, prop))","// define __esModule on exports\n__webpack_require__.r = (exports) => {\n\tif(typeof Symbol !== 'undefined' && Symbol.toStringTag) {\n\t\tObject.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });\n\t}\n\tObject.defineProperty(exports, '__esModule', { value: true });\n};","const __WEBPACK_NAMESPACE_OBJECT__ = flarum.core.compat['admin/app'];","import app from 'flarum/admin/app';\n\nconst EXT_PREFIX = 'datlechin-link-preview';\n\napp.initializers.add('datlechin/flarum-link-preview', () => {\n app.extensionData\n .for(EXT_PREFIX + '')\n .registerSetting({\n setting: EXT_PREFIX + '.convert_media_urls',\n label: app.translator.trans(EXT_PREFIX + '.admin.settings.convert_media_urls_label'),\n help: app.translator.trans(EXT_PREFIX + '.admin.settings.convert_media_urls_help'),\n type: 'checkbox',\n })\n .registerSetting({\n setting: EXT_PREFIX + '.use_google_favicons',\n label: app.translator.trans(EXT_PREFIX + '.admin.settings.use_google_favicons_label'),\n help: app.translator.trans(EXT_PREFIX + '.admin.settings.use_google_favicons_help'),\n type: 'checkbox',\n })\n .registerSetting({\n setting: EXT_PREFIX + '.blacklist',\n label: app.translator.trans(EXT_PREFIX + '.admin.settings.blacklist_label'),\n help: app.translator.trans(EXT_PREFIX + '.admin.settings.blacklist_help'),\n placeholder: app.translator.trans(EXT_PREFIX + '.admin.settings.blacklist_placeholder'),\n type: 'textarea',\n })\n .registerSetting({\n setting: EXT_PREFIX + '.whitelist',\n label: app.translator.trans(EXT_PREFIX + '.admin.settings.whitelist_label'),\n help: app.translator.trans(EXT_PREFIX + '.admin.settings.whitelist_help'),\n placeholder: app.translator.trans(EXT_PREFIX + '.admin.settings.whitelist_placeholder'),\n type: 'textarea',\n });\n});\n"],"names":["__webpack_require__","module","getter","__esModule","d","a","exports","definition","key","o","Object","defineProperty","enumerable","get","obj","prop","prototype","hasOwnProperty","call","Symbol","toStringTag","value","flarum","core","compat","EXT_PREFIX","app","registerSetting","setting","label","help","type","placeholder"],"sourceRoot":""} \ No newline at end of file +{"version":3,"file":"admin.js","mappings":"MACA,IAAIA,EAAsB,CCA1BA,EAAyBC,IACxB,IAAIC,EAASD,GAAUA,EAAOE,WAC7B,IAAOF,EAAiB,QACxB,IAAM,EAEP,OADAD,EAAoBI,EAAEF,EAAQ,CAAEG,IACzBH,CAAM,ECLdF,EAAwB,CAACM,EAASC,KACjC,IAAI,IAAIC,KAAOD,EACXP,EAAoBS,EAAEF,EAAYC,KAASR,EAAoBS,EAAEH,EAASE,IAC5EE,OAAOC,eAAeL,EAASE,EAAK,CAAEI,YAAY,EAAMC,IAAKN,EAAWC,IAE1E,ECNDR,EAAwB,CAACc,EAAKC,IAAUL,OAAOM,UAAUC,eAAeC,KAAKJ,EAAKC,GCClFf,EAAyBM,IACH,oBAAXa,QAA0BA,OAAOC,aAC1CV,OAAOC,eAAeL,EAASa,OAAOC,YAAa,CAAEC,MAAO,WAE7DX,OAAOC,eAAeL,EAAS,aAAc,CAAEe,OAAO,GAAO,G,+BCL9D,MAAM,EAA+BC,OAAOC,KAAKC,OAAO,a,aCElDC,EAAa,yBAEnBC,IAAAA,aAAAA,IAAqB,iCAAiC,WACpDA,IAAAA,cAAAA,IACOD,EAAa,IACjBE,gBAAgB,CACfC,QAASH,EAAa,sBACtBI,MAAOH,IAAAA,WAAAA,MAAqBD,EAAa,4CACzCK,KAAMJ,IAAAA,WAAAA,MAAqBD,EAAa,2CACxCM,KAAM,aAEPJ,gBAAgB,CACfC,QAASH,EAAa,uBACtBI,MAAOH,IAAAA,WAAAA,MAAqBD,EAAa,6CACzCK,KAAMJ,IAAAA,WAAAA,MAAqBD,EAAa,4CACxCM,KAAM,aAEPJ,gBAAgB,CACfC,QAASH,EAAa,aACtBI,MAAOH,IAAAA,WAAAA,MAAqBD,EAAa,mCACzCK,KAAMJ,IAAAA,WAAAA,MAAqBD,EAAa,kCACxCO,YAAaN,IAAAA,WAAAA,MAAqBD,EAAa,yCAC/CM,KAAM,aAEPJ,gBAAgB,CACfC,QAASH,EAAa,aACtBI,MAAOH,IAAAA,WAAAA,MAAqBD,EAAa,mCACzCK,KAAMJ,IAAAA,WAAAA,MAAqBD,EAAa,kCACxCO,YAAaN,IAAAA,WAAAA,MAAqBD,EAAa,yCAC/CM,KAAM,aAEPJ,gBAAgB,CACfC,QAASH,EAAa,cACtBI,MAAOH,IAAAA,WAAAA,MAAqBD,EAAa,oCACzCK,KAAMJ,IAAAA,WAAAA,MAAqBD,EAAa,mCACxCM,KAAM,SACNE,IAAK,GAEV,G","sources":["webpack://@datlechin/flarum-link-preview/webpack/bootstrap","webpack://@datlechin/flarum-link-preview/webpack/runtime/compat get default export","webpack://@datlechin/flarum-link-preview/webpack/runtime/define property getters","webpack://@datlechin/flarum-link-preview/webpack/runtime/hasOwnProperty shorthand","webpack://@datlechin/flarum-link-preview/webpack/runtime/make namespace object","webpack://@datlechin/flarum-link-preview/external root \"flarum.core.compat['admin/app']\"","webpack://@datlechin/flarum-link-preview/./src/admin/index.js"],"sourcesContent":["// The require scope\nvar __webpack_require__ = {};\n\n","// getDefaultExport function for compatibility with non-harmony modules\n__webpack_require__.n = (module) => {\n\tvar getter = module && module.__esModule ?\n\t\t() => (module['default']) :\n\t\t() => (module);\n\t__webpack_require__.d(getter, { a: getter });\n\treturn getter;\n};","// define getter functions for harmony exports\n__webpack_require__.d = (exports, definition) => {\n\tfor(var key in definition) {\n\t\tif(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) {\n\t\t\tObject.defineProperty(exports, key, { enumerable: true, get: definition[key] });\n\t\t}\n\t}\n};","__webpack_require__.o = (obj, prop) => (Object.prototype.hasOwnProperty.call(obj, prop))","// define __esModule on exports\n__webpack_require__.r = (exports) => {\n\tif(typeof Symbol !== 'undefined' && Symbol.toStringTag) {\n\t\tObject.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });\n\t}\n\tObject.defineProperty(exports, '__esModule', { value: true });\n};","const __WEBPACK_NAMESPACE_OBJECT__ = flarum.core.compat['admin/app'];","import app from 'flarum/admin/app';\n\nconst EXT_PREFIX = 'datlechin-link-preview';\n\napp.initializers.add('datlechin/flarum-link-preview', () => {\n app.extensionData\n .for(EXT_PREFIX + '')\n .registerSetting({\n setting: EXT_PREFIX + '.convert_media_urls',\n label: app.translator.trans(EXT_PREFIX + '.admin.settings.convert_media_urls_label'),\n help: app.translator.trans(EXT_PREFIX + '.admin.settings.convert_media_urls_help'),\n type: 'checkbox',\n })\n .registerSetting({\n setting: EXT_PREFIX + '.use_google_favicons',\n label: app.translator.trans(EXT_PREFIX + '.admin.settings.use_google_favicons_label'),\n help: app.translator.trans(EXT_PREFIX + '.admin.settings.use_google_favicons_help'),\n type: 'checkbox',\n })\n .registerSetting({\n setting: EXT_PREFIX + '.blacklist',\n label: app.translator.trans(EXT_PREFIX + '.admin.settings.blacklist_label'),\n help: app.translator.trans(EXT_PREFIX + '.admin.settings.blacklist_help'),\n placeholder: app.translator.trans(EXT_PREFIX + '.admin.settings.blacklist_placeholder'),\n type: 'textarea',\n })\n .registerSetting({\n setting: EXT_PREFIX + '.whitelist',\n label: app.translator.trans(EXT_PREFIX + '.admin.settings.whitelist_label'),\n help: app.translator.trans(EXT_PREFIX + '.admin.settings.whitelist_help'),\n placeholder: app.translator.trans(EXT_PREFIX + '.admin.settings.whitelist_placeholder'),\n type: 'textarea',\n })\n .registerSetting({\n setting: EXT_PREFIX + '.cache_time',\n label: app.translator.trans(EXT_PREFIX + '.admin.settings.cache_time_label'),\n help: app.translator.trans(EXT_PREFIX + '.admin.settings.cache_time_help'),\n type: 'number',\n min: 0,\n });\n});\n"],"names":["__webpack_require__","module","getter","__esModule","d","a","exports","definition","key","o","Object","defineProperty","enumerable","get","obj","prop","prototype","hasOwnProperty","call","Symbol","toStringTag","value","flarum","core","compat","EXT_PREFIX","app","registerSetting","setting","label","help","type","placeholder","min"],"sourceRoot":""} \ No newline at end of file