From fa49b93f665bb8889225e8a2a83f306d01d8f800 Mon Sep 17 00:00:00 2001 From: ahasnawi <70672687+ahasnawi@users.noreply.github.com> Date: Thu, 14 Nov 2024 20:45:15 +0300 Subject: [PATCH] fix and enable plugins debugging --- pluginTester/styles/appStyle.css | 15 ++++++++++----- scripts/_bundles/buildfire_lightcarousel.min.js | 2 +- .../_bundles/buildfire_lightcarousel.min.js.map | 2 +- .../jquery_angular_buildfire_smartcrop.min.js | 2 +- .../jquery_angular_buildfire_smartcrop.min.js.map | 2 +- scripts/buildfire.js | 2 +- scripts/buildfire.min.js | 2 +- scripts/buildfire.min.js.map | 2 +- 8 files changed, 17 insertions(+), 12 deletions(-) diff --git a/pluginTester/styles/appStyle.css b/pluginTester/styles/appStyle.css index 05322ceb..375508d1 100755 --- a/pluginTester/styles/appStyle.css +++ b/pluginTester/styles/appStyle.css @@ -3758,15 +3758,15 @@ input[type="checkbox"].ios8-switch:checked + label:before { .toggle-item .checkbox label::after{ left: 5px !important; } -.dev-mode-code-popup{ +.dev-mode-code-popup, .ship-logs-popup { position: relative; padding-bottom: 24px; } -.dev-mode-code-popup .textfield{ +.dev-mode-code-popup .textfield, .ship-logs-popup .textfield{ position: relative; font-size: 16px; } -.dev-mode-code-popup .textfield label{ +.dev-mode-code-popup .textfield label, .ship-logs-popup .textfield label{ position: absolute; display: block; font-size: 12px; @@ -3775,7 +3775,7 @@ input[type="checkbox"].ios8-switch:checked + label:before { transform: translateY(0.625em); padding: 0 12px; } -.dev-mode-code-popup .textfield input{ +.dev-mode-code-popup .textfield input, .ship-logs-popup .textfield input{ display: block; width: 100%; background-color: rgba(128, 128, 128, 0.1); @@ -3789,10 +3789,15 @@ input[type="checkbox"].ios8-switch:checked + label:before { cursor: text; border-bottom: 1px solid rgba(128, 128, 128, 0.5); } -.dev-mode-code-popup .textfield input::placeholder{ +.dev-mode-code-popup .textfield input::placeholder, .ship-logs-popup .textfield input::placeholder{ opacity: .5; } +.ship-logs-popup .ship-logs-enable-features { + display:flex; + justify-content: space-between; +} + #overrideCodeWidgetMessage { font-size: 12px; } diff --git a/scripts/_bundles/buildfire_lightcarousel.min.js b/scripts/_bundles/buildfire_lightcarousel.min.js index 00fc9f40..c96c26ce 100644 --- a/scripts/_bundles/buildfire_lightcarousel.min.js +++ b/scripts/_bundles/buildfire_lightcarousel.min.js @@ -2,7 +2,7 @@ * Minified Bundle for buildfire.js & lory.min.js & carouselLight.js */ -function Packet(e,t,n){this.id=e||(new Date).toISOString()+Math.random(),this.cmd=t,this.data=n,this.instanceId=null}var buildfire={isFileServer:function(e){return-1!==e.indexOf("s3.amazonaws.com")},isWidget:function(){return 0{i.queue.forEach(e=>{e&&e(t)}),i.loaded=!0,i.queue=[]}))},loadScript:function({url:t,scriptId:e},n=Function()){let i=document.getElementById(e);var a=document.getElementsByTagName("script");if(i||Array.from(a).some(e=>e.src.includes(t.replaceAll("../",""))))return n();const r=document.head||document.body;i=document.createElement("script"),i.id=e||"",i.type="text/javascript",i.src=t,i.onload=n,i.onerror=function(){n(new Error("failed to load script component")),console.error("failed to load script component")},r.appendChild(i)},ratingSystem:{inject:function(){var e,t,n,i;void 0!==buildfire&&(void 0===buildfire.components||void 0===buildfire.components.ratingSystem?(t=function(e){var t=document.head||document.body,n=document.createElement("link");n.rel="stylesheet",n.type="text/css",n.href="../../../scripts/buildfire/components/ratingSystem/index.min.css",t.appendChild(n);const i=t.querySelector("meta[charset]");i&&i.getAttribute("charset").toLowerCase().includes("utf-8")||console.warn("UTF-8 charset is required for ratingSystem to function properly"),buildfire.components.ratingSystem.injectRatings({isFromWysiwyg:!0})},function(e){for(;e.includes("../");)e=e.replace("../","");for(var t=document.getElementsByTagName("script"),n=0;n{.9<=Math.random()&&buildfire.logger.log({message:e.message,level:"error",category:"BrowserJsException",exception:{colno:e.colno,lineno:e.lineno,message:e.message,stack:e.error&&e.error.stack?e.error&&e.error.stack:"n/a",url:e.filename}}),t("Error: "+e.message," Script: "+e.filename," Line: "+e.lineno," Column: "+e.colno,(e.error,e.error.stack?e.error&&e.error.stack:"n/a"))})},log:function(n,i){n&&"object"==typeof n||(n={}),buildfire.getContext((e,t)=>{n.context||(n.context={}),n.context.pluginId=t?.pluginId,n.context.instanceId=t?.instanceId,n.context.pluginTitle=t?.title,n.tags||(n.tags=[]),n.tags.push("sdkAndPlugins");t=new Packet(null,"logger.log",n);buildfire._sendPacket(t,i)})}},_callbacks:{},parseQueryString:function(e){for(var t=(e||window.location.search.substring(1)).split("&"),n=new Object,i=0;i{return e?console.error(e):void(t&&"sdk"===t.scope?(n=(e,t)=>{var n,i;e&&console.error(e),window.pluginJson=t,buildfire._cssInjection.handleCssLayoutInjection(t),t&&t.control&&t.control.language&&t.control.language.enabled&&(n=(e,t)=>{e&&console.error(e),window.pluginLanguageJson=t,buildfire.language.handleLanguageSettings(window.pluginJson,t)},i=`../${t.control.language.languageJsonPath}`,fetch(i).then(e=>e.json()).then(e=>{n(null,e)}).catch(e=>{n(e,null)}))},t=`../plugin.json?v=${(new Date).getTime()}`,fetch(t).then(e=>e.json()).then(e=>{n(null,e)}).catch(e=>{n(e,null)})):document.write('');\n\t}\n\n\t//Add Lory CSS\n\tvar style = document.getElementById('loryInjectedStyle');\n\tif (style) document.head.removeChild(style);\n\n\tstyle = document.createElement('style');\n\tstyle.id = 'loryInjectedStyle';\n\tstyle.innerHTML += ' .loryFrame {position: relative;font-size: 0; line-height: 0; overflow: hidden; white-space: nowrap;}';\n\tstyle.innerHTML += ' .loryFrame li { position: relative; display: inline-block; height: 100%;}';\n\tstyle.innerHTML += ' .lorySlides { display: inline-block;}';\n\tstyle.innerHTML += ' .loryPercentage .lorySlides { display: block; padding: 0px;}';\n\tstyle.innerHTML += ' .loryPercentage li { width: 100%;}';\n\tstyle.innerHTML += ' .js_slide { text-align: center; position: relative; max-height: 380px; vertical-align: top; }';\n\tstyle.innerHTML += ' .js_slide img { max-height: 380px; width: auto !important; margin: 0 auto }';\n\tstyle.innerHTML += ' .js_slide.static_slide { display: none }';\n\tstyle.innerHTML += ' .js_slide.static_slide.active { display: block }';\n\n\tdocument.head.appendChild(style);\n})();\n// This is the class that will be used in the mobile\n//{selector:selector, items:items, layout:layout, speed:speed}\nbuildfire.components.carousel.view = function (options) {\n\tlet self = this;\n\tthis.config = this.mergeSettings(options);\n\tthis._initDimensions(self.config.layout);\n\tthis.selector = typeof this.config.selector === 'string' ? document.querySelector(this.config.selector) : this.config.selector;\n\tthis._attachEventListeners();\n\tif (options.items && options.items.length > 0) {\n\t\tthis._applyConfigurations(options, (err, result) => {\n\t\t\tif (result.shouldInitializeLory) { // loryCarousel\n\t\t\t\tself.init();\n\t\t\t} else {\n\t\t\t\tself._renderStaticSlides(options.items);\n\t\t\t}\n\t\t});\n\t\tif (options.selector) {\n\t\t\toptions.selector.style.display = '';\n\t\t} else {\n\t\t\tconsole.error('Selector element should be provided');\n\t\t}\n\t\t\n\t} else {\n\t\tif (options.selector) {\n\t\t\toptions.selector.style.display = 'none';\n\t\t} else {\n\t\t\tconsole.error('Selector element should be provided');\n\t\t}\n\t}\n};\nbuildfire.components.carousel.view.lastCarouselTimer = null;\n// Carousel view methods\nbuildfire.components.carousel.view.prototype = {\n\tlastImage: null,\n _applyConfigurations: function(options, callback) {\n\t\tlet self = this;\n\t\tlet { items, autoInterval, order, display } = options;\n\t\tif (buildfire.components.carousel.view.lastCarouselTimer) {\n\t\t\tclearInterval(buildfire.components.carousel.view.lastCarouselTimer);\n\t\t\tbuildfire.components.carousel.view.lastCarouselTimer = null;\n\t\t}\n\t\tlet isHome = buildfire.getFrameType() == 'LAUNCHER_PLUGIN';\n\t\tlet storagePlace = (isHome) ? \"carouselLastImageHome\" : \"carouselLastImage\";\n\t\tif (order == 0 && display == 1 && items.length > 1) {\n\t\t\tbuildfire.localStorage.getItem(storagePlace, function(err, res) {\n\t\t\t\tlet images = items;\n\t\t\t\tlet sendIndex = 0;\n\t\t\t\tlet item = null;\n\t\t\t\tif (res == null) {\n\t\t\t\t\titem = items[0];\n\t\t\t\t} else {\n\t\t\t\t\tlet index = Number(res);\n\t\t\t\t\tif (index == -1 || index == items.length - 1) item = items[0];\n\t\t\t\t\telse {item = items[index + 1]; sendIndex = index + 1;}\n\t\t\t\t}\n\t\t\t\tself.lastImage = item;\n\t\t\t\tbuildfire.localStorage.setItem(storagePlace, sendIndex, function(e, r) {\n\t\t\t\t\tif (autoInterval != 0) buildfire.components.carousel.view.lastCarouselTimer = setInterval(self._changeImage.bind(self), self.config.autoInterval, images, false);\n\t\t\t\t});\n\t\t\t\tcallback(null, {shouldInitializeLory: false});\n\t\t\t});\n\t\t} else if (order == 1 && display == 1 && items.length > 1) {\n\t\t\tif (autoInterval != 0) {\n\t\t\t\tbuildfire.components.carousel.view.lastCarouselTimer = setInterval(this._changeImage.bind(this), this.config.autoInterval, items, true);\n\t\t\t}\n\t\t\titem = items[Math.floor(Math.random() * items.length)];\n\t\t\tthis.lastImage = item;\n\t\t\tbuildfire.localStorage.removeItem(storagePlace);\n\t\t\tcallback(null, {shouldInitializeLory: false});\n\t\t} else if (order == 1 && display == 0 && items.length > 1) {\n\t\t\tthis._randomizeArray(items);\n\t\t\tbuildfire.localStorage.removeItem(storagePlace);\n\t\t\tcallback(null, {shouldInitializeLory: true});\n\t\t} else if (display == 1) {\n\t\t\tcallback(null, {shouldInitializeLory: false});\n\t\t} else {\n\t\t\tcallback(null, {shouldInitializeLory: true});\n\t\t}\n\t},\n\t_randomizeArray: function (images) {\n this._shuffle(images, null, null);\n let imagesCopy = Array.from(images);\n this._shuffle(imagesCopy, null, images[images.length - 1]);\n images.push(...imagesCopy);\n this._shuffle(imagesCopy, images[0], images[images.length - 1]);\n images.push(...imagesCopy);\n },\n\t_shuffle: function (images, first, last) {\n let j, x, i;\n for (i = images.length - 1; i > 0; i--) {\n j = Math.floor(Math.random() * (i + 1));\n x = images[i];\n images[i] = images[j];\n images[j] = x;\n }\n if (last == images[0] || first == images[images.length - 1]) return this._shuffle(images, first, last);\n else return images;\n },\n\t_changeImage: function (carouselImages, random) {\n let self = this;\n\t\tlet carouselImage = null;\n if (random) {\n this._changeStaticSlides(carouselImages, true);\n } else {\n let index = carouselImages.indexOf(this.lastImage);\n let sendIndex = 0;\n if (index == -1 || index == carouselImages.length - 1) {\n\t\t\t\tcarouselImage = carouselImages[0];\n\t\t\t} else {\n\t\t\t\tcarouselImage = carouselImages[index + 1]; \n\t\t\t\tsendIndex = index + 1;\n\t\t\t}\n this.lastImage = carouselImage;\n let isHome = buildfire.getFrameType() == 'LAUNCHER_PLUGIN';\n let storagePlace = (isHome) ? \"carouselLastImageHome\" : \"carouselLastImage\";\n buildfire.localStorage.setItem(storagePlace, sendIndex, function(e, r) {\n self._changeStaticSlides(carouselImages);\n });\n }\n },\n\t_changeStaticSlides: function (carouselImages, random) {\n\t\tlet activeSlide = document.querySelector('.js_slide.static_slide.active');\n\t\tlet siblingSlide = activeSlide.nextSibling;\n\t\tif (random) {\n\t\t\tlet nextSlide = document.querySelectorAll('.js_slide.static_slide')[Math.floor(Math.random() * carouselImages.length)];\n\t\t\tif (nextSlide.children[0].src == activeSlide.children[0].src) {\n\t\t\t\tthis._changeStaticSlides(carouselImages, true);\n\t\t\t} else {\n\t\t\t\tactiveSlide.classList.remove('active');\n\t\t\t\tnextSlide.classList.add('active');\n\t\t\t}\n\t\t} else {\n\t\t\tactiveSlide.classList.remove('active');\n\t\t\tif (siblingSlide) {\n\t\t\t\tsiblingSlide.classList.add('active');\n\t\t\t} else {\n\t\t\t\tdocument.querySelector('.js_slide.static_slide').classList.add('active');\n\t\t\t}\n\t\t}\n\t},\n\t_renderStaticSlides: function (carouselImages) {\n\t\tlet self = this;\n\t\tthis.selector.innerHTML = '';\n\t\tcarouselImages.forEach((carouselImage, index) => {\n\t\t\tlet slide = document.createElement('div');\n\t\t\tslide.classList.add('js_slide', 'static_slide');\n\t\t\tif (index == 0 && !self.lastImage) {\n\t\t\t\tslide.classList.add('active');\n\t\t\t} else if (self.lastImage && self.lastImage.iconUrl == carouselImage.iconUrl) {\n\t\t\t\tslide.classList.add('active');\n\t\t\t}\n\t\t\tslide.addEventListener('click', function () {\n\t\t\t\tbuildfire.actionItems.execute(carouselImage, function (err, result) {\n\t\t\t\t\tif (err) {\n\t\t\t\t\t\tconsole.warn('Error opening slider action: ', err);\n\t\t\t\t\t}\n\t\t\t\t});\n\t\t\t});\n\n\t\t\tlet options = {\n\t\t\t\titem: carouselImage,\n\t\t\t\tslide: slide\n\t\t\t}\n\t\t\tif (self.layout == 'Fit') {\n\t\t\t\tself._resizeImage(options, (err, result) => {\n\t\t\t\t\tif (err) console.error('Error occurred while resizing image: ', err);\n\t\t\t\t\tself.selector.appendChild(slide);\n\t\t\t\t});\n\t\t\t} else {\n\t\t\t\tself._cropImage(options, (err, result) => {\n\t\t\t\t\tif (err) console.error('Error occurred while cropping image: ', err);\n\t\t\t\t\tself.selector.appendChild(slide);\n\t\t\t\t});\n\t\t\t}\n\t\t});\n\t\tlet activeSlide = document.querySelector('.js_slide.static_slide.active');\n\t\tif (!activeSlide) {\n\t\t\tdocument.querySelector('.js_slide.static_slide').classList.add('active');\n\t\t}\n\t},\n\tmergeSettings: function (options) {\n\t\tvar settings = {\n\t\t\tselector: '.js_percentage',\n\t\t\titems: [],\n\t\t\tlayout: null,\n\t\t\tspeed: 200,\n\t\t\tloop: true,\n\t\t\tautoInterval: 5 * 1000,\n\t\t\tdisplay: 0,\n\t\t\torder: 0\n\t\t};\n\t\tvar userSettings = options;\n\t\tfor (var attrName in userSettings) {\n\t\t\tsettings[attrName] = userSettings[attrName];\n\t\t}\n\t\treturn settings;\n\t},\n\tinit: function () {\n\t\tif (!this.selector) {\n\t\t\tthrow ('selector not found');\n\t\t\treturn;\n\t\t}\n\t\t// Add min-height to carousel to prevent it from pushing content down\n\t\tthis.selector.style['min-height'] = this._minHeight;\n\n\t\tvar self = this;\n\n\t\tfunction validateLauncherCarousel() {\n\t\t\tbuildfire.getContext(function (err, result) {\n\t\t\t\tif (result && result.device && result.device.platform && result.device.platform.toLowerCase() == 'ios' && buildfire.getFrameType() == 'LAUNCHER_PLUGIN') {\n\t\t\t\t\tbuildfire.navigation.onAppLauncherActive(function () {\n\t\t\t\t\t\tself._applySlider();\n\t\t\t\t\t}, true);\n\t\t\t\t\tbuildfire.navigation.onAppLauncherInactive(function () {\n\t\t\t\t\t\tself._destroySlider();\n\t\t\t\t\t}, true);\n\t\t\t\t}\n\t\t\t});\n\t\t}\n\n\t\tif (this.config.items && this.config.items.length > 0) {\n\t\t\tthis._renderHTMLItems(function () {\n\t\t\t\tself._applySlider();\n\t\t\t\tvalidateLauncherCarousel();\n\t\t\t});\n\t\t} else {\n\t\t\tself._applySlider();\n\t\t\tvalidateLauncherCarousel();\n\t\t}\n\t},\n\t_destroySlider: function () {\n\t\tif (this.timerInterval) {\n\t\t\tclearInterval(this.timerInterval);\n\t\t\tthis.timerInterval = null;\n\t\t}\n\t},\n\t_applySlider: function () {\n\t\tif (!this.lorySlider) {\n\t\t\tthis.lorySlider = lory(this.config.selector, {\n\t\t\t\tclassNameSlideContainer: this.config.classNameSlideContainer || 'js_slides',\n\t\t\t\tclassNameFrame: this.config.classNameFrame || 'js_frame',\n\t\t\t\tease: 'ease',\n\t\t\t\trewindSpeed: 600,//ms\n\t\t\t\tslideSpeed: this.config.speed,//ms\n\t\t\t\tslidesToScroll: this.config.slidesToScroll || 1,\n\t\t\t\tinfinite: this.config.items.length > 1 ? 1 : 0,\n\t\t\t\tenableMouseEvents: true\n\t\t\t});\n\t\t}\n\n\t\tif (this.config.loop && this.config.items && this.config.items.length > 1) {\n\t\t\tvar self = this;\n\n\t\t\tif (this.timerInterval) {\n\t\t\t\tclearInterval(this.timerInterval);\n\t\t\t\tthis.timerInterval = null;\n\t\t\t}\n\n\t\t\tthis.timerInterval = setInterval(function () {\n\t\t\t\tself.lorySlider.next();\n\t\t\t}, this.config.autoInterval);\n\t\t}\n\t},\n\t_renderHTMLItems: function (callback) {\n\t\tvar self = this;\n\n\t\twhile (this.selector.firstChild) {\n\t\t\tthis.selector.removeChild(this.selector.firstChild);\n\t\t}\n\n\t\tthis.sliderFrame = document.createElement('div');\n\t\t['loryFrame', 'js_frame'].forEach(function (cname) {\n\t\t\tself.sliderFrame.classList.add(cname);\n\t\t});\n\n\t\tthis.slideContainer = document.createElement('ul');\n\t\t['lorySlides', 'js_slides'].forEach(function (cname) {\n\t\t\tself.slideContainer.classList.add(cname);\n\t\t});\n\n\t\tthis._loadImages(this.config.items, function () {\n\t\t\t['slider', 'js_percentage', 'loryPercentage'].forEach(function (cname) {\n\t\t\t\tself.selector.classList.add(cname);\n\t\t\t});\n\n\t\t\tself.sliderFrame.appendChild(self.slideContainer);\n\t\t\tself.selector.appendChild(self.sliderFrame);\n\n\t\t\tcallback();\n\t\t});\n\t},\n\t_loadImages: function (items, callback) {\n\t\tvar self = this;\n\n\t\tvar itemsLength = items.length;\n\t\tvar pending = itemsLength;\n\n\t\tif (itemsLength == 0) {\n\t\t\tcallback();\n\t\t}\n\n\t\tfor (var i = 0; i < itemsLength; i++) {\n\t\t\tthis._appendItem(items[i], function (itemSlide) {\n\t\t\t\tpending--;\n\t\t\t\tself.slideContainer.appendChild(itemSlide);\n\n\t\t\t\tif (pending == 0) {\n\t\t\t\t\tcallback();\n\t\t\t\t}\n\t\t\t});\n\t\t}\n\t},\n\t_appendItem: function (item, callback) {\n\t\tlet self = this;\n\t\tlet slide = document.createElement('li');\n\t\tslide.classList.add('js_slide');\n\n\t\tslide.addEventListener('click', function () {\n\t\t\tif (self.preventClicks) {\n\t\t\t\treturn;\n\t\t\t}\n\t\t\tbuildfire.actionItems.execute(item, function (err, result) {\n\t\t\t\tif (err) {\n\t\t\t\t\tconsole.warn('Error opening slider action: ', err);\n\t\t\t\t}\n\t\t\t});\n\t\t});\n\n\t\tlet options = { item, slide }\n\t\tif (self.layout == 'Fit') {\n\t\t\tthis._resizeImage(options, (err, result) => {\n\t\t\t\tif (err) console.error('Error occurred while cropping image: ', err);\n\t\t\t\tcallback(slide);\n\t\t\t});\n\t\t} else {\n\t\t\tthis._cropImage(options, (err, result) => {\n\t\t\t\tif (err) console.error('Error occurred while cropping image: ', err);\n\t\t\t\tcallback(slide);\n\t\t\t});\n\t\t}\n\t},\n\t// allows you to append a single item or an array of items\n\tappend: function (items) {\n\t\tif (!items)\n\t\t\treturn;\n\t\telse if (!(items instanceof Array) && typeof(items) == 'object')\n\t\t\titems = [items];\n\n\t\tif (items && items instanceof Array && items.length) {\n\t\t\tfor (var i = 0; i < items.length; i++) {\n\t\t\t\tthis.config.items.push(items[i]);\n\t\t\t}\n\t\t\tvar self = this;\n\t\t\tif (this.config.display == 0) {\n\t\t\t\tthis.slideContainer.innerHTML = '';\n\t\t\t\tthis._loadImages(this.config.items, function () {\n\t\t\t\t\tif (self.config.items.length > 1 && !self.timerInterval) {\n\t\t\t\t\t\tself.lorySlider = null;\n\t\t\t\t\t\tself._applySlider();\n\t\t\t\t\t} else {\n\t\t\t\t\t\tself.lorySlider.setup();\n\t\t\t\t\t}\n\t\t\t\t});\n\t\t\t} else {\n\t\t\t\tthis._renderStaticSlides(this.config.items);\n\t\t\t}\n\t\t}\n\t},\n\tloadItems: function (items, appendItems) {\n\t\tif (appendItems) {\n\t\t\tthis.append(items);\n\t\t} else {\n\t\t\tlet self = this;\n\t\t\tthis.config.items = items;\n\t\t\tif (this.config.display == 0) {\n\t\t\t\tif (this.config.order == 1) {\n\t\t\t\t\tthis._randomizeArray(items);\n\t\t\t\t}\n\t\t\t\tthis.slideContainer.innerHTML = '';\n\t\t\t\tthis._loadImages(items, function () {\n\t\t\t\t\tif (items.length > 1 && !self.timerInterval) {\n\t\t\t\t\t\tself.lorySlider = null;\n\t\t\t\t\t\tself._applySlider();\n\t\t\t\t\t} else if (items.length <= 1 && self.timerInterval) {\n\t\t\t\t\t\tself._destroySlider();\n\t\t\t\t\t\tself.lorySlider = null;\n\t\t\t\t\t\tself._applySlider();\n\t\t\t\t\t} else {\n\t\t\t\t\t\tself.lorySlider.setup();\n\t\t\t\t\t}\n\t\t\t\t});\n\t\t\t} else {\n\t\t\t\tif (buildfire.components.carousel.view.lastCarouselTimer) {\n\t\t\t\t\tclearInterval(buildfire.components.carousel.view.lastCarouselTimer);\n\t\t\t\t\tbuildfire.components.carousel.view.lastCarouselTimer = null;\n\t\t\t\t}\n\t\t\t\tthis._renderStaticSlides(items);\n\t\t\t\tif (items.length > 1) {\n\t\t\t\t\tbuildfire.components.carousel.view.lastCarouselTimer = setInterval(this._changeImage.bind(this), this.config.autoInterval, items, this.config.order);\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t},\n\t_initDimensions: function (layout) {\n\t\tthis.width = window.innerWidth;\n\t\tthis.layout = layout;\n\t\tlayout = layout || 'WideScreen';\n\t\tif (layout == 'WideScreen') {\n\t\t\tthis.height = Math.ceil(9 * this.width / 16);\n\t\t\tthis.aspect = '16:9';\n\t\t} else if (layout == 'Square') {\n\t\t\tthis.height = this.width;\n\t\t\tthis.aspect = '1:1';\n\t\t} else if (layout == 'Cinema') {\n\t\t\tthis.height = Math.ceil(1 * this.width / 2.39);\n\t\t\tthis.aspect = '2.39:1';\n\t\t} else if (layout == 'MobileScreen' || layout == 'Fit') {\n\t\t\tthis.height = (window.innerHeight / this.width) * this.width;\n\t\t\tthis.aspect = '9:16';\n\t\t} else {\n\t\t\tthis.height = Math.ceil(9 * this.width / 16);\n\t\t}\n\n\t\tthis.cssWidth = this.width + 'px';\n\t\tif (this.height > 380) {\n\t\t\tthis.cssHeight = '380px';\n\t\t} else {\n\t\t\tthis.cssHeight = this.height + 'px';\n\t\t}\n\n\t\t// Set Min height on carousel so doesn't push content down on load.\n\t\tthis._minHeight = this.cssHeight;\n\t},\n\t_cropImage: function(options, callback) {\n\t\tlet self = this;\n\t\tlet { item, slide } = options;\n\t\tbuildfire.imageLib.local.cropImage(item.iconUrl, {\n\t\t\twidth: this.width,\n\t\t\theight: this.height,\n\t\t\taspect: this.aspect,\n\t\t\tsize: 'full_width',\n\t\t}, function (err, result) {\n\t\t\tif (!err) {\n\t\t\t\tlet image = document.createElement('img');\n\t\t\t\tlet backgroundImage = document.createElement('img');\n\t\t\t\timage.src = result;\n\t\t\t\tbackgroundImage.src = buildfire.imageLib.cropImage(item.iconUrl, {\n\t\t\t\t\theight: Math.ceil(self.height / 20),\n\t\t\t\t\twidth: Math.ceil(self.width / 20),\n\t\t\t\t\tblur: 40,\n\t\t\t\t});\n\t\t\t\timage.alt = backgroundImage.alt = item.title || '';\n\t\t\t\tbackgroundImage.className = 'blurred-background-image';\n\t\t\t\tbackgroundImage.setAttribute('style', `width: 100% !important; height: ${self.height}px; top: 50%; left: 50%; transform: translate(-50%, -50%);`);\n\t\t\t\tslide.style.overflow = 'hidden';\n\t\t\t\timage.style.transform = 'translateZ(0)';\n\t\t\t\tif (self.height > 380) {\n\t\t\t\t\tslide.appendChild(backgroundImage);\n\t\t\t\t}\n\t\t\t\tslide.appendChild(image);\n\t\t\t\tcallback(null, result);\n\t\t\t} else {\n\t\t\t\tcallback(err, null);\n\t\t\t}\n\t\t});\n\t},\n\t_resizeImage: function(options, callback) {\n\t\tlet self = this;\n\t\tlet { item, slide } = options;\n\t\tbuildfire.imageLib.local.resizeImage(item.iconUrl, {\n\t\t\theight: self.height,\n\t\t}, function (err, result) {\n\t\t\tif (!err) {\n\t\t\t\tlet image = document.createElement('img');\n\t\t\t\tlet backgroundImage = document.createElement('img');\n\t\t\t\timage.src = result;\n\t\t\t\tbackgroundImage.src = buildfire.imageLib.cropImage(item.iconUrl, {\n\t\t\t\t\theight: Math.ceil(self.height / 20),\n\t\t\t\t\twidth: Math.ceil(self.width / 20),\n\t\t\t\t\tblur: 40,\n\t\t\t\t});\n\t\t\t\timage.alt = backgroundImage.alt = item.title || '';\n\t\t\t\tbackgroundImage.className = 'blurred-background-image';\n\t\t\t\tbackgroundImage.setAttribute('style', `width: 100% !important; height: ${self.height}px; top: 50%; left: 50%; transform: translate(-50%, -50%);`);\n\t\t\t\timage.style.transform = 'translateZ(0)';\n\t\t\t\tslide.setAttribute('style', `vertical-align: middle; overflow: visible;`);\n\t\t\t\tslide.appendChild(backgroundImage);\n\t\t\t\tslide.appendChild(image);\n\t\t\t\tcallback(null, result);\n\t\t\t} else {\n\t\t\t\tcallback(err, null);\n\t\t\t}\n\t\t});\n\t},\n\t_attachEventListeners: function() {\n\t\tlet self = this;\n\t\t// add event listeners to prevent immediate click event after scrolling \n\t\tthis.selector.addEventListener('on.lory.touchmove', function () {\n\t\t\tif (!self.preventClicks) {\n\t\t\t\tself.preventClicks = true;\n\t\t\t}\n\t\t});\n\t\tthis.selector.addEventListener('on.lory.touchend', function () {\n\t\t\tsetTimeout(() => {\n\t\t\t\tself.preventClicks = false;\n\t\t\t}, 0);\n\t\t});\n\t}\n};\n"]} \ No newline at end of file +{"version":3,"sources":["../sdk/scripts/buildfire.js","../sdk/scripts/lory/lory.min.js","../sdk/scripts/buildfire/components/carouselLight/carouselLight.js"],"names":["Packet","id","cmd","data","this","Date","toISOString","Math","random","instanceId","buildfire","isFileServer","url","indexOf","isWidget","window","location","href","isWidgetService","isWeb","callback","isWebFromContext","context","device","platform","toLowerCase","console","error","protocol","getContext","err","callbackContext","warn","_lazyScriptsQueues","lazyLoadScript","relativeScriptsUrl","scriptId","readyCallback","loaded","queue","lazyQueue","push","length","type","loadScript","forEach","Function","script","document","getElementById","scripts","getElementsByTagName","Array","from","some","s","src","includes","replaceAll","parentElement","head","body","createElement","onload","onerror","Error","appendChild","ratingSystem","inject","components","link","rel","charset","querySelector","getAttribute","injectRatings","isFromWysiwyg","replace","i","hasScript","onreadystatechange","logger","attachRemoteLogger","tag","buildFireAppDebuggerScript","header","removeChild","prompt","init","originalConsoleError","args","log","message","undefined","level","category","addEventListener","event","exception","colno","lineno","stack","filename","options","pluginId","pluginTitle","title","tags","p","_sendPacket","_callbacks","parseQueryString","str","vars","search","substring","split","obj","Object","pair","decodeURIComponent","index","key","value","parseMetaOptions","content","section","eventManager","events","add","handler","allowMultipleHandlers","clear","eh","splice","trigger","e","_context","removeEventListener","_postMessageHandler","appearance","insertHTMLAttributes","attachCSSFiles","localStorage","overrideNativeLocalStorage","wysiwyg","extend","pathname","enablePluginJsonLoad","scope","pluginJson","_cssInjection","handleCssLayoutInjection","control","language","enabled","pluginLanguageJson","handleLanguageSettings","languageJsonPath","fetch","then","response","json","res","catch","getTime","write","pluginLoadingAt","_whitelistedCommands","source","packet","JSON","parse","origin","sequence","parent","apply","result","newPacket","_parentPost","originInstanceId","timeout","command","resendAttempts","isDataStoreRetry","isGetContextRetry","setTimeout","d","clearTimeout","fid","sanitize","$$hashKey","postMessage","parsedQuerystring","appcontext","getGlobalSettings","navigation","navigateTo","pluginData","pluginTypeId","folderName","queryString","navigateToSocialWall","encodedHeaderContent","wallUserIds","wid","sort","reverse","join","headerContentHtml","encodeURIComponent","predefinedPluginIds","community","premium_social","social","orderedPluginIds","pluginTypeOrder","orderIndex","navigate","cb","status","navigateHome","scrollTop","openWindow","target","openIn","info","_goBackOne","onBackButtonClick","restoreBackButtonClick","goBack","makeSafeLinks","element","t","anchors","querySelectorAll","setAttribute","evt","preventDefault","navigateEmulator","onAppLauncherActive","onAppLauncherInactive","triggerOnAppLauncherActive","triggerOnAppLauncherInactive","onPluginOpened","triggerOnPluginOpened","getBackNavigationInstanceId","qs","backnavigationinstance","navigateToTab","getFrameType","PLUGIN_STRING_ENUM","PLUGIN_TYPE_ENUM","ready","_defaultTheme","appName","colors","backgroundColor","bodyText","dangerTheme","defaultTheme","footerMenuBackgroundColor","footerMenuIconColor","headerText","icons","infoTheme","primaryTheme","successTheme","titleBar","titleBarTextAndIcons","warningTheme","fontId","fontName","_setFontUrl","appTheme","isCustomFont","fontUrl","endPoints","pluginRootHost","fontFolderPath","appId","fontFileName","fontLastUpdatedOn","getAppTheme","getWidgetTheme","widgetTheme","_forceCSSRender","html","style","innerHTML","navigator","appVersion","nameOffset","ix","nAgt","userAgent","browserName","fullVersion","parseFloat","majorVersion","parseInt","os","verOffset","lastIndexOf","toUpperCase","isNaN","vendor","opera","match","maxTouchPoints","footerMenu","settings","turnOnFooterMenu","getCSSFiles","files","base","disableBootstrap","disableTheme","enableMDTheme","disableFontIcons","disableAppStyles","styleElement","applyMDTheme","css","fontFormat","theme","bfWidgetTheme","_getCommonCss","iconPack","fontFilePath","_attachAppCSSFiles","attachFontIcons","onUpdate","_sharedStyle","disableFastClickOnLoad","attachFastClick","path","references","j","ref","FastClick","attach","applyFastClick","attachAppThemeCSSFiles","liveMode","appHost","cssUrl","CSSBusterCounter","attachLocalAppThemeCSSFiles","attachCustomAppCSSUrl","attachLocalCustomAppCSSUrl","linkElement","_resizedTo","autosizeContainer","height","max","documentElement","clientHeight","scrollHeight","offsetHeight","setHeaderVisibility","triggerOnUpdate","appThemeCSSElement","customAppCSSElement","dynamic","triggerContextChange","contextProperty","titlebar","show","hide","isVisible","setText","navbar","sideMenu","open","close","fullScreenMode","enable","disable","lightBodyText","startsWith","analytics","trackAction","actionName","metadata","trackView","registerEvent","bulkRegisterEvents","unregisterEvent","bulkUnregisterEvents","keys","showReports","params","datastore","get","tagType","getWithDynamicData","withDynamicData","getById","save","insert","checkDuplicate","checkDuplicateType","bulkInsert","arrayObj","constructor","code","update","searchAndUpdate","delete","bulkDelete","ids","filter","onRefresh","triggerOnRefresh","disableRefresh","userData","userToken","userTokenType","hasIndex","_buildfire","filterKeys","validKeys","$text","$search","stringify","aggregate","publicData","appData","_isTagValid","isTagValid","imageLib","ENUMS","SIZES","xxs","xs","m","l","xl","xxl","720","1080","1440","1920","2560","full_width","findNearest","half_width","third_width","fourth_width","quarter_width","fifth_width","sixth_width","ratio","size","VALID_SIZES","innerWidth","ASPECT_RATIOS","1:1","4:3","16:9","9:16","11:5","4:1","2.39:1","VALID_RATIOS","showDialog","isProdImageServer","resizeImage","forceImgix","primaryHandler","_imgix","_cloudImg","fallbackHandler","imageCdnHandler","isSupportedUrl","width","disablePixelRation","disablePixelRatio","devicePixelRatio","innerHeight","aspect","sizes","ratios","blur","floor","constructUrl","method","_handleElement","cropImage","_getLocalPath","tagName","setProperty","removeProperty","_handleBgImage","applyStyle","img","Image","ele","localPath","requestAnimationFrame","string","extension","hash","charCodeAt","pluginHost","getCompression","c","test","local","_parser","localImageLibPath","parseFileFromUrl","sections","toLocalPath","localURL","canvas","ctx","drawImage","toDataURL","onLine","dim","offset","x","y","isSupportedExtension","isUnsplashImage","_transformToImgix","baseImgUrl","hasQueryString","_imgixWhitelistedUrls","http://imageserver.prod.s3.amazonaws.com","http://s3-us-west-2.amazonaws.com/imageserver.prod","http://pluginserver.buildfire.com","http://s3.amazonaws.com/Kaleo.DevBucket","http://s3-us-west-2.amazonaws.com/imagelibserver","http://s3-us-west-2.amazonaws.com/pluginserver.uat","http://s3-us-west-2.amazonaws.com/pluginserver.uat2","http://s3-us-west-2.amazonaws.com/pluginserver.uat3","http://s3.us-west-2.amazonaws.com/imageserver.prod","http://s3.us-west-2.amazonaws.com/pluginserver.prod","http://s3-us-west-2.amazonaws.com/pluginserver.prod","http://d1q5x1plk9guz6.cloudfront.net","http://d3lkxgii6udy4q.cloudfront.net","http://d26kqod42fnsx0.cloudfront.net","http://images.unsplash.com","whitelistedUrl","_sanitizeUnsplashImage","urlObj","URL","allowedParams","searchParams","toString","colorLib","onchange","packetData","_triggerOnChange","notifications","alert","buttonName","okButton","text","confirm","buttonLabels","confirmButton","cancelButton","beep","vibrate","dialog","confirmButtonText","actionButtonCallbacks","actionButtons","button","action","selectedButton","toast","actionButton","assign","actionClicked","bookmarks","_getParameterByName","name","results","RegExp","exec","param","getAll","actionItems","actionItem","execute","list","create","iconUrl","history","label","onPop","triggerOnPop","pop","messaging","sendMessageToControl","sendMessageToWidget","onReceivedMessage","sendMessageToService","broadcast","onReceivedBroadcast","pluginInstance","showCreatePluginInstancesDialog","skipPluginInstances","clone","deeplink","getData","_data","dld","template","setData","createLink","root","generateUrl","registerDeeplink","deeplinkData","_self","deeplinkItem","deeplinkId","imageUrl","pluginInstanceId","string1","array1","getDeeplink","searchOptions","_buildfire.index.string1","_buildfire.index.array1.string1","getAllDeeplinks","pageSize","unregisterDeeplink","spinner","auth","login","logout","getCurrentUser","onLogin","triggerOnLogin","user","onLogout","triggerOnLogout","openProfile","userId","getUserProfile","getUserProfiles","getUsersByEmail","getUserPictureUrl","email","username","qString","authUrl","authHost","showUsersSearchDialog","showTagsSearchDialog","assignUserTags","keepSessionAlive","searchUsers","getDeletedUsers","fromDate","_buildfire.index.date1","$gte","deletedUsers","map","deletedOn","date1","calendar","addEvent","share","messageObj","onAppBackgrounded","onAppResumed","triggerOnAppBackgrounded","triggerOnAppResumed","isKeyboardVisible","classList","contains","onKeyboardShow","onKeyboardHide","triggerKeyboardWillShow","keyboardHeight","triggerKeyboardWillHide","remove","contacts","geo","getCurrentPosition","watchPosition","onPositionChange","position","clearWatch","watchId","calculateDistance","start","end","R","unitSystem","decimalPlaces","dLat","degreesToRadians","latitude","dLon","longitude","lat1","lat2","a","sin","cos","atan2","sqrt","round","decimals","Number","degrees","PI","startTracking","isTracking","stopTracking","session","addUsers","removeUsers","updateInfo","getCurrentUserSessions","enableTrackability","isTrackable","disableTrackability","startWatch","sessionId","generatedWatchId","now","_triggerOnSessionWatchChange","stopWatch","_updateLastKnownLocation","setItem","getItem","val","removeItem","input","showTextDialog","showListDialog","imagePreviewer","notes","openDialog","onSeekTo","triggerOnSeekTo","getByItemId","dynamicBlocks","requestWidgetContext","onReceivedWidgetContextRequest","expressions","_prepareContext","_cleanseContext","dynamicEngine","arguments","imageContainer","targets","VALID_TYPES","dataset","handleContentExecution","requestPluginCustomExpressions","onReceivedCustomExpressionsRequest","getCustomExpressions","request","_mergeContext","appUser","expressionsContext","newContext","cleansedContext","sdk","_dynamicEngineQueue","_htmlContainers","_getDynamicEngine","_executeDynamicEngineQueue","evaluate","container","innerText","children","expressionHtmlContainers","expression","find","item","tempElement","evaluatedExpression","elements","attributes","cleanedName","attributeName","slice","removeAttribute","appDatasources","injectPluginStyles","tinymcePluginStylesElement","tinymcePluginStyles","appContext","originalTinymceInit","tinymce","isBuildfire","bind","_bfInitialize","images_dataimg_filter","hasAttribute","dynamicExpressionsEnabled","bf_dynamic_expressions","originalSetup","setup","editor","dynamicExpressionsActivated","originalSetContent","setContent","_syncExpressionButtonActivation","EXPRESSION_HTML","_injectExpressionNode","currentContent","dom","doc","getContent","div","_restoreCursorPosition","selection","collapse","execCommand","select","checkExpressionStatus","isNotDirty","fire","_removeExpressionNode","on","scriptElm","getDoc","allLayouts","styleElementsInBody","layout","layoutName","classes","expressionImage","className","prepend","keyupListenerDelay","ui","registry","addMenuItem","icon","onAction","shortcut","selectedNode","getNode","insertAdjacentHTML","addContextMenu","bfLayout","insertContent","content_style","content_css","splittedStyleFiles","menubar","userMenu","menu","edit","items","view","format","tools","ai","splittedPlugins","defaultPlugins","plugins","concat","defaultToolbar","toolbar","toolbarGroup","extended_valid_elements","supportedElement","toolbar_mode","skin","contextmenu","fontsize_formats","custom_elements","convert_urls","cssInjection","layouts","activeLayoutTag","_handleDataStoreActiveLayoutResponse","activeLayout","design","selectedLayout","cssPath","activeLayoutStyleElement","_attachActiveLayoutCSSFile","cssContent","_attachActiveLayoutCSSContent","$set","languageTag","getLanguage","strings","mergeUpdatedDefaultStrings","prepareDataObjectToRead","_strings","injectStrings","_handleDataStoreLanguageSettingsResponse","sectionKey","labelKey","labels","defaultValue","bfElements","_handleNode","watch","dbSection","defaultSection","hasOwnProperty","hasExpression","_onUpdate","reload","stringKey","stringKeys","onStringsReady","getStringValue","stringObj","checkExpression","valueObj","stringValue","node","destroy","evaluationRequest","executeCallbackOnUpdate","registerStringsReady","destroyRemovedNodeExpressionsCallbacks","mutationList","observer","mutation","removedNodes","removedNode","childList","observe","targetNode","MutationObserver","subtree","currentTrial","intervalId","setInterval","clearInterval","injectAttributes","parentNode","attr","onPluginLanguageJsLoaded","getAppRecipe","diagnostics","checkFeature","requestFeaturePermission","onPluginJsonLoaded","iframes","videos","vimeo_command","youtube_command","func","contentWindow","pause","stopVideos","handleEvent","eventType","processedClick","disableSelect","injectCSS","classNames","paths","debugTag","customCSS","active","disableFastClick","disableExternalLinkOverride","onclick","srcElement","inAppBrowser","regexp","CustomEvent","bubbles","cancelable","detail","createEvent","initCustomEvent","prototype","Event","exports","module","define","amd","n","eval","__esModule","default","defineProperty","r","call","lory","z","classNameActiveSlide","o","B","T","transition","hasTranslate3d","transform","slideSpeed","slidesToScroll","infinite","rewind","rewindSpeed","u","ease","v","A","h","M","nextSlide","O","k","min","S","b","offsetLeft","abs","N","P","f","currentSlide","classNameFrame","classNameSlideContainer","classNamePrevCtrl","classNameNextCtrl","enableMouseEvents","E","_","getElementsByClassName","offsetTop","cloneNode","insertBefore","firstChild","transitionEnd","L","g","C","rewindOnResize","getBoundingClientRect","offsetWidth","reduce","touches","w","pageX","pageY","D","time","F","snapBackSpeed","jQuery","reset","slideTo","returnIndex","prev","next","lastChild","getComputedStyle","getPropertyValue","dispatchEvent","foo","createEventObject","Boolean","configurable","enumerable","carousel","self","config","mergeSettings","_initDimensions","selector","_attachEventListeners","_applyConfigurations","shouldInitializeLory","_renderStaticSlides","display","lastCarouselTimer","lastImage","autoInterval","order","storagePlace","images","sendIndex","_changeImage","_randomizeArray","_shuffle","imagesCopy","first","last","carouselImages","carouselImage","_changeStaticSlides","isHome","activeSlide","siblingSlide","nextSibling","slide","_resizeImage","_cropImage","attrName","speed","loop","userSettings","_minHeight","validateLauncherCarousel","_applySlider","_destroySlider","_renderHTMLItems","timerInterval","lorySlider","sliderFrame","cname","slideContainer","_loadImages","itemsLength","pending","_appendItem","itemSlide","preventClicks","append","loadItems","appendItems","ceil","cssWidth","cssHeight","image","backgroundImage","alt","overflow"],"mappings":"AAEA,SAASA,OAAOC,EAAIC,EAAKC,GACxBC,KAAKH,GAAKA,IAAU,IAAII,MAAOC,cAAgBC,KAAKC,SACpDJ,KAAKF,IAAMA,EACXE,KAAKD,KAAOA,EACZC,KAAKK,WAAa,KAMnB,IAAIC,UAAY,CACfC,aAAc,SAASC,GACtB,O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S0D,UAAUoS,EAAK7L,QAAS,CAChE9O,OAAQ3V,KAAK6lC,KAAKxD,EAAK1sB,OAAS,IAChC0H,MAAOrd,KAAK6lC,KAAKxD,EAAKhlB,MAAQ,IAC9BQ,KAAM,KAEPmoB,EAAME,IAAMD,EAAgBC,IAAM5V,EAAKnqB,OAAS,GAChD8/B,EAAgBpS,UAAY,2BAC5BoS,EAAgB53B,aAAa,2CAA4Cg0B,EAAK1sB,oEAC9EqwB,EAAMv0B,MAAMwsB,UAAY,gBACxBkG,EAAM91B,aAAa,QAAS,8CAC5B81B,EAAMxgC,YAAYsiC,GAClB9B,EAAMxgC,YAAYqiC,GAClBnlC,EAAS,KAAM6J,OAMlBg4B,sBAAuB,WACtB,IAAIL,EAAOxiC,KAEXA,KAAK4iC,SAASh9B,iBAAiB,oBAAqB,WAC9C48B,EAAKoD,gBACTpD,EAAKoD,eAAgB,KAGvB5lC,KAAK4iC,SAASh9B,iBAAiB,mBAAoB,WAClD0F,WAAW,KACVk3B,EAAKoD,eAAgB,GACnB","file":"buildfire_lightcarousel.min.js","sourcesContent":["//\"use strict\";\n\nfunction Packet(id, cmd, data) {\n\tthis.id = id ? id : new Date().toISOString() + Math.random();\n\tthis.cmd = cmd;\n\tthis.data = data;\n\tthis.instanceId = null;\n}\n\n\n\n/// ref: https://github.com/BuildFire/sdk/wiki\nvar buildfire = {\n\tisFileServer: function(url){\n\t\treturn (url.indexOf('s3.amazonaws.com') !== -1);\n\t}\n\t, isWidget: function() {\n\t\treturn window.location.href.indexOf('/widget/') > 0;\n\t}\n\t, isWidgetService: function() {\n\t\treturn buildfire.isWidget() && window.location.href.indexOf('/widget/index.html') < 0;\n\t}\n\t, isWeb: function(callback){\n\t\tvar isWebFromContext = function (context) {\n\t\t\tif (context && context.device && context.device.platform) {\n\t\t\t\treturn context.device.platform.toLowerCase() === 'web';\n\t\t\t} else {\n\t\t\t\tconsole.error('context device platform not defined');\n\t\t\t\treturn (window.location.protocol.indexOf('http') === 0);\n\t\t\t}\n\t\t};\n\t\tvar context = buildfire.getContext(function(err, callbackContext){\n\t\t\tif(callback){\n\t\t\t\tif(err) {\n\t\t\t\t\tcallback(err);\n\t\t\t\t} else {\n\t\t\t\t\tcallback(null, isWebFromContext(callbackContext));\n\t\t\t\t}\n\t\t\t}\n\t\t});\n\t\tif(context) {\n\t\t\treturn isWebFromContext(context);\n\t\t} else {\n\t\t\tif(!callback) {\n\t\t\t\tconsole.warn('context not ready. must use isWeb with callback parameter: function(err, isWebResult)');\n\t\t\t\treturn (window.location.protocol.indexOf('http') === 0);\n\t\t\t}\n\t\t\t// don't return anything if context is not ready but we have a callback\n\t\t}\n\n\t},\n\t_lazyScriptsQueues: {},\n\tlazyLoadScript: function({ relativeScriptsUrl, scriptId }, readyCallback) {\n\t\tif (!this._lazyScriptsQueues[scriptId]) {\n\t\t\tthis._lazyScriptsQueues[scriptId] = { loaded: false, queue:[] };\n\t\t} else if (this._lazyScriptsQueues[scriptId].loaded && readyCallback) {\n\t\t\treturn readyCallback();\n\t\t}\n\n\n\t\tconst lazyQueue = this._lazyScriptsQueues[scriptId];\n\t\tlazyQueue.queue.push(readyCallback);\n\n\t\tif (lazyQueue.queue.length > 1) {\n\t\t\treturn;\n\t\t}\n\t\tconst url = buildfire.getContext().type === 'control' ?\n\t\t\t`../../../../scripts/${relativeScriptsUrl}`\n\t\t\t: `../../../scripts/${relativeScriptsUrl}`;\n\n\t\tconst _executeQueue = (err) => {\n\t\t\tlazyQueue.queue.forEach((callback) => {\n\t\t\t\tif (callback) callback(err);\n\t\t\t});\n\t\t\tlazyQueue.loaded = true;\n\t\t\tlazyQueue.queue = []; // clear queue\n\t\t};\n\t\tbuildfire.loadScript({ url, scriptId }, _executeQueue);\n\t},\n\tloadScript: function({ url, scriptId }, callback = Function()) {\n\t\tlet script = document.getElementById(scriptId);\n\t\tconst scripts = document.getElementsByTagName('script');\n\n\t\t// script exist\n\t\tif (script || Array.from(scripts).some((s) => s.src.includes(url.replaceAll(\"../\", \"\")))) {\n\t\t\treturn callback();\n\t\t}\n\n\t\tconst parentElement = (document.head || document.body);\n\t\tscript = document.createElement('script');\n\t\tscript.id = scriptId || '';\n\t\tscript.type = 'text/javascript';\n\t\tscript.src = url;\n\t\tscript.onload = callback;\n\t\tscript.onerror = function () {\n\t\t\tcallback(new Error('failed to load script component'));\n\t\t\tconsole.error('failed to load script component');\n\t\t};\n\t\tparentElement.appendChild(script);\n\t}, ratingSystem: {\n\t\tinject: function () {\n\t\t\tif (typeof buildfire === 'undefined') return;\n\t\t\tif (typeof (buildfire.components) == 'undefined' || typeof (buildfire.components.ratingSystem) == 'undefined') {\n\t\t\t\tloadScript('../../../scripts/buildfire/components/ratingSystem/index.min.js', function (err) {\n\t\t\t\t\tvar parentElement = (document.head || document.body);\n\t\t\t\t\tvar link = document.createElement('link');\n\t\t\t\t\tlink.rel = 'stylesheet';\n\t\t\t\t\tlink.type = 'text/css';\n\t\t\t\t\tlink.href = '../../../scripts/buildfire/components/ratingSystem/index.min.css';\n\t\t\t\t\tparentElement.appendChild(link);\n\t\t\t\t\t// utf-8 encoding is necessary for the rating system to function\n\t\t\t\t\tconst charset = parentElement.querySelector('meta[charset]');\n\t\t\t\t\tif (!charset || !charset.getAttribute('charset').toLowerCase().includes('utf-8')) {\n\t\t\t\t\t\tconsole.warn('UTF-8 charset is required for ratingSystem to function properly');\n\t\t\t\t\t}\n\t\t\t\t\tbuildfire.components.ratingSystem.injectRatings({ isFromWysiwyg: true });\n\t\t\t\t});\n\t\t\t} else buildfire.components.ratingSystem.injectRatings({ isFromWysiwyg: true });\n\n\t\t\tfunction hasScript(url) {\n\t\t\t\twhile (url.includes('../')) url = url.replace('../', '');\n\t\t\t\tvar scripts = document.getElementsByTagName('script');\n\t\t\t\tfor (var i = 0; i < scripts.length; i++) {\n\t\t\t\t\tif(scripts[i].src.includes(url)) return true;\n\t\t\t\t}\n\t\t\t\treturn false;\n\t\t\t}\n\n\t\t\tfunction loadScript(url, callback) {\n\t\t\t\tif(hasScript(url)) return;\n\t\t\t\tvar parentElement = (document.head || document.body);\n\t\t\t\tvar script = document.createElement('script');\n\t\t\t\tscript.type = 'text/javascript';\n\t\t\t\tscript.src = url;\n\t\t\t\tscript.charset = 'utf-8';\n\t\t\t\tscript.onreadystatechange = callback;\n\t\t\t\tscript.onload = callback;\n\t\t\t\tparentElement.appendChild(script);\n\t\t\t}\n\t\t}\n\t}\n\t, logger: {\n\t\tattachRemoteLogger:function (tag){\n\n\t\t\t// dont attach twice\n\t\t\tlet buildFireAppDebuggerScript = document.getElementById('BuildFireAppDebuggerScript');\n\t\t\tif (buildFireAppDebuggerScript) {\n\t\t\t\tbuildFireAppDebuggerScript.parentElement.removeChild(buildFireAppDebuggerScript);\n\t\t\t}\n\n\t\t\tif(!tag)\n\t\t\t\ttag = prompt('Enter is a unique tag to send your logs to');\n\n\t\t\tif(!tag) return;\n\n\t\t\tvar header = document.querySelector('head');\n\t\t\tvar script = document.createElement('script');\n\t\t\tscript.src='https://debug.buildfire.com/target/target-script-min.js#' + tag;\n\t\t\tscript.id = 'BuildFireAppDebuggerScript';\n\t\t\theader.appendChild(script);\n\n\t\t},\n\t\tinit: function () {\n\t\t\tconst originalConsoleError = console.error;\n\t\t\tconsole.error = function (...args) {\n\t\t\t\tif (args && args[0]) {\n\t\t\t\t\tbuildfire.logger.log({\n\t\t\t\t\t\tmessage: typeof args[0] == \"string\" ? args[0] : \"no error message provided.\",\n\t\t\t\t\t\tdata: args.length > 1 ? {...args} : undefined,\n\t\t\t\t\t\tlevel: \"error\",\n\t\t\t\t\t\tcategory: \"ConsoleError\"\n\t\t\t\t\t});\n\t\t\t\t}\n\t\t\t\toriginalConsoleError(...args);\n\t\t\t};\n\t\t\twindow.addEventListener(\"error\", (event) => {\n\t\t\t\t// ignore 90% of errors to sample error reporting\n\t\t\t\tif(Math.random() >= 0.9) {\n\t\t\t\t\tbuildfire.logger.log({\n\t\t\t\t\t\tmessage: event.message,\n\t\t\t\t\t\tlevel: \"error\",\n\t\t\t\t\t\tcategory: \"BrowserJsException\",\n\t\t\t\t\t\texception: {\n\t\t\t\t\t\t\tcolno: event.colno,\n\t\t\t\t\t\t\tlineno: event.lineno,\n\t\t\t\t\t\t\tmessage: event.message,\n\t\t\t\t\t\t\tstack: event.error && event.error.stack ? event.error && event.error.stack : \"n/a\",\n\t\t\t\t\t\t\turl: event.filename\n\t\t\t\t\t\t}\n\t\t\t\t\t});\n\t\t\t\t}\n\t\t\t\toriginalConsoleError('Error: ' + event.message, ' Script: ' + event.filename, ' Line: ' + event.lineno\n\t\t\t\t\t, ' Column: ' + event.colno, ' StackTrace: ' + event.error && event.error.stack ? event.error && event.error.stack : \"n/a\");\n\t\t\t});\n\t\t},\n\t\tlog: function (options, callback) {\n\t\t\tif (!options || (options && typeof options != 'object')) {\n\t\t\t\toptions = {};\n\t\t\t}\n\t\t\tbuildfire.getContext((err, context) => {\n\t\t\t\tif (!options.context) {\n\t\t\t\t\toptions.context = {};\n\t\t\t\t}\n\t\t\t\toptions.context.pluginId = context?.pluginId;\n\t\t\t\toptions.context.instanceId = context?.instanceId;\n\t\t\t\toptions.context.pluginTitle = context?.title;\n\t\t\t\tif (!options.tags) {\n\t\t\t\t\toptions.tags = [];\n\t\t\t\t}\n\t\t\t\toptions.tags.push('sdkAndPlugins');\n\t\t\t\tconst p = new Packet(null, 'logger.log', options);\n\t\t\t\tbuildfire._sendPacket(p, callback);\n\t\t\t});\n\t\t}\n\t}\n\t, _callbacks: {}\n\t, parseQueryString: function (str) {\n\t\tvar query = str || window.location.search.substring(1);\n\t\tvar vars = query.split('&');\n\t\tvar obj = new Object();\n\t\tfor (var i = 0; i < vars.length; i++) {\n\t\t\tvar pair = vars[i].split('=');\n\t\t\tobj[decodeURIComponent(pair[0])] = decodeURIComponent(pair[1]);\n\t\t\tvar index = vars[i].indexOf('=');\n\t\t\tvar key = vars[i].substring(0, index);\n\t\t\tvar value = vars[i].substring(index + 1);\n\t\t\tobj[decodeURIComponent(key)] = decodeURIComponent(value);\n\t\t}\n\t\treturn obj;\n\t}\n\t, options:{}\n\t, parseMetaOptions: function(){\n\t\tvar options = {};\n\n\t\tvar tags = document.head.querySelector('meta[name=buildfire]');\n\t\tif(tags && tags.content) {\n\t\t\tvar sections = tags.content.split(',');\n\t\t\tsections.forEach(function(section){\n\t\t\t\tvar s = section.split('=');\n\t\t\t\toptions[s[0]] = s.length>1?s[1]:true;\n\t\t\t});\n\t\t}\n\n\t\treturn options;\n\t}\n\t///custom events are super thus this implementation\n\t, eventManager: {\n\t\tevents: {}\n\t\t, add: function (event, handler, allowMultipleHandlers) {\n\t\t\tif (typeof(handler) != 'function')throw ('Invalid event handler');\n\n\t\t\tif (!allowMultipleHandlers) this.clear(event);\n\n\t\t\tif (!this.events[event])\n\t\t\t\tthis.events[event] = [handler];\n\t\t\telse\n\t\t\t\tthis.events[event].push(handler);\n\n\t\t\tvar eh = this.events[event];\n\t\t\treturn {\n\t\t\t\tclear: function () {\n\t\t\t\t\tfor (var i = 0; i < eh.length; i++)\n\t\t\t\t\t\tif (eh[i] === handler)\n\t\t\t\t\t\t\teh.splice(i, 1);\n\t\t\t\t}\n\t\t\t};\n\t\t}\n\t\t, clear: function (event) {\n\t\t\tthis.events[event] = [];\n\t\t}\n\t\t, trigger: function (event, data) {\n\t\t\tif (this.events[event])\n\t\t\t\tfor (var i = 0; i < this.events[event].length; i++) {\n\t\t\t\t\ttry {\n\t\t\t\t\t\tthis.events[event][i](data);\n\t\t\t\t\t}\n\t\t\t\t\tcatch (e) {\n\t\t\t\t\t\tconsole.error(e);\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t}\n\t}\n\t, _context: null\n\t, get context() {\n\t\tconsole.warn('buildfire.context is obsolete and will be removed soon');\n\t\treturn buildfire._context;\n\t}\n\t, set context(obj) {\n\t\tbuildfire._context = obj;\n\t}\n\t, init: function () {\n\t\t// Listen to message from child window\n\t\twindow.removeEventListener('message', buildfire._postMessageHandler, false);\n\t\twindow.addEventListener('message', buildfire._postMessageHandler, false);\n\n\t\tbuildfire.options = buildfire.parseMetaOptions();\n\n\n\t\tbuildfire.appearance.insertHTMLAttributes();\n\n\t\tbuildfire.appearance.attachCSSFiles();\n\n\t\tbuildfire.localStorage.overrideNativeLocalStorage();\n\n\t\tbuildfire.wysiwyg.extend();\n\n\t\t//attach plugin.js script that contains plugin.json content.\n\t\tfunction attachPluginJsScript () {\n\t\t\tdocument.write('');\n\t}\n\n\t//Add Lory CSS\n\tvar style = document.getElementById('loryInjectedStyle');\n\tif (style) document.head.removeChild(style);\n\n\tstyle = document.createElement('style');\n\tstyle.id = 'loryInjectedStyle';\n\tstyle.innerHTML += ' .loryFrame {position: relative;font-size: 0; line-height: 0; overflow: hidden; white-space: nowrap;}';\n\tstyle.innerHTML += ' .loryFrame li { position: relative; display: inline-block; height: 100%;}';\n\tstyle.innerHTML += ' .lorySlides { display: inline-block;}';\n\tstyle.innerHTML += ' .loryPercentage .lorySlides { display: block; padding: 0px;}';\n\tstyle.innerHTML += ' .loryPercentage li { width: 100%;}';\n\tstyle.innerHTML += ' .js_slide { text-align: center; position: relative; max-height: 380px; vertical-align: top; }';\n\tstyle.innerHTML += ' .js_slide img { max-height: 380px; width: auto !important; margin: 0 auto }';\n\tstyle.innerHTML += ' .js_slide.static_slide { display: none }';\n\tstyle.innerHTML += ' .js_slide.static_slide.active { display: block }';\n\n\tdocument.head.appendChild(style);\n})();\n// This is the class that will be used in the mobile\n//{selector:selector, items:items, layout:layout, speed:speed}\nbuildfire.components.carousel.view = function (options) {\n\tlet self = this;\n\tthis.config = this.mergeSettings(options);\n\tthis._initDimensions(self.config.layout);\n\tthis.selector = typeof this.config.selector === 'string' ? document.querySelector(this.config.selector) : this.config.selector;\n\tthis._attachEventListeners();\n\tif (options.items && options.items.length > 0) {\n\t\tthis._applyConfigurations(options, (err, result) => {\n\t\t\tif (result.shouldInitializeLory) { // loryCarousel\n\t\t\t\tself.init();\n\t\t\t} else {\n\t\t\t\tself._renderStaticSlides(options.items);\n\t\t\t}\n\t\t});\n\t\tif (options.selector) {\n\t\t\toptions.selector.style.display = '';\n\t\t} else {\n\t\t\tconsole.error('Selector element should be provided');\n\t\t}\n\t\t\n\t} else {\n\t\tif (options.selector) {\n\t\t\toptions.selector.style.display = 'none';\n\t\t} else {\n\t\t\tconsole.error('Selector element should be provided');\n\t\t}\n\t}\n};\nbuildfire.components.carousel.view.lastCarouselTimer = null;\n// Carousel view methods\nbuildfire.components.carousel.view.prototype = {\n\tlastImage: null,\n _applyConfigurations: function(options, callback) {\n\t\tlet self = this;\n\t\tlet { items, autoInterval, order, display } = options;\n\t\tif (buildfire.components.carousel.view.lastCarouselTimer) {\n\t\t\tclearInterval(buildfire.components.carousel.view.lastCarouselTimer);\n\t\t\tbuildfire.components.carousel.view.lastCarouselTimer = null;\n\t\t}\n\t\tlet isHome = buildfire.getFrameType() == 'LAUNCHER_PLUGIN';\n\t\tlet storagePlace = (isHome) ? \"carouselLastImageHome\" : \"carouselLastImage\";\n\t\tif (order == 0 && display == 1 && items.length > 1) {\n\t\t\tbuildfire.localStorage.getItem(storagePlace, function(err, res) {\n\t\t\t\tlet images = items;\n\t\t\t\tlet sendIndex = 0;\n\t\t\t\tlet item = null;\n\t\t\t\tif (res == null) {\n\t\t\t\t\titem = items[0];\n\t\t\t\t} else {\n\t\t\t\t\tlet index = Number(res);\n\t\t\t\t\tif (index == -1 || index == items.length - 1) item = items[0];\n\t\t\t\t\telse {item = items[index + 1]; sendIndex = index + 1;}\n\t\t\t\t}\n\t\t\t\tself.lastImage = item;\n\t\t\t\tbuildfire.localStorage.setItem(storagePlace, sendIndex, function(e, r) {\n\t\t\t\t\tif (autoInterval != 0) buildfire.components.carousel.view.lastCarouselTimer = setInterval(self._changeImage.bind(self), self.config.autoInterval, images, false);\n\t\t\t\t});\n\t\t\t\tcallback(null, {shouldInitializeLory: false});\n\t\t\t});\n\t\t} else if (order == 1 && display == 1 && items.length > 1) {\n\t\t\tif (autoInterval != 0) {\n\t\t\t\tbuildfire.components.carousel.view.lastCarouselTimer = setInterval(this._changeImage.bind(this), this.config.autoInterval, items, true);\n\t\t\t}\n\t\t\titem = items[Math.floor(Math.random() * items.length)];\n\t\t\tthis.lastImage = item;\n\t\t\tbuildfire.localStorage.removeItem(storagePlace);\n\t\t\tcallback(null, {shouldInitializeLory: false});\n\t\t} else if (order == 1 && display == 0 && items.length > 1) {\n\t\t\tthis._randomizeArray(items);\n\t\t\tbuildfire.localStorage.removeItem(storagePlace);\n\t\t\tcallback(null, {shouldInitializeLory: true});\n\t\t} else if (display == 1) {\n\t\t\tcallback(null, {shouldInitializeLory: false});\n\t\t} else {\n\t\t\tcallback(null, {shouldInitializeLory: true});\n\t\t}\n\t},\n\t_randomizeArray: function (images) {\n this._shuffle(images, null, null);\n let imagesCopy = Array.from(images);\n this._shuffle(imagesCopy, null, images[images.length - 1]);\n images.push(...imagesCopy);\n this._shuffle(imagesCopy, images[0], images[images.length - 1]);\n images.push(...imagesCopy);\n },\n\t_shuffle: function (images, first, last) {\n let j, x, i;\n for (i = images.length - 1; i > 0; i--) {\n j = Math.floor(Math.random() * (i + 1));\n x = images[i];\n images[i] = images[j];\n images[j] = x;\n }\n if (last == images[0] || first == images[images.length - 1]) return this._shuffle(images, first, last);\n else return images;\n },\n\t_changeImage: function (carouselImages, random) {\n let self = this;\n\t\tlet carouselImage = null;\n if (random) {\n this._changeStaticSlides(carouselImages, true);\n } else {\n let index = carouselImages.indexOf(this.lastImage);\n let sendIndex = 0;\n if (index == -1 || index == carouselImages.length - 1) {\n\t\t\t\tcarouselImage = carouselImages[0];\n\t\t\t} else {\n\t\t\t\tcarouselImage = carouselImages[index + 1]; \n\t\t\t\tsendIndex = index + 1;\n\t\t\t}\n this.lastImage = carouselImage;\n let isHome = buildfire.getFrameType() == 'LAUNCHER_PLUGIN';\n let storagePlace = (isHome) ? \"carouselLastImageHome\" : \"carouselLastImage\";\n buildfire.localStorage.setItem(storagePlace, sendIndex, function(e, r) {\n self._changeStaticSlides(carouselImages);\n });\n }\n },\n\t_changeStaticSlides: function (carouselImages, random) {\n\t\tlet activeSlide = document.querySelector('.js_slide.static_slide.active');\n\t\tlet siblingSlide = activeSlide.nextSibling;\n\t\tif (random) {\n\t\t\tlet nextSlide = document.querySelectorAll('.js_slide.static_slide')[Math.floor(Math.random() * carouselImages.length)];\n\t\t\tif (nextSlide.children[0].src == activeSlide.children[0].src) {\n\t\t\t\tthis._changeStaticSlides(carouselImages, true);\n\t\t\t} else {\n\t\t\t\tactiveSlide.classList.remove('active');\n\t\t\t\tnextSlide.classList.add('active');\n\t\t\t}\n\t\t} else {\n\t\t\tactiveSlide.classList.remove('active');\n\t\t\tif (siblingSlide) {\n\t\t\t\tsiblingSlide.classList.add('active');\n\t\t\t} else {\n\t\t\t\tdocument.querySelector('.js_slide.static_slide').classList.add('active');\n\t\t\t}\n\t\t}\n\t},\n\t_renderStaticSlides: function (carouselImages) {\n\t\tlet self = this;\n\t\tthis.selector.innerHTML = '';\n\t\tcarouselImages.forEach((carouselImage, index) => {\n\t\t\tlet slide = document.createElement('div');\n\t\t\tslide.classList.add('js_slide', 'static_slide');\n\t\t\tif (index == 0 && !self.lastImage) {\n\t\t\t\tslide.classList.add('active');\n\t\t\t} else if (self.lastImage && self.lastImage.iconUrl == carouselImage.iconUrl) {\n\t\t\t\tslide.classList.add('active');\n\t\t\t}\n\t\t\tslide.addEventListener('click', function () {\n\t\t\t\tbuildfire.actionItems.execute(carouselImage, function (err, result) {\n\t\t\t\t\tif (err) {\n\t\t\t\t\t\tconsole.warn('Error opening slider action: ', err);\n\t\t\t\t\t}\n\t\t\t\t});\n\t\t\t});\n\n\t\t\tlet options = {\n\t\t\t\titem: carouselImage,\n\t\t\t\tslide: slide\n\t\t\t}\n\t\t\tif (self.layout == 'Fit') {\n\t\t\t\tself._resizeImage(options, (err, result) => {\n\t\t\t\t\tif (err) console.error('Error occurred while resizing image: ', err);\n\t\t\t\t\tself.selector.appendChild(slide);\n\t\t\t\t});\n\t\t\t} else {\n\t\t\t\tself._cropImage(options, (err, result) => {\n\t\t\t\t\tif (err) console.error('Error occurred while cropping image: ', err);\n\t\t\t\t\tself.selector.appendChild(slide);\n\t\t\t\t});\n\t\t\t}\n\t\t});\n\t\tlet activeSlide = document.querySelector('.js_slide.static_slide.active');\n\t\tif (!activeSlide) {\n\t\t\tdocument.querySelector('.js_slide.static_slide').classList.add('active');\n\t\t}\n\t},\n\tmergeSettings: function (options) {\n\t\tvar settings = {\n\t\t\tselector: '.js_percentage',\n\t\t\titems: [],\n\t\t\tlayout: null,\n\t\t\tspeed: 200,\n\t\t\tloop: true,\n\t\t\tautoInterval: 5 * 1000,\n\t\t\tdisplay: 0,\n\t\t\torder: 0\n\t\t};\n\t\tvar userSettings = options;\n\t\tfor (var attrName in userSettings) {\n\t\t\tsettings[attrName] = userSettings[attrName];\n\t\t}\n\t\treturn settings;\n\t},\n\tinit: function () {\n\t\tif (!this.selector) {\n\t\t\tthrow ('selector not found');\n\t\t\treturn;\n\t\t}\n\t\t// Add min-height to carousel to prevent it from pushing content down\n\t\tthis.selector.style['min-height'] = this._minHeight;\n\n\t\tvar self = this;\n\n\t\tfunction validateLauncherCarousel() {\n\t\t\tbuildfire.getContext(function (err, result) {\n\t\t\t\tif (result && result.device && result.device.platform && result.device.platform.toLowerCase() == 'ios' && buildfire.getFrameType() == 'LAUNCHER_PLUGIN') {\n\t\t\t\t\tbuildfire.navigation.onAppLauncherActive(function () {\n\t\t\t\t\t\tself._applySlider();\n\t\t\t\t\t}, true);\n\t\t\t\t\tbuildfire.navigation.onAppLauncherInactive(function () {\n\t\t\t\t\t\tself._destroySlider();\n\t\t\t\t\t}, true);\n\t\t\t\t}\n\t\t\t});\n\t\t}\n\n\t\tif (this.config.items && this.config.items.length > 0) {\n\t\t\tthis._renderHTMLItems(function () {\n\t\t\t\tself._applySlider();\n\t\t\t\tvalidateLauncherCarousel();\n\t\t\t});\n\t\t} else {\n\t\t\tself._applySlider();\n\t\t\tvalidateLauncherCarousel();\n\t\t}\n\t},\n\t_destroySlider: function () {\n\t\tif (this.timerInterval) {\n\t\t\tclearInterval(this.timerInterval);\n\t\t\tthis.timerInterval = null;\n\t\t}\n\t},\n\t_applySlider: function () {\n\t\tif (!this.lorySlider) {\n\t\t\tthis.lorySlider = lory(this.config.selector, {\n\t\t\t\tclassNameSlideContainer: this.config.classNameSlideContainer || 'js_slides',\n\t\t\t\tclassNameFrame: this.config.classNameFrame || 'js_frame',\n\t\t\t\tease: 'ease',\n\t\t\t\trewindSpeed: 600,//ms\n\t\t\t\tslideSpeed: this.config.speed,//ms\n\t\t\t\tslidesToScroll: this.config.slidesToScroll || 1,\n\t\t\t\tinfinite: this.config.items.length > 1 ? 1 : 0,\n\t\t\t\tenableMouseEvents: true\n\t\t\t});\n\t\t}\n\n\t\tif (this.config.loop && this.config.items && this.config.items.length > 1) {\n\t\t\tvar self = this;\n\n\t\t\tif (this.timerInterval) {\n\t\t\t\tclearInterval(this.timerInterval);\n\t\t\t\tthis.timerInterval = null;\n\t\t\t}\n\n\t\t\tthis.timerInterval = setInterval(function () {\n\t\t\t\tself.lorySlider.next();\n\t\t\t}, this.config.autoInterval);\n\t\t}\n\t},\n\t_renderHTMLItems: function (callback) {\n\t\tvar self = this;\n\n\t\twhile (this.selector.firstChild) {\n\t\t\tthis.selector.removeChild(this.selector.firstChild);\n\t\t}\n\n\t\tthis.sliderFrame = document.createElement('div');\n\t\t['loryFrame', 'js_frame'].forEach(function (cname) {\n\t\t\tself.sliderFrame.classList.add(cname);\n\t\t});\n\n\t\tthis.slideContainer = document.createElement('ul');\n\t\t['lorySlides', 'js_slides'].forEach(function (cname) {\n\t\t\tself.slideContainer.classList.add(cname);\n\t\t});\n\n\t\tthis._loadImages(this.config.items, function () {\n\t\t\t['slider', 'js_percentage', 'loryPercentage'].forEach(function (cname) {\n\t\t\t\tself.selector.classList.add(cname);\n\t\t\t});\n\n\t\t\tself.sliderFrame.appendChild(self.slideContainer);\n\t\t\tself.selector.appendChild(self.sliderFrame);\n\n\t\t\tcallback();\n\t\t});\n\t},\n\t_loadImages: function (items, callback) {\n\t\tvar self = this;\n\n\t\tvar itemsLength = items.length;\n\t\tvar pending = itemsLength;\n\n\t\tif (itemsLength == 0) {\n\t\t\tcallback();\n\t\t}\n\n\t\tfor (var i = 0; i < itemsLength; i++) {\n\t\t\tthis._appendItem(items[i], function (itemSlide) {\n\t\t\t\tpending--;\n\t\t\t\tself.slideContainer.appendChild(itemSlide);\n\n\t\t\t\tif (pending == 0) {\n\t\t\t\t\tcallback();\n\t\t\t\t}\n\t\t\t});\n\t\t}\n\t},\n\t_appendItem: function (item, callback) {\n\t\tlet self = this;\n\t\tlet slide = document.createElement('li');\n\t\tslide.classList.add('js_slide');\n\n\t\tslide.addEventListener('click', function () {\n\t\t\tif (self.preventClicks) {\n\t\t\t\treturn;\n\t\t\t}\n\t\t\tbuildfire.actionItems.execute(item, function (err, result) {\n\t\t\t\tif (err) {\n\t\t\t\t\tconsole.warn('Error opening slider action: ', err);\n\t\t\t\t}\n\t\t\t});\n\t\t});\n\n\t\tlet options = { item, slide }\n\t\tif (self.layout == 'Fit') {\n\t\t\tthis._resizeImage(options, (err, result) => {\n\t\t\t\tif (err) console.error('Error occurred while cropping image: ', err);\n\t\t\t\tcallback(slide);\n\t\t\t});\n\t\t} else {\n\t\t\tthis._cropImage(options, (err, result) => {\n\t\t\t\tif (err) console.error('Error occurred while cropping image: ', err);\n\t\t\t\tcallback(slide);\n\t\t\t});\n\t\t}\n\t},\n\t// allows you to append a single item or an array of items\n\tappend: function (items) {\n\t\tif (!items)\n\t\t\treturn;\n\t\telse if (!(items instanceof Array) && typeof(items) == 'object')\n\t\t\titems = [items];\n\n\t\tif (items && items instanceof Array && items.length) {\n\t\t\tfor (var i = 0; i < items.length; i++) {\n\t\t\t\tthis.config.items.push(items[i]);\n\t\t\t}\n\t\t\tvar self = this;\n\t\t\tif (this.config.display == 0) {\n\t\t\t\tthis.slideContainer.innerHTML = '';\n\t\t\t\tthis._loadImages(this.config.items, function () {\n\t\t\t\t\tif (self.config.items.length > 1 && !self.timerInterval) {\n\t\t\t\t\t\tself.lorySlider = null;\n\t\t\t\t\t\tself._applySlider();\n\t\t\t\t\t} else {\n\t\t\t\t\t\tself.lorySlider.setup();\n\t\t\t\t\t}\n\t\t\t\t});\n\t\t\t} else {\n\t\t\t\tthis._renderStaticSlides(this.config.items);\n\t\t\t}\n\t\t}\n\t},\n\tloadItems: function (items, appendItems) {\n\t\tif (appendItems) {\n\t\t\tthis.append(items);\n\t\t} else {\n\t\t\tlet self = this;\n\t\t\tthis.config.items = items;\n\t\t\tif (this.config.display == 0) {\n\t\t\t\tif (this.config.order == 1) {\n\t\t\t\t\tthis._randomizeArray(items);\n\t\t\t\t}\n\t\t\t\tthis.slideContainer.innerHTML = '';\n\t\t\t\tthis._loadImages(items, function () {\n\t\t\t\t\tif (items.length > 1 && !self.timerInterval) {\n\t\t\t\t\t\tself.lorySlider = null;\n\t\t\t\t\t\tself._applySlider();\n\t\t\t\t\t} else if (items.length <= 1 && self.timerInterval) {\n\t\t\t\t\t\tself._destroySlider();\n\t\t\t\t\t\tself.lorySlider = null;\n\t\t\t\t\t\tself._applySlider();\n\t\t\t\t\t} else {\n\t\t\t\t\t\tself.lorySlider.setup();\n\t\t\t\t\t}\n\t\t\t\t});\n\t\t\t} else {\n\t\t\t\tif (buildfire.components.carousel.view.lastCarouselTimer) {\n\t\t\t\t\tclearInterval(buildfire.components.carousel.view.lastCarouselTimer);\n\t\t\t\t\tbuildfire.components.carousel.view.lastCarouselTimer = null;\n\t\t\t\t}\n\t\t\t\tthis._renderStaticSlides(items);\n\t\t\t\tif (items.length > 1) {\n\t\t\t\t\tbuildfire.components.carousel.view.lastCarouselTimer = setInterval(this._changeImage.bind(this), this.config.autoInterval, items, this.config.order);\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t},\n\t_initDimensions: function (layout) {\n\t\tthis.width = window.innerWidth;\n\t\tthis.layout = layout;\n\t\tlayout = layout || 'WideScreen';\n\t\tif (layout == 'WideScreen') {\n\t\t\tthis.height = Math.ceil(9 * this.width / 16);\n\t\t\tthis.aspect = '16:9';\n\t\t} else if (layout == 'Square') {\n\t\t\tthis.height = this.width;\n\t\t\tthis.aspect = '1:1';\n\t\t} else if (layout == 'Cinema') {\n\t\t\tthis.height = Math.ceil(1 * this.width / 2.39);\n\t\t\tthis.aspect = '2.39:1';\n\t\t} else if (layout == 'MobileScreen' || layout == 'Fit') {\n\t\t\tthis.height = (window.innerHeight / this.width) * this.width;\n\t\t\tthis.aspect = '9:16';\n\t\t} else {\n\t\t\tthis.height = Math.ceil(9 * this.width / 16);\n\t\t}\n\n\t\tthis.cssWidth = this.width + 'px';\n\t\tif (this.height > 380) {\n\t\t\tthis.cssHeight = '380px';\n\t\t} else {\n\t\t\tthis.cssHeight = this.height + 'px';\n\t\t}\n\n\t\t// Set Min height on carousel so doesn't push content down on load.\n\t\tthis._minHeight = this.cssHeight;\n\t},\n\t_cropImage: function(options, callback) {\n\t\tlet self = this;\n\t\tlet { item, slide } = options;\n\t\tbuildfire.imageLib.local.cropImage(item.iconUrl, {\n\t\t\twidth: this.width,\n\t\t\theight: this.height,\n\t\t\taspect: this.aspect,\n\t\t\tsize: 'full_width',\n\t\t}, function (err, result) {\n\t\t\tif (!err) {\n\t\t\t\tlet image = document.createElement('img');\n\t\t\t\tlet backgroundImage = document.createElement('img');\n\t\t\t\timage.src = result;\n\t\t\t\tbackgroundImage.src = buildfire.imageLib.cropImage(item.iconUrl, {\n\t\t\t\t\theight: Math.ceil(self.height / 20),\n\t\t\t\t\twidth: Math.ceil(self.width / 20),\n\t\t\t\t\tblur: 40,\n\t\t\t\t});\n\t\t\t\timage.alt = backgroundImage.alt = item.title || '';\n\t\t\t\tbackgroundImage.className = 'blurred-background-image';\n\t\t\t\tbackgroundImage.setAttribute('style', `width: 100% !important; height: ${self.height}px; top: 50%; left: 50%; transform: translate(-50%, -50%);`);\n\t\t\t\tslide.style.overflow = 'hidden';\n\t\t\t\timage.style.transform = 'translateZ(0)';\n\t\t\t\tif (self.height > 380) {\n\t\t\t\t\tslide.appendChild(backgroundImage);\n\t\t\t\t}\n\t\t\t\tslide.appendChild(image);\n\t\t\t\tcallback(null, result);\n\t\t\t} else {\n\t\t\t\tcallback(err, null);\n\t\t\t}\n\t\t});\n\t},\n\t_resizeImage: function(options, callback) {\n\t\tlet self = this;\n\t\tlet { item, slide } = options;\n\t\tbuildfire.imageLib.local.resizeImage(item.iconUrl, {\n\t\t\theight: self.height,\n\t\t}, function (err, result) {\n\t\t\tif (!err) {\n\t\t\t\tlet image = document.createElement('img');\n\t\t\t\tlet backgroundImage = document.createElement('img');\n\t\t\t\timage.src = result;\n\t\t\t\tbackgroundImage.src = buildfire.imageLib.cropImage(item.iconUrl, {\n\t\t\t\t\theight: Math.ceil(self.height / 20),\n\t\t\t\t\twidth: Math.ceil(self.width / 20),\n\t\t\t\t\tblur: 40,\n\t\t\t\t});\n\t\t\t\timage.alt = backgroundImage.alt = item.title || '';\n\t\t\t\tbackgroundImage.className = 'blurred-background-image';\n\t\t\t\tbackgroundImage.setAttribute('style', `width: 100% !important; height: ${self.height}px; top: 50%; left: 50%; transform: translate(-50%, -50%);`);\n\t\t\t\timage.style.transform = 'translateZ(0)';\n\t\t\t\tslide.setAttribute('style', `vertical-align: middle; overflow: visible;`);\n\t\t\t\tslide.appendChild(backgroundImage);\n\t\t\t\tslide.appendChild(image);\n\t\t\t\tcallback(null, result);\n\t\t\t} else {\n\t\t\t\tcallback(err, null);\n\t\t\t}\n\t\t});\n\t},\n\t_attachEventListeners: function() {\n\t\tlet self = this;\n\t\t// add event listeners to prevent immediate click event after scrolling \n\t\tthis.selector.addEventListener('on.lory.touchmove', function () {\n\t\t\tif (!self.preventClicks) {\n\t\t\t\tself.preventClicks = true;\n\t\t\t}\n\t\t});\n\t\tthis.selector.addEventListener('on.lory.touchend', function () {\n\t\t\tsetTimeout(() => {\n\t\t\t\tself.preventClicks = false;\n\t\t\t}, 0);\n\t\t});\n\t}\n};\n"]} \ No newline at end of file diff --git a/scripts/_bundles/jquery_angular_buildfire_smartcrop.min.js b/scripts/_bundles/jquery_angular_buildfire_smartcrop.min.js index 32179eb0..21ae4969 100644 --- a/scripts/_bundles/jquery_angular_buildfire_smartcrop.min.js +++ b/scripts/_bundles/jquery_angular_buildfire_smartcrop.min.js @@ -4,6 +4,6 @@ !function(e,t){"object"==typeof module&&"object"==typeof module.exports?module.exports=e.document?t(e,!0):function(e){if(!e.document)throw new Error("jQuery requires a window with a document");return t(e)}:t(e)}("undefined"!=typeof window?window:this,function(h,e){function t(e,t){return t.toUpperCase()}var d=[],c=d.slice,m=d.concat,s=d.push,i=d.indexOf,n={},r=n.toString,g=n.hasOwnProperty,v={},o="1.11.2",T=function(e,t){return new T.fn.init(e,t)},a=/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,l=/^-ms-/,u=/-([\da-z])/gi;function f(e){var t=e.length,n=T.type(e);return"function"!==n&&!T.isWindow(e)&&(!(1!==e.nodeType||!t)||"array"===n||0===t||"number"==typeof t&&0>10|55296,1023&r|56320)}function t(){g()}var e,f,x,o,r,p,h,m,w,u,c,g,T,i,v,y,a,s,b,C="sizzle"+ +new Date,N=n.document,E=0,k=0,l=oe(),S=oe(),A=oe(),D=function(e,t){return e===t&&(c=!0),0},j={}.hasOwnProperty,L=[],H=L.pop,q=L.push,_=L.push,M=L.slice,F=function(e,t){for(var n=0,r=e.length;n+~]|"+B+")"+B+"*"),V=new RegExp("="+B+"*([^\\]'\"]*?)"+B+"*\\]","g"),J=new RegExp($),Y=new RegExp("^"+R+"$"),G={ID:new RegExp("^#("+P+")"),CLASS:new RegExp("^\\.("+P+")"),TAG:new RegExp("^("+P.replace("w","w*")+")"),ATTR:new RegExp("^"+W),PSEUDO:new RegExp("^"+$),CHILD:new RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\("+B+"*(even|odd|(([+-]|)(\\d*)n|)"+B+"*(?:([+-]|)"+B+"*(\\d+)|))"+B+"*\\)|)","i"),bool:new RegExp("^(?:"+O+")$","i"),needsContext:new RegExp("^"+B+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\("+B+"*((?:-\\d)?\\d*)"+B+"*\\)|)(?=[^-]|$)","i")},Q=/^(?:input|select|textarea|button)$/i,K=/^h\d$/i,Z=/^[^{]+\{\s*\[native \w/,ee=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,te=/[+~]/,ne=/'|\\/g,re=new RegExp("\\\\([\\da-f]{1,6}"+B+"?|("+B+")|.)","ig");try{_.apply(L=M.call(N.childNodes),N.childNodes),L[N.childNodes.length].nodeType}catch(n){_={apply:L.length?function(e,t){q.apply(e,M.call(t))}:function(e,t){for(var n=e.length,r=0;e[n++]=t[r++];);e.length=n-1}}}function ie(e,t,n,r){var i,o,a,s,l,u,c;if((t?t.ownerDocument||t:N)!==T&&g(t),n=n||[],i=(t=t||T).nodeType,"string"!=typeof e||!e||1!==i&&9!==i&&11!==i)return n;if(!r&&v){if(11!==i&&(u=ee.exec(e)))if(c=u[1]){if(9===i){if(!(s=t.getElementById(c))||!s.parentNode)return n;if(s.id===c)return n.push(s),n}else if(t.ownerDocument&&(s=t.ownerDocument.getElementById(c))&&b(t,s)&&s.id===c)return n.push(s),n}else{if(u[2])return _.apply(n,t.getElementsByTagName(e)),n;if((c=u[3])&&f.getElementsByClassName)return _.apply(n,t.getElementsByClassName(c)),n}if(f.qsa&&(!y||!y.test(e))){if(l=s=C,u=t,c=1!==i&&e,1===i&&"object"!==t.nodeName.toLowerCase()){for(a=p(e),(s=t.getAttribute("id"))?l=s.replace(ne,"\\$&"):t.setAttribute("id",l),l="[id='"+l+"'] ",o=a.length;o--;)a[o]=l+pe(a[o]);u=te.test(e)&&de(t.parentNode)||t,c=a.join(",")}if(c)try{return _.apply(n,u.querySelectorAll(c)),n}catch(e){}finally{s||t.removeAttribute("id")}}}return m(e.replace(I,"$1"),t,n,r)}function oe(){var r=[];return function e(t,n){return r.push(t+" ")>x.cacheLength&&delete e[r.shift()],e[t+" "]=n}}function ae(e){return e[C]=!0,e}function se(e){var t=T.createElement("div");try{return!!e(t)}catch(e){return!1}finally{t.parentNode&&t.parentNode.removeChild(t)}}function le(e,t){for(var n=e.split("|"),r=e.length;r--;)x.attrHandle[n[r]]=t}function ue(e,t){var n=t&&e,r=n&&1===e.nodeType&&1===t.nodeType&&(~t.sourceIndex||1<<31)-(~e.sourceIndex||1<<31);if(r)return r;if(n)for(;n=n.nextSibling;)if(n===t)return-1;return e?1:-1}function ce(a){return ae(function(o){return o=+o,ae(function(e,t){for(var n,r=a([],e.length,o),i=r.length;i--;)e[n=r[i]]&&(e[n]=!(t[n]=e[n]))})})}function de(e){return e&&void 0!==e.getElementsByTagName&&e}for(e in f=ie.support={},r=ie.isXML=function(e){e=e&&(e.ownerDocument||e).documentElement;return!!e&&"HTML"!==e.nodeName},g=ie.setDocument=function(e){var l=e?e.ownerDocument||e:N;return l!==T&&9===l.nodeType&&l.documentElement?(i=(T=l).documentElement,(e=l.defaultView)&&e!==e.top&&(e.addEventListener?e.addEventListener("unload",t,!1):e.attachEvent&&e.attachEvent("onunload",t)),v=!r(l),f.attributes=se(function(e){return e.className="i",!e.getAttribute("className")}),f.getElementsByTagName=se(function(e){return e.appendChild(l.createComment("")),!e.getElementsByTagName("*").length}),f.getElementsByClassName=Z.test(l.getElementsByClassName),f.getById=se(function(e){return i.appendChild(e).id=C,!l.getElementsByName||!l.getElementsByName(C).length}),f.getById?(x.find.ID=function(e,t){if(void 0!==t.getElementById&&v){e=t.getElementById(e);return e&&e.parentNode?[e]:[]}},x.filter.ID=function(e){var t=e.replace(re,d);return function(e){return e.getAttribute("id")===t}}):(delete x.find.ID,x.filter.ID=function(e){var t=e.replace(re,d);return function(e){e=void 0!==e.getAttributeNode&&e.getAttributeNode("id");return e&&e.value===t}}),x.find.TAG=f.getElementsByTagName?function(e,t){return void 0!==t.getElementsByTagName?t.getElementsByTagName(e):f.qsa?t.querySelectorAll(e):void 0}:function(e,t){var n,r=[],i=0,o=t.getElementsByTagName(e);if("*"!==e)return o;for(;n=o[i++];)1===n.nodeType&&r.push(n);return r},x.find.CLASS=f.getElementsByClassName&&function(e,t){return v?t.getElementsByClassName(e):void 0},a=[],y=[],(f.qsa=Z.test(l.querySelectorAll))&&(se(function(e){i.appendChild(e).innerHTML="",e.querySelectorAll("[msallowcapture^='']").length&&y.push("[*^$]="+B+"*(?:''|\"\")"),e.querySelectorAll("[selected]").length||y.push("\\["+B+"*(?:value|"+O+")"),e.querySelectorAll("[id~="+C+"-]").length||y.push("~="),e.querySelectorAll(":checked").length||y.push(":checked"),e.querySelectorAll("a#"+C+"+*").length||y.push(".#.+[+~]")}),se(function(e){var t=l.createElement("input");t.setAttribute("type","hidden"),e.appendChild(t).setAttribute("name","D"),e.querySelectorAll("[name=d]").length&&y.push("name"+B+"*[*^$|!~]?="),e.querySelectorAll(":enabled").length||y.push(":enabled",":disabled"),e.querySelectorAll("*,:x"),y.push(",.*:")})),(f.matchesSelector=Z.test(s=i.matches||i.webkitMatchesSelector||i.mozMatchesSelector||i.oMatchesSelector||i.msMatchesSelector))&&se(function(e){f.disconnectedMatch=s.call(e,"div"),s.call(e,"[s!='']:x"),a.push("!=",$)}),y=y.length&&new RegExp(y.join("|")),a=a.length&&new RegExp(a.join("|")),e=Z.test(i.compareDocumentPosition),b=e||Z.test(i.contains)?function(e,t){var n=9===e.nodeType?e.documentElement:e,t=t&&t.parentNode;return e===t||!(!t||1!==t.nodeType||!(n.contains?n.contains(t):e.compareDocumentPosition&&16&e.compareDocumentPosition(t)))}:function(e,t){if(t)for(;t=t.parentNode;)if(t===e)return!0;return!1},D=e?function(e,t){return e===t?(c=!0,0):(n=!e.compareDocumentPosition-!t.compareDocumentPosition)||(1&(n=(e.ownerDocument||e)===(t.ownerDocument||t)?e.compareDocumentPosition(t):1)||!f.sortDetached&&t.compareDocumentPosition(e)===n?e===l||e.ownerDocument===N&&b(N,e)?-1:t===l||t.ownerDocument===N&&b(N,t)?1:u?F(u,e)-F(u,t):0:4&n?-1:1);var n}:function(e,t){if(e===t)return c=!0,0;var n,r=0,i=e.parentNode,o=t.parentNode,a=[e],s=[t];if(!i||!o)return e===l?-1:t===l?1:i?-1:o?1:u?F(u,e)-F(u,t):0;if(i===o)return ue(e,t);for(n=e;n=n.parentNode;)a.unshift(n);for(n=t;n=n.parentNode;)s.unshift(n);for(;a[r]===s[r];)r++;return r?ue(a[r],s[r]):a[r]===N?-1:s[r]===N?1:0},l):T},ie.matches=function(e,t){return ie(e,null,null,t)},ie.matchesSelector=function(e,t){if((e.ownerDocument||e)!==T&&g(e),t=t.replace(V,"='$1']"),!(!f.matchesSelector||!v||a&&a.test(t)||y&&y.test(t)))try{var n=s.call(e,t);if(n||f.disconnectedMatch||e.document&&11!==e.document.nodeType)return n}catch(e){}return 0":{dir:"parentNode",first:!0}," ":{dir:"parentNode"},"+":{dir:"previousSibling",first:!0},"~":{dir:"previousSibling"}},preFilter:{ATTR:function(e){return e[1]=e[1].replace(re,d),e[3]=(e[3]||e[4]||e[5]||"").replace(re,d),"~="===e[2]&&(e[3]=" "+e[3]+" "),e.slice(0,4)},CHILD:function(e){return e[1]=e[1].toLowerCase(),"nth"===e[1].slice(0,3)?(e[3]||ie.error(e[0]),e[4]=+(e[4]?e[5]+(e[6]||1):2*("even"===e[3]||"odd"===e[3])),e[5]=+(e[7]+e[8]||"odd"===e[3])):e[3]&&ie.error(e[0]),e},PSEUDO:function(e){var t,n=!e[6]&&e[2];return G.CHILD.test(e[0])?null:(e[3]?e[2]=e[4]||e[5]||"":n&&J.test(n)&&(t=p(n,!0))&&(t=n.indexOf(")",n.length-t)-n.length)&&(e[0]=e[0].slice(0,t),e[2]=n.slice(0,t)),e.slice(0,3))}},filter:{TAG:function(e){var t=e.replace(re,d).toLowerCase();return"*"===e?function(){return!0}:function(e){return e.nodeName&&e.nodeName.toLowerCase()===t}},CLASS:function(e){var t=l[e+" "];return t||(t=new RegExp("(^|"+B+")"+e+"("+B+"|$)"))&&l(e,function(e){return t.test("string"==typeof e.className&&e.className||void 0!==e.getAttribute&&e.getAttribute("class")||"")})},ATTR:function(t,n,r){return function(e){e=ie.attr(e,t);return null==e?"!="===n:!n||(e+="","="===n?e===r:"!="===n?e!==r:"^="===n?r&&0===e.indexOf(r):"*="===n?r&&-1(?:<\/\1>|)$/,x=/^.[^:#\[\.,]*$/;function w(e,n,r){if(T.isFunction(n))return T.grep(e,function(e,t){return!!n.call(e,t,e)!==r});if(n.nodeType)return T.grep(e,function(e){return e===n!==r});if("string"==typeof n){if(x.test(n))return T.filter(n,e,r);n=T.filter(n,e)}return T.grep(e,function(e){return 0<=T.inArray(e,n)!==r})}T.filter=function(e,t,n){var r=t[0];return n&&(e=":not("+e+")"),1===t.length&&1===r.nodeType?T.find.matchesSelector(r,e)?[r]:[]:T.find.matches(e,T.grep(t,function(e){return 1===e.nodeType}))},T.fn.extend({find:function(e){var t,n=[],r=this,i=r.length;if("string"!=typeof e)return this.pushStack(T(e).filter(function(){for(t=0;t)[^>]*|#([\w-]*))$/;(T.fn.init=function(e,t){var n,r;if(!e)return this;if("string"!=typeof e)return e.nodeType?(this.context=this[0]=e,this.length=1,this):T.isFunction(e)?void 0!==E.ready?E.ready(e):e(T):(void 0!==e.selector&&(this.selector=e.selector,this.context=e.context),T.makeArray(e,this));if(!(n="<"===e.charAt(0)&&">"===e.charAt(e.length-1)&&3<=e.length?[null,e,null]:N.exec(e))||!n[1]&&t)return(!t||t.jquery?t||E:this.constructor(t)).find(e);if(n[1]){if(t=t instanceof T?t[0]:t,T.merge(this,T.parseHTML(n[1],t&&t.nodeType?t.ownerDocument||t:C,!0)),b.test(n[1])&&T.isPlainObject(t))for(n in t)T.isFunction(this[n])?this[n](t[n]):this.attr(n,t[n]);return this}if((r=C.getElementById(n[2]))&&r.parentNode){if(r.id!==n[2])return E.find(e);this.length=1,this[0]=r}return this.context=C,this.selector=e,this}).prototype=T.fn;var E=T(C),k=/^(?:parents|prev(?:Until|All))/,S={children:!0,contents:!0,next:!0,prev:!0};function A(e,t){for(;(e=e[t])&&1!==e.nodeType;);return e}T.extend({dir:function(e,t,n){for(var r=[],i=e[t];i&&9!==i.nodeType&&(void 0===n||1!==i.nodeType||!T(i).is(n));)1===i.nodeType&&r.push(i),i=i[t];return r},sibling:function(e,t){for(var n=[];e;e=e.nextSibling)1===e.nodeType&&e!==t&&n.push(e);return n}}),T.fn.extend({has:function(e){var t,n=T(e,this),r=n.length;return this.filter(function(){for(t=0;t
a",v.leadingWhitespace=3===t.firstChild.nodeType,v.tbody=!t.getElementsByTagName("tbody").length,v.htmlSerialize=!!t.getElementsByTagName("link").length,v.html5Clone="<:nav>"!==C.createElement("nav").cloneNode(!0).outerHTML,e.type="checkbox",e.checked=!0,n.appendChild(e),v.appendChecked=e.checked,t.innerHTML="",v.noCloneChecked=!!t.cloneNode(!0).lastChild.defaultValue,n.appendChild(t),t.innerHTML="",v.checkClone=t.cloneNode(!0).cloneNode(!0).lastChild.checked,v.noCloneEvent=!0,t.attachEvent&&(t.attachEvent("onclick",function(){v.noCloneEvent=!1}),t.cloneNode(!0).click()),null==v.deleteExpando){v.deleteExpando=!0;try{delete t.test}catch(e){v.deleteExpando=!1}}}(),function(){var e,t,n=C.createElement("div");for(e in{submit:!0,change:!0,focusin:!0})t="on"+e,(v[e+"Bubbles"]=t in h)||(n.setAttribute(t,"t"),v[e+"Bubbles"]=!1===n.attributes[t].expando)}();var V=/^(?:input|select|textarea)$/i,J=/^key/,Y=/^(?:mouse|pointer|contextmenu)|click/,G=/^(?:focusinfocus|focusoutblur)$/,Q=/^([^.]*)(?:\.(.+)|)$/;function K(){return!0}function Z(){return!1}function ee(){try{return C.activeElement}catch(e){}}function te(e){var t=ne.split("|"),n=e.createDocumentFragment();if(n.createElement)for(;t.length;)n.createElement(t.pop());return n}T.event={global:{},add:function(e,t,n,r,i){var o,a,s,l,u,c,d,f,p,h=T._data(e);if(h)for(n.handler&&(n=(s=n).handler,i=s.selector),n.guid||(n.guid=T.guid++),(o=h.events)||(o=h.events={}),(u=h.handle)||((u=h.handle=function(e){return typeof T==M||e&&T.event.triggered===e.type?void 0:T.event.dispatch.apply(u.elem,arguments)}).elem=e),a=(t=(t||"").match(j)||[""]).length;a--;)d=p=(c=Q.exec(t[a])||[])[1],f=(c[2]||"").split(".").sort(),d&&(l=T.event.special[d]||{},d=(i?l.delegateType:l.bindType)||d,l=T.event.special[d]||{},c=T.extend({type:d,origType:p,data:r,handler:n,guid:n.guid,selector:i,needsContext:i&&T.expr.match.needsContext.test(i),namespace:f.join(".")},s),(p=o[d])||((p=o[d]=[]).delegateCount=0,l.setup&&!1!==l.setup.call(e,r,f,u)||(e.addEventListener?e.addEventListener(d,u,!1):e.attachEvent&&e.attachEvent("on"+d,u))),l.add&&(l.add.call(e,c),c.handler.guid||(c.handler.guid=n.guid)),i?p.splice(p.delegateCount++,0,c):p.push(c),T.event.global[d]=!0)},remove:function(e,t,n,r,i){var o,a,s,l,u,c,d,f,p,h,m,g=T.hasData(e)&&T._data(e);if(g&&(c=g.events)){for(u=(t=(t||"").match(j)||[""]).length;u--;)if(p=m=(s=Q.exec(t[u])||[])[1],h=(s[2]||"").split(".").sort(),p){for(d=T.event.special[p]||{},f=c[p=(r?d.delegateType:d.bindType)||p]||[],s=s[2]&&new RegExp("(^|\\.)"+h.join("\\.(?:.*\\.|)")+"(\\.|$)"),l=o=f.length;o--;)a=f[o],!i&&m!==a.origType||n&&n.guid!==a.guid||s&&!s.test(a.namespace)||r&&r!==a.selector&&("**"!==r||!a.selector)||(f.splice(o,1),a.selector&&f.delegateCount--,d.remove&&d.remove.call(e,a));l&&!f.length&&(d.teardown&&!1!==d.teardown.call(e,h,g.handle)||T.removeEvent(e,p,g.handle),delete c[p])}else for(p in c)T.event.remove(e,p+t[u],n,r,!0);T.isEmptyObject(c)&&(delete g.handle,T._removeData(e,"events"))}},trigger:function(e,t,n,r){var i,o,a,s,l,u,c=[n||C],d=g.call(e,"type")?e.type:e,f=g.call(e,"namespace")?e.namespace.split("."):[],p=l=n=n||C;if(3!==n.nodeType&&8!==n.nodeType&&!G.test(d+T.event.triggered)&&(0<=d.indexOf(".")&&(d=(f=d.split(".")).shift(),f.sort()),o=d.indexOf(":")<0&&"on"+d,(e=e[T.expando]?e:new T.Event(d,"object"==typeof e&&e)).isTrigger=r?2:3,e.namespace=f.join("."),e.namespace_re=e.namespace?new RegExp("(^|\\.)"+f.join("\\.(?:.*\\.|)")+"(\\.|$)"):null,e.result=void 0,e.target||(e.target=n),t=null==t?[e]:T.makeArray(t,[e]),s=T.event.special[d]||{},r||!s.trigger||!1!==s.trigger.apply(n,t))){if(!r&&!s.noBubble&&!T.isWindow(n)){for(a=s.delegateType||d,G.test(a+d)||(p=p.parentNode);p;p=p.parentNode)c.push(p),l=p;l===(n.ownerDocument||C)&&c.push(l.defaultView||l.parentWindow||h)}for(u=0;(p=c[u++])&&!e.isPropagationStopped();)e.type=1]","i"),oe=/^\s+/,ae=/<(?!area|br|col|embed|hr|img|input|link|meta|param)(([\w:]+)[^>]*)\/>/gi,se=/<([\w:]+)/,le=/\s*$/g,me={option:[1,""],legend:[1,"
","
"],area:[1,"",""],param:[1,"",""],thead:[1,"","
"],tr:[2,"","
"],col:[2,"","
"],td:[3,"","
"],_default:v.htmlSerialize?[0,"",""]:[1,"X
","
"]},ge=te(C).appendChild(C.createElement("div"));function ve(e,t){var n,r,i=0,o=typeof e.getElementsByTagName!=M?e.getElementsByTagName(t||"*"):typeof e.querySelectorAll!=M?e.querySelectorAll(t||"*"):void 0;if(!o)for(o=[],n=e.childNodes||e;null!=(r=n[i]);i++)!t||T.nodeName(r,t)?o.push(r):T.merge(o,ve(r,t));return void 0===t||t&&T.nodeName(e,t)?T.merge([e],o):o}function ye(e){U.test(e.type)&&(e.defaultChecked=e.checked)}function be(e,t){return T.nodeName(e,"table")&&T.nodeName(11!==t.nodeType?t:t.firstChild,"tr")?e.getElementsByTagName("tbody")[0]||e.appendChild(e.ownerDocument.createElement("tbody")):e}function xe(e){return e.type=(null!==T.find.attr(e,"type"))+"/"+e.type,e}function we(e){var t=pe.exec(e.type);return t?e.type=t[1]:e.removeAttribute("type"),e}function Te(e,t){for(var n,r=0;null!=(n=e[r]);r++)T._data(n,"globalEval",!t||T._data(t[r],"globalEval"))}function Ce(e,t){if(1===t.nodeType&&T.hasData(e)){var n,r,i,o=T._data(e),e=T._data(t,o),a=o.events;if(a)for(n in delete e.handle,e.events={},a)for(r=0,i=a[n].length;r")?o=e.cloneNode(!0):(ge.innerHTML=e.outerHTML,ge.removeChild(o=ge.firstChild)),!(v.noCloneEvent&&v.noCloneChecked||1!==e.nodeType&&11!==e.nodeType||T.isXMLDoc(e)))for(r=ve(o),s=ve(e),a=0;null!=(i=s[a]);++a)r[a]&&function(e,t){var n,r,i;if(1===t.nodeType){if(n=t.nodeName.toLowerCase(),!v.noCloneEvent&&t[T.expando]){for(r in(i=T._data(t)).events)T.removeEvent(t,r,i.handle);t.removeAttribute(T.expando)}"script"===n&&t.text!==e.text?(xe(t).text=e.text,we(t)):"object"===n?(t.parentNode&&(t.outerHTML=e.outerHTML),v.html5Clone&&e.innerHTML&&!T.trim(t.innerHTML)&&(t.innerHTML=e.innerHTML)):"input"===n&&U.test(e.type)?(t.defaultChecked=t.checked=e.checked,t.value!==e.value&&(t.value=e.value)):"option"===n?t.defaultSelected=t.selected=e.defaultSelected:"input"!==n&&"textarea"!==n||(t.defaultValue=e.defaultValue)}}(i,r[a]);if(t)if(n)for(s=s||ve(e),r=r||ve(o),a=0;null!=(i=s[a]);a++)Ce(i,r[a]);else Ce(e,o);return 0<(r=ve(o,"script")).length&&Te(r,!l&&ve(e,"script")),r=s=i=null,o},buildFragment:function(e,t,n,r){for(var i,o,a,s,l,u,c,d=e.length,f=te(t),p=[],h=0;h")+c[2],i=c[0];i--;)s=s.lastChild;if(!v.leadingWhitespace&&oe.test(o)&&p.push(t.createTextNode(oe.exec(o)[0])),!v.tbody)for(i=(o="table"!==l||le.test(o)?""!==c[1]||le.test(o)?0:s:s.firstChild)&&o.childNodes.length;i--;)T.nodeName(u=o.childNodes[i],"tbody")&&!u.childNodes.length&&o.removeChild(u);for(T.merge(p,s.childNodes),s.textContent="";s.firstChild;)s.removeChild(s.firstChild);s=f.lastChild}else p.push(t.createTextNode(o));for(s&&f.removeChild(s),v.appendChecked||T.grep(ve(p,"input"),ye),h=0;o=p[h++];)if((!r||-1===T.inArray(o,r))&&(a=T.contains(o.ownerDocument,o),s=ve(f.appendChild(o),"script"),a&&Te(s),n))for(i=0;o=s[i++];)fe.test(o.type||"")&&n.push(o);return s=null,f},cleanData:function(e,t){for(var n,r,i,o,a=0,s=T.expando,l=T.cache,u=v.deleteExpando,c=T.event.special;null!=(n=e[a]);a++)if((t||T.acceptData(n))&&(o=(i=n[s])&&l[i])){if(o.events)for(r in o.events)c[r]?T.event.remove(n,r):T.removeEvent(n,r,o.handle);l[i]&&(delete l[i],u?delete n[s]:typeof n.removeAttribute!=M?n.removeAttribute(s):n[s]=null,d.push(i))}}}),T.fn.extend({text:function(e){return X(this,function(e){return void 0===e?T.text(this):this.empty().append((this[0]&&this[0].ownerDocument||C).createTextNode(e))},null,e,arguments.length)},append:function(){return this.domManip(arguments,function(e){1!==this.nodeType&&11!==this.nodeType&&9!==this.nodeType||be(this,e).appendChild(e)})},prepend:function(){return this.domManip(arguments,function(e){var t;1!==this.nodeType&&11!==this.nodeType&&9!==this.nodeType||(t=be(this,e)).insertBefore(e,t.firstChild)})},before:function(){return this.domManip(arguments,function(e){this.parentNode&&this.parentNode.insertBefore(e,this)})},after:function(){return this.domManip(arguments,function(e){this.parentNode&&this.parentNode.insertBefore(e,this.nextSibling)})},remove:function(e,t){for(var n,r=e?T.filter(e,this):this,i=0;null!=(n=r[i]);i++)t||1!==n.nodeType||T.cleanData(ve(n)),n.parentNode&&(t&&T.contains(n.ownerDocument,n)&&Te(ve(n,"script")),n.parentNode.removeChild(n));return this},empty:function(){for(var e,t=0;null!=(e=this[t]);t++){for(1===e.nodeType&&T.cleanData(ve(e,!1));e.firstChild;)e.removeChild(e.firstChild);e.options&&T.nodeName(e,"select")&&(e.options.length=0)}return this},clone:function(e,t){return e=null!=e&&e,t=null==t?e:t,this.map(function(){return T.clone(this,e,t)})},html:function(e){return X(this,function(e){var t=this[0]||{},n=0,r=this.length;if(void 0===e)return 1===t.nodeType?t.innerHTML.replace(re,""):void 0;if(!("string"!=typeof e||ce.test(e)||!v.htmlSerialize&&ie.test(e)||!v.leadingWhitespace&&oe.test(e)||me[(se.exec(e)||["",""])[1].toLowerCase()])){e=e.replace(ae,"<$1>");try{for(;n")).appendTo(t.documentElement))[0].contentWindow||Ne[0].contentDocument).document).write(),t.close(),n=Se(e,t),Ne.detach()),ke[e]=n),n}v.shrinkWrapBlocks=function(){return null!=Ee?Ee:(Ee=!1,(t=C.getElementsByTagName("body")[0])&&t.style?(e=C.createElement("div"),(n=C.createElement("div")).style.cssText="position:absolute;border:0;width:0;height:0;top:0;left:-9999px",t.appendChild(n).appendChild(e),typeof e.style.zoom!=M&&(e.style.cssText="-webkit-box-sizing:content-box;-moz-box-sizing:content-box;box-sizing:content-box;display:block;margin:0;border:0;padding:1px;width:1px;zoom:1",e.appendChild(C.createElement("div")).style.width="5px",Ee=3!==e.offsetWidth),t.removeChild(n),Ee):void 0);var e,t,n};var De,je,Le,He,qe,_e,Me=/^margin/,Fe=new RegExp("^("+z+")(?!px)[a-z%]+$","i"),Oe=/^(top|right|bottom|left)$/;function Be(t,n){return{get:function(){var e=t();if(null!=e)return e?void delete this.get:(this.get=n).apply(this,arguments)}}}function Pe(){var e,t,n,r;(t=C.getElementsByTagName("body")[0])&&t.style&&(e=C.createElement("div"),(n=C.createElement("div")).style.cssText="position:absolute;border:0;width:0;height:0;top:0;left:-9999px",t.appendChild(n).appendChild(e),e.style.cssText="-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;display:block;margin-top:1%;top:1%;border:1px;padding:1px;width:4px;position:absolute",Le=He=!1,_e=!0,h.getComputedStyle&&(Le="1%"!==(h.getComputedStyle(e,null)||{}).top,He="4px"===(h.getComputedStyle(e,null)||{width:"4px"}).width,(r=e.appendChild(C.createElement("div"))).style.cssText=e.style.cssText="-webkit-box-sizing:content-box;-moz-box-sizing:content-box;box-sizing:content-box;display:block;margin:0;border:0;padding:0",r.style.marginRight=r.style.width="0",e.style.width="1px",_e=!parseFloat((h.getComputedStyle(r,null)||{}).marginRight),e.removeChild(r)),e.innerHTML="
t
",(r=e.getElementsByTagName("td"))[0].style.cssText="margin:0;border:0;padding:0;display:none",(qe=0===r[0].offsetHeight)&&(r[0].style.display="",r[1].style.display="none",qe=0===r[0].offsetHeight),t.removeChild(n))}h.getComputedStyle?(De=function(e){return(e.ownerDocument.defaultView.opener?e.ownerDocument.defaultView:h).getComputedStyle(e,null)},je=function(e,t,n){var r,i=e.style,o=(n=n||De(e))?n.getPropertyValue(t)||n[t]:void 0;return n&&(""!==o||T.contains(e.ownerDocument,e)||(o=T.style(e,t)),Fe.test(o)&&Me.test(t)&&(r=i.width,e=i.minWidth,t=i.maxWidth,i.minWidth=i.maxWidth=i.width=o,o=n.width,i.width=r,i.minWidth=e,i.maxWidth=t)),void 0===o?o:o+""}):C.documentElement.currentStyle&&(De=function(e){return e.currentStyle},je=function(e,t,n){var r,i,o,a=e.style;return null==(o=(n=n||De(e))?n[t]:void 0)&&a&&a[t]&&(o=a[t]),Fe.test(o)&&!Oe.test(t)&&(r=a.left,(n=(i=e.runtimeStyle)&&i.left)&&(i.left=e.currentStyle.left),a.left="fontSize"===t?"1em":o,o=a.pixelLeft+"px",a.left=r,n&&(i.left=n)),void 0===o?o:o+""||"auto"}),(nt=C.createElement("div")).innerHTML="
a",(rt=(rt=nt.getElementsByTagName("a")[0])&&rt.style)&&(rt.cssText="float:left;opacity:.5",v.opacity="0.5"===rt.opacity,v.cssFloat=!!rt.cssFloat,nt.style.backgroundClip="content-box",nt.cloneNode(!0).style.backgroundClip="",v.clearCloneStyle="content-box"===nt.style.backgroundClip,v.boxSizing=""===rt.boxSizing||""===rt.MozBoxSizing||""===rt.WebkitBoxSizing,T.extend(v,{reliableHiddenOffsets:function(){return null==qe&&Pe(),qe},boxSizingReliable:function(){return null==He&&Pe(),He},pixelPosition:function(){return null==Le&&Pe(),Le},reliableMarginRight:function(){return null==_e&&Pe(),_e}})),T.swap=function(e,t,n,r){var i,o={};for(i in t)o[i]=e.style[i],e.style[i]=t[i];for(i in r=n.apply(e,r||[]),t)e.style[i]=o[i];return r};var Re=/alpha\([^)]*\)/i,We=/opacity\s*=\s*([^)]*)/,$e=/^(none|table(?!-c[ea]).+)/,ze=new RegExp("^("+z+")(.*)$","i"),Ie=new RegExp("^([+-])=("+z+")","i"),Xe={position:"absolute",visibility:"hidden",display:"block"},Ue={letterSpacing:"0",fontWeight:"400"},Ve=["Webkit","O","Moz","ms"];function Je(e,t){if(t in e)return t;for(var n=t.charAt(0).toUpperCase()+t.slice(1),r=t,i=Ve.length;i--;)if((t=Ve[i]+n)in e)return t;return r}function Ye(e,t){for(var n,r,i,o=[],a=0,s=e.length;a
a",p=o.getElementsByTagName("a")[0],rt=(nt=C.createElement("select")).appendChild(C.createElement("option")),z=o.getElementsByTagName("input")[0],p.style.cssText="top:1px",v.getSetAttribute="t"!==o.className,v.style=/top/.test(p.getAttribute("style")),v.hrefNormalized="/a"===p.getAttribute("href"),v.checkOn=!!z.value,v.optSelected=rt.selected,v.enctype=!!C.createElement("form").enctype,nt.disabled=!0,v.optDisabled=!rt.disabled,(z=C.createElement("input")).setAttribute("value",""),v.input=""===z.getAttribute("value"),z.value="t",z.setAttribute("type","radio"),v.radioValue="t"===z.value;var pt=/\r/g;T.fn.extend({val:function(t){var n,e,r,i=this[0];return arguments.length?(r=T.isFunction(t),this.each(function(e){1===this.nodeType&&(null==(e=r?t.call(this,e,T(this).val()):t)?e="":"number"==typeof e?e+="":T.isArray(e)&&(e=T.map(e,function(e){return null==e?"":e+""})),(n=T.valHooks[this.type]||T.valHooks[this.nodeName.toLowerCase()])&&"set"in n&&void 0!==n.set(this,e,"value")||(this.value=e))})):i?(n=T.valHooks[i.type]||T.valHooks[i.nodeName.toLowerCase()])&&"get"in n&&void 0!==(e=n.get(i,"value"))?e:"string"==typeof(e=i.value)?e.replace(pt,""):null==e?"":e:void 0}}),T.extend({valHooks:{option:{get:function(e){var t=T.find.attr(e,"value");return null!=t?t:T.trim(T.text(e))}},select:{get:function(e){for(var t,n=e.options,r=e.selectedIndex,i="select-one"===e.type||r<0,o=i?null:[],a=i?r+1:n.length,s=r<0?a:i?r:0;s").append(T.parseHTML(e)).find(r):e)}).complete(n&&function(e,t){a.each(n,i||[e.responseText,t,e])}),this},T.each(["ajaxStart","ajaxStop","ajaxComplete","ajaxError","ajaxSuccess","ajaxSend"],function(e,t){T.fn[t]=function(e){return this.on(t,e)}}),T.expr.filters.animated=function(t){return T.grep(T.timers,function(e){return t===e.elem}).length};var Qt=h.document.documentElement;function Kt(e){return T.isWindow(e)?e:9===e.nodeType&&(e.defaultView||e.parentWindow)}T.offset={setOffset:function(e,t,n){var r,i,o,a,s=T.css(e,"position"),l=T(e),u={};"static"===s&&(e.style.position="relative"),o=l.offset(),r=T.css(e,"top"),a=T.css(e,"left"),a=("absolute"===s||"fixed"===s)&&-1").append(t).html();try{return t[0].nodeType===Tn?cn(e):e.match(/^(<[^>]+>)/)[1].replace(/^<([\w\-]+)/,function(t,e){return"<"+cn(e)})}catch(t){return cn(e)}}function o(t){try{return decodeURIComponent(t)}catch(t){}}function a(t){var e,n,r={};return ot((t||"").split("&"),function(t){t&&(e=t.replace(/\+/g,"%20").split("="),H(n=o(e[0]))&&(t=!H(e[1])||o(e[1]),ln.call(r,n)?bn(r[n])?r[n].push(t):r[n]=[r[n],t]:r[n]=t))}),r}function g(t){var n=[];return ot(t,function(t,e){bn(t)?ot(t,function(t){n.push(S(e,!0)+(!0===t?"":"="+S(t,!0)))}):n.push(S(e,!0)+(!0===t?"":"="+S(t,!0)))}),n.length?n.join("&"):""}function w(t){return S(t,!0).replace(/%26/gi,"&").replace(/%3D/gi,"=").replace(/%2B/gi,"+")}function S(t,e){return encodeURIComponent(t).replace(/%40/gi,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%3B/gi,";").replace(/%20/g,e?"%20":"+")}function t(n,t){var r,i,e={};ot(An,function(t){t+="app",!r&&n.hasAttribute&&n.hasAttribute(t)&&(i=(r=n).getAttribute(t))}),ot(An,function(t){var e;t+="app",!r&&(e=n.querySelector("["+t.replace(":","\\:")+"]"))&&(i=(r=e).getAttribute(t))}),r&&(e.strictDi=null!==function(t,e){var n,r,i=An.length;for(t=on(t),r=0;r/,">"))}return(n=n||[]).unshift(["$provide",function(t){t.value("$rootElement",e)}]),r.debugInfoEnabled&&n.push(["$compileProvider",function(t){t.debugInfoEnabled(!0)}]),n.unshift("ng"),(t=St(n,r.strictDi)).invoke(["$rootScope","$rootElement","$compile","$injector",function(t,e,n,r){t.$apply(function(){e.data("$injector",r),n(e)(t)})}]),t}var t=/^NG_ENABLE_DEBUG_INFO!/,o=/^NG_DEFER_BOOTSTRAP!/;if(u&&t.test(u.name)&&(r.debugInfoEnabled=!0,u.name=u.name.replace(t,"")),u&&!o.test(u.name))return i();u.name=u.name.replace(o,""),vn.resumeBootstrap=function(t){return ot(t,function(t){n.push(t)}),i()},ct(vn.resumeDeferredBootstrap)&&vn.resumeDeferredBootstrap()}function j(){u.name="NG_ENABLE_DEBUG_INFO!"+u.name,u.location.reload()}function P(t){if(!(t=vn.element(t).injector()))throw mn("test");return t.get("$$testability")}function $t(t,n){return n=n||"_",t.replace(kn,function(t,e){return(e?n:"")+t.toLowerCase()})}function pt(t,e,n){if(!t)throw mn("areq",e||"?",n||"required");return t}function R(t,e,n){return pt(ct(t=n&&bn(t)?t[t.length-1]:t),e,"not a function, got "+(t&&"object"==typeof t?t.constructor.name||"Object":typeof t)),t}function _(t,e){if("hasOwnProperty"===t)throw mn("badname",e)}function I(t,e,n){if(!e)return t;for(var r,i=t,o=(e=e.split(".")).length,a=0;a")+r[2],r=r[0];r--;)n=n.lastChild;o=k(o,n.childNodes),(n=i.firstChild).textContent=""}else o.push(e.createTextNode(t));return i.textContent="",i.innerHTML="",ot(o,function(t){i.appendChild(t)}),i}function z(t){if(t instanceof z)return t;var e,n;if(ut(t)&&(t=xn(t),n=!0),!(this instanceof z)){if(n&&"<"!=t.charAt(0))throw Rn("nosel");return new z(t)}n&&(n=rt,t=(e=In.exec(t))?[n.createElement(e[1])]:(e=B(t,n))?e.childNodes:[]),tt(this,t)}function mt(t){return t.cloneNode(!0)}function G(t,e){if(e||J(t),t.querySelectorAll)for(var n=t.querySelectorAll("*"),r=0,i=n.length;r 4096 bytes)!")},l.defer=function(t,e){var n;return m++,n=i(function(){delete d[n],r(t)},e||0),d[n]=!0,n},l.defer.cancel=function(t){return!!d[t]&&(delete d[t],p(t),r(V),!0)}}function Et(){this.$get=["$window","$log","$sniffer","$document",function(t,e,n,r){return new kt(t,r,e,n)}]}function Ot(){this.$get=function(){function t(t,e){function n(t){t!=c&&(l?l==t&&(l=t.n):l=t,r(t.n,t.p),r(t,c),(c=t).n=null)}function r(t,e){t!=e&&(t&&(t.p=e),e&&(e.n=t))}if(t in f)throw C("$cacheFactory")("iid",t);var i=0,o=T({},e,{id:t}),a={},s=e&&e.capacity||Number.MAX_VALUE,u={},c=null,l=null;return f[t]={put:function(t,e){if(s").parent()[0])});var s=H(a,t,a,e,n,r);F.$$addScopeClass(a);var u=null;return function(t,e,n){pt(t,"scope");var r=(n=n||{}).parentBoundTranscludeFn,i=n.transcludeControllers;if(n=n.futureParentElement,r&&r.$$boundTransclude&&(r=r.$$boundTransclude),n="html"!==(u=u||((n=n&&n[0])&&"foreignobject"!==M(n)&&n.toString().match(/SVG/)?"svg":"html"))?on(K(u,on("
").append(a).html())):e?_n.clone.call(a):a,i)for(var o in i)n.data("$"+o+"Controller",i[o].instance);return F.$$addScopeInfo(n,t),e&&e(n,t),s&&s(t,n,n,r),n}}function H(t,l,e,n,r,i){for(var o,a,s,u,f,h=[],c=0;cO.priority)break;if((V=O.scope)&&(O.templateUrl||(st(V)?(Z("new/isolated scope",x||s,O,p),x=O):Z("new/isolated scope",x,O,p)),s=s||O),u=O.name,!O.templateUrl&&O.controller&&(V=O.controller,Z("'"+u+"' controller",(b=b||{})[u],O,p),b[u]=O),(V=O.transclude)&&(h=!0,O.$$tlb||(Z("transclusion",f,O,p),f=O),A="element"==V?(C=!0,l=O.priority,V=p,p=m.$$element=on(rt.createComment(" "+u+": "+m[u]+" ")),d=p[0],Y(n,hn.call(V,0),d),F(V,e,l,r&&r.name,{nonTlbTranscludeDirective:f})):(V=on(mt(d)).contents(),p.empty(),F(V,e))),O.template)if($=!0,Z("template",S,O,p),V=ct((S=O).template)?O.template(p,m):O.template,V=et(V),O.replace){if(r=O,V=qn.test(V)?Dt(K(O.templateNamespace,xn(V))):[],d=V[0],1!=V.length||d.nodeType!==On)throw tr("tplrt",u,"");Y(n,p,d);var V=L(d,[],E={$attr:{}}),N=t.splice(k+1,t.length-(k+1));x&&W(V),t=t.concat(V).concat(N),J(m,E),E=t.length}else p.html(V);if(O.templateUrl)$=!0,Z("template",S,O,p),(S=O).replace&&(r=O),a=function(s,u,c,l,f,h,$,p){var d,m,v=[],g=u[0],y=s.shift(),w=at(y,{templateUrl:null,transclude:null,replace:null,$$originalDirective:y}),b=ct(y.templateUrl)?y.templateUrl(u,c):y.templateUrl,x=y.templateNamespace;return u.empty(),P(q.getTrustedResourceUrl(b)).then(function(t){var n;if(t=et(t),y.replace){if(t=qn.test(t)?Dt(K(x,xn(t))):[],n=t[0],1!=t.length||n.nodeType!==On)throw tr("tplrt",y.name,b);t={$attr:{}},Y(l,u,n);var e=L(n,[],t);st(y.scope)&&W(e),s=e.concat(s),J(c,t)}else n=g,u.html(t);for(s.unshift(w),d=G(s,n,c,f,u,y,h,$,p),ot(l,function(t,e){t==n&&(l[e]=u[0])}),m=H(u[0].childNodes,f);v.length;){t=v.shift();var r,i=v.shift(),o=v.shift(),a=v.shift(),e=u[0];t.$$destroyed||(i!==g&&(r=i.className,p.hasElementTranscludeDirective&&y.replace||(e=mt(n)),Y(o,on(i),e),U(on(e),r)),i=d.transcludeOnThisElement?_(t,d.transclude,a):a,d(m,t,e,l,i))}v=null}),function(t,e,n,r,i){t=i,e.$$destroyed||(v?v.push(e,n,r,t):(d.transcludeOnThisElement&&(t=_(e,d.transclude,i)),d(m,e,n,r,t)))}}(t.splice(k,t.length-k),p,m,n,h&&A,v,g,{controllerDirectives:b,newIsolateScopeDirective:x,templateDirective:S,nonTlbTranscludeDirective:f}),E=t.length;else if(O.compile)try{ct(c=O.compile(p,m,A))?o(null,c,T,M):c&&o(c.pre,c.post,T,M)}catch(t){j(t,ht(p))}O.terminal&&(a.terminal=!0,l=Math.max(l,O.priority))}return a.scope=s&&!0===s.scope,a.transcludeOnThisElement=h,a.elementTranscludeOnThisElement=C,a.templateOnThisElement=$,a.transclude=A,i.hasElementTranscludeDirective=C,a}function W(t){for(var e=0,n=t.length;es.priority)&&-1!=s.restrict.indexOf(n)&&(o&&(s=at(s,{$$start:o,$$end:a})),t.push(s),i=s)}catch(t){j(t)}return i}}function J(n,r){var i=r.$attr,o=n.$attr,a=n.$$element;ot(n,function(t,e){"$"!=e.charAt(0)&&(r[e]&&r[e]!==t&&(t+=("style"===e?";":" ")+r[e]),n.$set(e,t,!0,i[e]))}),ot(r,function(t,e){"class"==e?(U(a,t),n.class=(n.class?n.class+" ":"")+t):"style"==e?(a.attr("style",a.attr("style")+";"+t),n.style=(n.style?n.style+";":"")+t):"$"==e.charAt(0)||n.hasOwnProperty(e)||(n[e]=t,o[e]=i[e])})}function b(t,e){var n=e.priority-t.priority;return 0!=n?n:t.name!==e.name?t.name"+e+"",n.childNodes[0].childNodes;default:return e}}function Y(t,e,n){var r,i=e[0],o=e.length,a=i.parentNode;if(t)for(r=0,s=t.length;ri+1?t=0:(s=l,c=!0)),c)0=h+$)for(f=c.length-h,o=0;o=l},n.$observe("min",function(t){l=u(t),r.$validate()})),(H(n.max)||n.ngMax)&&(r.$validators.max=function(t){return!s(t)||F(f)||d(t)<=f},n.$observe("max",function(t){f=u(t),r.$validate()}))}}function Qe(t,n,e,r){(r.$$hasNativeValidators=st(n[0].validity))&&r.$parsers.push(function(t){var e=n.prop("validity")||{};return e.badInput&&!e.typeMismatch?it:t})}function tn(t,e,n,r,i){if(H(r)){if(!(t=t(r)).constant)throw C("ngModel")("constexpr",n,r);return t(e)}return i}function en(n,h){return n="ngClass"+n,["$animate",function(c){function l(t,e){var n=[],r=0;t:for(;r(?:<\/\1>|)$/,qn=/<|&#?\w+;/,Un=/<([\w:]+)/,Fn=/<(?!area|br|col|embed|hr|img|input|link|meta|param)(([\w:]+)[^>]*)\/>/gi,Hn={option:[1,'"],thead:[1,"","
"],col:[2,"","
"],tr:[2,"","
"],td:[3,"","
"],_default:[0,"",""]};Hn.optgroup=Hn.option,Hn.tbody=Hn.tfoot=Hn.colgroup=Hn.caption=Hn.thead,Hn.th=Hn.td;var _n=z.prototype={ready:function(t){function e(){n||(n=!0,t())}var n=!1;"complete"===rt.readyState?setTimeout(e):(this.on("DOMContentLoaded",e),z(u).on("load",e))},toString:function(){var e=[];return ot(this,function(t){e.push(""+t)}),"["+e.join(", ")+"]"},eq:function(t){return on(0<=t?this[t]:this[this.length+t])},length:0,push:pn,sort:[].sort,splice:[].splice},Ln={};ot("multiple selected checked disabled readOnly required open".split(" "),function(t){Ln[cn(t)]=t});var Bn={};ot("input select option textarea button form details".split(" "),function(t){Bn[t]=!0});var zn={ngMinlength:"minlength",ngMaxlength:"maxlength",ngMin:"min",ngMax:"max",ngPattern:"pattern"};function Gn(t,e){if(F(e)){var n=t.nodeType;return n===On||n===Tn?t.textContent:""}t.textContent=e}ot({data:K,removeData:J},function(t,e){z[e]=t}),ot({data:K,inheritedData:nt,scope:function(t){return on.data(t,"$scope")||nt(t.parentNode||t,["$isolateScope","$scope"])},isolateScope:function(t){return on.data(t,"$isolateScope")||on.data(t,"$isolateScopeNoTemplate")},controller:et,injector:function(t){return nt(t,"$injector")},removeAttr:function(t,e){t.removeAttribute(e)},hasClass:Y,css:function(t,e,n){if(e=U(e),!H(n))return t.style[e];t.style[e]=n},attr:function(t,e,n){var r=cn(e);if(Ln[r]){if(!H(n))return t[e]||(t.attributes.getNamedItem(e)||V).specified?r:it;n?(t[e]=!0,t.setAttribute(e,r)):(t[e]=!1,t.removeAttribute(r))}else if(H(n))t.setAttribute(e,n);else if(t.getAttribute)return null===(t=t.getAttribute(e,2))?it:t},prop:function(t,e,n){if(!H(n))return t[e];t[e]=n},text:(Gn.$dv="",Gn),val:function(t,e){if(F(e)){if(t.multiple&&"select"===M(t)){var n=[];return ot(t.options,function(t){t.selected&&n.push(t.value||t.text)}),0===n.length?null:n}return t.value}t.value=e},html:function(t,e){if(F(e))return t.innerHTML;G(t,!0),t.innerHTML=e},empty:vt},function(a,t){z.prototype[t]=function(t,e){var n,r=this.length;if(a!==vt&&(2==a.length&&a!==Y&&a!==et?t:e)===it){if(st(t)){for(o=0;o":function(t,e,n,r){return n(t,e)>r(t,e)},"<=":function(t,e,n,r){return n(t,e)<=r(t,e)},">=":function(t,e,n,r){return n(t,e)>=r(t,e)},"&&":function(t,e,n,r){return n(t,e)&&r(t,e)},"||":function(t,e,n,r){return n(t,e)||r(t,e)},"!":function(t,e,n){return!n(t,e)},"=":!0,"|":!0}),yr={n:"\n",f:"\f",r:"\r",t:"\t",v:"\v","'":"'",'"':'"'},wr=function(t){this.options=t};wr.prototype={constructor:wr,lex:function(t){for(this.text=t,this.index=0,this.tokens=[];this.indext){var o=(t=this.tokens[t]).text;if(o===e||o===n||o===r||o===i||!(e||n||r||i))return t}return!1},expect:function(t,e,n,r){return!!(t=this.peek(t,e,n,r))&&(this.tokens.shift(),t)},consume:function(t){if(0===this.tokens.length)throw $r("ueoe",this.text);var e=this.expect(t);return e||this.throwError("is unexpected, expecting ["+t+"]",this.peek()),e},unaryFn:function(t,n){var r=gr[t];return T(function(t,e){return r(t,e,n)},{constant:n.constant,inputs:[n]})},binaryFn:function(n,t,r,e){var i=gr[t];return T(function(t,e){return i(t,e,n,r)},{constant:n.constant&&r.constant,inputs:!e&&[n,r]})},identifier:function(){for(var t=this.consume().text;this.peek(".")&&this.peekAhead(1).identifier&&!this.peekAhead(2,"(");)t+=this.consume().text+this.consume().text;return $e(t,this.options,this.text)},constant:function(){var t=this.consume().value;return T(function(){return t},{constant:!0,literal:!0})},statements:function(){for(var o=[];;)if(0","<=",">=");)e=this.binaryFn(e,t.text,this.additive());return e},additive:function(){for(var t,e=this.multiplicative();t=this.expect("+","-");)e=this.binaryFn(e,t.text,this.multiplicative());return e},multiplicative:function(){for(var t,e=this.unary();t=this.expect("*","/","%");)e=this.binaryFn(e,t.text,this.unary());return e},unary:function(){var t;return this.expect("+")?this.primary():(t=this.expect("-"))?this.binaryFn(br.ZERO,t.text,this.unary()):(t=this.expect("!"))?this.unaryFn(t.text,this.unary()):this.primary()},fieldAccess:function(i){var o=this.identifier();return T(function(t,e,n){return null==(t=n||i(t,e))?it:o(t)},{assign:function(t,e,n){var r=i(t,n);return r||i.assign(t,r={},n),o.assign(r,e)}})},objectIndex:function(o){var a=this.text,s=this.expression();return this.consume("]"),T(function(t,e){var n=o(t,e),e=s(t,e);return se(e,a),n?ue(n[e],a):it},{assign:function(t,e,n){var r=se(s(t,n),a),i=ue(o(t,n),a);return i||o.assign(t,i={},n),i[r]=e}})},functionCall:function(o,a){var s=[];if(")"!==this.peekToken().text)for(;s.push(this.expression()),this.expect(","););this.consume(")");var u=this.text,c=s.length?[]:null;return function(t,e){var n=a?a(t,e):H(a)?it:t,r=o(t,e,n)||V;if(c)for(var i=s.length;i--;)c[i]=ue(s[i](t,e),u);if(ue(n,u),r){if(r.constructor===r)throw $r("isecfn",u);if(r===pr||r===dr||r===mr)throw $r("isecff",u)}return n=r.apply?r.apply(n,c):r(c[0],c[1],c[2],c[3],c[4]),c&&(c.length=0),ue(n,u)}},arrayDeclaration:function(){var o=[];if("]"!==this.peekToken().text)for(;!this.peek("]")&&(o.push(this.expression()),this.expect(",")););return this.consume("]"),T(function(t,e){for(var n=[],r=0,i=o.length;r=i})}}}var di,mi=["$animate",function(u){return{multiElement:!0,transclude:"element",priority:600,terminal:!0,restrict:"A",$$tlb:!0,link:function(t,n,r,e,i){var o,a,s;t.$watch(r.ngIf,function(t){t?a||i(function(t,e){a=e,t[t.length++]=rt.createComment(" end ngIf: "+r.ngIf+" "),o={clone:t},u.enter(t,n.parent(),n)}):(s&&(s.remove(),s=null),a&&(a.$destroy(),a=null),o&&(s=q(o.clone),u.leave(s).then(function(){s=null}),o=null))})}}}],vi=["$templateRequest","$anchorScroll","$animate","$sce",function(d,m,v,r){return{restrict:"ECA",priority:400,terminal:!0,transclude:"element",controller:vn.noop,compile:function(t,e){var n=e.ngInclude||e.src,$=e.onload||"",p=e.autoscroll;return function(o,a,t,s,u){function c(){e&&(e.remove(),e=null),l&&(l.$destroy(),l=null),f&&(v.leave(f).then(function(){e=null}),e=f,f=null)}var l,e,f,h=0;o.$watch(r.parseAsResourceUrl(n),function(n){function r(){!H(p)||p&&!o.$eval(p)||m()}var i=++h;n?(d(n,!0).then(function(t){var e;i===h&&(e=o.$new(),s.template=t,t=u(e,function(t){c(),v.enter(t,null,a).then(r)}),f=t,(l=e).$emit("$includeContentLoaded",n),o.$eval($))},function(){i===h&&(c(),o.$emit("$includeContentError",n))}),o.$emit("$includeContentRequested",n)):(c(),s.template=null)})}}}}],gi=["$compile",function(i){return{restrict:"ECA",priority:-400,require:"ngInclude",link:function(t,e,n,r){/SVG/.test(e[0].toString())?(e.empty(),i(B(r.template,rt).childNodes)(t,function(t){e.append(t)},{futureParentElement:e})):(e.html(r.template),i(e.contents())(t))}}}],yi=We({priority:450,compile:function(){return{pre:function(t,e,n){t.$eval(n.ngInit)}}}}),wi="ng-valid",bi="ng-invalid",xi="ng-pristine",Si="ng-dirty",Ci="ng-pending",Ai=new C("ngModel"),ki=["$scope","$exceptionHandler","$attrs","$element","$parse","$animate","$timeout","$rootScope","$q","$interpolate",function(i,e,o,a,s,t,r,u,l,n){this.$modelValue=this.$viewValue=Number.NaN,this.$$rawModelValue=it,this.$validators={},this.$asyncValidators={},this.$parsers=[],this.$formatters=[],this.$viewChangeListeners=[],this.$untouched=!0,this.$touched=!1,this.$pristine=!0,this.$dirty=!1,this.$valid=!0,this.$invalid=!1,this.$error={},this.$$success={},this.$pending=it,this.$name=n(o.name||"",!1)(i);var f,c=s(o.ngModel),h=c.assign,$=c,p=h,d=null,m=this;this.$$setOptions=function(t){if((m.$options=t)&&t.getterSetter){var n=s(o.ngModel+"()"),r=s(o.ngModel+"($$$p)");$=function(t){var e=c(t);return e=ct(e)?n(t):e},p=function(t,e){ct(c(t))?r(t,{$$$p:m.$modelValue}):h(t,m.$modelValue)}}else if(!c.assign)throw Ai("nonassign",o.ngModel,ht(a))},this.$render=V,this.$isEmpty=function(t){return F(t)||""===t||null===t||t!=t};var v=a.inheritedData("$formController")||Ir,g=0;nn({ctrl:this,$element:a,set:function(t,e){t[e]=!0},unset:function(t,e){delete t[e]},parentForm:v,$animate:t}),this.$setPristine=function(){m.$dirty=!1,m.$pristine=!0,t.removeClass(a,Si),t.addClass(a,xi)},this.$setDirty=function(){m.$dirty=!0,m.$pristine=!1,t.removeClass(a,xi),t.addClass(a,Si),v.$setDirty()},this.$setUntouched=function(){m.$touched=!1,m.$untouched=!0,t.setClass(a,"ng-untouched","ng-touched")},this.$setTouched=function(){m.$touched=!0,m.$untouched=!1,t.setClass(a,"ng-touched","ng-untouched")},this.$rollbackViewValue=function(){r.cancel(d),m.$viewValue=m.$$lastCommittedViewValue,m.$render()},this.$validate=function(){var e,n,r,i;y(m.$modelValue)&&isNaN(m.$modelValue)||(e=m.$$rawModelValue,n=m.$valid,r=m.$modelValue,i=m.$options&&m.$options.allowInvalid,m.$$runValidators(e,m.$$lastCommittedViewValue,function(t){i||n===t||(m.$modelValue=t?e:it,m.$modelValue!==r&&m.$$writeModelToScope())}))},this.$$runValidators=function(n,r,e){function i(t,e){c===g&&m.$setValidity(t,e)}function t(t){c===g&&e(t)}var o,a,s,u,c=++g;u=m.$$parserName||"parse",(f!==it?(f||(ot(m.$validators,function(t,e){i(e,null)}),ot(m.$asyncValidators,function(t,e){i(e,null)})),i(u,f),f):(i(u,null),1))?(s=!0,ot(m.$validators,function(t,e){t=t(n,r);s=s&&t,i(e,t)}),s||(ot(m.$asyncValidators,function(t,e){i(e,null)}),0)?(o=[],a=!0,ot(m.$asyncValidators,function(t,e){t=t(n,r);if(!t||!ct(t.then))throw Ai("$asyncValidators",t);i(e,it),o.push(t.then(function(){i(e,!0)},function(t){i(e,a=!1)}))}),o.length?l.all(o).then(function(){t(a)},V):t(!0)):t(!1)):t(!1)},this.$commitViewValue=function(){var t=m.$viewValue;r.cancel(d),(m.$$lastCommittedViewValue!==t||""===t&&m.$$hasNativeValidators)&&(m.$$lastCommittedViewValue=t,m.$pristine&&this.$setDirty(),this.$$parseAndValidate())},this.$$parseAndValidate=function(){var e=m.$$lastCommittedViewValue;if(f=!F(e)||it)for(var t=0;to;)w($,(t=f.pop()).label,!1),t.element.remove()}for(;T.length>n;){for(e=T.pop(),o=1;o@charset "UTF-8";[ng\\:cloak],[ng-cloak],[data-ng-cloak],[x-ng-cloak],.ng-cloak,.x-ng-cloak,.ng-hide:not(.ng-hide-animate){display:none !important;}ng\\:form{display:block;}'); -function Packet(e,t,n){this.id=e||(new Date).toISOString()+Math.random(),this.cmd=t,this.data=n,this.instanceId=null}var buildfire={isFileServer:function(e){return-1!==e.indexOf("s3.amazonaws.com")},isWidget:function(){return 0{i.queue.forEach(e=>{e&&e(t)}),i.loaded=!0,i.queue=[]}))},loadScript:function({url:t,scriptId:e},n=Function()){let i=document.getElementById(e);var a=document.getElementsByTagName("script");if(i||Array.from(a).some(e=>e.src.includes(t.replaceAll("../",""))))return n();const r=document.head||document.body;i=document.createElement("script"),i.id=e||"",i.type="text/javascript",i.src=t,i.onload=n,i.onerror=function(){n(new Error("failed to load script component")),console.error("failed to load script component")},r.appendChild(i)},ratingSystem:{inject:function(){var e,t,n,i;void 0!==buildfire&&(void 0===buildfire.components||void 0===buildfire.components.ratingSystem?(t=function(e){var t=document.head||document.body,n=document.createElement("link");n.rel="stylesheet",n.type="text/css",n.href="../../../scripts/buildfire/components/ratingSystem/index.min.css",t.appendChild(n);const i=t.querySelector("meta[charset]");i&&i.getAttribute("charset").toLowerCase().includes("utf-8")||console.warn("UTF-8 charset is required for ratingSystem to function properly"),buildfire.components.ratingSystem.injectRatings({isFromWysiwyg:!0})},function(e){for(;e.includes("../");)e=e.replace("../","");for(var t=document.getElementsByTagName("script"),n=0;n{.9<=Math.random()&&buildfire.logger.log({message:e.message,level:"error",category:"BrowserJsException",exception:{colno:e.colno,lineno:e.lineno,message:e.message,stack:e.error&&e.error.stack?e.error&&e.error.stack:"n/a",url:e.filename}}),t("Error: "+e.message," Script: "+e.filename," Line: "+e.lineno," Column: "+e.colno,(e.error,e.error.stack?e.error&&e.error.stack:"n/a"))})},log:function(n,i){n&&"object"==typeof n||(n={}),buildfire.getContext((e,t)=>{n.context||(n.context={}),n.context.pluginId=t?.pluginId,n.context.instanceId=t?.instanceId,n.context.pluginTitle=t?.title,n.tags||(n.tags=[]),n.tags.push("sdkAndPlugins");t=new Packet(null,"logger.log",n);buildfire._sendPacket(t,i)})}},_callbacks:{},parseQueryString:function(e){for(var t=(e||window.location.search.substring(1)).split("&"),n=new Object,i=0;i{return e?console.error(e):void(t&&"sdk"===t.scope?(n=(e,t)=>{var n,i;e&&console.error(e),window.pluginJson=t,buildfire._cssInjection.handleCssLayoutInjection(t),t&&t.control&&t.control.language&&t.control.language.enabled&&(n=(e,t)=>{e&&console.error(e),window.pluginLanguageJson=t,buildfire.language.handleLanguageSettings(window.pluginJson,t)},i=`../${t.control.language.languageJsonPath}`,fetch(i).then(e=>e.json()).then(e=>{n(null,e)}).catch(e=>{n(e,null)}))},t=`../plugin.json?v=${(new Date).getTime()}`,fetch(t).then(e=>e.json()).then(e=>{n(null,e)}).catch(e=>{n(e,null)})):document.write('