{"version":3,"file":"scripts.min.js","mappings":"6BAAA,EAEIA,E,sFCWJ,wBAA6B,G,IAAEC,EAAS,YAAEC,EAAO,UAC/CC,SAASC,KAAK,WAAIH,EAAS,KAAKC,EAClC,C,GCdIG,EAA2B,CAAC,EFDhC,EEIA,SAASC,EAAoBC,GAE5B,IAAIC,EAAeH,EAAyBE,GAC5C,QAAqBE,IAAjBD,EACH,OAAOA,EAAaE,QAGrB,IAAIC,EAASN,EAAyBE,GAAY,CAGjDG,QAAS,CAAC,GAOX,OAHAE,EAAoBL,GAAUI,EAAQA,EAAOD,QAASJ,GAG/CK,EAAOD,OACf,CFtBA,MAGmB,QAAnB,GADIV,EAASa,QACNC,oBAAY,QAAnBd,EAAOc,aAAiB,CAAC,GACD,QAAxB,KAAAd,EAAOc,cAAaC,YAAI,UAAJA,KAAS,EAAAC,a","sources":["webpack://app-gallery/./src/ts/index.ts","webpack://app-gallery/./src/ts/lib-2sxc-fancybox.ts","webpack://app-gallery/webpack/bootstrap"],"sourcesContent":["import { initFancybox } from \"./lib-2sxc-fancybox\";\r\n\r\nvar winAny = window as any;\r\nwinAny.appGalleryV7 ??= {};\r\nwinAny.appGalleryV7.init ??= initFancybox;","declare let Fancybox: any;\r\nimport { FancyboxOptions } from './lib-2sxc-fancybox-options';\r\n\r\n/*\r\n This is a shared code used in various 2sxc apps. Make sure that they are in sync, so if you improve it, improve all 2sxc apps which use this. \r\n ATM they are:\r\n - Gallery7\r\n - Content\r\n - ImageHotspots3\r\n The master with the newest / best version must always be the Gallery7, the others should then get a fresh copy.\r\n Because this is shared, all parameters like DOM-IDs etc. must be provided in the Init-call that it can work across apps\r\n*/ \r\n\r\nexport function initFancybox({ attribute, options } : { attribute: string, options: FancyboxOptions }) {\r\n Fancybox.bind(`[${attribute}]`, options);\r\n}","// The module cache\nvar __webpack_module_cache__ = {};\n\n// The require function\nfunction __webpack_require__(moduleId) {\n\t// Check if module is in cache\n\tvar cachedModule = __webpack_module_cache__[moduleId];\n\tif (cachedModule !== undefined) {\n\t\treturn cachedModule.exports;\n\t}\n\t// Create a new module (and put it into the cache)\n\tvar module = __webpack_module_cache__[moduleId] = {\n\t\t// no module.id needed\n\t\t// no module.loaded needed\n\t\texports: {}\n\t};\n\n\t// Execute the module function\n\t__webpack_modules__[moduleId](module, module.exports, __webpack_require__);\n\n\t// Return the exports of the module\n\treturn module.exports;\n}\n\n"],"names":["winAny","attribute","options","Fancybox","bind","__webpack_module_cache__","__webpack_require__","moduleId","cachedModule","undefined","exports","module","__webpack_modules__","window","appGalleryV7","init","initFancybox"],"sourceRoot":""}