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,SAAST,KAAKf,EAAEc,KAAK4B,gBAAgB3C,GAAGA,EAAE+C,QAAQ,MAAMhC,KAAKM,SAASJ,YAAY,EAAEF,KAAKI,KAAKmC,MAAMrD,GAAE,GAAG,GAAIc,KAAKI,KAAKoC,YAAYxC,KAAKI,KAAKqC,cAAc,CAAC,EAAE9C,EAAEC,UAAU6C,aAAa,WAAWzC,KAAKM,SAASL,MAAMD,KAAKK,IAAI4B,SAASC,MAAMQ,YAAY,eAAe,EAAE/C,EAAEC,UAAU+C,QAAQ,WAAW3C,KAAKI,KAAKS,KAAK+B,IAAI,YAAY5C,KAAKI,KAAKS,KAAK+B,IAAI,SAAS5C,KAAKK,IAAII,QAAQmC,IAAI,4BAA4B5C,KAAKI,KAAKc,KAAK,EAAEvB,CAAC,CAArnE,G","sources":["webpack://sakurairo-scripts/./node_modules/.pnpm/lightgallery@2.7.2/node_modules/lightgallery/plugins/hash/lg-hash.min.js"],"sourcesContent":["/**\n * lightgallery | 2.7.2 | September 20th 2023\n * http://www.lightgalleryjs.com/\n * Copyright (c) 2020 Sachin Neravath;\n * @license GPLv3\n */\n\n!function(t,e){\"object\"==typeof exports&&\"undefined\"!=typeof module?module.exports=e():\"function\"==typeof define&&define.amd?define(e):(t=\"undefined\"!=typeof globalThis?globalThis:t||self).lgHash=e()}(this,(function(){\"use strict\";var t=function(){return(t=Object.assign||function(t){for(var e,i=1,o=arguments.length;i0){this.$LG(document.body).addClass(\"lg-from-hash\");var e=this.getIndexFromUrl(t);return this.core.openGallery(e),!0}},s.prototype.onCloseAfter=function(){this.oldHash&&this.oldHash.indexOf(\"lg=\"+this.settings.galleryId)<0?history.replaceState?history.replaceState(null,\"\",this.oldHash):window.location.hash=this.oldHash:history.replaceState?history.replaceState(null,document.title,window.location.pathname+window.location.search):window.location.hash=\"\"},s.prototype.onHashchange=function(){if(this.core.lgOpened){var t=window.location.hash,e=this.getIndexFromUrl(t);t.indexOf(\"lg=\"+this.settings.galleryId)>-1?this.core.slide(e,!1,!1):this.core.lGalleryOn&&this.core.closeGallery()}},s.prototype.closeGallery=function(){this.settings.hash&&this.$LG(document.body).removeClass(\"lg-from-hash\")},s.prototype.destroy=function(){this.core.LGel.off(\".lg.hash\"),this.core.LGel.off(\".hash\"),this.$LG(window).off(\"hashchange.lg.hash.global\"+this.core.lgId)},s}()}));\n"],"names":["t","e","i","o","module","exports","Object","assign","arguments","length","s","prototype","hasOwnProperty","call","apply","this","hash","galleryId","customSlideName","core","$LG","settings","init","oldHash","window","location","setTimeout","buildFromHash","LGel","on","onAfterSlide","bind","onCloseAfter","lgId","onHashchange","galleryItems","detail","index","slideName","history","replaceState","pathname","search","getIndexFromUrl","split","parseInt","isNaN","indexOf","document","body","addClass","openGallery","title","lgOpened","slide","lGalleryOn","closeGallery","removeClass","destroy","off"],"sourceRoot":""}