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K,UAAU6B,eAAe,WAAWjB,SAASiB,eAAejB,SAASiB,iBAAiBjB,SAASkB,iBAAiBlB,SAASkB,mBAAmBlB,SAASmB,oBAAoBnB,SAASmB,sBAAsBnB,SAASoB,sBAAsBpB,SAASoB,sBAAsB,EAAErC,EAAEK,UAAUK,WAAW,WAAW,IAAIhB,EAAEe,KAAKA,KAAKK,IAAIG,UAAUqB,GAAG,6BAA6B7B,KAAKI,KAAK0B,KAAK,kDAAkD9B,KAAKI,KAAK0B,KAAK,+CAA+C9B,KAAKI,KAAK0B,KAAK,8CAA8C9B,KAAKI,KAAK0B,MAAK,WAAY7C,EAAEmB,KAAK2B,UAAU9C,EAAEmB,KAAK4B,MAAMC,YAAY,mBAAoB,IAAGjC,KAAKI,KAAK4B,MAAME,KAAK,kBAAkBC,QAAQN,GAAG,YAAW,WAAY5C,EAAE8B,eAAe9B,EAAEwC,iBAAiBxC,EAAEmC,mBAAoB,GAAE,EAAE7B,EAAEK,UAAUwC,aAAa,WAAWpC,KAAKe,gBAAgBf,KAAKyB,gBAAgB,EAAElC,EAAEK,UAAUyC,QAAQ,WAAWrC,KAAKK,IAAIG,UAAU8B,IAAI,6BAA6BtC,KAAKI,KAAK0B,KAAK,kDAAkD9B,KAAKI,KAAK0B,KAAK,+CAA+C9B,KAAKI,KAAK0B,KAAK,8CAA8C9B,KAAKI,KAAK0B,KAAK,EAAEvC,CAAC,CAA7hE,G","sources":["webpack://sakurairo-scripts/./node_modules/.pnpm/lightgallery@2.7.2/node_modules/lightgallery/plugins/fullscreen/lg-fullscreen.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(e,l){\"object\"==typeof exports&&\"undefined\"!=typeof module?module.exports=l():\"function\"==typeof define&&define.amd?define(l):(e=\"undefined\"!=typeof globalThis?globalThis:e||self).lgFullscreen=l()}(this,(function(){\"use strict\";var e=function(){return(e=Object.assign||function(e){for(var l,n=1,t=arguments.length;n<t;n++)for(var c in l=arguments[n])Object.prototype.hasOwnProperty.call(l,c)&&(e[c]=l[c]);return e}).apply(this,arguments)},l={fullScreen:!0,fullscreenPluginStrings:{toggleFullscreen:\"Toggle Fullscreen\"}};return function(){function n(n,t){return this.core=n,this.$LG=t,this.settings=e(e({},l),this.core.settings),this}return n.prototype.init=function(){var e=\"\";if(this.settings.fullScreen){if(!(document.fullscreenEnabled||document.webkitFullscreenEnabled||document.mozFullScreenEnabled||document.msFullscreenEnabled))return;e='<button type=\"button\" aria-label=\"'+this.settings.fullscreenPluginStrings.toggleFullscreen+'\" class=\"lg-fullscreen lg-icon\"></button>',this.core.$toolbar.append(e),this.fullScreen()}},n.prototype.isFullScreen=function(){return document.fullscreenElement||document.mozFullScreenElement||document.webkitFullscreenElement||document.msFullscreenElement},n.prototype.requestFullscreen=function(){var e=document.documentElement;e.requestFullscreen?e.requestFullscreen():e.msRequestFullscreen?e.msRequestFullscreen():e.mozRequestFullScreen?e.mozRequestFullScreen():e.webkitRequestFullscreen&&e.webkitRequestFullscreen()},n.prototype.exitFullscreen=function(){document.exitFullscreen?document.exitFullscreen():document.msExitFullscreen?document.msExitFullscreen():document.mozCancelFullScreen?document.mozCancelFullScreen():document.webkitExitFullscreen&&document.webkitExitFullscreen()},n.prototype.fullScreen=function(){var e=this;this.$LG(document).on(\"fullscreenchange.lg.global\"+this.core.lgId+\" \\n webkitfullscreenchange.lg.global\"+this.core.lgId+\" \\n mozfullscreenchange.lg.global\"+this.core.lgId+\" \\n MSFullscreenChange.lg.global\"+this.core.lgId,(function(){e.core.lgOpened&&e.core.outer.toggleClass(\"lg-fullscreen-on\")})),this.core.outer.find(\".lg-fullscreen\").first().on(\"click.lg\",(function(){e.isFullScreen()?e.exitFullscreen():e.requestFullscreen()}))},n.prototype.closeGallery=function(){this.isFullScreen()&&this.exitFullscreen()},n.prototype.destroy=function(){this.$LG(document).off(\"fullscreenchange.lg.global\"+this.core.lgId+\" \\n webkitfullscreenchange.lg.global\"+this.core.lgId+\" \\n mozfullscreenchange.lg.global\"+this.core.lgId+\" \\n MSFullscreenChange.lg.global\"+this.core.lgId)},n}()}));\n"],"names":["e","l","module","exports","Object","assign","n","t","arguments","length","c","prototype","hasOwnProperty","call","apply","this","fullScreen","fullscreenPluginStrings","toggleFullscreen","core","$LG","settings","init","document","fullscreenEnabled","webkitFullscreenEnabled","mozFullScreenEnabled","msFullscreenEnabled","$toolbar","append","isFullScreen","fullscreenElement","mozFullScreenElement","webkitFullscreenElement","msFullscreenElement","requestFullscreen","documentElement","msRequestFullscreen","mozRequestFullScreen","webkitRequestFullscreen","exitFullscreen","msExitFullscreen","mozCancelFullScreen","webkitExitFullscreen","on","lgId","lgOpened","outer","toggleClass","find","first","closeGallery","destroy","off"],"sourceRoot":""}