From fcda8db872ce82562ce5a87a69f7e75f854deb78 Mon Sep 17 00:00:00 2001 From: Matthias Vogel Date: Mon, 2 Jun 2025 19:18:30 +0200 Subject: [PATCH] [BUGFIX] add debounce to edit tab for better usability --- .../Molecule/EditFixtures/EditFixtures.js | 12 +++++------- .../StyleguideToolbar/StyleguideToolbar.html | 2 +- .../StyleguideToolbar/StyleguideToolbar.scss | 17 ----------------- Resources/Private/Javascript/Utils.js | 11 ++++++++++- Resources/Public/Css/Styleguide.min.css | 6 +++--- Resources/Public/Css/Styleguide.min.css.map | 2 +- Resources/Public/Javascript/Iframe.min.js | 2 +- Resources/Public/Javascript/Iframe.min.js.map | 2 +- Resources/Public/Javascript/Styleguide.min.js | 2 +- .../Public/Javascript/Styleguide.min.js.map | 2 +- 10 files changed, 24 insertions(+), 34 deletions(-) diff --git a/Resources/Private/Components/Molecule/EditFixtures/EditFixtures.js b/Resources/Private/Components/Molecule/EditFixtures/EditFixtures.js index 5b64474..ad524f9 100644 --- a/Resources/Private/Components/Molecule/EditFixtures/EditFixtures.js +++ b/Resources/Private/Components/Molecule/EditFixtures/EditFixtures.js @@ -1,4 +1,4 @@ -import {register, findAll, find} from '../../../Javascript/Utils'; +import {register, findAll, find, debounce} from '../../../Javascript/Utils'; const EditFixtures = el => { @@ -7,18 +7,16 @@ const EditFixtures = el => { const checkboxes = findAll('.editFixturesCheckbox', el); inputs.forEach((input) => { - input.addEventListener('input', ()=>{ + input.addEventListener('input', debounce(()=>{ form.submit(); - - }) + })) }); checkboxes.forEach((checkbox) => { - checkbox.addEventListener('change', ()=>{ + checkbox.addEventListener('change', debounce(()=>{ form.submit(); - }) + })) }); - }; register('EditFixtures', EditFixtures); diff --git a/Resources/Private/Components/Organism/StyleguideToolbar/StyleguideToolbar.html b/Resources/Private/Components/Organism/StyleguideToolbar/StyleguideToolbar.html index d10bd4c..1b756ef 100644 --- a/Resources/Private/Components/Organism/StyleguideToolbar/StyleguideToolbar.html +++ b/Resources/Private/Components/Organism/StyleguideToolbar/StyleguideToolbar.html @@ -46,7 +46,7 @@ -
+
EDIT
diff --git a/Resources/Private/Components/Organism/StyleguideToolbar/StyleguideToolbar.scss b/Resources/Private/Components/Organism/StyleguideToolbar/StyleguideToolbar.scss index f09e141..4c0a3b4 100644 --- a/Resources/Private/Components/Organism/StyleguideToolbar/StyleguideToolbar.scss +++ b/Resources/Private/Components/Organism/StyleguideToolbar/StyleguideToolbar.scss @@ -122,23 +122,6 @@ } } - &.betaSign { - - &::after { - content: 'Beta'; - position: absolute; - transform: rotate(42deg); - right: -33px; - top: -16px; - font-size: 10px; - background: $red; - padding: 1px; - color: $white; - width: 48px; - padding-left: 100px; - } - } - &:hover { svg { fill: $highlight; diff --git a/Resources/Private/Javascript/Utils.js b/Resources/Private/Javascript/Utils.js index 57f68bb..fba01f7 100644 --- a/Resources/Private/Javascript/Utils.js +++ b/Resources/Private/Javascript/Utils.js @@ -7,8 +7,17 @@ const register = (name, component) => { }) } +const debounce = (func, timeout = 300) => { + let timer; + return (...args) => { + clearTimeout(timer); + timer = setTimeout(() => { func.apply(this, args); }, timeout); + }; +} + export { find, findAll, - register + register, + debounce, } diff --git a/Resources/Public/Css/Styleguide.min.css b/Resources/Public/Css/Styleguide.min.css index be98aff..6332547 100644 --- a/Resources/Public/Css/Styleguide.min.css +++ b/Resources/Public/Css/Styleguide.min.css @@ -1,5 +1,5 @@ @charset "UTF-8"; -/*!*********************************************************************************************************************************************************************************************************************************************************!*\ - !*** css ./node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[0].use[1]!./node_modules/postcss-loader/dist/cjs.js??ruleSet[1].rules[0].use[2]!./node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[0].use[3]!./Resources/Private/Scss/Main.scss ***! - \*********************************************************************************************************************************************************************************************************************************************************/.fluidStyleguideList{margin-left:auto;margin-right:auto;margin-top:120px;max-width:1200px}.fluidStyleguideList strong{font-weight:700}.fluidStyleguideList .fluidStyleguideTitle{color:#222425;font-family:var(--styleguide-font-family);font-size:40px;margin-bottom:16px}.fluidStyleguideList .fluidStyleguideIntro{font-family:var(--styleguide-font-family);line-height:1.7;padding-bottom:64px}.fluidStyleguideList .fluidStyleguideIntro a{color:inherit}.fluidStyleguideList .fluidStyleguideIntro p{max-width:60em}.fluidStyleguideList .fluidStyleguideIntro:after{border:solid #000;border-width:1px 0;bottom:-30px;content:"";display:block;height:3px;left:0;position:relative;right:0}.fluidStyleguideList .fluidStyleguidePackageName{color:#222425;font-family:var(--styleguide-font-family);font-size:32px;margin-bottom:40px}.fluidStyleguideList .fluidStyleguideComponentName{color:#222425;font-family:var(--styleguide-font-family);font-size:24px}.fluidStyleguideList .fluidStyleguidePackageItem{margin-bottom:60px;padding-bottom:60px}.fluidStyleguideList .fluidStyleguideComponent{border:0;display:block;height:200px;transition:width .6s;width:100%}.fluidStyleguideList .fluidStyleguideListIframeWrapper{margin-bottom:10px}.fluidStyleguideList .breakPoint{background-image:repeating-linear-gradient(45deg,#fff,#fff 2.2%,#e8e8e8 0,#d6d6d6 0,#fff 2.5%)}.fluidStyleguideList .fluidStyleguideComponentVariants:last-child .fluidStyleguideComponentExample:last-child{border-bottom:0;margin-bottom:0;padding-bottom:0}.fluidStyleguideList .fluidStyleguideComponentExample{border-bottom:1px solid #222425;margin-bottom:60px;padding-bottom:60px}.fluidStyleguideList .fluidStyleguideBtn{background:#222425;color:#fff;display:inline-block;font-family:var(--styleguide-font-family);font-size:14px;padding:16px 53px 18px 30px;position:relative;text-align:center}.fluidStyleguideList .fluidStyleguideBtn:hover{color:var(--styleguide-highlight-color)}.fluidStyleguideList .fluidStyleguideBtn span{position:relative}.fluidStyleguideList .fluidStyleguideBtn span:after{speak:none;color:var(--styleguide-highlight-color);content:"›";font-family:verdana,sans-serif;font-size:24px;font-style:normal;font-variant:normal;font-weight:400;height:0;line-height:1;position:absolute;right:-15px;text-transform:none;top:-4px;width:0}.fluidStyleguideShow{bottom:16px;left:0;position:fixed;right:0;top:55px}.fluidStyleguideShow .fluidStyleguideComponent{border:0;height:100%;transition:width .6s;width:100%}.styleguideHeader{align-items:center;background:#222425;display:flex;font-family:var(--styleguide-font-family);left:0;position:fixed;right:0;top:0;z-index:99999}.styleguideHeader .componentNavigation .styleguideSelectSelected{position:relative}.styleguideHeader .componentNavigation .styleguideSelectSelected:before{speak:none;color:var(--styleguide-highlight-color);content:"›";font-family:verdana,sans-serif;font-size:24px;font-style:normal;font-variant:normal;font-weight:400;height:0;line-height:1;position:absolute;right:24px;text-transform:none;top:15px;width:0}.styleguideHeader .examplesNavigation{margin-left:-7px;width:50%}.styleguideHeader .examplesNavigation svg{fill:var(--styleguide-highlight-color);display:none;height:26px;margin-left:-24px;width:26px}.styleguideHeader .backLink{align-items:center;border-left:1px solid var(--styleguide-highlight-color);color:#fff;display:flex;font-size:13px;height:100%;margin-left:13px;padding-left:50px;position:relative;text-decoration:none}.styleguideHeader .backLink:before,.styleguideHeader .backLink:hover{color:var(--styleguide-highlight-color)}.styleguideHeader .backLink:before{speak:none;content:"‹";font-family:verdana,sans-serif;font-size:24px;font-style:normal;font-variant:normal;font-weight:400;height:0;left:23px;line-height:1;position:absolute;text-transform:none;top:16px;width:0}.styleguideHeader .actions{align-items:center;display:flex;height:56px;margin:0 24px 0 auto}.styleguideRefreshIFrame button{background-color:#222425;border:1px solid #fff;color:#fff;cursor:pointer;font-size:14px;padding:5px 10px}.styleguideRefreshIFrame button:hover{background-color:var(--styleguide-highlight-color)}.styleguideRefreshIFrame button:focus{outline:none}.styleguideSelect{font-family:var(--styleguide-font-family);width:100%}.styleguideSelect datalist{display:block}.styleguideSelect select{left:-999999px;position:absolute}.styleguideSelect.hasIcon .styleguideSelectSelected:after{speak:none;color:var(--styleguide-highlight-color);content:"›";font-family:fluid-styleguide;font-size:38px;font-style:normal;font-variant:normal;font-weight:400;height:0;line-height:1;position:absolute;right:56px;text-transform:none;top:9px;width:0}.styleguideSelect.hasIcon .styleguideSelectSelected.styleguideSelectArrowActive:after{content:"\e911"}.styleguideSelectFocus{border-color:#fff;color:#fff}.styleguideSelectItems div,.styleguideSelectSelected{align-items:center;border-bottom:1px solid #212121;color:#fff;cursor:pointer;display:flex;font-family:var(--styleguide-font-family);font-size:13px;height:55px;padding:0 24px}.styleguideSelectItems div.styleguideSelectEqualSelected,.styleguideSelectSelected.styleguideSelectEqualSelected{background-color:#222425;border-color:#1b1919;color:var(--styleguide-highlight-color)}.styleguideSelectItems div.styleguideSelectArrowActive,.styleguideSelectSelected.styleguideSelectArrowActive{color:#fff}.styleguideSelectSelected{background:#222425;border-color:transparent;color:#fff;cursor:pointer}.styleguideSelectSelected:hover{color:var(--styleguide-highlight-color)}.styleguideSelect input[type=text]{background-color:transparent;border:0;color:#fff;cursor:pointer;font-family:var(--styleguide-font-family);font-size:13px;outline:none;padding:0;width:100%}.styleguideSelect input[type=text]:focus,.styleguideSelect input[type=text]:hover{color:var(--styleguide-highlight-color)}.styleguideSelect input[type=text]::-moz-placeholder{color:#757575;font-size:13px}.styleguideSelect input[type=text]:-ms-input-placeholder{color:#757575;font-size:13px}.styleguideSelect input[type=text]::placeholder{color:#757575;font-size:13px}.styleguideSelectItems{background-color:#2b2f31;cursor:pointer;height:0;left:0;max-height:617px!important;overflow:auto;position:absolute;right:0;transform:scaleY(0);transform-origin:top;transition:transform .15s ease-out;z-index:9999}.styleguideSelectItems.selectPositionedTop{border-bottom:0}.styleguideSelectItems::-webkit-scrollbar{width:8px}.styleguideSelectItems::-webkit-scrollbar-thumb{background-color:var(--styleguide-highlight-color)}.styleguideSelectItems.styleguideSelectOpened{border-top:1px solid #1b1919;height:auto;transform:scaleY(1);transform-origin:top;transition:transform .15s ease-out}.styleguideSelectHide{display:none}.styleguideSelectActive,.styleguideSelectItems div:hover{color:var(--styleguide-highlight-color)!important;transition:color .25s ease}.styleguideSelect.orientationBottom .styleguideSelectItems{transform-origin:bottom}.styleguideSelectInputLabel{left:-99999px;padding:0 16px;position:absolute;top:-99999px}.styleguideScrollTop{bottom:0;position:fixed;width:100%}.styleguideScrollTop div{display:none}.styleguideScrollTop.active div{background:#222425;border:2px solid #222425;cursor:pointer;display:block;height:50px;margin:auto;width:50px}.styleguideScrollTop.active div:before{speak:none;color:var(--styleguide-highlight-color);content:"›";display:block;font-family:verdana,sans-serif;font-size:34px;font-style:normal;font-variant:normal;font-weight:400;left:-2px;line-height:1;padding-left:0;padding-top:0;position:relative;text-transform:none;top:-7px;transform:rotate(-90deg)}.viewportNavigation{align-items:center;color:#fff;display:flex;font-size:13px;height:100%;list-style:none}.viewportNavigation:hover .dropdownContent{display:block}.viewportNavigation .dropdownLabel{border:0;color:var(--styleguide-highlight-color);cursor:pointer;margin:0 16px;padding:16px 0}.viewportNavigation .dropdownContent{background-color:#222425;display:none;min-width:82px;padding:0 16px 16px;position:absolute;top:43px;z-index:1}.viewportNavigation .dropdownContent:hover{display:block}.viewportNavigation .dropdownContent li{color:#fff;cursor:pointer;list-style:none;margin-top:16px;text-decoration:none}.viewportNavigation .dropdownContent li:last-child{margin-bottom:0}.viewportNavigation .dropdownContent li.rulerOption.activeRulerOption,.viewportNavigation .dropdownContent li:hover{color:var(--styleguide-highlight-color)}.languageNavigation{align-items:center;color:#fff;display:flex;font-size:13px;height:100%;list-style:none}.languageNavigation:hover .dropdownContent{display:block}.languageNavigation .dropdownLabel{border:0;color:var(--styleguide-highlight-color);cursor:pointer;margin:0 16px;padding:16px 0}.languageNavigation .dropdownContent{background-color:#222425;display:none;min-width:82px;padding:0 16px 16px;position:absolute;top:43px;z-index:1}.languageNavigation .dropdownContent:hover{display:block}.languageNavigation .dropdownContent li{color:#fff;cursor:pointer;list-style:none;margin-top:16px;text-decoration:none}.languageNavigation .dropdownContent li:last-child{margin-bottom:0}.languageNavigation .dropdownContent li.rulerOption.activeRulerOption,.languageNavigation .dropdownContent li:hover{color:var(--styleguide-highlight-color)}.editFixtures .editFixturesFixtureFormItem{margin-bottom:24px}.editFixtures .editFixturesFixtureFormItem:last-child{margin-bottom:0}.editFixtures .editFixturesInput{background:#fff;border:2px solid #222425;color:#222425;font-size:14px;font-style:normal;font-weight:400;letter-spacing:0;line-height:24px;padding:10px;width:300px}.editFixtures .editFixturesInput:focus{border-color:#222425;color:#222425;outline:0}.editFixtures .editFixturesLabelContainer{margin-bottom:6px}.editFixtures .editFixturesLabelContainer label{display:block;margin-bottom:0}.editFixtures .editFixturesLabelContainer .editFixturesLabelDescription{font-size:10px}.editFixtures .editFixturesCheckboxContainer{cursor:pointer;display:block;font-size:22px;height:25px;margin-bottom:12px;padding-left:35px;position:relative;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;width:24px}.editFixtures .editFixturesCheckboxContainer input{cursor:pointer;height:0;opacity:0;position:absolute;width:0}.editFixtures .editFixturesCheckboxCheckmark{background-color:#fff;height:24px;left:0;position:absolute;top:3px;width:24px}.editFixtures .editFixturesCheckboxContainer input:checked~.editFixturesCheckboxCheckmark{background-color:#fff}.editFixtures .editFixturesCheckboxCheckmark:after{content:"";display:none;position:absolute}.editFixtures .editFixturesCheckboxContainer input:checked~.editFixturesCheckboxCheckmark:after{display:block}.editFixtures .editFixturesCheckboxContainer .editFixturesCheckboxCheckmark:after{border:solid var(--styleguide-highlight-color);border-width:0 3px 3px 0;height:13px;left:8px;top:3px;transform:rotate(45deg);width:5px}.styleguideToolbar{background-color:#222425;color:#fff;font-family:var(--styleguide-font-family);font-size:13px;position:fixed;transition:bottom .25s ease 0s;width:100%;z-index:3}.styleguideToolbar .toolbarTop{align-items:center;display:flex;height:16px;justify-content:center}.styleguideToolbar .toolbarBot{position:relative}.styleguideToolbar .toolbarOpener{background:#222425;border-radius:10%;cursor:pointer;height:54px;position:relative;top:0;width:50px;z-index:-2}.styleguideToolbar .toolbarOpener:before{speak:none;color:var(--styleguide-highlight-color);content:"›";font-family:verdana,sans-serif;font-size:24px;font-style:normal;font-variant:normal;font-weight:400;height:0;left:12px;line-height:1;position:absolute;text-transform:none;top:19px;transform:rotate(-90deg);width:0}.styleguideToolbar .toolbarOpener:hover{color:var(--styleguide-highlight-color)}.styleguideToolbar .toolbarRuler{cursor:pointer}.styleguideToolbar .toolbarRuler svg{margin-left:15px;position:relative;top:-3px}.styleguideToolbar .toolbarRuler:hover{color:var(--styleguide-highlight-color)}.styleguideToolbar.open{bottom:0!important}.styleguideToolbar.open .toolbarOpener:before{left:38px;top:8px;transform:rotate(90deg)}.styleguideToolbar.open .toolbarTabs{display:block}.styleguideToolbar.open .toolbarBot{top:-16px}.styleguideToolbar .toolbarTabs{position:relative}.styleguideToolbar .toolbarTabs .tabNav{display:flex}.styleguideToolbar .toolbarTabs .tabNav .tabOpener{align-items:center;background:#2b2f31;border-right:2px solid #222425;color:#fff;cursor:pointer;display:flex;height:54px;justify-content:center;overflow:hidden;position:relative;transition:background-color .25s ease;width:150px}.styleguideToolbar .toolbarTabs .tabNav .tabOpener svg{fill:#fff;height:28px;width:28px}.styleguideToolbar .toolbarTabs .tabNav .tabOpener.active{background:#222425;color:var(--styleguide-highlight-color)}.styleguideToolbar .toolbarTabs .tabNav .tabOpener.active svg{fill:var(--styleguide-highlight-color)}.styleguideToolbar .toolbarTabs .tabNav .tabOpener.betaSign:after{background:#ff8080;color:#fff;content:"Beta";font-size:10px;padding:1px 1px 1px 100px;position:absolute;right:-33px;top:-16px;transform:rotate(42deg);width:48px}.styleguideToolbar .toolbarTabs .tabNav .tabOpener:hover svg{fill:var(--styleguide-highlight-color)}.styleguideToolbar .toolbarTabs .tabContent{color:#fff;display:none;font-family:SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace;font-size:1em;max-height:200px;overflow-y:scroll;padding:32px 32px 16px}.styleguideToolbar .toolbarTabs .tabContent a{color:var(--styleguide-highlight-color)}.styleguideToolbar .toolbarTabs .tabContent>:first-child{margin-top:0}.styleguideToolbar .toolbarTabs .tabContent::-webkit-scrollbar{width:8px}.styleguideToolbar .toolbarTabs .tabContent::-webkit-scrollbar-thumb{background-color:var(--styleguide-highlight-color)}.styleguideToolbar .toolbarTabs .tabContent.active{display:block}.styleguideToolbar .toolbarTabs .tabContent .downloadZip{color:#fff;text-decoration:underline}.styleguideToolbar .toolbarTabs .tabContent .downloadZip:hover{color:var(--styleguide-highlight-color)}.styleguideToolbar .componentArguments{overflow:auto}.styleguideToolbar .componentArguments table{border-spacing:0;min-width:100%}.styleguideToolbar .componentArguments td,.styleguideToolbar .componentArguments th{border-bottom:1px solid #fff;padding:12px 8px}.styleguideToolbar .componentArguments th{font-weight:700;text-align:left}.styleguideToolbar .componentArguments .componentArgumentsName{font-weight:700;white-space:nowrap}.styleguideToolbar .componentArguments .componentArgumentsType{white-space:nowrap}.styleguideToolbar .componentArguments .componentArgumentsRequired{padding-left:0;padding-right:0;text-align:center}.styleguideToolbar .componentArguments .componentArgumentsDefault,.styleguideToolbar .componentArguments .componentArgumentsDescription{word-wrap:break-word;font-size:.85em}.styleguideToolbar .componentDocumentation{line-height:1.8;max-width:70em}.styleguideToolbar .componentDocumentation code,.styleguideToolbar .componentDocumentation pre{background:#2b2f31}.styleguideToolbar .componentDocumentation pre{padding:16px}.styleguideToolbar .componentDocumentation code{border-radius:3px;padding:.3em .5em}.styleguideToolbar .componentDocumentation pre>code{border-radius:0;padding:0}.styleguideToolbar .qualityIssues{border-bottom:0 solid #fff;border-left-width:1px;border-right-width:1px;border-spacing:0;border-top-width:1px;list-style:none;min-width:100%;padding:0}.styleguideToolbar .qualityIssues td,.styleguideToolbar .qualityIssues th{border-bottom:1px solid #fff;padding:12px 8px}.styleguideToolbar .qualityIssues th{font-weight:700;text-align:left}.styleguideToolbar .qualityIssues .qualityIssueSeverity{padding:12px 4px;text-align:center}.styleguideToolbar .qualityIssues .qualityIssueSeverity span{padding:.4em .8em}.styleguideToolbar .qualityIssues .qualityIssueMessage{width:100%}.styleguideToolbar .qualityIssues .qualityIssue--blocker .qualityIssueSeverity span,.styleguideToolbar .qualityIssues .qualityIssue--critical .qualityIssueSeverity span,.styleguideToolbar .qualityIssues .qualityIssue--major .qualityIssueSeverity span{background:#ff8080;font-weight:700}.styleguideToolbar .qualityIssues .qualityIssue--minor .qualityIssueSeverity span{background:#ffb380;font-weight:700}body{margin:0}.breakPoint{background-color:#171717!important}.boxMargin{margin-bottom:40px}pre{margin:0!important} +/*!********************************************************************************************************************************************************************************************************************************************************************************************************************************!*\ + !*** css ./node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[0].use[1]!./node_modules/postcss-loader/dist/cjs.js??ruleSet[1].rules[0].use[2]!./node_modules/resolve-url-loader/index.js??ruleSet[1].rules[0].use[3]!./node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[0].use[4]!./Resources/Private/Scss/Main.scss ***! + \********************************************************************************************************************************************************************************************************************************************************************************************************************************/.fluidStyleguideList{margin-left:auto;margin-right:auto;margin-top:120px;max-width:1200px}.fluidStyleguideList strong{font-weight:700}.fluidStyleguideList .fluidStyleguideTitle{color:#222425;font-family:var(--styleguide-font-family);font-size:40px;margin-bottom:16px}.fluidStyleguideList .fluidStyleguideIntro{font-family:var(--styleguide-font-family);line-height:1.7;padding-bottom:64px}.fluidStyleguideList .fluidStyleguideIntro a{color:inherit}.fluidStyleguideList .fluidStyleguideIntro p{max-width:60em}.fluidStyleguideList .fluidStyleguideIntro:after{border:solid #000;border-width:1px 0;bottom:-30px;content:"";display:block;height:3px;left:0;position:relative;right:0}.fluidStyleguideList .fluidStyleguidePackageName{color:#222425;font-family:var(--styleguide-font-family);font-size:32px;margin-bottom:40px}.fluidStyleguideList .fluidStyleguideComponentName{color:#222425;font-family:var(--styleguide-font-family);font-size:24px}.fluidStyleguideList .fluidStyleguidePackageItem{margin-bottom:60px;padding-bottom:60px}.fluidStyleguideList .fluidStyleguideComponent{border:0;display:block;height:200px;transition:width .6s;width:100%}.fluidStyleguideList .fluidStyleguideListIframeWrapper{margin-bottom:10px}.fluidStyleguideList .breakPoint{background-image:repeating-linear-gradient(45deg,#fff,#fff 2.2%,#e8e8e8 0,#d6d6d6 0,#fff 2.5%)}.fluidStyleguideList .fluidStyleguideComponentVariants:last-child .fluidStyleguideComponentExample:last-child{border-bottom:0;margin-bottom:0;padding-bottom:0}.fluidStyleguideList .fluidStyleguideComponentExample{border-bottom:1px solid #222425;margin-bottom:60px;padding-bottom:60px}.fluidStyleguideList .fluidStyleguideBtn{background:#222425;color:#fff;display:inline-block;font-family:var(--styleguide-font-family);font-size:14px;padding:16px 53px 18px 30px;position:relative;text-align:center}.fluidStyleguideList .fluidStyleguideBtn:hover{color:var(--styleguide-highlight-color)}.fluidStyleguideList .fluidStyleguideBtn span{position:relative}.fluidStyleguideList .fluidStyleguideBtn span:after{speak:none;color:var(--styleguide-highlight-color);content:"›";font-family:verdana,sans-serif;font-size:24px;font-style:normal;font-variant:normal;font-weight:400;height:0;line-height:1;position:absolute;right:-15px;text-transform:none;top:-4px;width:0}.fluidStyleguideShow{bottom:16px;left:0;position:fixed;right:0;top:55px}.fluidStyleguideShow .fluidStyleguideComponent{border:0;height:100%;transition:width .6s;width:100%}.styleguideHeader{align-items:center;background:#222425;display:flex;font-family:var(--styleguide-font-family);left:0;position:fixed;right:0;top:0;z-index:99999}.styleguideHeader .componentNavigation .styleguideSelectSelected{position:relative}.styleguideHeader .componentNavigation .styleguideSelectSelected:before{speak:none;color:var(--styleguide-highlight-color);content:"›";font-family:verdana,sans-serif;font-size:24px;font-style:normal;font-variant:normal;font-weight:400;height:0;line-height:1;position:absolute;right:24px;text-transform:none;top:15px;width:0}.styleguideHeader .examplesNavigation{margin-left:-7px;width:50%}.styleguideHeader .examplesNavigation svg{fill:var(--styleguide-highlight-color);display:none;height:26px;margin-left:-24px;width:26px}.styleguideHeader .backLink{align-items:center;border-left:1px solid var(--styleguide-highlight-color);color:#fff;display:flex;font-size:13px;height:100%;margin-left:13px;padding-left:50px;position:relative;text-decoration:none}.styleguideHeader .backLink:before,.styleguideHeader .backLink:hover{color:var(--styleguide-highlight-color)}.styleguideHeader .backLink:before{speak:none;content:"‹";font-family:verdana,sans-serif;font-size:24px;font-style:normal;font-variant:normal;font-weight:400;height:0;left:23px;line-height:1;position:absolute;text-transform:none;top:16px;width:0}.styleguideHeader .actions{align-items:center;display:flex;height:56px;margin:0 24px 0 auto}.styleguideRefreshIFrame button{background-color:#222425;border:1px solid #fff;color:#fff;cursor:pointer;font-size:14px;padding:5px 10px}.styleguideRefreshIFrame button:hover{background-color:var(--styleguide-highlight-color)}.styleguideRefreshIFrame button:focus{outline:none}.styleguideSelect{font-family:var(--styleguide-font-family);width:100%}.styleguideSelect datalist{display:block}.styleguideSelect select{left:-999999px;position:absolute}.styleguideSelect.hasIcon .styleguideSelectSelected:after{speak:none;color:var(--styleguide-highlight-color);content:"›";font-family:fluid-styleguide;font-size:38px;font-style:normal;font-variant:normal;font-weight:400;height:0;line-height:1;position:absolute;right:56px;text-transform:none;top:9px;width:0}.styleguideSelect.hasIcon .styleguideSelectSelected.styleguideSelectArrowActive:after{content:"\e911"}.styleguideSelectFocus{border-color:#fff;color:#fff}.styleguideSelectItems div,.styleguideSelectSelected{align-items:center;border-bottom:1px solid #212121;color:#fff;cursor:pointer;display:flex;font-family:var(--styleguide-font-family);font-size:13px;height:55px;padding:0 24px}.styleguideSelectItems div.styleguideSelectEqualSelected,.styleguideSelectSelected.styleguideSelectEqualSelected{background-color:#222425;border-color:#1b1919;color:var(--styleguide-highlight-color)}.styleguideSelectItems div.styleguideSelectArrowActive,.styleguideSelectSelected.styleguideSelectArrowActive{color:#fff}.styleguideSelectSelected{background:#222425;border-color:transparent;color:#fff;cursor:pointer}.styleguideSelectSelected:hover{color:var(--styleguide-highlight-color)}.styleguideSelect input[type=text]{background-color:transparent;border:0;color:#fff;cursor:pointer;font-family:var(--styleguide-font-family);font-size:13px;outline:none;padding:0;width:100%}.styleguideSelect input[type=text]:focus,.styleguideSelect input[type=text]:hover{color:var(--styleguide-highlight-color)}.styleguideSelect input[type=text]::-moz-placeholder{color:#757575;font-size:13px}.styleguideSelect input[type=text]::placeholder{color:#757575;font-size:13px}.styleguideSelectItems{background-color:#2b2f31;cursor:pointer;height:0;left:0;max-height:617px!important;overflow:auto;position:absolute;right:0;transform:scaleY(0);transform-origin:top;transition:transform .15s ease-out;z-index:9999}.styleguideSelectItems.selectPositionedTop{border-bottom:0}.styleguideSelectItems::-webkit-scrollbar{width:8px}.styleguideSelectItems::-webkit-scrollbar-thumb{background-color:var(--styleguide-highlight-color)}.styleguideSelectItems.styleguideSelectOpened{border-top:1px solid #1b1919;height:auto;transform:scaleY(1);transform-origin:top;transition:transform .15s ease-out}.styleguideSelectHide{display:none}.styleguideSelectActive,.styleguideSelectItems div:hover{color:var(--styleguide-highlight-color)!important;transition:color .25s ease}.styleguideSelect.orientationBottom .styleguideSelectItems{transform-origin:bottom}.styleguideSelectInputLabel{left:-99999px;padding:0 16px;position:absolute;top:-99999px}.styleguideScrollTop{bottom:0;position:fixed;width:100%}.styleguideScrollTop div{display:none}.styleguideScrollTop.active div{background:#222425;border:2px solid #222425;cursor:pointer;display:block;height:50px;margin:auto;width:50px}.styleguideScrollTop.active div:before{speak:none;color:var(--styleguide-highlight-color);content:"›";display:block;font-family:verdana,sans-serif;font-size:34px;font-style:normal;font-variant:normal;font-weight:400;left:-2px;line-height:1;padding-left:0;padding-top:0;position:relative;text-transform:none;top:-7px;transform:rotate(-90deg)}.viewportNavigation{align-items:center;color:#fff;display:flex;font-size:13px;height:100%;list-style:none}.viewportNavigation:hover .dropdownContent{display:block}.viewportNavigation .dropdownLabel{border:0;color:var(--styleguide-highlight-color);cursor:pointer;margin:0 16px;padding:16px 0}.viewportNavigation .dropdownContent{background-color:#222425;display:none;min-width:82px;padding:0 16px 16px;position:absolute;top:43px;z-index:1}.viewportNavigation .dropdownContent:hover{display:block}.viewportNavigation .dropdownContent li{color:#fff;cursor:pointer;list-style:none;margin-top:16px;text-decoration:none}.viewportNavigation .dropdownContent li:last-child{margin-bottom:0}.viewportNavigation .dropdownContent li.rulerOption.activeRulerOption,.viewportNavigation .dropdownContent li:hover{color:var(--styleguide-highlight-color)}.languageNavigation{align-items:center;color:#fff;display:flex;font-size:13px;height:100%;list-style:none}.languageNavigation:hover .dropdownContent{display:block}.languageNavigation .dropdownLabel{border:0;color:var(--styleguide-highlight-color);cursor:pointer;margin:0 16px;padding:16px 0}.languageNavigation .dropdownContent{background-color:#222425;display:none;min-width:82px;padding:0 16px 16px;position:absolute;top:43px;z-index:1}.languageNavigation .dropdownContent:hover{display:block}.languageNavigation .dropdownContent li{color:#fff;cursor:pointer;list-style:none;margin-top:16px;text-decoration:none}.languageNavigation .dropdownContent li:last-child{margin-bottom:0}.languageNavigation .dropdownContent li.rulerOption.activeRulerOption,.languageNavigation .dropdownContent li:hover{color:var(--styleguide-highlight-color)}.editFixtures .editFixturesFixtureFormItem{margin-bottom:24px}.editFixtures .editFixturesFixtureFormItem:last-child{margin-bottom:0}.editFixtures .editFixturesInput{background:#fff;border:2px solid #222425;color:#222425;font-size:14px;font-style:normal;font-weight:400;letter-spacing:0;line-height:24px;padding:10px;width:300px}.editFixtures .editFixturesInput:focus{border-color:#222425;color:#222425;outline:0}.editFixtures .editFixturesLabelContainer{margin-bottom:6px}.editFixtures .editFixturesLabelContainer label{display:block;margin-bottom:0}.editFixtures .editFixturesLabelContainer .editFixturesLabelDescription{font-size:10px}.editFixtures .editFixturesCheckboxContainer{cursor:pointer;display:block;font-size:22px;height:25px;margin-bottom:12px;padding-left:35px;position:relative;-webkit-user-select:none;-moz-user-select:none;user-select:none;width:24px}.editFixtures .editFixturesCheckboxContainer input{cursor:pointer;height:0;opacity:0;position:absolute;width:0}.editFixtures .editFixturesCheckboxCheckmark{background-color:#fff;height:24px;left:0;position:absolute;top:3px;width:24px}.editFixtures .editFixturesCheckboxContainer input:checked~.editFixturesCheckboxCheckmark{background-color:#fff}.editFixtures .editFixturesCheckboxCheckmark:after{content:"";display:none;position:absolute}.editFixtures .editFixturesCheckboxContainer input:checked~.editFixturesCheckboxCheckmark:after{display:block}.editFixtures .editFixturesCheckboxContainer .editFixturesCheckboxCheckmark:after{border:solid var(--styleguide-highlight-color);border-width:0 3px 3px 0;height:13px;left:8px;top:3px;transform:rotate(45deg);width:5px}.styleguideToolbar{background-color:#222425;color:#fff;font-family:var(--styleguide-font-family);font-size:13px;position:fixed;transition:bottom .25s ease 0s;width:100%;z-index:3}.styleguideToolbar .toolbarTop{align-items:center;display:flex;height:16px;justify-content:center}.styleguideToolbar .toolbarBot{position:relative}.styleguideToolbar .toolbarOpener{background:#222425;border-radius:10%;cursor:pointer;height:54px;position:relative;top:0;width:50px;z-index:-2}.styleguideToolbar .toolbarOpener:before{speak:none;color:var(--styleguide-highlight-color);content:"›";font-family:verdana,sans-serif;font-size:24px;font-style:normal;font-variant:normal;font-weight:400;height:0;left:12px;line-height:1;position:absolute;text-transform:none;top:19px;transform:rotate(-90deg);width:0}.styleguideToolbar .toolbarOpener:hover{color:var(--styleguide-highlight-color)}.styleguideToolbar .toolbarRuler{cursor:pointer}.styleguideToolbar .toolbarRuler svg{margin-left:15px;position:relative;top:-3px}.styleguideToolbar .toolbarRuler:hover{color:var(--styleguide-highlight-color)}.styleguideToolbar.open{bottom:0!important}.styleguideToolbar.open .toolbarOpener:before{left:38px;top:8px;transform:rotate(90deg)}.styleguideToolbar.open .toolbarTabs{display:block}.styleguideToolbar.open .toolbarBot{top:-16px}.styleguideToolbar .toolbarTabs{position:relative}.styleguideToolbar .toolbarTabs .tabNav{display:flex}.styleguideToolbar .toolbarTabs .tabNav .tabOpener{align-items:center;background:#2b2f31;border-right:2px solid #222425;color:#fff;cursor:pointer;display:flex;height:54px;justify-content:center;overflow:hidden;position:relative;transition:background-color .25s ease;width:150px}.styleguideToolbar .toolbarTabs .tabNav .tabOpener svg{fill:#fff;height:28px;width:28px}.styleguideToolbar .toolbarTabs .tabNav .tabOpener.active{background:#222425;color:var(--styleguide-highlight-color)}.styleguideToolbar .toolbarTabs .tabNav .tabOpener.active svg,.styleguideToolbar .toolbarTabs .tabNav .tabOpener:hover svg{fill:var(--styleguide-highlight-color)}.styleguideToolbar .toolbarTabs .tabContent{color:#fff;display:none;font-family:SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace;font-size:1em;max-height:200px;overflow-y:scroll;padding:32px 32px 16px}.styleguideToolbar .toolbarTabs .tabContent a{color:var(--styleguide-highlight-color)}.styleguideToolbar .toolbarTabs .tabContent>:first-child{margin-top:0}.styleguideToolbar .toolbarTabs .tabContent::-webkit-scrollbar{width:8px}.styleguideToolbar .toolbarTabs .tabContent::-webkit-scrollbar-thumb{background-color:var(--styleguide-highlight-color)}.styleguideToolbar .toolbarTabs .tabContent.active{display:block}.styleguideToolbar .toolbarTabs .tabContent .downloadZip{color:#fff;text-decoration:underline}.styleguideToolbar .toolbarTabs .tabContent .downloadZip:hover{color:var(--styleguide-highlight-color)}.styleguideToolbar .componentArguments{overflow:auto}.styleguideToolbar .componentArguments table{border-spacing:0;min-width:100%}.styleguideToolbar .componentArguments td,.styleguideToolbar .componentArguments th{border-bottom:1px solid #fff;padding:12px 8px}.styleguideToolbar .componentArguments th{font-weight:700;text-align:left}.styleguideToolbar .componentArguments .componentArgumentsName{font-weight:700;white-space:nowrap}.styleguideToolbar .componentArguments .componentArgumentsType{white-space:nowrap}.styleguideToolbar .componentArguments .componentArgumentsRequired{padding-left:0;padding-right:0;text-align:center}.styleguideToolbar .componentArguments .componentArgumentsDefault,.styleguideToolbar .componentArguments .componentArgumentsDescription{word-wrap:break-word;font-size:.85em}.styleguideToolbar .componentDocumentation{line-height:1.8;max-width:70em}.styleguideToolbar .componentDocumentation code,.styleguideToolbar .componentDocumentation pre{background:#2b2f31}.styleguideToolbar .componentDocumentation pre{padding:16px}.styleguideToolbar .componentDocumentation code{border-radius:3px;padding:.3em .5em}.styleguideToolbar .componentDocumentation pre>code{border-radius:0;padding:0}.styleguideToolbar .qualityIssues{border-bottom:0 solid #fff;border-left-width:1px;border-right-width:1px;border-spacing:0;border-top-width:1px;list-style:none;min-width:100%;padding:0}.styleguideToolbar .qualityIssues td,.styleguideToolbar .qualityIssues th{border-bottom:1px solid #fff;padding:12px 8px}.styleguideToolbar .qualityIssues th{font-weight:700;text-align:left}.styleguideToolbar .qualityIssues .qualityIssueSeverity{padding:12px 4px;text-align:center}.styleguideToolbar .qualityIssues .qualityIssueSeverity span{padding:.4em .8em}.styleguideToolbar .qualityIssues .qualityIssueMessage{width:100%}.styleguideToolbar .qualityIssues .qualityIssue--blocker .qualityIssueSeverity span,.styleguideToolbar .qualityIssues .qualityIssue--critical .qualityIssueSeverity span,.styleguideToolbar .qualityIssues .qualityIssue--major .qualityIssueSeverity span{background:#ff8080;font-weight:700}.styleguideToolbar .qualityIssues .qualityIssue--minor .qualityIssueSeverity span{background:#ffb380;font-weight:700}body{margin:0}.breakPoint{background-color:#171717!important}.boxMargin{margin-bottom:40px}pre{margin:0!important} /*# sourceMappingURL=Styleguide.min.css.map*/ \ No newline at end of file diff --git a/Resources/Public/Css/Styleguide.min.css.map b/Resources/Public/Css/Styleguide.min.css.map index 2792018..98cafdc 100644 --- a/Resources/Public/Css/Styleguide.min.css.map +++ b/Resources/Public/Css/Styleguide.min.css.map @@ -1 +1 @@ -{"version":3,"file":"Styleguide.min.css","mappings":"AAAA,gBCgB6C;;;6PDhB7C,qBAGI,gBAAiB,CACjB,iBAAkB,CAHlB,gBAAiB,CACjB,gBAEkB,CAJtB,4BAOQ,eAAgB,CAPxB,2CAcQ,aCZa,CDWb,yCCIuC,CDNvC,cAAe,CACf,kBCVa,CDFrB,2CAmBQ,yCCFuC,CDGvC,eAAgB,CAFhB,mBAEgB,CApBxB,6CAuBY,aAAc,CAvB1B,6CA2BY,cAAe,CA3B3B,iDAuCY,iBAAmB,CAAnB,kBAAmB,CALnB,YAAa,CAHb,UAAW,CAEX,aAAc,CAId,UAAW,CAFX,MAAO,CAHP,iBAAkB,CAIlB,OAGmB,CAvC/B,iDA+CQ,aC7Ca,CD4Cb,yCC7BuC,CD4BvC,cAAe,CADf,kBC1Ca,CDFrB,mDAqDQ,aCnDa,CDkDb,yCCnCuC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FA4OY,kBTzOS,CSHrB,+CAgPY,YAAa,CAhPzB,gDAqPY,iBAAkB,CADlB,iBACkB,CArP9B,oDA0PY,eAAgB,CADhB,SACgB,CA1P5B,kCAkQQ,0BAAuB,CAAvB,qBAAuB,CAAvB,sBAAuB,CACvB,gBAAiB,CADjB,oBAAuB,CAHvB,eAAgB,CAKhB,cAAe,CAJf,SAIe,CApQvB,0EAwQY,4BAA+B,CAD/B,gBAC+B,CAxQ3C,qCA6QY,eAAiB,CADjB,eACiB,CA7Q7B,wDAkRY,gBAAiB,CADjB,iBACiB,CAlR7B,6DAqRgB,iBAAkB,CArRlC,uDA0RY,UAAW,CA1RvB,2PAkSoB,kBTtRP,CSuRO,eAAiB,CAnSrC,kFAwSgB,kBTpRK,CSqRL,eAAiB,CC3RjC,KACI,QAAS,CAGb,YACI,kCAAyC,CAG7C,WACI,kBAAmB,CAGvB,IACI,kBAAoB","sources":["webpack://fluidstyleguide/./Resources/Private/Scss/StyleguideList.scss","webpack://fluidstyleguide/./Resources/Private/Scss/_Variables.scss","webpack://fluidstyleguide/./Resources/Private/Scss/StyleguideShow.scss","webpack://fluidstyleguide/./Resources/Private/Scss/StyleguideHeader.scss","webpack://fluidstyleguide/./Resources/Private/Components/Atom/StyleguideRefreshIFrame/StyleguideRefreshIFrame.scss","webpack://fluidstyleguide/./Resources/Private/Components/Atom/StyleguideSelect/StyleguideSelect.scss","webpack://fluidstyleguide/./Resources/Private/Components/Atom/StyleguideScrollTop/StyleguideScrollTop.scss","webpack://fluidstyleguide/./Resources/Private/Components/Atom/ViewportNavigation/ViewportNavigation.scss","webpack://fluidstyleguide/./Resources/Private/Components/Atom/LanguageNavigation/LanguageNavigation.scss","webpack://fluidstyleguide/./Resources/Private/Components/Molecule/EditFixtures/EditFixtures.scss","webpack://fluidstyleguide/./Resources/Private/Components/Organism/StyleguideToolbar/StyleguideToolbar.scss","webpack://fluidstyleguide/./Resources/Private/Scss/Main.scss"],"sourcesContent":[".fluidStyleguideList {\n margin-top: 120px;\n max-width: 1200px;\n margin-left: auto;\n margin-right: auto;\n\n strong {\n font-weight: 700;\n }\n\n .fluidStyleguideTitle {\n font-size: 40px;\n margin-bottom: 16px;\n font-family: $styleguide-font;\n color: $dark-grey-0;\n }\n\n .fluidStyleguideIntro {\n padding-bottom: 64px;\n font-family: $styleguide-font;\n line-height: 1.7;\n\n a {\n color: inherit;\n }\n\n p {\n max-width: 60em;\n }\n\n &::after {\n content: \"\";\n position: relative;\n display: block;\n bottom: -30px;\n left: 0;\n right: 0;\n height: 3px;\n border: #000 solid;\n border-width: 1px 0;\n }\n }\n\n .fluidStyleguidePackageName {\n margin-bottom: 40px;\n font-size: 32px;\n font-family: $styleguide-font;\n color: $dark-grey-0;\n }\n\n .fluidStyleguideComponentName {\n font-size: 24px;\n font-family: $styleguide-font;\n color: $dark-grey-0;\n }\n\n .fluidStyleguidePackageItem {\n margin-bottom: 60px;\n padding-bottom: 60px;\n }\n\n .fluidStyleguideComponent {\n display: block;\n width: 100%;\n height: 200px;\n border: 0;\n transition: width .6s;\n }\n\n .fluidStyleguideListIframeWrapper {\n margin-bottom: 10px;\n }\n\n .breakPoint {\n background-image: repeating-linear-gradient(45deg, $white 0%, $white 2.2%, $light-grey-2 2.2%, $light-grey-3 2.1%, $white 2.5%);\n }\n\n .fluidStyleguideComponentVariants {\n &:last-child {\n .fluidStyleguideComponentExample {\n &:last-child {\n border-bottom: 0;\n margin-bottom: 0;\n padding-bottom: 0;\n }\n }\n }\n }\n\n .fluidStyleguideComponentExample {\n margin-bottom: 60px;\n border-bottom: 1px solid $dark-grey-0;\n padding-bottom: 60px;\n }\n\n .fluidStyleguideBtn {\n background: $dark-grey-0;\n color: $white;\n padding: 16px 53px 18px 30px;\n text-align: center;\n display: inline-block;\n font-size: 14px;\n position: relative;\n font-family: $styleguide-font;\n\n &:hover {\n color: $highlight;\n }\n\n span {\n position: relative;\n\n &::after {\n position: absolute;\n font-family: $verdana-font;\n content: '›';\n top: -4px;\n width: 0;\n height: 0;\n speak: none;\n font-style: normal;\n font-weight: normal;\n font-variant: normal;\n text-transform: none;\n line-height: 1;\n font-size: 24px;\n right: -15px;\n color: $highlight;\n }\n }\n\n }\n}\n","// colors\n\n$dark-grey-0: #222425;\n$dark-grey-1: #2b2f31;\n$grey: #212121;\n$dark-grey-2: #4a4d4e;\n$dark-grey-3: #1b1919;\n$dark-grey-4: #171717;\n$light-grey: #757575;\n$light-grey-2: #e8e8e8;\n$light-grey-3: #d6d6d6;\n$light-grey-4: #fdfdfd;\n$red: #ff8080;\n$black-87: rgba(0, 0, 0, .87);\n$black-46: rgba(0, 0, 0, .46);\n$white: #FFFFFF;\n$highlight: var(--styleguide-highlight-color);\n$styleguide-font: var(--styleguide-font-family);\n$verdana-font: verdana, sans-serif;\n$issue-major: $red;\n$issue-minor: #ffb380;\n",".fluidStyleguideShow {\n position: fixed;\n top: 55px;\n left: 0;\n right: 0;\n bottom: 16px;\n\n .fluidStyleguideComponent {\n height: 100%;\n width: 100%;\n border: 0 none;\n transition: width .6s;\n }\n}\n",".styleguideHeader {\n display: flex;\n position: fixed;\n z-index: 99999;\n top: 0;\n left: 0;\n right: 0;\n align-items: center;\n background: $dark-grey-0;\n font-family: $styleguide-font;\n\n .componentNavigation .styleguideSelectSelected {\n position: relative;\n\n &::before {\n position: absolute;\n content: '›';\n top: 15px;\n width: 0;\n height: 0;\n speak: none;\n font-style: normal;\n font-weight: normal;\n font-variant: normal;\n text-transform: none;\n line-height: 1;\n font-size: 24px;\n right: 24px;\n font-family: $verdana-font;\n color: $highlight;\n }\n }\n\n .examplesNavigation {\n width: 50%;\n margin-left: -7px;\n\n svg {\n width: 26px;\n height: 26px;\n margin-left: -24px;\n fill: $highlight;\n display: none;\n }\n }\n\n .backLink {\n font-size: 13px;\n color: $white;\n position: relative;\n padding-left: 50px;\n text-decoration: none;\n height: 100%;\n display: flex;\n align-items: center;\n border-left: 1px solid $highlight;\n margin-left: 13px;\n\n\n &:hover {\n color: $highlight;\n }\n\n &::before {\n font-family: $verdana-font;\n position: absolute;\n content: '‹';\n top: 16px;\n width: 0;\n height: 0;\n speak: none;\n font-style: normal;\n font-weight: normal;\n font-variant: normal;\n text-transform: none;\n line-height: 1;\n font-size: 24px;\n left: 23px;\n color: $highlight;\n }\n }\n\n .actions {\n margin: 0 24px 0 auto;\n display: flex;\n align-items: center;\n height: 56px;\n }\n\n}\n",".styleguideRefreshIFrame {\n\n button {\n background-color: $dark-grey-0;\n color: $white;\n cursor: pointer;\n font-size: 14px;\n padding: 5px 10px;\n border: 1px solid white;\n\n &:hover {\n background-color: $highlight;\n }\n\n &:focus {\n outline: none;\n }\n\n }\n}\n\n\n",".styleguideSelect {\n font-family: $styleguide-font;\n width: 100%;\n\n datalist {\n display: block;\n }\n\n select {\n position: absolute;\n left: -999999px;\n }\n\n &.hasIcon {\n .styleguideSelectSelected {\n &::after {\n font-family: 'fluid-styleguide';\n position: absolute;\n content: '›';\n top: 9px;\n right: 56px;\n width: 0;\n height: 0;\n speak: none;\n font-style: normal;\n font-weight: normal;\n font-variant: normal;\n text-transform: none;\n line-height: 1;\n font-size: 38px;\n color: $highlight;\n }\n\n &.styleguideSelectArrowActive::after {\n content: '\\e911';\n }\n }\n }\n\n &Focus {\n border-color: $white;\n color: $white;\n }\n\n &Items div, &Selected {\n display: flex;\n align-items: center;\n height: 55px;\n cursor: pointer;\n padding: 0 24px;\n font-size: 13px;\n color: $white;\n border-bottom: 1px solid $grey;\n font-family: $styleguide-font;\n\n &.styleguideSelectEqualSelected {\n background-color: $dark-grey-0;\n color: $highlight;\n border-color: $dark-grey-3;\n }\n\n &.styleguideSelectArrowActive {\n color: $white;\n }\n }\n\n\n &Selected {\n background: $dark-grey-0;\n color: $white;\n cursor: pointer;\n border-color: transparent;\n\n &:hover {\n color: $highlight;\n }\n }\n\n input[type='text'] {\n padding: 0;\n font-size: 13px;\n color: $white;\n font-family: $styleguide-font;\n outline: none;\n width: 100%;\n background-color: transparent;\n border: 0 none;\n cursor: pointer;\n\n &:hover {\n color: $highlight;\n }\n\n &:focus {\n color: $highlight;\n }\n\n &::placeholder {\n color: $light-grey;\n font-size: 13px;\n }\n }\n\n &Items {\n cursor: pointer;\n transition: transform .15s ease-out;\n transform: scaleY(0);\n height: 0;\n transform-origin: top;\n overflow: auto;\n position: absolute;\n background-color: $dark-grey-1;\n left: 0;\n right: 0;\n z-index: 9999;\n max-height: 617px !important;\n\n &.selectPositionedTop {\n border-bottom: 0;\n }\n\n &::-webkit-scrollbar {\n width: 8px;\n }\n\n &::-webkit-scrollbar-thumb {\n background-color: $highlight;\n }\n\n &.styleguideSelectOpened {\n transition: transform .15s ease-out;\n height: auto;\n transform: scaleY(1);\n transform-origin: top;\n border-top: 1px solid $dark-grey-3;\n }\n }\n\n &Hide {\n display: none;\n }\n\n &Items div:hover,\n &Active {\n color: $highlight !important;\n transition: color .25s ease;\n }\n\n &.orientationBottom {\n .styleguideSelectItems {\n transform-origin: bottom;\n }\n }\n\n &InputLabel {\n position: absolute;\n left: -99999px;\n top: -99999px;\n padding: 0 16px;\n }\n\n}\n\n",".styleguideScrollTop {\n position: fixed;\n width: 100%;\n bottom: 0;\n\n div {\n display: none;\n }\n\n &.active {\n div {\n cursor: pointer;\n margin: auto;\n width: 50px;\n height: 50px;\n border: 2px solid $dark-grey-0;\n background: $dark-grey-0;\n display: block;\n\n &::before {\n font-family: $verdana-font;\n content: '›';\n speak: none;\n font-style: normal;\n font-weight: normal;\n font-variant: normal;\n text-transform: none;\n line-height: 1;\n font-size: 34px;\n padding-left: 0;\n padding-top: 0;\n color: $highlight;\n display: block;\n transform: rotate(-90deg);\n position: relative;\n top: -7px;\n left: -2px;\n }\n }\n }\n\n\n\n\n}\n",".viewportNavigation {\n display: flex;\n color: $white;\n height: 100%;\n align-items: center;\n font-size: 13px;\n list-style: none;\n\n &:hover .dropdownContent {\n display: block;\n }\n\n .dropdownLabel {\n color: $highlight;\n padding: 16px 0;\n border: 0 none;\n cursor: pointer;\n margin: 0 16px;\n }\n\n .dropdownContent {\n position: absolute;\n background-color: $dark-grey-0;\n padding: 16px;\n min-width: 82px;\n z-index: 1;\n top: 43px;\n display: none;\n padding-top: 0;\n\n &:hover {\n display: block;\n }\n\n li {\n color: $white;\n margin-top: 16px;\n text-decoration: none;\n cursor: pointer;\n list-style: none;\n\n &:last-child {\n margin-bottom: 0;\n }\n\n &.rulerOption {\n &.activeRulerOption {\n color: $highlight;\n }\n }\n\n &:hover {\n color: $highlight;\n }\n }\n }\n\n}\n\n\n\n\n",".languageNavigation {\n display: flex;\n color: $white;\n height: 100%;\n align-items: center;\n font-size: 13px;\n list-style: none;\n\n &:hover .dropdownContent {\n display: block;\n }\n\n .dropdownLabel {\n color: $highlight;\n padding: 16px 0;\n border: 0 none;\n cursor: pointer;\n margin: 0 16px;\n }\n\n .dropdownContent {\n position: absolute;\n background-color: $dark-grey-0;\n padding: 16px;\n min-width: 82px;\n z-index: 1;\n top: 43px;\n display: none;\n padding-top: 0;\n\n &:hover {\n display: block;\n }\n\n li {\n color: $white;\n margin-top: 16px;\n text-decoration: none;\n cursor: pointer;\n list-style: none;\n\n &:last-child {\n margin-bottom: 0;\n }\n\n &.rulerOption {\n &.activeRulerOption {\n color: $highlight;\n }\n }\n\n &:hover {\n color: $highlight;\n }\n }\n }\n\n}\n\n\n\n\n",".editFixtures {\n\n .editFixturesFixtureFormItem {\n\n margin-bottom: 24px;\n\n &:last-child {\n margin-bottom: 0;\n }\n }\n\n .editFixturesInput {\n color: $dark-grey-0;\n font-size: 14px;\n font-style: normal;\n font-weight: 400;\n letter-spacing: 0;\n line-height: 24px;\n border: 2px $dark-grey-0 solid;\n padding: 10px;\n background: $white;\n width: 300px;\n\n &:focus {\n color: $dark-grey-0;\n border-color: $dark-grey-0;\n outline: 0;\n }\n }\n\n .editFixturesLabelContainer {\n margin-bottom: 6px;\n\n label {\n margin-bottom: 0;\n display: block;\n }\n\n .editFixturesLabelDescription {\n font-size: 10px;\n }\n }\n\n .editFixturesCheckboxContainer {\n display: block;\n position: relative;\n padding-left: 35px;\n margin-bottom: 12px;\n cursor: pointer;\n font-size: 22px;\n user-select: none;\n height: 25px;\n width: 24px;\n }\n\n .editFixturesCheckboxContainer input {\n position: absolute;\n opacity: 0;\n cursor: pointer;\n height: 0;\n width: 0;\n }\n\n .editFixturesCheckboxCheckmark {\n position: absolute;\n left: 0;\n height: 24px;\n width: 24px;\n background-color: $white;\n top: 3px;\n }\n\n .editFixturesCheckboxContainer input:checked ~ .editFixturesCheckboxCheckmark {\n background-color: $white;\n }\n\n .editFixturesCheckboxCheckmark::after {\n content: '';\n position: absolute;\n display: none;\n }\n\n .editFixturesCheckboxContainer input:checked ~ .editFixturesCheckboxCheckmark::after {\n display: block;\n }\n\n .editFixturesCheckboxContainer .editFixturesCheckboxCheckmark::after {\n left: 8px;\n top: 3px;\n width: 5px;\n height: 13px;\n border: solid $highlight;\n border-width: 0 3px 3px 0;\n transform: rotate(45deg);\n }\n\n}\n",".styleguideToolbar {\n position: fixed;\n width: 100%;\n color: $white;\n font-size: 13px;\n z-index: 3;\n font-family: $styleguide-font;\n transition: bottom .25s ease 0s;\n background-color: $dark-grey-0;\n\n .toolbarTop {\n height: 16px;\n display: flex;\n align-items: center;\n justify-content: center;\n }\n\n .toolbarBot {\n position: relative;\n }\n\n .toolbarOpener {\n cursor: pointer;\n position: relative;\n top: 0;\n border-radius: 10%;\n width: 50px;\n height: 54px;\n z-index: -2;\n background: $dark-grey-0;\n\n &::before {\n font-family: $verdana-font;\n content: '›';\n width: 0;\n height: 0;\n speak: none;\n font-style: normal;\n font-weight: normal;\n font-variant: normal;\n text-transform: none;\n line-height: 1;\n font-size: 24px;\n color: $highlight;\n left: 12px;\n top: 19px;\n transform: rotate(-90deg);\n position: absolute;\n }\n\n &:hover {\n color: $highlight;\n }\n }\n\n .toolbarRuler {\n cursor: pointer;\n\n svg {\n margin-left: 15px;\n position: relative;\n top: -3px;\n }\n\n &:hover {\n color: $highlight;\n }\n }\n\n &.open {\n bottom: 0 !important;\n\n .toolbarOpener {\n &::before {\n left: 38px;\n top: 8px;\n transform: rotate(90deg);\n }\n }\n\n .toolbarTabs {\n display: block;\n }\n\n .toolbarBot {\n top: -16px;\n }\n }\n\n .toolbarTabs {\n position: relative;\n\n .tabNav {\n display: flex;\n\n .tabOpener {\n height: 54px;\n background: $dark-grey-1;\n cursor: pointer;\n width: 150px;\n display: flex;\n justify-content: center;\n align-items: center;\n color: $white;\n border-right: 2px solid $dark-grey-0;\n transition: background-color .25s ease;\n position: relative;\n overflow: hidden;\n\n svg {\n width: 28px;\n height: 28px;\n fill: $white;\n }\n\n &.active {\n background: $dark-grey-0;\n color: $highlight;\n\n svg {\n fill: $highlight;\n }\n }\n\n &.betaSign {\n\n &::after {\n content: 'Beta';\n position: absolute;\n transform: rotate(42deg);\n right: -33px;\n top: -16px;\n font-size: 10px;\n background: $red;\n padding: 1px;\n color: $white;\n width: 48px;\n padding-left: 100px;\n }\n }\n\n &:hover {\n svg {\n fill: $highlight;\n }\n }\n }\n }\n\n .tabContent {\n display: none;\n padding: 32px 32px 16px;\n font-family: SFMono-Regular, Menlo, Monaco, Consolas, 'Liberation Mono', 'Courier New', monospace;\n font-size: 1em;\n color: $white;\n max-height: 200px;\n overflow-y: scroll;\n\n a {\n color: $highlight;\n }\n\n > :first-child {\n margin-top: 0;\n }\n\n &::-webkit-scrollbar {\n width: 8px;\n }\n\n &::-webkit-scrollbar-thumb {\n background-color: $highlight;\n }\n\n &.active {\n display: block;\n }\n\n .downloadZip {\n color: $white;\n text-decoration: underline;\n\n &:hover {\n color: $highlight;\n }\n }\n }\n\n }\n\n .componentArguments {\n overflow: auto;\n\n table {\n border-spacing: 0;\n min-width: 100%;\n }\n\n th,\n td {\n padding: 12px 8px;\n border-bottom: 1px $white solid;\n }\n\n th {\n text-align: left;\n font-weight: bold;\n }\n\n .componentArgumentsName {\n font-weight: bold;\n white-space: nowrap;\n }\n\n .componentArgumentsType {\n white-space: nowrap;\n }\n\n .componentArgumentsRequired {\n padding-left: 0;\n padding-right: 0;\n text-align: center;\n }\n\n .componentArgumentsDefault,\n .componentArgumentsDescription {\n font-size: 0.85em;\n word-wrap: break-word;\n }\n }\n\n .componentDocumentation {\n line-height: 1.8;\n max-width: 70em;\n\n pre, code {\n background: $dark-grey-1;\n }\n\n pre {\n padding: 16px;\n }\n\n code {\n padding: 0.3em 0.5em;\n border-radius: 3px;\n }\n\n pre > code {\n padding: 0;\n border-radius: 0;\n }\n }\n\n .qualityIssues {\n list-style: none;\n padding: 0;\n border-bottom: $white solid;\n border-width: 1px 1px 0;\n border-spacing: 0;\n min-width: 100%;\n\n th, td {\n padding: 12px 8px;\n border-bottom: 1px $white solid;\n }\n\n th {\n text-align: left;\n font-weight: bold;\n }\n\n .qualityIssueSeverity {\n text-align: center;\n padding: 12px 4px;\n\n span {\n padding: .4em .8em;\n }\n }\n\n .qualityIssueMessage {\n width: 100%;\n }\n\n .qualityIssue {\n &--major,\n &--critical,\n &--blocker {\n .qualityIssueSeverity span {\n background: $issue-major;\n font-weight: bold;\n }\n }\n\n &--minor .qualityIssueSeverity span {\n background: $issue-minor;\n font-weight: bold;\n }\n }\n }\n}\n","@import 'Variables';\n@import 'StyleguideList';\n@import 'StyleguideShow';\n@import 'StyleguideHeader';\n// Component CSS\n\n@import '../Components/Atom/StyleguideRefreshIFrame/StyleguideRefreshIFrame';\n@import '../Components/Atom/StyleguideSelect/StyleguideSelect';\n@import '../Components/Atom/StyleguideScrollTop/StyleguideScrollTop';\n@import '../Components/Atom/ViewportNavigation/ViewportNavigation';\n@import '../Components/Atom/LanguageNavigation/LanguageNavigation';\n@import '../Components/Molecule/EditFixtures/EditFixtures';\n@import '../Components/Organism/StyleguideToolbar/StyleguideToolbar';\n\nbody {\n margin: 0;\n}\n\n.breakPoint {\n background-color: $dark-grey-4 !important;\n}\n\n.boxMargin {\n margin-bottom: 40px;\n}\n\npre {\n margin: 0 !important;\n}\n"],"names":[],"sourceRoot":""} \ No newline at end of file +{"version":3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UtgBI,kCAII,0BAAuB,CAAvB,qBAAuB,CAAvB,sBAAuB,CACvB,gBAAiB,CADjB,oBAAuB,CAHvB,eAAgB,CAKhB,cAAe,CAJf,SV4gBR,CUtgBQ,0EAEI,6BADA,gBVygBZ,CUrgBQ,qCAEI,eAAiB,CADjB,eVwgBZ,CUpgBQ,wDAEI,gBAAiB,CADjB,iBVugBZ,CUpgBY,6DACI,iBVsgBhB,CUlgBQ,uDACI,UVogBZ,CU7fgB,2PACI,kBTrQd,CSsQc,eV+fpB,CU3fY,kFACI,kBTnQF,CSoQE,eV6fhB,CAvwBA,KACI,QA0wBJ,CAvwBA,YACI,kCA0wBJ,CAvwBA,WACI,kBA0wBJ,CAvwBA,IACI,kBA0wBJ","sources":["webpack://fluidstyleguide/./Resources/Private/Scss/StyleguideList.scss","webpack://fluidstyleguide/./Resources/Private/Scss/Main.scss","webpack://fluidstyleguide/./Resources/Private/Scss/_Variables.scss","webpack://fluidstyleguide/./Resources/Private/Scss/StyleguideShow.scss","webpack://fluidstyleguide/./Resources/Private/Scss/StyleguideHeader.scss","webpack://fluidstyleguide/./Resources/Private/Components/Atom/StyleguideRefreshIFrame/StyleguideRefreshIFrame.scss","webpack://fluidstyleguide/./Resources/Private/Components/Atom/StyleguideSelect/StyleguideSelect.scss","webpack://fluidstyleguide/./Resources/Private/Components/Atom/StyleguideScrollTop/StyleguideScrollTop.scss","webpack://fluidstyleguide/./Resources/Private/Components/Atom/ViewportNavigation/ViewportNavigation.scss","webpack://fluidstyleguide/./Resources/Private/Components/Atom/LanguageNavigation/LanguageNavigation.scss","webpack://fluidstyleguide/./Resources/Private/Components/Molecule/EditFixtures/EditFixtures.scss","webpack://fluidstyleguide/./Resources/Private/Components/Organism/StyleguideToolbar/StyleguideToolbar.scss"],"sourcesContent":[".fluidStyleguideList {\n margin-top: 120px;\n max-width: 1200px;\n margin-left: auto;\n margin-right: auto;\n\n strong {\n font-weight: 700;\n }\n\n .fluidStyleguideTitle {\n font-size: 40px;\n margin-bottom: 16px;\n font-family: $styleguide-font;\n color: $dark-grey-0;\n }\n\n .fluidStyleguideIntro {\n padding-bottom: 64px;\n font-family: $styleguide-font;\n line-height: 1.7;\n\n a {\n color: inherit;\n }\n\n p {\n max-width: 60em;\n }\n\n &::after {\n content: \"\";\n position: relative;\n display: block;\n bottom: -30px;\n left: 0;\n right: 0;\n height: 3px;\n border: #000 solid;\n border-width: 1px 0;\n }\n }\n\n .fluidStyleguidePackageName {\n margin-bottom: 40px;\n font-size: 32px;\n font-family: $styleguide-font;\n color: $dark-grey-0;\n }\n\n .fluidStyleguideComponentName {\n font-size: 24px;\n font-family: $styleguide-font;\n color: $dark-grey-0;\n }\n\n .fluidStyleguidePackageItem {\n margin-bottom: 60px;\n padding-bottom: 60px;\n }\n\n .fluidStyleguideComponent {\n display: block;\n width: 100%;\n height: 200px;\n border: 0;\n transition: width .6s;\n }\n\n .fluidStyleguideListIframeWrapper {\n margin-bottom: 10px;\n }\n\n .breakPoint {\n background-image: repeating-linear-gradient(45deg, $white 0%, $white 2.2%, $light-grey-2 2.2%, $light-grey-3 2.1%, $white 2.5%);\n }\n\n .fluidStyleguideComponentVariants {\n &:last-child {\n .fluidStyleguideComponentExample {\n &:last-child {\n border-bottom: 0;\n margin-bottom: 0;\n padding-bottom: 0;\n }\n }\n }\n }\n\n .fluidStyleguideComponentExample {\n margin-bottom: 60px;\n border-bottom: 1px solid $dark-grey-0;\n padding-bottom: 60px;\n }\n\n .fluidStyleguideBtn {\n background: $dark-grey-0;\n color: $white;\n padding: 16px 53px 18px 30px;\n text-align: center;\n display: inline-block;\n font-size: 14px;\n position: relative;\n font-family: $styleguide-font;\n\n &:hover {\n color: $highlight;\n }\n\n span {\n position: relative;\n\n &::after {\n position: absolute;\n font-family: $verdana-font;\n content: '›';\n top: -4px;\n width: 0;\n height: 0;\n speak: none;\n font-style: normal;\n font-weight: normal;\n font-variant: normal;\n text-transform: none;\n line-height: 1;\n font-size: 24px;\n right: -15px;\n color: $highlight;\n }\n }\n\n }\n}\n","@import 'Variables';\n@import 'StyleguideList';\n@import 'StyleguideShow';\n@import 'StyleguideHeader';\n// Component CSS\n\n@import '../Components/Atom/StyleguideRefreshIFrame/StyleguideRefreshIFrame';\n@import '../Components/Atom/StyleguideSelect/StyleguideSelect';\n@import '../Components/Atom/StyleguideScrollTop/StyleguideScrollTop';\n@import '../Components/Atom/ViewportNavigation/ViewportNavigation';\n@import '../Components/Atom/LanguageNavigation/LanguageNavigation';\n@import '../Components/Molecule/EditFixtures/EditFixtures';\n@import '../Components/Organism/StyleguideToolbar/StyleguideToolbar';\n\nbody {\n margin: 0;\n}\n\n.breakPoint {\n background-color: $dark-grey-4 !important;\n}\n\n.boxMargin {\n margin-bottom: 40px;\n}\n\npre {\n margin: 0 !important;\n}\n","// colors\n\n$dark-grey-0: #222425;\n$dark-grey-1: #2b2f31;\n$grey: #212121;\n$dark-grey-2: #4a4d4e;\n$dark-grey-3: #1b1919;\n$dark-grey-4: #171717;\n$light-grey: #757575;\n$light-grey-2: #e8e8e8;\n$light-grey-3: #d6d6d6;\n$light-grey-4: #fdfdfd;\n$red: #ff8080;\n$black-87: rgba(0, 0, 0, .87);\n$black-46: rgba(0, 0, 0, .46);\n$white: #FFFFFF;\n$highlight: var(--styleguide-highlight-color);\n$styleguide-font: var(--styleguide-font-family);\n$verdana-font: verdana, sans-serif;\n$issue-major: $red;\n$issue-minor: #ffb380;\n",".fluidStyleguideShow {\n position: fixed;\n top: 55px;\n left: 0;\n right: 0;\n bottom: 16px;\n\n .fluidStyleguideComponent {\n height: 100%;\n width: 100%;\n border: 0 none;\n transition: width .6s;\n }\n}\n",".styleguideHeader {\n display: flex;\n position: fixed;\n z-index: 99999;\n top: 0;\n left: 0;\n right: 0;\n align-items: center;\n background: $dark-grey-0;\n font-family: $styleguide-font;\n\n .componentNavigation .styleguideSelectSelected {\n position: relative;\n\n &::before {\n position: absolute;\n content: '›';\n top: 15px;\n width: 0;\n height: 0;\n speak: none;\n font-style: normal;\n font-weight: normal;\n font-variant: normal;\n text-transform: none;\n line-height: 1;\n font-size: 24px;\n right: 24px;\n font-family: $verdana-font;\n color: $highlight;\n }\n }\n\n .examplesNavigation {\n width: 50%;\n margin-left: -7px;\n\n svg {\n width: 26px;\n height: 26px;\n margin-left: -24px;\n fill: $highlight;\n display: none;\n }\n }\n\n .backLink {\n font-size: 13px;\n color: $white;\n position: relative;\n padding-left: 50px;\n text-decoration: none;\n height: 100%;\n display: flex;\n align-items: center;\n border-left: 1px solid $highlight;\n margin-left: 13px;\n\n\n &:hover {\n color: $highlight;\n }\n\n &::before {\n font-family: $verdana-font;\n position: absolute;\n content: '‹';\n top: 16px;\n width: 0;\n height: 0;\n speak: none;\n font-style: normal;\n font-weight: normal;\n font-variant: normal;\n text-transform: none;\n line-height: 1;\n font-size: 24px;\n left: 23px;\n color: $highlight;\n }\n }\n\n .actions {\n margin: 0 24px 0 auto;\n display: flex;\n align-items: center;\n height: 56px;\n }\n\n}\n",".styleguideRefreshIFrame {\n\n button {\n background-color: $dark-grey-0;\n color: $white;\n cursor: pointer;\n font-size: 14px;\n padding: 5px 10px;\n border: 1px solid white;\n\n &:hover {\n background-color: $highlight;\n }\n\n &:focus {\n outline: none;\n }\n\n }\n}\n\n\n",".styleguideSelect {\n font-family: $styleguide-font;\n width: 100%;\n\n datalist {\n display: block;\n }\n\n select {\n position: absolute;\n left: -999999px;\n }\n\n &.hasIcon {\n .styleguideSelectSelected {\n &::after {\n font-family: 'fluid-styleguide';\n position: absolute;\n content: '›';\n top: 9px;\n right: 56px;\n width: 0;\n height: 0;\n speak: none;\n font-style: normal;\n font-weight: normal;\n font-variant: normal;\n text-transform: none;\n line-height: 1;\n font-size: 38px;\n color: $highlight;\n }\n\n &.styleguideSelectArrowActive::after {\n content: '\\e911';\n }\n }\n }\n\n &Focus {\n border-color: $white;\n color: $white;\n }\n\n &Items div, &Selected {\n display: flex;\n align-items: center;\n height: 55px;\n cursor: pointer;\n padding: 0 24px;\n font-size: 13px;\n color: $white;\n border-bottom: 1px solid $grey;\n font-family: $styleguide-font;\n\n &.styleguideSelectEqualSelected {\n background-color: $dark-grey-0;\n color: $highlight;\n border-color: $dark-grey-3;\n }\n\n &.styleguideSelectArrowActive {\n color: $white;\n }\n }\n\n\n &Selected {\n background: $dark-grey-0;\n color: $white;\n cursor: pointer;\n border-color: transparent;\n\n &:hover {\n color: $highlight;\n }\n }\n\n input[type='text'] {\n padding: 0;\n font-size: 13px;\n color: $white;\n font-family: $styleguide-font;\n outline: none;\n width: 100%;\n background-color: transparent;\n border: 0 none;\n cursor: pointer;\n\n &:hover {\n color: $highlight;\n }\n\n &:focus {\n color: $highlight;\n }\n\n &::placeholder {\n color: $light-grey;\n font-size: 13px;\n }\n }\n\n &Items {\n cursor: pointer;\n transition: transform .15s ease-out;\n transform: scaleY(0);\n height: 0;\n transform-origin: top;\n overflow: auto;\n position: absolute;\n background-color: $dark-grey-1;\n left: 0;\n right: 0;\n z-index: 9999;\n max-height: 617px !important;\n\n &.selectPositionedTop {\n border-bottom: 0;\n }\n\n &::-webkit-scrollbar {\n width: 8px;\n }\n\n &::-webkit-scrollbar-thumb {\n background-color: $highlight;\n }\n\n &.styleguideSelectOpened {\n transition: transform .15s ease-out;\n height: auto;\n transform: scaleY(1);\n transform-origin: top;\n border-top: 1px solid $dark-grey-3;\n }\n }\n\n &Hide {\n display: none;\n }\n\n &Items div:hover,\n &Active {\n color: $highlight !important;\n transition: color .25s ease;\n }\n\n &.orientationBottom {\n .styleguideSelectItems {\n transform-origin: bottom;\n }\n }\n\n &InputLabel {\n position: absolute;\n left: -99999px;\n top: -99999px;\n padding: 0 16px;\n }\n\n}\n\n",".styleguideScrollTop {\n position: fixed;\n width: 100%;\n bottom: 0;\n\n div {\n display: none;\n }\n\n &.active {\n div {\n cursor: pointer;\n margin: auto;\n width: 50px;\n height: 50px;\n border: 2px solid $dark-grey-0;\n background: $dark-grey-0;\n display: block;\n\n &::before {\n font-family: $verdana-font;\n content: '›';\n speak: none;\n font-style: normal;\n font-weight: normal;\n font-variant: normal;\n text-transform: none;\n line-height: 1;\n font-size: 34px;\n padding-left: 0;\n padding-top: 0;\n color: $highlight;\n display: block;\n transform: rotate(-90deg);\n position: relative;\n top: -7px;\n left: -2px;\n }\n }\n }\n\n\n\n\n}\n",".viewportNavigation {\n display: flex;\n color: $white;\n height: 100%;\n align-items: center;\n font-size: 13px;\n list-style: none;\n\n &:hover .dropdownContent {\n display: block;\n }\n\n .dropdownLabel {\n color: $highlight;\n padding: 16px 0;\n border: 0 none;\n cursor: pointer;\n margin: 0 16px;\n }\n\n .dropdownContent {\n position: absolute;\n background-color: $dark-grey-0;\n padding: 16px;\n min-width: 82px;\n z-index: 1;\n top: 43px;\n display: none;\n padding-top: 0;\n\n &:hover {\n display: block;\n }\n\n li {\n color: $white;\n margin-top: 16px;\n text-decoration: none;\n cursor: pointer;\n list-style: none;\n\n &:last-child {\n margin-bottom: 0;\n }\n\n &.rulerOption {\n &.activeRulerOption {\n color: $highlight;\n }\n }\n\n &:hover {\n color: $highlight;\n }\n }\n }\n\n}\n\n\n\n\n",".languageNavigation {\n display: flex;\n color: $white;\n height: 100%;\n align-items: center;\n font-size: 13px;\n list-style: none;\n\n &:hover .dropdownContent {\n display: block;\n }\n\n .dropdownLabel {\n color: $highlight;\n padding: 16px 0;\n border: 0 none;\n cursor: pointer;\n margin: 0 16px;\n }\n\n .dropdownContent {\n position: absolute;\n background-color: $dark-grey-0;\n padding: 16px;\n min-width: 82px;\n z-index: 1;\n top: 43px;\n display: none;\n padding-top: 0;\n\n &:hover {\n display: block;\n }\n\n li {\n color: $white;\n margin-top: 16px;\n text-decoration: none;\n cursor: pointer;\n list-style: none;\n\n &:last-child {\n margin-bottom: 0;\n }\n\n &.rulerOption {\n &.activeRulerOption {\n color: $highlight;\n }\n }\n\n &:hover {\n color: $highlight;\n }\n }\n }\n\n}\n\n\n\n\n",".editFixtures {\n\n .editFixturesFixtureFormItem {\n\n margin-bottom: 24px;\n\n &:last-child {\n margin-bottom: 0;\n }\n }\n\n .editFixturesInput {\n color: $dark-grey-0;\n font-size: 14px;\n font-style: normal;\n font-weight: 400;\n letter-spacing: 0;\n line-height: 24px;\n border: 2px $dark-grey-0 solid;\n padding: 10px;\n background: $white;\n width: 300px;\n\n &:focus {\n color: $dark-grey-0;\n border-color: $dark-grey-0;\n outline: 0;\n }\n }\n\n .editFixturesLabelContainer {\n margin-bottom: 6px;\n\n label {\n margin-bottom: 0;\n display: block;\n }\n\n .editFixturesLabelDescription {\n font-size: 10px;\n }\n }\n\n .editFixturesCheckboxContainer {\n display: block;\n position: relative;\n padding-left: 35px;\n margin-bottom: 12px;\n cursor: pointer;\n font-size: 22px;\n user-select: none;\n height: 25px;\n width: 24px;\n }\n\n .editFixturesCheckboxContainer input {\n position: absolute;\n opacity: 0;\n cursor: pointer;\n height: 0;\n width: 0;\n }\n\n .editFixturesCheckboxCheckmark {\n position: absolute;\n left: 0;\n height: 24px;\n width: 24px;\n background-color: $white;\n top: 3px;\n }\n\n .editFixturesCheckboxContainer input:checked ~ .editFixturesCheckboxCheckmark {\n background-color: $white;\n }\n\n .editFixturesCheckboxCheckmark::after {\n content: '';\n position: absolute;\n display: none;\n }\n\n .editFixturesCheckboxContainer input:checked ~ .editFixturesCheckboxCheckmark::after {\n display: block;\n }\n\n .editFixturesCheckboxContainer .editFixturesCheckboxCheckmark::after {\n left: 8px;\n top: 3px;\n width: 5px;\n height: 13px;\n border: solid $highlight;\n border-width: 0 3px 3px 0;\n transform: rotate(45deg);\n }\n\n}\n",".styleguideToolbar {\n position: fixed;\n width: 100%;\n color: $white;\n font-size: 13px;\n z-index: 3;\n font-family: $styleguide-font;\n transition: bottom .25s ease 0s;\n background-color: $dark-grey-0;\n\n .toolbarTop {\n height: 16px;\n display: flex;\n align-items: center;\n justify-content: center;\n }\n\n .toolbarBot {\n position: relative;\n }\n\n .toolbarOpener {\n cursor: pointer;\n position: relative;\n top: 0;\n border-radius: 10%;\n width: 50px;\n height: 54px;\n z-index: -2;\n background: $dark-grey-0;\n\n &::before {\n font-family: $verdana-font;\n content: '›';\n width: 0;\n height: 0;\n speak: none;\n font-style: normal;\n font-weight: normal;\n font-variant: normal;\n text-transform: none;\n line-height: 1;\n font-size: 24px;\n color: $highlight;\n left: 12px;\n top: 19px;\n transform: rotate(-90deg);\n position: absolute;\n }\n\n &:hover {\n color: $highlight;\n }\n }\n\n .toolbarRuler {\n cursor: pointer;\n\n svg {\n margin-left: 15px;\n position: relative;\n top: -3px;\n }\n\n &:hover {\n color: $highlight;\n }\n }\n\n &.open {\n bottom: 0 !important;\n\n .toolbarOpener {\n &::before {\n left: 38px;\n top: 8px;\n transform: rotate(90deg);\n }\n }\n\n .toolbarTabs {\n display: block;\n }\n\n .toolbarBot {\n top: -16px;\n }\n }\n\n .toolbarTabs {\n position: relative;\n\n .tabNav {\n display: flex;\n\n .tabOpener {\n height: 54px;\n background: $dark-grey-1;\n cursor: pointer;\n width: 150px;\n display: flex;\n justify-content: center;\n align-items: center;\n color: $white;\n border-right: 2px solid $dark-grey-0;\n transition: background-color .25s ease;\n position: relative;\n overflow: hidden;\n\n svg {\n width: 28px;\n height: 28px;\n fill: $white;\n }\n\n &.active {\n background: $dark-grey-0;\n color: $highlight;\n\n svg {\n fill: $highlight;\n }\n }\n\n &:hover {\n svg {\n fill: $highlight;\n }\n }\n }\n }\n\n .tabContent {\n display: none;\n padding: 32px 32px 16px;\n font-family: SFMono-Regular, Menlo, Monaco, Consolas, 'Liberation Mono', 'Courier New', monospace;\n font-size: 1em;\n color: $white;\n max-height: 200px;\n overflow-y: scroll;\n\n a {\n color: $highlight;\n }\n\n > :first-child {\n margin-top: 0;\n }\n\n &::-webkit-scrollbar {\n width: 8px;\n }\n\n &::-webkit-scrollbar-thumb {\n background-color: $highlight;\n }\n\n &.active {\n display: block;\n }\n\n .downloadZip {\n color: $white;\n text-decoration: underline;\n\n &:hover {\n color: $highlight;\n }\n }\n }\n\n }\n\n .componentArguments {\n overflow: auto;\n\n table {\n border-spacing: 0;\n min-width: 100%;\n }\n\n th,\n td {\n padding: 12px 8px;\n border-bottom: 1px $white solid;\n }\n\n th {\n text-align: left;\n font-weight: bold;\n }\n\n .componentArgumentsName {\n font-weight: bold;\n white-space: nowrap;\n }\n\n .componentArgumentsType {\n white-space: nowrap;\n }\n\n .componentArgumentsRequired {\n padding-left: 0;\n padding-right: 0;\n text-align: center;\n }\n\n .componentArgumentsDefault,\n .componentArgumentsDescription {\n font-size: 0.85em;\n word-wrap: break-word;\n }\n }\n\n .componentDocumentation {\n line-height: 1.8;\n max-width: 70em;\n\n pre, code {\n background: $dark-grey-1;\n }\n\n pre {\n padding: 16px;\n }\n\n code {\n padding: 0.3em 0.5em;\n border-radius: 3px;\n }\n\n pre > code {\n padding: 0;\n border-radius: 0;\n }\n }\n\n .qualityIssues {\n list-style: none;\n padding: 0;\n border-bottom: $white solid;\n border-width: 1px 1px 0;\n border-spacing: 0;\n min-width: 100%;\n\n th, td {\n padding: 12px 8px;\n border-bottom: 1px $white solid;\n }\n\n th {\n text-align: left;\n font-weight: bold;\n }\n\n .qualityIssueSeverity {\n text-align: center;\n padding: 12px 4px;\n\n span {\n padding: .4em .8em;\n }\n }\n\n .qualityIssueMessage {\n width: 100%;\n }\n\n .qualityIssue {\n &--major,\n &--critical,\n &--blocker {\n .qualityIssueSeverity span {\n background: $issue-major;\n font-weight: bold;\n }\n }\n\n &--minor .qualityIssueSeverity span {\n background: $issue-minor;\n font-weight: bold;\n }\n }\n }\n}\n"],"names":[],"sourceRoot":""} \ No newline at end of file diff --git a/Resources/Public/Javascript/Iframe.min.js b/Resources/Public/Javascript/Iframe.min.js index 1e7f5dc..ba52f7f 100644 --- a/Resources/Public/Javascript/Iframe.min.js +++ b/Resources/Public/Javascript/Iframe.min.js @@ -1,2 +1,2 @@ -!function(){var e={"./node_modules/iframe-resizer/js/iframeResizer.contentWindow.js":function(e){!function(t){if("undefined"!=typeof window){var n=!0,o="",i=0,r="",a=null,u="",c=!1,s={resize:1,click:1},d=128,l=!0,f=1,m="bodyOffset",g=m,h=!0,p="",v={},y=32,w=null,b=!1,T=!1,O="[iFrameSizer]",S=O.length,E="",M={max:1,min:1,bodyScroll:1,documentElementScroll:1},I="child",N=window.parent,z="*",A=0,x=!1,C=null,R=16,k=1,L="scroll",P=L,j=window,F=function(){re("onMessage function not defined")},D=function(){},q=function(){},W={height:function(){return re("Custom height calculation function not defined"),document.documentElement.offsetHeight},width:function(){return re("Custom width calculation function not defined"),document.body.scrollWidth}},H={},B=!1;try{var _=Object.create({},{passive:{get:function(){B=!0}}});window.addEventListener("test",ee,_),window.removeEventListener("test",ee,_)}catch(e){}var J,U,V,X,Y,K,Q,G={bodyOffset:function(){return document.body.offsetHeight+pe("marginTop")+pe("marginBottom")},offset:function(){return G.bodyOffset()},bodyScroll:function(){return document.body.scrollHeight},custom:function(){return W.height()},documentElementOffset:function(){return document.documentElement.offsetHeight},documentElementScroll:function(){return document.documentElement.scrollHeight},max:function(){return Math.max.apply(null,ye(G))},min:function(){return Math.min.apply(null,ye(G))},grow:function(){return G.max()},lowestElement:function(){return Math.max(G.bodyOffset()||G.documentElementOffset(),ve("bottom",be()))},taggedElement:function(){return we("bottom","data-iframe-height")}},Z={bodyScroll:function(){return document.body.scrollWidth},bodyOffset:function(){return document.body.offsetWidth},custom:function(){return W.width()},documentElementScroll:function(){return document.documentElement.scrollWidth},documentElementOffset:function(){return document.documentElement.offsetWidth},scroll:function(){return Math.max(Z.bodyScroll(),Z.documentElementScroll())},max:function(){return Math.max.apply(null,ye(Z))},min:function(){return Math.min.apply(null,ye(Z))},rightMostElement:function(){return ve("right",be())},taggedElement:function(){return we("right","data-iframe-width")}},$=(J=Te,Y=null,K=0,Q=function(){K=Date.now(),Y=null,X=J.apply(U,V),Y||(U=V=null)},function(){var e=Date.now();K||(K=e);var t=R-(e-K);return U=this,V=arguments,t<=0||t>R?(Y&&(clearTimeout(Y),Y=null),K=e,X=J.apply(U,V),Y||(U=V=null)):Y||(Y=setTimeout(Q,t)),X});te(window,"message",(function(t){var n={init:function(){p=t.data,N=t.source,ae(),l=!1,setTimeout((function(){h=!1}),d)},reset:function(){h?ie("Page reset ignored by init"):(ie("Page size reset by host page"),Ee("resetPage"))},resize:function(){Oe("resizeParent","Parent window requested size check")},moveToAnchor:function(){v.findTarget(i())},inPageLink:function(){this.moveToAnchor()},pageInfo:function(){var e=i();ie("PageInfoFromParent called from parent: "+e),q(JSON.parse(e)),ie(" --")},message:function(){var e=i();ie("onMessage called from parent: "+e),F(JSON.parse(e)),ie(" --")}};function o(){return t.data.split("]")[1].split(":")[0]}function i(){return t.data.substr(t.data.indexOf(":")+1)}function r(){return t.data.split(":")[2]in{true:1,false:1}}function a(){var i=o();i in n?n[i]():!e.exports&&"iFrameResize"in window||"jQuery"in window&&"iFrameResize"in window.jQuery.prototype||r()||re("Unexpected message ("+t.data+")")}O===(""+t.data).substr(0,S)&&(!1===l?a():r()?n.init():ie('Ignored message of type "'+o()+'". Received before initialization.'))})),te(window,"readystatechange",Ne),Ne()}function ee(){}function te(e,t,n,o){e.addEventListener(t,n,!!B&&(o||{}))}function ne(e){return e.charAt(0).toUpperCase()+e.slice(1)}function oe(e){return O+"["+E+"] "+e}function ie(e){b&&"object"==typeof window.console&&console.log(oe(e))}function re(e){"object"==typeof window.console&&console.warn(oe(e))}function ae(){var e;!function(){function e(e){return"true"===e}var a=p.substr(S).split(":");E=a[0],i=t!==a[1]?Number(a[1]):i,c=t!==a[2]?e(a[2]):c,b=t!==a[3]?e(a[3]):b,y=t!==a[4]?Number(a[4]):y,n=t!==a[6]?e(a[6]):n,r=a[7],g=t!==a[8]?a[8]:g,o=a[9],u=a[10],A=t!==a[11]?Number(a[11]):A,v.enable=t!==a[12]&&e(a[12]),I=t!==a[13]?a[13]:I,P=t!==a[14]?a[14]:P,T=t!==a[15]?Boolean(a[15]):T}(),ie("Initialising iFrame ("+window.location.href+")"),function(){function e(){var e=window.iFrameResizer;ie("Reading data from page: "+JSON.stringify(e)),Object.keys(e).forEach(ue,e),F="onMessage"in e?e.onMessage:F,D="onReady"in e?e.onReady:D,z="targetOrigin"in e?e.targetOrigin:z,g="heightCalculationMethod"in e?e.heightCalculationMethod:g,P="widthCalculationMethod"in e?e.widthCalculationMethod:P}function t(e,t){return"function"==typeof e&&(ie("Setup custom "+t+"CalcMethod"),W[t]=e,e="custom"),e}"iFrameResizer"in window&&Object===window.iFrameResizer.constructor&&(e(),g=t(g,"height"),P=t(P,"width"));ie("TargetOrigin for parent set to: "+z)}(),function(){t===r&&(r=i+"px");ce("margin",function(e,t){-1!==t.indexOf("-")&&(re("Negative CSS value ignored for "+e),t="");return t}("margin",r))}(),ce("background",o),ce("padding",u),(e=document.createElement("div")).style.clear="both",e.style.display="block",e.style.height="0",document.body.appendChild(e),fe(),me(),document.documentElement.style.height="",document.body.style.height="",ie('HTML & body height set to "auto"'),ie("Enable public methods"),j.parentIFrame={autoResize:function(e){return!0===e&&!1===n?(n=!0,ge()):!1===e&&!0===n&&(n=!1,de("remove"),null!==a&&a.disconnect(),clearInterval(w)),Ie(0,0,"autoResize",JSON.stringify(n)),n},close:function(){Ie(0,0,"close")},getId:function(){return E},getPageInfo:function(e){"function"==typeof e?(q=e,Ie(0,0,"pageInfo")):(q=function(){},Ie(0,0,"pageInfoStop"))},moveToAnchor:function(e){v.findTarget(e)},reset:function(){Me("parentIFrame.reset")},scrollTo:function(e,t){Ie(t,e,"scrollTo")},scrollToOffset:function(e,t){Ie(t,e,"scrollToOffset")},sendMessage:function(e,t){Ie(0,0,"message",JSON.stringify(e),t)},setHeightCalculationMethod:function(e){g=e,fe()},setWidthCalculationMethod:function(e){P=e,me()},setTargetOrigin:function(e){ie("Set targetOrigin: "+e),z=e},size:function(e,t){Oe("size","parentIFrame.size("+(e||"")+(t?","+t:"")+")",e,t)}},function(){if(!0!==T)return;function e(e){Ie(0,0,e.type,e.screenY+":"+e.screenX)}function t(t,n){ie("Add event listener: "+n),te(window.document,t,e)}t("mouseenter","Mouse Enter"),t("mouseleave","Mouse Leave")}(),ge(),v=function(){function e(){return{x:window.pageXOffset!==t?window.pageXOffset:document.documentElement.scrollLeft,y:window.pageYOffset!==t?window.pageYOffset:document.documentElement.scrollTop}}function n(t){var n=t.getBoundingClientRect(),o=e();return{x:parseInt(n.left,10)+parseInt(o.x,10),y:parseInt(n.top,10)+parseInt(o.y,10)}}function o(e){function o(e){var t=n(e);ie("Moving to in page link (#"+i+") at x: "+t.x+" y: "+t.y),Ie(t.y,t.x,"scrollToOffset")}var i=e.split("#")[1]||e,r=decodeURIComponent(i),a=document.getElementById(r)||document.getElementsByName(r)[0];t!==a?o(a):(ie("In page link (#"+i+") not found in iFrame, so sending to parent"),Ie(0,0,"inPageLink","#"+i))}function i(){var e=window.location.hash,t=window.location.href;""!==e&&"#"!==e&&o(t)}function r(){function e(e){function t(e){e.preventDefault(),o(this.getAttribute("href"))}"#"!==e.getAttribute("href")&&te(e,"click",t)}Array.prototype.forEach.call(document.querySelectorAll('a[href^="#"]'),e)}function a(){te(window,"hashchange",i)}function u(){setTimeout(i,d)}function c(){Array.prototype.forEach&&document.querySelectorAll?(ie("Setting up location.hash handlers"),r(),a(),u()):re("In page linking not fully supported in this browser! (See README.md for IE8 workaround)")}v.enable?c():ie("In page linking not enabled");return{findTarget:o}}(),Oe("init","Init message from host page"),D()}function ue(e){var t=e.split("Callback");if(2===t.length){var n="on"+t[0].charAt(0).toUpperCase()+t[0].slice(1);this[n]=this[e],delete this[e],re("Deprecated: '"+e+"' has been renamed '"+n+"'. The old method will be removed in the next major version.")}}function ce(e,n){t!==n&&""!==n&&"null"!==n&&(document.body.style[e]=n,ie("Body "+e+' set to "'+n+'"'))}function se(e){var t={add:function(t){function n(){Oe(e.eventName,e.eventType)}H[t]=n,te(window,t,n,{passive:!0})},remove:function(e){var t,n,o,i=H[e];delete H[e],t=window,n=e,o=i,t.removeEventListener(n,o,!1)}};e.eventNames&&Array.prototype.map?(e.eventName=e.eventNames[0],e.eventNames.map(t[e.method])):t[e.method](e.eventName),ie(ne(e.method)+" event listener: "+e.eventType)}function de(e){se({method:e,eventType:"Animation Start",eventNames:["animationstart","webkitAnimationStart"]}),se({method:e,eventType:"Animation Iteration",eventNames:["animationiteration","webkitAnimationIteration"]}),se({method:e,eventType:"Animation End",eventNames:["animationend","webkitAnimationEnd"]}),se({method:e,eventType:"Input",eventName:"input"}),se({method:e,eventType:"Mouse Up",eventName:"mouseup"}),se({method:e,eventType:"Mouse Down",eventName:"mousedown"}),se({method:e,eventType:"Orientation Change",eventName:"orientationchange"}),se({method:e,eventType:"Print",eventName:["afterprint","beforeprint"]}),se({method:e,eventType:"Ready State Change",eventName:"readystatechange"}),se({method:e,eventType:"Touch Start",eventName:"touchstart"}),se({method:e,eventType:"Touch End",eventName:"touchend"}),se({method:e,eventType:"Touch Cancel",eventName:"touchcancel"}),se({method:e,eventType:"Transition Start",eventNames:["transitionstart","webkitTransitionStart","MSTransitionStart","oTransitionStart","otransitionstart"]}),se({method:e,eventType:"Transition Iteration",eventNames:["transitioniteration","webkitTransitionIteration","MSTransitionIteration","oTransitionIteration","otransitioniteration"]}),se({method:e,eventType:"Transition End",eventNames:["transitionend","webkitTransitionEnd","MSTransitionEnd","oTransitionEnd","otransitionend"]}),"child"===I&&se({method:e,eventType:"IFrame Resized",eventName:"resize"})}function le(e,t,n,o){return t!==e&&(e in n||(re(e+" is not a valid option for "+o+"CalculationMethod."),e=t),ie(o+' calculation method set to "'+e+'"')),e}function fe(){g=le(g,m,G,"height")}function me(){P=le(P,L,Z,"width")}function ge(){var e;!0===n?(de("add"),e=0>y,window.MutationObserver||window.WebKitMutationObserver?e?he():a=function(){function e(e){function t(e){!1===e.complete&&(ie("Attach listeners to "+e.src),e.addEventListener("load",i,!1),e.addEventListener("error",r,!1),c.push(e))}"attributes"===e.type&&"src"===e.attributeName?t(e.target):"childList"===e.type&&Array.prototype.forEach.call(e.target.querySelectorAll("img"),t)}function t(e){c.splice(c.indexOf(e),1)}function n(e){ie("Remove listeners from "+e.src),e.removeEventListener("load",i,!1),e.removeEventListener("error",r,!1),t(e)}function o(e,t,o){n(e.target),Oe(t,o+": "+e.target.src)}function i(e){o(e,"imageLoad","Image loaded")}function r(e){o(e,"imageLoadFailed","Image load failed")}function a(t){Oe("mutationObserver","mutationObserver: "+t[0].target+" "+t[0].type),t.forEach(e)}function u(){var e=document.querySelector("body"),t={attributes:!0,attributeOldValue:!1,characterData:!0,characterDataOldValue:!1,childList:!0,subtree:!0};return d=new s(a),ie("Create body MutationObserver"),d.observe(e,t),d}var c=[],s=window.MutationObserver||window.WebKitMutationObserver,d=u();return{disconnect:function(){"disconnect"in d&&(ie("Disconnect body MutationObserver"),d.disconnect(),c.forEach(n))}}}():(ie("MutationObserver not supported in this browser!"),he())):ie("Auto Resize disabled")}function he(){0!==y&&(ie("setInterval: "+y+"ms"),w=setInterval((function(){Oe("interval","setInterval: "+y)}),Math.abs(y)))}function pe(e,t){var n=0;return t=t||document.body,n=null!==(n=document.defaultView.getComputedStyle(t,null))?n[e]:0,parseInt(n,10)}function ve(e,t){for(var n=t.length,o=0,i=0,r=ne(e),a=Date.now(),u=0;ui&&(i=o);return a=Date.now()-a,ie("Parsed "+n+" HTML elements"),ie("Element position calculated in "+a+"ms"),function(e){e>R/2&&ie("Event throttle increased to "+(R=2*e)+"ms")}(a),i}function ye(e){return[e.bodyOffset(),e.bodyScroll(),e.documentElementOffset(),e.documentElementScroll()]}function we(e,t){var n=document.querySelectorAll("["+t+"]");return 0===n.length&&(re("No tagged elements ("+t+") found on page"),document.querySelectorAll("body *")),ve(e,n)}function be(){return document.querySelectorAll("body *")}function Te(e,n,o,i){var r,a;!function(){function e(e,t){return!(Math.abs(e-t)<=A)}return r=t!==o?o:G[g](),a=t!==i?i:Z[P](),e(f,r)||c&&e(k,a)}()&&"init"!==e?!(e in{init:1,interval:1,size:1})&&(g in M||c&&P in M)?Me(n):e in{interval:1}||ie("No change in size detected"):(Se(),Ie(f=r,k=a,e))}function Oe(e,t,n,o){x&&e in s?ie("Trigger event cancelled: "+e):(e in{reset:1,resetPage:1,init:1}||ie("Trigger event: "+t),"init"===e?Te(e,t,n,o):$(e,t,n,o))}function Se(){x||(x=!0,ie("Trigger event lock on")),clearTimeout(C),C=setTimeout((function(){x=!1,ie("Trigger event lock off"),ie("--")}),d)}function Ee(e){f=G[g](),k=Z[P](),Ie(f,k,e)}function Me(e){var t=g;g=m,ie("Reset trigger event: "+e),Se(),Ee("reset"),g=t}function Ie(e,n,o,i,r){var a;t===r?r=z:ie("Message targetOrigin: "+r),ie("Sending message to host page ("+(a=E+":"+e+":"+n+":"+o+(t!==i?":"+i:""))+")"),N.postMessage(O+a,r)}function Ne(){"loading"!==document.readyState&&window.parent.postMessage("[iFrameResizerChild]Ready","*")}}()}},t={};function n(o){var i=t[o];if(void 0!==i)return i.exports;var r=t[o]={exports:{}};return e[o](r,r.exports,n),r.exports}n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,{a:t}),t},n.d=function(e,t){for(var o in t)n.o(t,o)&&!n.o(e,o)&&Object.defineProperty(e,o,{enumerable:!0,get:t[o]})},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var o={};!function(){"use strict";n.r(o);n("./node_modules/iframe-resizer/js/iframeResizer.contentWindow.js");document.addEventListener("click",(function(){window.top.document.querySelector(".styleguideSelectOpened")&&window.top.document.querySelector(".styleguideSelectOpened").classList.remove("styleguideSelectOpened")}))}()}(); +!function(){var e={"./node_modules/iframe-resizer/js/iframeResizer.contentWindow.js":function(e){!function(t){if("undefined"!=typeof window){var n=!0,o="",i=0,r="",a=null,u="",c=!1,s={resize:1,click:1},d=128,l=!0,f=1,m="bodyOffset",g=m,h=!0,p="",v={},y=32,w=null,b=!1,T=!1,O="[iFrameSizer]",S="",E={max:1,min:1,bodyScroll:1,documentElementScroll:1},M="child",I=window.parent,N="*",z=0,A=!1,x=null,C=16,R=1,k="scroll",L=k,P=window,j=function(){ie("onMessage function not defined")},F=function(){},D=function(){},q={height:function(){return ie("Custom height calculation function not defined"),document.documentElement.offsetHeight},width:function(){return ie("Custom width calculation function not defined"),document.body.scrollWidth}},W={},H=!1;try{var B=Object.create({},{passive:{get:function(){H=!0}}});window.addEventListener("test",$,B),window.removeEventListener("test",$,B)}catch(e){}var _,J,U,V,X,Y,K,Q={bodyOffset:function(){return document.body.offsetHeight+he("marginTop")+he("marginBottom")},offset:function(){return Q.bodyOffset()},bodyScroll:function(){return document.body.scrollHeight},custom:function(){return q.height()},documentElementOffset:function(){return document.documentElement.offsetHeight},documentElementScroll:function(){return document.documentElement.scrollHeight},max:function(){return Math.max.apply(null,ve(Q))},min:function(){return Math.min.apply(null,ve(Q))},grow:function(){return Q.max()},lowestElement:function(){return Math.max(Q.bodyOffset()||Q.documentElementOffset(),pe("bottom",we()))},taggedElement:function(){return ye("bottom","data-iframe-height")}},G={bodyScroll:function(){return document.body.scrollWidth},bodyOffset:function(){return document.body.offsetWidth},custom:function(){return q.width()},documentElementScroll:function(){return document.documentElement.scrollWidth},documentElementOffset:function(){return document.documentElement.offsetWidth},scroll:function(){return Math.max(G.bodyScroll(),G.documentElementScroll())},max:function(){return Math.max.apply(null,ve(G))},min:function(){return Math.min.apply(null,ve(G))},rightMostElement:function(){return pe("right",we())},taggedElement:function(){return ye("right","data-iframe-width")}},Z=(_=be,X=null,Y=0,K=function(){Y=Date.now(),X=null,V=_.apply(J,U),X||(J=U=null)},function(){var e=Date.now();Y||(Y=e);var t=C-(e-Y);return J=this,U=arguments,t<=0||t>C?(X&&(clearTimeout(X),X=null),Y=e,V=_.apply(J,U),X||(J=U=null)):X||(X=setTimeout(K,t)),V});"iframeResizer"in window||(window.iframeChildListener=function(e){Ie({data:e,sameDomian:!0})},ee(window,"message",Ie),ee(window,"readystatechange",Ne),Ne())}function $(){}function ee(e,t,n,o){e.addEventListener(t,n,!!H&&(o||{}))}function te(e){return e.charAt(0).toUpperCase()+e.slice(1)}function ne(e){return O+"["+S+"] "+e}function oe(e){b&&"object"==typeof window.console&&console.log(ne(e))}function ie(e){"object"==typeof window.console&&console.warn(ne(e))}function re(){var e;!function(){function e(e){return"true"===e}var a=p.slice(13).split(":");S=a[0],i=t===a[1]?i:Number(a[1]),c=t===a[2]?c:e(a[2]),b=t===a[3]?b:e(a[3]),y=t===a[4]?y:Number(a[4]),n=t===a[6]?n:e(a[6]),r=a[7],g=t===a[8]?g:a[8],o=a[9],u=a[10],z=t===a[11]?z:Number(a[11]),v.enable=t!==a[12]&&e(a[12]),M=t===a[13]?M:a[13],L=t===a[14]?L:a[14],T=t===a[15]?T:e(a[15])}(),oe("Initialising iFrame ("+window.location.href+")"),function(){function e(){var e=window.iFrameResizer;oe("Reading data from page: "+JSON.stringify(e)),Object.keys(e).forEach(ae,e),j="onMessage"in e?e.onMessage:j,F="onReady"in e?e.onReady:F,N="targetOrigin"in e?e.targetOrigin:N,g="heightCalculationMethod"in e?e.heightCalculationMethod:g,L="widthCalculationMethod"in e?e.widthCalculationMethod:L}function t(e,t){return"function"==typeof e&&(oe("Setup custom "+t+"CalcMethod"),q[t]=e,e="custom"),e}"iFrameResizer"in window&&Object===window.iFrameResizer.constructor&&(e(),g=t(g,"height"),L=t(L,"width"));oe("TargetOrigin for parent set to: "+N)}(),function(){t===r&&(r=i+"px");ue("margin",function(e,t){-1!==t.indexOf("-")&&(ie("Negative CSS value ignored for "+e),t="");return t}("margin",r))}(),ue("background",o),ue("padding",u),(e=document.createElement("div")).style.clear="both",e.style.display="block",e.style.height="0",document.body.appendChild(e),le(),fe(),document.documentElement.style.height="",document.body.style.height="",oe('HTML & body height set to "auto"'),oe("Enable public methods"),P.parentIFrame={autoResize:function(e){return!0===e&&!1===n?(n=!0,me()):!1===e&&!0===n&&(n=!1,se("remove"),null!==a&&a.disconnect(),clearInterval(w)),Me(0,0,"autoResize",JSON.stringify(n)),n},close:function(){Me(0,0,"close")},getId:function(){return S},getPageInfo:function(e){"function"==typeof e?(D=e,Me(0,0,"pageInfo")):(D=function(){},Me(0,0,"pageInfoStop"))},moveToAnchor:function(e){v.findTarget(e)},reset:function(){Ee("parentIFrame.reset")},scrollTo:function(e,t){Me(t,e,"scrollTo")},scrollToOffset:function(e,t){Me(t,e,"scrollToOffset")},sendMessage:function(e,t){Me(0,0,"message",JSON.stringify(e),t)},setHeightCalculationMethod:function(e){g=e,le()},setWidthCalculationMethod:function(e){L=e,fe()},setTargetOrigin:function(e){oe("Set targetOrigin: "+e),N=e},size:function(e,t){Te("size","parentIFrame.size("+(e||"")+(t?","+t:"")+")",e,t)}},function(){if(!0!==T)return;function e(e){Me(0,0,e.type,e.screenY+":"+e.screenX)}function t(t,n){oe("Add event listener: "+n),ee(window.document,t,e)}t("mouseenter","Mouse Enter"),t("mouseleave","Mouse Leave")}(),me(),v=function(){function e(){return{x:window.pageXOffset===t?document.documentElement.scrollLeft:window.pageXOffset,y:window.pageYOffset===t?document.documentElement.scrollTop:window.pageYOffset}}function n(t){var n=t.getBoundingClientRect(),o=e();return{x:parseInt(n.left,10)+parseInt(o.x,10),y:parseInt(n.top,10)+parseInt(o.y,10)}}function o(e){function o(e){var t=n(e);oe("Moving to in page link (#"+i+") at x: "+t.x+" y: "+t.y),Me(t.y,t.x,"scrollToOffset")}var i=e.split("#")[1]||e,r=decodeURIComponent(i),a=document.getElementById(r)||document.getElementsByName(r)[0];t===a?(oe("In page link (#"+i+") not found in iFrame, so sending to parent"),Me(0,0,"inPageLink","#"+i)):o(a)}function i(){var e=window.location.hash,t=window.location.href;""!==e&&"#"!==e&&o(t)}function r(){function e(e){function t(e){e.preventDefault(),o(this.getAttribute("href"))}"#"!==e.getAttribute("href")&&ee(e,"click",t)}Array.prototype.forEach.call(document.querySelectorAll('a[href^="#"]'),e)}function a(){ee(window,"hashchange",i)}function u(){setTimeout(i,d)}function c(){Array.prototype.forEach&&document.querySelectorAll?(oe("Setting up location.hash handlers"),r(),a(),u()):ie("In page linking not fully supported in this browser! (See README.md for IE8 workaround)")}v.enable?c():oe("In page linking not enabled");return{findTarget:o}}(),Te("init","Init message from host page"),F()}function ae(e){var t=e.split("Callback");if(2===t.length){var n="on"+t[0].charAt(0).toUpperCase()+t[0].slice(1);this[n]=this[e],delete this[e],ie("Deprecated: '"+e+"' has been renamed '"+n+"'. The old method will be removed in the next major version.")}}function ue(e,n){t!==n&&""!==n&&"null"!==n&&(document.body.style[e]=n,oe("Body "+e+' set to "'+n+'"'))}function ce(e){var t={add:function(t){function n(){Te(e.eventName,e.eventType)}W[t]=n,ee(window,t,n,{passive:!0})},remove:function(e){var t,n,o,i=W[e];delete W[e],t=window,n=e,o=i,t.removeEventListener(n,o,!1)}};e.eventNames&&Array.prototype.map?(e.eventName=e.eventNames[0],e.eventNames.map(t[e.method])):t[e.method](e.eventName),oe(te(e.method)+" event listener: "+e.eventType)}function se(e){ce({method:e,eventType:"Animation Start",eventNames:["animationstart","webkitAnimationStart"]}),ce({method:e,eventType:"Animation Iteration",eventNames:["animationiteration","webkitAnimationIteration"]}),ce({method:e,eventType:"Animation End",eventNames:["animationend","webkitAnimationEnd"]}),ce({method:e,eventType:"Input",eventName:"input"}),ce({method:e,eventType:"Mouse Up",eventName:"mouseup"}),ce({method:e,eventType:"Mouse Down",eventName:"mousedown"}),ce({method:e,eventType:"Orientation Change",eventName:"orientationchange"}),ce({method:e,eventType:"Print",eventNames:["afterprint","beforeprint"]}),ce({method:e,eventType:"Ready State Change",eventName:"readystatechange"}),ce({method:e,eventType:"Touch Start",eventName:"touchstart"}),ce({method:e,eventType:"Touch End",eventName:"touchend"}),ce({method:e,eventType:"Touch Cancel",eventName:"touchcancel"}),ce({method:e,eventType:"Transition Start",eventNames:["transitionstart","webkitTransitionStart","MSTransitionStart","oTransitionStart","otransitionstart"]}),ce({method:e,eventType:"Transition Iteration",eventNames:["transitioniteration","webkitTransitionIteration","MSTransitionIteration","oTransitionIteration","otransitioniteration"]}),ce({method:e,eventType:"Transition End",eventNames:["transitionend","webkitTransitionEnd","MSTransitionEnd","oTransitionEnd","otransitionend"]}),"child"===M&&ce({method:e,eventType:"IFrame Resized",eventName:"resize"})}function de(e,t,n,o){return t!==e&&(e in n||(ie(e+" is not a valid option for "+o+"CalculationMethod."),e=t),oe(o+' calculation method set to "'+e+'"')),e}function le(){g=de(g,m,Q,"height")}function fe(){L=de(L,k,G,"width")}function me(){var e;!0===n?(se("add"),e=0>y,window.MutationObserver||window.WebKitMutationObserver?e?ge():a=function(){function e(e){function t(e){!1===e.complete&&(oe("Attach listeners to "+e.src),e.addEventListener("load",i,!1),e.addEventListener("error",r,!1),c.push(e))}"attributes"===e.type&&"src"===e.attributeName?t(e.target):"childList"===e.type&&Array.prototype.forEach.call(e.target.querySelectorAll("img"),t)}function t(e){c.splice(c.indexOf(e),1)}function n(e){oe("Remove listeners from "+e.src),e.removeEventListener("load",i,!1),e.removeEventListener("error",r,!1),t(e)}function o(e,t,o){n(e.target),Te(t,o+": "+e.target.src)}function i(e){o(e,"imageLoad","Image loaded")}function r(e){o(e,"imageLoadFailed","Image load failed")}function a(t){Te("mutationObserver","mutationObserver: "+t[0].target+" "+t[0].type),t.forEach(e)}function u(){var e=document.querySelector("body"),t={attributes:!0,attributeOldValue:!1,characterData:!0,characterDataOldValue:!1,childList:!0,subtree:!0};return d=new s(a),oe("Create body MutationObserver"),d.observe(e,t),d}var c=[],s=window.MutationObserver||window.WebKitMutationObserver,d=u();return{disconnect:function(){"disconnect"in d&&(oe("Disconnect body MutationObserver"),d.disconnect(),c.forEach(n))}}}():(oe("MutationObserver not supported in this browser!"),ge())):oe("Auto Resize disabled")}function ge(){0!==y&&(oe("setInterval: "+y+"ms"),w=setInterval((function(){Te("interval","setInterval: "+y)}),Math.abs(y)))}function he(e,t){var n=0;return t=t||document.body,n=null===(n=document.defaultView.getComputedStyle(t,null))?0:n[e],parseInt(n,10)}function pe(e,t){for(var n=t.length,o=0,i=0,r=te(e),a=Date.now(),u=0;ui&&(i=o);return a=Date.now()-a,oe("Parsed "+n+" HTML elements"),oe("Element position calculated in "+a+"ms"),function(e){e>C/2&&oe("Event throttle increased to "+(C=2*e)+"ms")}(a),i}function ve(e){return[e.bodyOffset(),e.bodyScroll(),e.documentElementOffset(),e.documentElementScroll()]}function ye(e,t){var n=document.querySelectorAll("["+t+"]");return 0===n.length&&(ie("No tagged elements ("+t+") found on page"),document.querySelectorAll("body *")),pe(e,n)}function we(){return document.querySelectorAll("body *")}function be(e,n,o,i){var r,a;!function(){function e(e,t){return!(Math.abs(e-t)<=z)}return r=t===o?Q[g]():o,a=t===i?G[L]():i,e(f,r)||c&&e(R,a)}()&&"init"!==e?!(e in{init:1,interval:1,size:1})&&(g in E||c&&L in E)?Ee(n):e in{interval:1}||oe("No change in size detected"):(Oe(),Me(f=r,R=a,e))}function Te(e,t,n,o){A&&e in s?oe("Trigger event cancelled: "+e):(e in{reset:1,resetPage:1,init:1}||oe("Trigger event: "+t),"init"===e?be(e,t,n,o):Z(e,t,n,o))}function Oe(){A||(A=!0,oe("Trigger event lock on")),clearTimeout(x),x=setTimeout((function(){A=!1,oe("Trigger event lock off"),oe("--")}),d)}function Se(e){f=Q[g](),R=G[L](),Me(f,R,e)}function Ee(e){var t=g;g=m,oe("Reset trigger event: "+e),Oe(),Se("reset"),g=t}function Me(e,n,o,i,r){var a;t===r?r=N:oe("Message targetOrigin: "+r),oe("Sending message to host page ("+(a=S+":"+e+":"+n+":"+o+(t===i?"":":"+i))+")"),I.postMessage(O+a,r)}function Ie(n){var o={init:function(){p=n.data,I=n.source,re(),l=!1,setTimeout((function(){h=!1}),d)},reset:function(){h?oe("Page reset ignored by init"):(oe("Page size reset by host page"),Se("resetPage"))},resize:function(){Te("resizeParent","Parent window requested size check")},moveToAnchor:function(){v.findTarget(r())},inPageLink:function(){this.moveToAnchor()},pageInfo:function(){var e=r();oe("PageInfoFromParent called from parent: "+e),D(JSON.parse(e)),oe(" --")},message:function(){var e=r();oe("onMessage called from parent: "+e),j(JSON.parse(e)),oe(" --")}};function i(){return n.data.split("]")[1].split(":")[0]}function r(){return n.data.slice(n.data.indexOf(":")+1)}function a(){return n.data.split(":")[2]in{true:1,false:1}}function u(){var r=i();r in o?o[r]():!e.exports&&"iFrameResize"in window||window.jQuery!==t&&"iFrameResize"in window.jQuery.prototype||a()||ie("Unexpected message ("+n.data+")")}O===(""+n.data).slice(0,13)&&(!1===l?u():a()?o.init():oe('Ignored message of type "'+i()+'". Received before initialization.'))}function Ne(){"loading"!==document.readyState&&window.parent.postMessage("[iFrameResizerChild]Ready","*")}}()}},t={};function n(o){var i=t[o];if(void 0!==i)return i.exports;var r=t[o]={exports:{}};return e[o](r,r.exports,n),r.exports}n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,{a:t}),t},n.d=function(e,t){for(var o in t)n.o(t,o)&&!n.o(e,o)&&Object.defineProperty(e,o,{enumerable:!0,get:t[o]})},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var o={};!function(){"use strict";n.r(o);n("./node_modules/iframe-resizer/js/iframeResizer.contentWindow.js");document.addEventListener("click",(()=>{window.top.document.querySelector(".styleguideSelectOpened")&&window.top.document.querySelector(".styleguideSelectOpened").classList.remove("styleguideSelectOpened")}))}()}(); //# sourceMappingURL=Iframe.min.js.map \ No newline at end of file diff --git a/Resources/Public/Javascript/Iframe.min.js.map b/Resources/Public/Javascript/Iframe.min.js.map index 2ea7be2..c8c2e15 100644 --- a/Resources/Public/Javascript/Iframe.min.js.map +++ b/Resources/Public/Javascript/Iframe.min.js.map @@ -1 +1 @@ -{"version":3,"file":"Iframe.min.js","mappings":"kGAWC,SAAWA,GACV,GAAsB,oBAAXC,OAAX,CAEA,IAA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ID,EAAS6L,EAAyBE,GAAY,CAGjD9L,QAAS,IAOV,OAHAgM,EAAoBF,GAAU/L,EAAQA,EAAOC,QAAS6L,GAG/C9L,EAAOC,QCpBf6L,EAAoBI,EAAI,SAASlM,GAChC,IAAImM,EAASnM,GAAUA,EAAOoM,WAC7B,WAAa,OAAOpM,EAAgB,SACpC,WAAa,OAAOA,GAErB,OADA8L,EAAoBO,EAAEF,EAAQ,CAAEd,EAAGc,IAC5BA,GCLRL,EAAoBO,EAAI,SAASpM,EAASqM,GACzC,IAAI,IAAItF,KAAOsF,EACXR,EAAoBS,EAAED,EAAYtF,KAAS8E,EAAoBS,EAAEtM,EAAS+G,IAC5EvL,OAAO+Q,eAAevM,EAAS+G,EAAK,CAAEyF,YAAY,EAAM7Q,IAAK0Q,EAAWtF,MCJ3E8E,EAAoBS,EAAI,SAASG,EAAKvC,GAAQ,OAAO1O,OAAO0E,UAAUwM,eAAejG,KAAKgG,EAAKvC,ICC/F2B,EAAoBc,EAAI,SAAS3M,GACX,oBAAX4M,QAA0BA,OAAOC,aAC1CrR,OAAO+Q,eAAevM,EAAS4M,OAAOC,YAAa,CAAEtK,MAAO,WAE7D/G,OAAO+Q,eAAevM,EAAS,aAAc,CAAEuC,OAAO,K,8GCFvDvH,SAASY,iBAAiB,SAAS,WACV7D,OAAO4N,IAAI3K,SAASqO,cAAc,4BAEnDtR,OAAO4N,IAAI3K,SAASqO,cAAc,2BAA2ByD,UAAUvF,OAAO,6B","sources":["webpack://fluidstyleguide/./node_modules/iframe-resizer/js/iframeResizer.contentWindow.js","webpack://fluidstyleguide/webpack/bootstrap","webpack://fluidstyleguide/webpack/runtime/compat get default export","webpack://fluidstyleguide/webpack/runtime/define property getters","webpack://fluidstyleguide/webpack/runtime/hasOwnProperty shorthand","webpack://fluidstyleguide/webpack/runtime/make namespace object","webpack://fluidstyleguide/./Resources/Private/Javascript/Iframe.js"],"sourcesContent":["/*\n * File: iframeResizer.contentWindow.js\n * Desc: Include this file in any page being loaded into an iframe\n * to force the iframe to resize to the content size.\n * Requires: iframeResizer.js on host page.\n * Doc: https://github.com/davidjbradshaw/iframe-resizer\n * Author: David J. Bradshaw - dave@bradshaw.net\n *\n */\n\n// eslint-disable-next-line sonarjs/cognitive-complexity, no-shadow-restricted-names\n;(function (undefined) {\n if (typeof window === 'undefined') return // don't run for server side render\n\n var autoResize = true,\n base = 10,\n bodyBackground = '',\n bodyMargin = 0,\n bodyMarginStr = '',\n bodyObserver = null,\n bodyPadding = '',\n calculateWidth = false,\n doubleEventList = { resize: 1, click: 1 },\n eventCancelTimer = 128,\n firstRun = true,\n height = 1,\n heightCalcModeDefault = 'bodyOffset',\n heightCalcMode = heightCalcModeDefault,\n initLock = true,\n initMsg = '',\n inPageLinks = {},\n interval = 32,\n intervalTimer = null,\n logging = false,\n mouseEvents = false,\n msgID = '[iFrameSizer]', // Must match host page msg ID\n msgIdLen = msgID.length,\n myID = '',\n resetRequiredMethods = {\n max: 1,\n min: 1,\n bodyScroll: 1,\n documentElementScroll: 1\n },\n resizeFrom = 'child',\n sendPermit = true,\n target = window.parent,\n targetOriginDefault = '*',\n tolerance = 0,\n triggerLocked = false,\n triggerLockedTimer = null,\n throttledTimer = 16,\n width = 1,\n widthCalcModeDefault = 'scroll',\n widthCalcMode = widthCalcModeDefault,\n win = window,\n onMessage = function () {\n warn('onMessage function not defined')\n },\n onReady = function () {},\n onPageInfo = function () {},\n customCalcMethods = {\n height: function () {\n warn('Custom height calculation function not defined')\n return document.documentElement.offsetHeight\n },\n width: function () {\n warn('Custom width calculation function not defined')\n return document.body.scrollWidth\n }\n },\n eventHandlersByName = {},\n passiveSupported = false\n\n function noop() {}\n\n try {\n var options = Object.create(\n {},\n {\n passive: {\n get: function () {\n passiveSupported = true\n }\n }\n }\n )\n window.addEventListener('test', noop, options)\n window.removeEventListener('test', noop, options)\n } catch (error) {\n /* */\n }\n\n function addEventListener(el, evt, func, options) {\n el.addEventListener(evt, func, passiveSupported ? options || {} : false)\n }\n\n function removeEventListener(el, evt, func) {\n el.removeEventListener(evt, func, false)\n }\n\n function capitalizeFirstLetter(string) {\n return string.charAt(0).toUpperCase() + string.slice(1)\n }\n\n // Based on underscore.js\n function throttle(func) {\n var context,\n args,\n result,\n timeout = null,\n previous = 0,\n later = function () {\n previous = Date.now()\n timeout = null\n result = func.apply(context, args)\n if (!timeout) {\n // eslint-disable-next-line no-multi-assign\n context = args = null\n }\n }\n\n return function () {\n var now = Date.now()\n\n if (!previous) {\n previous = now\n }\n\n var remaining = throttledTimer - (now - previous)\n\n context = this\n args = arguments\n\n if (remaining <= 0 || remaining > throttledTimer) {\n if (timeout) {\n clearTimeout(timeout)\n timeout = null\n }\n\n previous = now\n result = func.apply(context, args)\n\n if (!timeout) {\n // eslint-disable-next-line no-multi-assign\n context = args = null\n }\n } else if (!timeout) {\n timeout = setTimeout(later, remaining)\n }\n\n return result\n }\n }\n\n function formatLogMsg(msg) {\n return msgID + '[' + myID + '] ' + msg\n }\n\n function log(msg) {\n if (logging && 'object' === typeof window.console) {\n // eslint-disable-next-line no-console\n console.log(formatLogMsg(msg))\n }\n }\n\n function warn(msg) {\n if ('object' === typeof window.console) {\n // eslint-disable-next-line no-console\n console.warn(formatLogMsg(msg))\n }\n }\n\n function init() {\n readDataFromParent()\n log('Initialising iFrame (' + window.location.href + ')')\n readDataFromPage()\n setMargin()\n setBodyStyle('background', bodyBackground)\n setBodyStyle('padding', bodyPadding)\n injectClearFixIntoBodyElement()\n checkHeightMode()\n checkWidthMode()\n stopInfiniteResizingOfIFrame()\n setupPublicMethods()\n setupMouseEvents()\n startEventListeners()\n inPageLinks = setupInPageLinks()\n sendSize('init', 'Init message from host page')\n onReady()\n }\n\n function readDataFromParent() {\n function strBool(str) {\n return 'true' === str\n }\n\n var data = initMsg.substr(msgIdLen).split(':')\n\n myID = data[0]\n bodyMargin = undefined !== data[1] ? Number(data[1]) : bodyMargin // For V1 compatibility\n calculateWidth = undefined !== data[2] ? strBool(data[2]) : calculateWidth\n logging = undefined !== data[3] ? strBool(data[3]) : logging\n interval = undefined !== data[4] ? Number(data[4]) : interval\n autoResize = undefined !== data[6] ? strBool(data[6]) : autoResize\n bodyMarginStr = data[7]\n heightCalcMode = undefined !== data[8] ? data[8] : heightCalcMode\n bodyBackground = data[9]\n bodyPadding = data[10]\n tolerance = undefined !== data[11] ? Number(data[11]) : tolerance\n inPageLinks.enable = undefined !== data[12] ? strBool(data[12]) : false\n resizeFrom = undefined !== data[13] ? data[13] : resizeFrom\n widthCalcMode = undefined !== data[14] ? data[14] : widthCalcMode\n mouseEvents = undefined !== data[15] ? Boolean(data[15]) : mouseEvents\n }\n\n function depricate(key) {\n var splitName = key.split('Callback')\n\n if (splitName.length === 2) {\n var name =\n 'on' + splitName[0].charAt(0).toUpperCase() + splitName[0].slice(1)\n this[name] = this[key]\n delete this[key]\n warn(\n \"Deprecated: '\" +\n key +\n \"' has been renamed '\" +\n name +\n \"'. The old method will be removed in the next major version.\"\n )\n }\n }\n\n function readDataFromPage() {\n function readData() {\n var data = window.iFrameResizer\n\n log('Reading data from page: ' + JSON.stringify(data))\n Object.keys(data).forEach(depricate, data)\n\n onMessage = 'onMessage' in data ? data.onMessage : onMessage\n onReady = 'onReady' in data ? data.onReady : onReady\n targetOriginDefault =\n 'targetOrigin' in data ? data.targetOrigin : targetOriginDefault\n heightCalcMode =\n 'heightCalculationMethod' in data\n ? data.heightCalculationMethod\n : heightCalcMode\n widthCalcMode =\n 'widthCalculationMethod' in data\n ? data.widthCalculationMethod\n : widthCalcMode\n }\n\n function setupCustomCalcMethods(calcMode, calcFunc) {\n if ('function' === typeof calcMode) {\n log('Setup custom ' + calcFunc + 'CalcMethod')\n customCalcMethods[calcFunc] = calcMode\n calcMode = 'custom'\n }\n\n return calcMode\n }\n\n if (\n 'iFrameResizer' in window &&\n Object === window.iFrameResizer.constructor\n ) {\n readData()\n heightCalcMode = setupCustomCalcMethods(heightCalcMode, 'height')\n widthCalcMode = setupCustomCalcMethods(widthCalcMode, 'width')\n }\n\n log('TargetOrigin for parent set to: ' + targetOriginDefault)\n }\n\n function chkCSS(attr, value) {\n if (-1 !== value.indexOf('-')) {\n warn('Negative CSS value ignored for ' + attr)\n value = ''\n }\n return value\n }\n\n function setBodyStyle(attr, value) {\n if (undefined !== value && '' !== value && 'null' !== value) {\n document.body.style[attr] = value\n log('Body ' + attr + ' set to \"' + value + '\"')\n }\n }\n\n function setMargin() {\n // If called via V1 script, convert bodyMargin from int to str\n if (undefined === bodyMarginStr) {\n bodyMarginStr = bodyMargin + 'px'\n }\n\n setBodyStyle('margin', chkCSS('margin', bodyMarginStr))\n }\n\n function stopInfiniteResizingOfIFrame() {\n document.documentElement.style.height = ''\n document.body.style.height = ''\n log('HTML & body height set to \"auto\"')\n }\n\n function manageTriggerEvent(options) {\n var listener = {\n add: function (eventName) {\n function handleEvent() {\n sendSize(options.eventName, options.eventType)\n }\n\n eventHandlersByName[eventName] = handleEvent\n\n addEventListener(window, eventName, handleEvent, { passive: true })\n },\n remove: function (eventName) {\n var handleEvent = eventHandlersByName[eventName]\n delete eventHandlersByName[eventName]\n\n removeEventListener(window, eventName, handleEvent)\n }\n }\n\n if (options.eventNames && Array.prototype.map) {\n options.eventName = options.eventNames[0]\n options.eventNames.map(listener[options.method])\n } else {\n listener[options.method](options.eventName)\n }\n\n log(\n capitalizeFirstLetter(options.method) +\n ' event listener: ' +\n options.eventType\n )\n }\n\n function manageEventListeners(method) {\n manageTriggerEvent({\n method: method,\n eventType: 'Animation Start',\n eventNames: ['animationstart', 'webkitAnimationStart']\n })\n manageTriggerEvent({\n method: method,\n eventType: 'Animation Iteration',\n eventNames: ['animationiteration', 'webkitAnimationIteration']\n })\n manageTriggerEvent({\n method: method,\n eventType: 'Animation End',\n eventNames: ['animationend', 'webkitAnimationEnd']\n })\n manageTriggerEvent({\n method: method,\n eventType: 'Input',\n eventName: 'input'\n })\n manageTriggerEvent({\n method: method,\n eventType: 'Mouse Up',\n eventName: 'mouseup'\n })\n manageTriggerEvent({\n method: method,\n eventType: 'Mouse Down',\n eventName: 'mousedown'\n })\n manageTriggerEvent({\n method: method,\n eventType: 'Orientation Change',\n eventName: 'orientationchange'\n })\n manageTriggerEvent({\n method: method,\n eventType: 'Print',\n eventName: ['afterprint', 'beforeprint']\n })\n manageTriggerEvent({\n method: method,\n eventType: 'Ready State Change',\n eventName: 'readystatechange'\n })\n manageTriggerEvent({\n method: method,\n eventType: 'Touch Start',\n eventName: 'touchstart'\n })\n manageTriggerEvent({\n method: method,\n eventType: 'Touch End',\n eventName: 'touchend'\n })\n manageTriggerEvent({\n method: method,\n eventType: 'Touch Cancel',\n eventName: 'touchcancel'\n })\n manageTriggerEvent({\n method: method,\n eventType: 'Transition Start',\n eventNames: [\n 'transitionstart',\n 'webkitTransitionStart',\n 'MSTransitionStart',\n 'oTransitionStart',\n 'otransitionstart'\n ]\n })\n manageTriggerEvent({\n method: method,\n eventType: 'Transition Iteration',\n eventNames: [\n 'transitioniteration',\n 'webkitTransitionIteration',\n 'MSTransitionIteration',\n 'oTransitionIteration',\n 'otransitioniteration'\n ]\n })\n manageTriggerEvent({\n method: method,\n eventType: 'Transition End',\n eventNames: [\n 'transitionend',\n 'webkitTransitionEnd',\n 'MSTransitionEnd',\n 'oTransitionEnd',\n 'otransitionend'\n ]\n })\n if ('child' === resizeFrom) {\n manageTriggerEvent({\n method: method,\n eventType: 'IFrame Resized',\n eventName: 'resize'\n })\n }\n }\n\n function checkCalcMode(calcMode, calcModeDefault, modes, type) {\n if (calcModeDefault !== calcMode) {\n if (!(calcMode in modes)) {\n warn(\n calcMode + ' is not a valid option for ' + type + 'CalculationMethod.'\n )\n calcMode = calcModeDefault\n }\n log(type + ' calculation method set to \"' + calcMode + '\"')\n }\n\n return calcMode\n }\n\n function checkHeightMode() {\n heightCalcMode = checkCalcMode(\n heightCalcMode,\n heightCalcModeDefault,\n getHeight,\n 'height'\n )\n }\n\n function checkWidthMode() {\n widthCalcMode = checkCalcMode(\n widthCalcMode,\n widthCalcModeDefault,\n getWidth,\n 'width'\n )\n }\n\n function startEventListeners() {\n if (true === autoResize) {\n manageEventListeners('add')\n setupMutationObserver()\n } else {\n log('Auto Resize disabled')\n }\n }\n\n // function stopMsgsToParent() {\n // log('Disable outgoing messages')\n // sendPermit = false\n // }\n\n // function removeMsgListener() {\n // log('Remove event listener: Message')\n // removeEventListener(window, 'message', receiver)\n // }\n\n function disconnectMutationObserver() {\n if (null !== bodyObserver) {\n /* istanbul ignore next */ // Not testable in PhantonJS\n bodyObserver.disconnect()\n }\n }\n\n function stopEventListeners() {\n manageEventListeners('remove')\n disconnectMutationObserver()\n clearInterval(intervalTimer)\n }\n\n // function teardown() {\n // stopMsgsToParent()\n // removeMsgListener()\n // if (true === autoResize) stopEventListeners()\n // }\n\n function injectClearFixIntoBodyElement() {\n var clearFix = document.createElement('div')\n clearFix.style.clear = 'both'\n // Guard against the following having been globally redefined in CSS.\n clearFix.style.display = 'block'\n clearFix.style.height = '0'\n document.body.appendChild(clearFix)\n }\n\n function setupInPageLinks() {\n function getPagePosition() {\n return {\n x:\n window.pageXOffset !== undefined\n ? window.pageXOffset\n : document.documentElement.scrollLeft,\n y:\n window.pageYOffset !== undefined\n ? window.pageYOffset\n : document.documentElement.scrollTop\n }\n }\n\n function getElementPosition(el) {\n var elPosition = el.getBoundingClientRect(),\n pagePosition = getPagePosition()\n\n return {\n x: parseInt(elPosition.left, 10) + parseInt(pagePosition.x, 10),\n y: parseInt(elPosition.top, 10) + parseInt(pagePosition.y, 10)\n }\n }\n\n function findTarget(location) {\n function jumpToTarget(target) {\n var jumpPosition = getElementPosition(target)\n\n log(\n 'Moving to in page link (#' +\n hash +\n ') at x: ' +\n jumpPosition.x +\n ' y: ' +\n jumpPosition.y\n )\n sendMsg(jumpPosition.y, jumpPosition.x, 'scrollToOffset') // X&Y reversed at sendMsg uses height/width\n }\n\n var hash = location.split('#')[1] || location, // Remove # if present\n hashData = decodeURIComponent(hash),\n target =\n document.getElementById(hashData) ||\n document.getElementsByName(hashData)[0]\n\n if (undefined !== target) {\n jumpToTarget(target)\n } else {\n log(\n 'In page link (#' +\n hash +\n ') not found in iFrame, so sending to parent'\n )\n sendMsg(0, 0, 'inPageLink', '#' + hash)\n }\n }\n\n function checkLocationHash() {\n var hash = window.location.hash\n var href = window.location.href\n\n if ('' !== hash && '#' !== hash) {\n findTarget(href)\n }\n }\n\n function bindAnchors() {\n function setupLink(el) {\n function linkClicked(e) {\n e.preventDefault()\n\n /* jshint validthis:true */\n findTarget(this.getAttribute('href'))\n }\n\n if ('#' !== el.getAttribute('href')) {\n addEventListener(el, 'click', linkClicked)\n }\n }\n\n Array.prototype.forEach.call(\n document.querySelectorAll('a[href^=\"#\"]'),\n setupLink\n )\n }\n\n function bindLocationHash() {\n addEventListener(window, 'hashchange', checkLocationHash)\n }\n\n function initCheck() {\n // Check if page loaded with location hash after init resize\n setTimeout(checkLocationHash, eventCancelTimer)\n }\n\n function enableInPageLinks() {\n /* istanbul ignore else */ // Not testable in phantonJS\n if (Array.prototype.forEach && document.querySelectorAll) {\n log('Setting up location.hash handlers')\n bindAnchors()\n bindLocationHash()\n initCheck()\n } else {\n warn(\n 'In page linking not fully supported in this browser! (See README.md for IE8 workaround)'\n )\n }\n }\n\n if (inPageLinks.enable) {\n enableInPageLinks()\n } else {\n log('In page linking not enabled')\n }\n\n return {\n findTarget: findTarget\n }\n }\n\n function setupMouseEvents() {\n if (mouseEvents !== true) return\n\n function sendMouse(e) {\n sendMsg(0, 0, e.type, e.screenY + ':' + e.screenX)\n }\n\n function addMouseListener(evt, name) {\n log('Add event listener: ' + name)\n addEventListener(window.document, evt, sendMouse)\n }\n\n addMouseListener('mouseenter', 'Mouse Enter')\n addMouseListener('mouseleave', 'Mouse Leave')\n }\n\n function setupPublicMethods() {\n log('Enable public methods')\n\n win.parentIFrame = {\n autoResize: function autoResizeF(resize) {\n if (true === resize && false === autoResize) {\n autoResize = true\n startEventListeners()\n } else if (false === resize && true === autoResize) {\n autoResize = false\n stopEventListeners()\n }\n sendMsg(0, 0, 'autoResize', JSON.stringify(autoResize))\n return autoResize\n },\n\n close: function closeF() {\n sendMsg(0, 0, 'close')\n // teardown()\n },\n\n getId: function getIdF() {\n return myID\n },\n\n getPageInfo: function getPageInfoF(callback) {\n if ('function' === typeof callback) {\n onPageInfo = callback\n sendMsg(0, 0, 'pageInfo')\n } else {\n onPageInfo = function () {}\n sendMsg(0, 0, 'pageInfoStop')\n }\n },\n\n moveToAnchor: function moveToAnchorF(hash) {\n inPageLinks.findTarget(hash)\n },\n\n reset: function resetF() {\n resetIFrame('parentIFrame.reset')\n },\n\n scrollTo: function scrollToF(x, y) {\n sendMsg(y, x, 'scrollTo') // X&Y reversed at sendMsg uses height/width\n },\n\n scrollToOffset: function scrollToF(x, y) {\n sendMsg(y, x, 'scrollToOffset') // X&Y reversed at sendMsg uses height/width\n },\n\n sendMessage: function sendMessageF(msg, targetOrigin) {\n sendMsg(0, 0, 'message', JSON.stringify(msg), targetOrigin)\n },\n\n setHeightCalculationMethod: function setHeightCalculationMethodF(\n heightCalculationMethod\n ) {\n heightCalcMode = heightCalculationMethod\n checkHeightMode()\n },\n\n setWidthCalculationMethod: function setWidthCalculationMethodF(\n widthCalculationMethod\n ) {\n widthCalcMode = widthCalculationMethod\n checkWidthMode()\n },\n\n setTargetOrigin: function setTargetOriginF(targetOrigin) {\n log('Set targetOrigin: ' + targetOrigin)\n targetOriginDefault = targetOrigin\n },\n\n size: function sizeF(customHeight, customWidth) {\n var valString =\n '' + (customHeight || '') + (customWidth ? ',' + customWidth : '')\n sendSize(\n 'size',\n 'parentIFrame.size(' + valString + ')',\n customHeight,\n customWidth\n )\n }\n }\n }\n\n function initInterval() {\n if (0 !== interval) {\n log('setInterval: ' + interval + 'ms')\n intervalTimer = setInterval(function () {\n sendSize('interval', 'setInterval: ' + interval)\n }, Math.abs(interval))\n }\n }\n\n // Not testable in PhantomJS\n /* istanbul ignore next */\n function setupBodyMutationObserver() {\n function addImageLoadListners(mutation) {\n function addImageLoadListener(element) {\n if (false === element.complete) {\n log('Attach listeners to ' + element.src)\n element.addEventListener('load', imageLoaded, false)\n element.addEventListener('error', imageError, false)\n elements.push(element)\n }\n }\n\n if (mutation.type === 'attributes' && mutation.attributeName === 'src') {\n addImageLoadListener(mutation.target)\n } else if (mutation.type === 'childList') {\n Array.prototype.forEach.call(\n mutation.target.querySelectorAll('img'),\n addImageLoadListener\n )\n }\n }\n\n function removeFromArray(element) {\n elements.splice(elements.indexOf(element), 1)\n }\n\n function removeImageLoadListener(element) {\n log('Remove listeners from ' + element.src)\n element.removeEventListener('load', imageLoaded, false)\n element.removeEventListener('error', imageError, false)\n removeFromArray(element)\n }\n\n function imageEventTriggered(event, type, typeDesc) {\n removeImageLoadListener(event.target)\n sendSize(type, typeDesc + ': ' + event.target.src)\n }\n\n function imageLoaded(event) {\n imageEventTriggered(event, 'imageLoad', 'Image loaded')\n }\n\n function imageError(event) {\n imageEventTriggered(event, 'imageLoadFailed', 'Image load failed')\n }\n\n function mutationObserved(mutations) {\n sendSize(\n 'mutationObserver',\n 'mutationObserver: ' + mutations[0].target + ' ' + mutations[0].type\n )\n\n // Deal with WebKit / Blink asyncing image loading when tags are injected into the page\n mutations.forEach(addImageLoadListners)\n }\n\n function createMutationObserver() {\n var target = document.querySelector('body'),\n config = {\n attributes: true,\n attributeOldValue: false,\n characterData: true,\n characterDataOldValue: false,\n childList: true,\n subtree: true\n }\n\n observer = new MutationObserver(mutationObserved)\n\n log('Create body MutationObserver')\n observer.observe(target, config)\n\n return observer\n }\n\n var elements = [],\n MutationObserver =\n window.MutationObserver || window.WebKitMutationObserver,\n observer = createMutationObserver()\n\n return {\n disconnect: function () {\n if ('disconnect' in observer) {\n log('Disconnect body MutationObserver')\n observer.disconnect()\n elements.forEach(removeImageLoadListener)\n }\n }\n }\n }\n\n function setupMutationObserver() {\n var forceIntervalTimer = 0 > interval\n\n // Not testable in PhantomJS\n /* istanbul ignore if */ if (\n window.MutationObserver ||\n window.WebKitMutationObserver\n ) {\n if (forceIntervalTimer) {\n initInterval()\n } else {\n bodyObserver = setupBodyMutationObserver()\n }\n } else {\n log('MutationObserver not supported in this browser!')\n initInterval()\n }\n }\n\n // document.documentElement.offsetHeight is not reliable, so\n // we have to jump through hoops to get a better value.\n function getComputedStyle(prop, el) {\n var retVal = 0\n el = el || document.body // Not testable in phantonJS\n\n retVal = document.defaultView.getComputedStyle(el, null)\n retVal = null !== retVal ? retVal[prop] : 0\n\n return parseInt(retVal, base)\n }\n\n function chkEventThottle(timer) {\n if (timer > throttledTimer / 2) {\n throttledTimer = 2 * timer\n log('Event throttle increased to ' + throttledTimer + 'ms')\n }\n }\n\n // Idea from https://github.com/guardian/iframe-messenger\n function getMaxElement(side, elements) {\n var elementsLength = elements.length,\n elVal = 0,\n maxVal = 0,\n Side = capitalizeFirstLetter(side),\n timer = Date.now()\n\n for (var i = 0; i < elementsLength; i++) {\n elVal =\n elements[i].getBoundingClientRect()[side] +\n getComputedStyle('margin' + Side, elements[i])\n if (elVal > maxVal) {\n maxVal = elVal\n }\n }\n\n timer = Date.now() - timer\n\n log('Parsed ' + elementsLength + ' HTML elements')\n log('Element position calculated in ' + timer + 'ms')\n\n chkEventThottle(timer)\n\n return maxVal\n }\n\n function getAllMeasurements(dimensions) {\n return [\n dimensions.bodyOffset(),\n dimensions.bodyScroll(),\n dimensions.documentElementOffset(),\n dimensions.documentElementScroll()\n ]\n }\n\n function getTaggedElements(side, tag) {\n function noTaggedElementsFound() {\n warn('No tagged elements (' + tag + ') found on page')\n return document.querySelectorAll('body *')\n }\n\n var elements = document.querySelectorAll('[' + tag + ']')\n\n if (elements.length === 0) noTaggedElementsFound()\n\n return getMaxElement(side, elements)\n }\n\n function getAllElements() {\n return document.querySelectorAll('body *')\n }\n\n var getHeight = {\n bodyOffset: function getBodyOffsetHeight() {\n return (\n document.body.offsetHeight +\n getComputedStyle('marginTop') +\n getComputedStyle('marginBottom')\n )\n },\n\n offset: function () {\n return getHeight.bodyOffset() // Backwards compatability\n },\n\n bodyScroll: function getBodyScrollHeight() {\n return document.body.scrollHeight\n },\n\n custom: function getCustomWidth() {\n return customCalcMethods.height()\n },\n\n documentElementOffset: function getDEOffsetHeight() {\n return document.documentElement.offsetHeight\n },\n\n documentElementScroll: function getDEScrollHeight() {\n return document.documentElement.scrollHeight\n },\n\n max: function getMaxHeight() {\n return Math.max.apply(null, getAllMeasurements(getHeight))\n },\n\n min: function getMinHeight() {\n return Math.min.apply(null, getAllMeasurements(getHeight))\n },\n\n grow: function growHeight() {\n return getHeight.max() // Run max without the forced downsizing\n },\n\n lowestElement: function getBestHeight() {\n return Math.max(\n getHeight.bodyOffset() || getHeight.documentElementOffset(),\n getMaxElement('bottom', getAllElements())\n )\n },\n\n taggedElement: function getTaggedElementsHeight() {\n return getTaggedElements('bottom', 'data-iframe-height')\n }\n },\n getWidth = {\n bodyScroll: function getBodyScrollWidth() {\n return document.body.scrollWidth\n },\n\n bodyOffset: function getBodyOffsetWidth() {\n return document.body.offsetWidth\n },\n\n custom: function getCustomWidth() {\n return customCalcMethods.width()\n },\n\n documentElementScroll: function getDEScrollWidth() {\n return document.documentElement.scrollWidth\n },\n\n documentElementOffset: function getDEOffsetWidth() {\n return document.documentElement.offsetWidth\n },\n\n scroll: function getMaxWidth() {\n return Math.max(getWidth.bodyScroll(), getWidth.documentElementScroll())\n },\n\n max: function getMaxWidth() {\n return Math.max.apply(null, getAllMeasurements(getWidth))\n },\n\n min: function getMinWidth() {\n return Math.min.apply(null, getAllMeasurements(getWidth))\n },\n\n rightMostElement: function rightMostElement() {\n return getMaxElement('right', getAllElements())\n },\n\n taggedElement: function getTaggedElementsWidth() {\n return getTaggedElements('right', 'data-iframe-width')\n }\n }\n\n function sizeIFrame(\n triggerEvent,\n triggerEventDesc,\n customHeight,\n customWidth\n ) {\n function resizeIFrame() {\n height = currentHeight\n width = currentWidth\n\n sendMsg(height, width, triggerEvent)\n }\n\n function isSizeChangeDetected() {\n function checkTolarance(a, b) {\n var retVal = Math.abs(a - b) <= tolerance\n return !retVal\n }\n\n currentHeight =\n undefined !== customHeight ? customHeight : getHeight[heightCalcMode]()\n currentWidth =\n undefined !== customWidth ? customWidth : getWidth[widthCalcMode]()\n\n return (\n checkTolarance(height, currentHeight) ||\n (calculateWidth && checkTolarance(width, currentWidth))\n )\n }\n\n function isForceResizableEvent() {\n return !(triggerEvent in { init: 1, interval: 1, size: 1 })\n }\n\n function isForceResizableCalcMode() {\n return (\n heightCalcMode in resetRequiredMethods ||\n (calculateWidth && widthCalcMode in resetRequiredMethods)\n )\n }\n\n function logIgnored() {\n log('No change in size detected')\n }\n\n function checkDownSizing() {\n if (isForceResizableEvent() && isForceResizableCalcMode()) {\n resetIFrame(triggerEventDesc)\n } else if (!(triggerEvent in { interval: 1 })) {\n logIgnored()\n }\n }\n\n var currentHeight, currentWidth\n\n if (isSizeChangeDetected() || 'init' === triggerEvent) {\n lockTrigger()\n resizeIFrame()\n } else {\n checkDownSizing()\n }\n }\n\n var sizeIFrameThrottled = throttle(sizeIFrame)\n\n function sendSize(triggerEvent, triggerEventDesc, customHeight, customWidth) {\n function recordTrigger() {\n if (!(triggerEvent in { reset: 1, resetPage: 1, init: 1 })) {\n log('Trigger event: ' + triggerEventDesc)\n }\n }\n\n function isDoubleFiredEvent() {\n return triggerLocked && triggerEvent in doubleEventList\n }\n\n if (!isDoubleFiredEvent()) {\n recordTrigger()\n if (triggerEvent === 'init') {\n sizeIFrame(triggerEvent, triggerEventDesc, customHeight, customWidth)\n } else {\n sizeIFrameThrottled(\n triggerEvent,\n triggerEventDesc,\n customHeight,\n customWidth\n )\n }\n } else {\n log('Trigger event cancelled: ' + triggerEvent)\n }\n }\n\n function lockTrigger() {\n if (!triggerLocked) {\n triggerLocked = true\n log('Trigger event lock on')\n }\n clearTimeout(triggerLockedTimer)\n triggerLockedTimer = setTimeout(function () {\n triggerLocked = false\n log('Trigger event lock off')\n log('--')\n }, eventCancelTimer)\n }\n\n function triggerReset(triggerEvent) {\n height = getHeight[heightCalcMode]()\n width = getWidth[widthCalcMode]()\n\n sendMsg(height, width, triggerEvent)\n }\n\n function resetIFrame(triggerEventDesc) {\n var hcm = heightCalcMode\n heightCalcMode = heightCalcModeDefault\n\n log('Reset trigger event: ' + triggerEventDesc)\n lockTrigger()\n triggerReset('reset')\n\n heightCalcMode = hcm\n }\n\n function sendMsg(height, width, triggerEvent, msg, targetOrigin) {\n function setTargetOrigin() {\n if (undefined === targetOrigin) {\n targetOrigin = targetOriginDefault\n } else {\n log('Message targetOrigin: ' + targetOrigin)\n }\n }\n\n function sendToParent() {\n var size = height + ':' + width,\n message =\n myID +\n ':' +\n size +\n ':' +\n triggerEvent +\n (undefined !== msg ? ':' + msg : '')\n\n log('Sending message to host page (' + message + ')')\n target.postMessage(msgID + message, targetOrigin)\n }\n\n if (true === sendPermit) {\n setTargetOrigin()\n sendToParent()\n }\n }\n\n function receiver(event) {\n var processRequestFromParent = {\n init: function initFromParent() {\n initMsg = event.data\n target = event.source\n\n init()\n firstRun = false\n setTimeout(function () {\n initLock = false\n }, eventCancelTimer)\n },\n\n reset: function resetFromParent() {\n if (!initLock) {\n log('Page size reset by host page')\n triggerReset('resetPage')\n } else {\n log('Page reset ignored by init')\n }\n },\n\n resize: function resizeFromParent() {\n sendSize('resizeParent', 'Parent window requested size check')\n },\n\n moveToAnchor: function moveToAnchorF() {\n inPageLinks.findTarget(getData())\n },\n inPageLink: function inPageLinkF() {\n this.moveToAnchor()\n }, // Backward compatability\n\n pageInfo: function pageInfoFromParent() {\n var msgBody = getData()\n log('PageInfoFromParent called from parent: ' + msgBody)\n onPageInfo(JSON.parse(msgBody))\n log(' --')\n },\n\n message: function messageFromParent() {\n var msgBody = getData()\n\n log('onMessage called from parent: ' + msgBody)\n // eslint-disable-next-line sonarjs/no-extra-arguments\n onMessage(JSON.parse(msgBody))\n log(' --')\n }\n }\n\n function isMessageForUs() {\n return msgID === ('' + event.data).substr(0, msgIdLen) // ''+ Protects against non-string messages\n }\n\n function getMessageType() {\n return event.data.split(']')[1].split(':')[0]\n }\n\n function getData() {\n return event.data.substr(event.data.indexOf(':') + 1)\n }\n\n function isMiddleTier() {\n return (\n (!(typeof module !== 'undefined' && module.exports) &&\n 'iFrameResize' in window) ||\n ('jQuery' in window && 'iFrameResize' in window.jQuery.prototype)\n )\n }\n\n function isInitMsg() {\n // Test if this message is from a child below us. This is an ugly test, however, updating\n // the message format would break backwards compatibity.\n return event.data.split(':')[2] in { true: 1, false: 1 }\n }\n\n function callFromParent() {\n var messageType = getMessageType()\n\n if (messageType in processRequestFromParent) {\n processRequestFromParent[messageType]()\n } else if (!isMiddleTier() && !isInitMsg()) {\n warn('Unexpected message (' + event.data + ')')\n }\n }\n\n function processMessage() {\n if (false === firstRun) {\n callFromParent()\n } else if (isInitMsg()) {\n processRequestFromParent.init()\n } else {\n log(\n 'Ignored message of type \"' +\n getMessageType() +\n '\". Received before initialization.'\n )\n }\n }\n\n if (isMessageForUs()) {\n processMessage()\n }\n }\n\n // Normally the parent kicks things off when it detects the iFrame has loaded.\n // If this script is async-loaded, then tell parent page to retry init.\n function chkLateLoaded() {\n if ('loading' !== document.readyState) {\n window.parent.postMessage('[iFrameResizerChild]Ready', '*')\n }\n }\n\n addEventListener(window, 'message', receiver)\n addEventListener(window, 'readystatechange', chkLateLoaded)\n chkLateLoaded()\n\n \n})()\n","// The module cache\nvar __webpack_module_cache__ = {};\n\n// The require function\nfunction __webpack_require__(moduleId) {\n\t// Check if module is in cache\n\tvar cachedModule = __webpack_module_cache__[moduleId];\n\tif (cachedModule !== undefined) {\n\t\treturn cachedModule.exports;\n\t}\n\t// Create a new module (and put it into the cache)\n\tvar module = __webpack_module_cache__[moduleId] = {\n\t\t// no module.id needed\n\t\t// no module.loaded needed\n\t\texports: {}\n\t};\n\n\t// Execute the module function\n\t__webpack_modules__[moduleId](module, module.exports, __webpack_require__);\n\n\t// Return the exports of the module\n\treturn module.exports;\n}\n\n","// getDefaultExport function for compatibility with non-harmony modules\n__webpack_require__.n = function(module) {\n\tvar getter = module && module.__esModule ?\n\t\tfunction() { return module['default']; } :\n\t\tfunction() { return module; };\n\t__webpack_require__.d(getter, { a: getter });\n\treturn getter;\n};","// define getter functions for harmony exports\n__webpack_require__.d = function(exports, definition) {\n\tfor(var key in definition) {\n\t\tif(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) {\n\t\t\tObject.defineProperty(exports, key, { enumerable: true, get: definition[key] });\n\t\t}\n\t}\n};","__webpack_require__.o = function(obj, prop) { return Object.prototype.hasOwnProperty.call(obj, prop); }","// define __esModule on exports\n__webpack_require__.r = function(exports) {\n\tif(typeof Symbol !== 'undefined' && Symbol.toStringTag) {\n\t\tObject.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });\n\t}\n\tObject.defineProperty(exports, '__esModule', { value: true });\n};","import 'iframe-resizer/js/iframeResizer.contentWindow';\n\n// close select if clicked outside\ndocument.addEventListener('click', () => {\n const selectOpened = window.top.document.querySelector('.styleguideSelectOpened');\n if (selectOpened) {\n window.top.document.querySelector('.styleguideSelectOpened').classList.remove('styleguideSelectOpened');\n }\n});\n"],"names":["undefined","window","autoResize","bodyBackground","bodyMargin","bodyMarginStr","bodyObserver","bodyPadding","calculateWidth","doubleEventList","resize","click","eventCancelTimer","firstRun","height","heightCalcModeDefault","heightCalcMode","initLock","initMsg","inPageLinks","interval","intervalTimer","logging","mouseEvents","msgID","msgIdLen","length","myID","resetRequiredMethods","max","min","bodyScroll","documentElementScroll","resizeFrom","target","parent","targetOriginDefault","tolerance","triggerLocked","triggerLockedTimer","throttledTimer","width","widthCalcModeDefault","widthCalcMode","win","onMessage","warn","onReady","onPageInfo","customCalcMethods","document","documentElement","offsetHeight","body","scrollWidth","eventHandlersByName","passiveSupported","options","Object","create","passive","get","addEventListener","noop","removeEventListener","error","func","context","args","result","timeout","previous","later","getHeight","bodyOffset","getComputedStyle","offset","scrollHeight","custom","documentElementOffset","Math","apply","getAllMeasurements","grow","lowestElement","getMaxElement","getAllElements","taggedElement","getTaggedElements","getWidth","offsetWidth","scroll","rightMostElement","sizeIFrameThrottled","sizeIFrame","Date","now","remaining","this","arguments","clearTimeout","setTimeout","event","processRequestFromParent","init","data","source","reset","log","triggerReset","sendSize","moveToAnchor","findTarget","getData","inPageLink","pageInfo","msgBody","JSON","parse","message","getMessageType","split","substr","indexOf","isInitMsg","true","false","callFromParent","messageType","module","exports","jQuery","prototype","chkLateLoaded","el","evt","capitalizeFirstLetter","string","charAt","toUpperCase","slice","formatLogMsg","msg","console","clearFix","strBool","str","Number","enable","Boolean","readDataFromParent","location","href","readData","iFrameResizer","stringify","keys","forEach","depricate","targetOrigin","heightCalculationMethod","widthCalculationMethod","setupCustomCalcMethods","calcMode","calcFunc","constructor","readDataFromPage","setBodyStyle","attr","value","chkCSS","setMargin","createElement","style","clear","display","appendChild","checkHeightMode","checkWidthMode","parentIFrame","startEventListeners","manageEventListeners","disconnect","clearInterval","sendMsg","close","getId","getPageInfo","callback","hash","resetIFrame","scrollTo","x","y","scrollToOffset","sendMessage","setHeightCalculationMethod","setWidthCalculationMethod","setTargetOrigin","size","customHeight","customWidth","sendMouse","e","type","screenY","screenX","addMouseListener","name","setupMouseEvents","getPagePosition","pageXOffset","scrollLeft","pageYOffset","scrollTop","getElementPosition","elPosition","getBoundingClientRect","pagePosition","parseInt","left","top","jumpToTarget","jumpPosition","hashData","decodeURIComponent","getElementById","getElementsByName","checkLocationHash","bindAnchors","setupLink","linkClicked","preventDefault","getAttribute","Array","call","querySelectorAll","bindLocationHash","initCheck","enableInPageLinks","setupInPageLinks","key","splitName","manageTriggerEvent","listener","add","eventName","handleEvent","eventType","remove","eventNames","map","method","checkCalcMode","calcModeDefault","modes","forceIntervalTimer","MutationObserver","WebKitMutationObserver","initInterval","addImageLoadListners","mutation","addImageLoadListener","element","complete","src","imageLoaded","imageError","elements","push","attributeName","removeFromArray","splice","removeImageLoadListener","imageEventTriggered","typeDesc","mutationObserved","mutations","createMutationObserver","querySelector","config","attributes","attributeOldValue","characterData","characterDataOldValue","childList","subtree","observer","observe","setupBodyMutationObserver","setInterval","abs","prop","retVal","defaultView","side","elementsLength","elVal","maxVal","Side","timer","i","chkEventThottle","dimensions","tag","triggerEvent","triggerEventDesc","currentHeight","currentWidth","checkTolarance","a","b","isSizeChangeDetected","lockTrigger","resetPage","hcm","postMessage","readyState","__webpack_module_cache__","__webpack_require__","moduleId","cachedModule","__webpack_modules__","n","getter","__esModule","d","definition","o","defineProperty","enumerable","obj","hasOwnProperty","r","Symbol","toStringTag","classList"],"sourceRoot":""} \ No newline at end of file +{"version":3,"file":"Iframe.min.js","mappings":"kGAWC,SAAWA,GACV,GAAsB,oBAAXC,OAAX,CAEA,IAAIC,GAAa,EAEfC,EAAiB,GACjBC,EAAa,EACbC,EAAgB,GAChBC,EAAe,KACfC,EAAc,GACdC,GAAiB,EACjBC,EAAkB,CAAEC,OAAQ,EAAGC,MAAO,GACtCC,EAAmB,IACnBC,GAAW,EACXC,EAAS,EACTC,EAAwB,aACxBC,EAAiBD,EACjBE,GAAW,EACXC,EAAU,GACVC,EAAc,CAAC,EACfC,EAAW,GACXC,EAAgB,KAChBC,GAAU,EACVC,GAAc,EACdC,EAAQ,gBAERC,EAAO,GACPC,EAAuB,CACrBC,IAAK,EACLC,IAAK,EACLC,WAAY,EACZC,sBAAuB,GAEzBC,EAAa,QAEbC,EAAS/B,OAAOgC,OAChBC,EAAsB,IACtBC,EAAY,EACZC,GAAgB,EAChBC,EAAqB,KACrBC,EAAiB,GACjBC,EAAQ,EACRC,EAAuB,SACvBC,EAAgBD,EAChBE,EAAMzC,OACN0C,EAAY,WACVC,GAAK,iCACP,EACAC,EAAU,WAAa,EACvBC,EAAa,WAAa,EAC1BC,EAAoB,CAClBjC,OAAQ,WAEN,OADA8B,GAAK,kDACEI,SAASC,gBAAgBC,YAClC,EACAX,MAAO,WAEL,OADAK,GAAK,iDACEI,SAASG,KAAKC,WACvB,GAEFC,EAAsB,CAAC,EACvBC,GAAmB,E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AjBiU,EACH,OAAOA,EAAaN,QAGrB,IAAID,EAASI,EAAyBE,GAAY,CAGjDL,QAAS,CAAC,GAOX,OAHAO,EAAoBF,GAAUN,EAAQA,EAAOC,QAASI,GAG/CL,EAAOC,OACf,CCrBAI,EAAoBI,EAAI,SAAST,GAChC,IAAIU,EAASV,GAAUA,EAAOW,WAC7B,WAAa,OAAOX,EAAgB,OAAG,EACvC,WAAa,OAAOA,CAAQ,EAE7B,OADAK,EAAoBO,EAAEF,EAAQ,CAAEhC,EAAGgC,IAC5BA,CACR,ECNAL,EAAoBO,EAAI,SAASX,EAASY,GACzC,IAAI,IAAI1G,KAAO0G,EACXR,EAAoBS,EAAED,EAAY1G,KAASkG,EAAoBS,EAAEb,EAAS9F,IAC5ErK,OAAOiR,eAAed,EAAS9F,EAAK,CAAE6G,YAAY,EAAM/Q,IAAK4Q,EAAW1G,IAG3E,ECPAkG,EAAoBS,EAAI,SAASG,EAAKzD,GAAQ,OAAO1N,OAAO8J,UAAUsH,eAAerH,KAAKoH,EAAKzD,EAAO,ECCtG6C,EAAoBc,EAAI,SAASlB,GACX,oBAAXmB,QAA0BA,OAAOC,aAC1CvR,OAAOiR,eAAed,EAASmB,OAAOC,YAAa,CAAEhM,MAAO,WAE7DvF,OAAOiR,eAAed,EAAS,aAAc,CAAE5K,OAAO,GACvD,E,8GCHA/F,SAASY,iBAAiB,SAAS,KACV3D,OAAOuM,IAAIxJ,SAASqN,cAAc,4BAEnDpQ,OAAOuM,IAAIxJ,SAASqN,cAAc,2BAA2B2E,UAAU1G,OAAO,4B","sources":["webpack://fluidstyleguide/./node_modules/iframe-resizer/js/iframeResizer.contentWindow.js","webpack://fluidstyleguide/webpack/bootstrap","webpack://fluidstyleguide/webpack/runtime/compat get default export","webpack://fluidstyleguide/webpack/runtime/define property getters","webpack://fluidstyleguide/webpack/runtime/hasOwnProperty shorthand","webpack://fluidstyleguide/webpack/runtime/make namespace object","webpack://fluidstyleguide/./Resources/Private/Javascript/Iframe.js"],"sourcesContent":["/*\n * File: iframeResizer.contentWindow.js\n * Desc: Include this file in any page being loaded into an iframe\n * to force the iframe to resize to the content size.\n * Requires: iframeResizer.js on host page.\n * Doc: https://iframe-resizer.com\n * Author: David J. Bradshaw - info@iframe-resizer.com\n *\n */\n\n// eslint-disable-next-line sonarjs/cognitive-complexity, no-shadow-restricted-names\n;(function (undefined) {\n if (typeof window === 'undefined') return // don't run for server side render\n\n var autoResize = true,\n base = 10,\n bodyBackground = '',\n bodyMargin = 0,\n bodyMarginStr = '',\n bodyObserver = null,\n bodyPadding = '',\n calculateWidth = false,\n doubleEventList = { resize: 1, click: 1 },\n eventCancelTimer = 128,\n firstRun = true,\n height = 1,\n heightCalcModeDefault = 'bodyOffset',\n heightCalcMode = heightCalcModeDefault,\n initLock = true,\n initMsg = '',\n inPageLinks = {},\n interval = 32,\n intervalTimer = null,\n logging = false,\n mouseEvents = false,\n msgID = '[iFrameSizer]', // Must match host page msg ID\n msgIdLen = msgID.length,\n myID = '',\n resetRequiredMethods = {\n max: 1,\n min: 1,\n bodyScroll: 1,\n documentElementScroll: 1\n },\n resizeFrom = 'child',\n sendPermit = true,\n target = window.parent,\n targetOriginDefault = '*',\n tolerance = 0,\n triggerLocked = false,\n triggerLockedTimer = null,\n throttledTimer = 16,\n width = 1,\n widthCalcModeDefault = 'scroll',\n widthCalcMode = widthCalcModeDefault,\n win = window,\n onMessage = function () {\n warn('onMessage function not defined')\n },\n onReady = function () {},\n onPageInfo = function () {},\n customCalcMethods = {\n height: function () {\n warn('Custom height calculation function not defined')\n return document.documentElement.offsetHeight\n },\n width: function () {\n warn('Custom width calculation function not defined')\n return document.body.scrollWidth\n }\n },\n eventHandlersByName = {},\n passiveSupported = false\n\n function noop() {}\n\n try {\n var options = Object.create(\n {},\n {\n passive: {\n // eslint-disable-next-line getter-return\n get: function () {\n passiveSupported = true\n }\n }\n }\n )\n window.addEventListener('test', noop, options)\n window.removeEventListener('test', noop, options)\n } catch (error) {\n /* */\n }\n\n function addEventListener(el, evt, func, options) {\n el.addEventListener(evt, func, passiveSupported ? options || {} : false)\n }\n\n function removeEventListener(el, evt, func) {\n el.removeEventListener(evt, func, false)\n }\n\n function capitalizeFirstLetter(string) {\n return string.charAt(0).toUpperCase() + string.slice(1)\n }\n\n // Based on underscore.js\n function throttle(func) {\n var context,\n args,\n result,\n timeout = null,\n previous = 0,\n later = function () {\n previous = Date.now()\n timeout = null\n result = func.apply(context, args)\n if (!timeout) {\n // eslint-disable-next-line no-multi-assign\n context = args = null\n }\n }\n\n return function () {\n var now = Date.now()\n\n if (!previous) {\n previous = now\n }\n\n var remaining = throttledTimer - (now - previous)\n\n context = this\n args = arguments\n\n if (remaining <= 0 || remaining > throttledTimer) {\n if (timeout) {\n clearTimeout(timeout)\n timeout = null\n }\n\n previous = now\n result = func.apply(context, args)\n\n if (!timeout) {\n // eslint-disable-next-line no-multi-assign\n context = args = null\n }\n } else if (!timeout) {\n timeout = setTimeout(later, remaining)\n }\n\n return result\n }\n }\n\n function formatLogMsg(msg) {\n return msgID + '[' + myID + '] ' + msg\n }\n\n function log(msg) {\n if (logging && 'object' === typeof window.console) {\n // eslint-disable-next-line no-console\n console.log(formatLogMsg(msg))\n }\n }\n\n function warn(msg) {\n if ('object' === typeof window.console) {\n // eslint-disable-next-line no-console\n console.warn(formatLogMsg(msg))\n }\n }\n\n function init() {\n readDataFromParent()\n log('Initialising iFrame (' + window.location.href + ')')\n readDataFromPage()\n setMargin()\n setBodyStyle('background', bodyBackground)\n setBodyStyle('padding', bodyPadding)\n injectClearFixIntoBodyElement()\n checkHeightMode()\n checkWidthMode()\n stopInfiniteResizingOfIFrame()\n setupPublicMethods()\n setupMouseEvents()\n startEventListeners()\n inPageLinks = setupInPageLinks()\n sendSize('init', 'Init message from host page')\n onReady()\n }\n\n function readDataFromParent() {\n function strBool(str) {\n return 'true' === str\n }\n\n var data = initMsg.slice(msgIdLen).split(':')\n\n myID = data[0]\n bodyMargin = undefined === data[1] ? bodyMargin : Number(data[1]) // For V1 compatibility\n calculateWidth = undefined === data[2] ? calculateWidth : strBool(data[2])\n logging = undefined === data[3] ? logging : strBool(data[3])\n interval = undefined === data[4] ? interval : Number(data[4])\n autoResize = undefined === data[6] ? autoResize : strBool(data[6])\n bodyMarginStr = data[7]\n heightCalcMode = undefined === data[8] ? heightCalcMode : data[8]\n bodyBackground = data[9]\n bodyPadding = data[10]\n tolerance = undefined === data[11] ? tolerance : Number(data[11])\n inPageLinks.enable = undefined === data[12] ? false : strBool(data[12])\n resizeFrom = undefined === data[13] ? resizeFrom : data[13]\n widthCalcMode = undefined === data[14] ? widthCalcMode : data[14]\n mouseEvents = undefined === data[15] ? mouseEvents : strBool(data[15])\n }\n\n function depricate(key) {\n var splitName = key.split('Callback')\n\n if (splitName.length === 2) {\n var name =\n 'on' + splitName[0].charAt(0).toUpperCase() + splitName[0].slice(1)\n this[name] = this[key]\n delete this[key]\n warn(\n \"Deprecated: '\" +\n key +\n \"' has been renamed '\" +\n name +\n \"'. The old method will be removed in the next major version.\"\n )\n }\n }\n\n function readDataFromPage() {\n function readData() {\n var data = window.iFrameResizer\n\n log('Reading data from page: ' + JSON.stringify(data))\n Object.keys(data).forEach(depricate, data)\n\n onMessage = 'onMessage' in data ? data.onMessage : onMessage\n onReady = 'onReady' in data ? data.onReady : onReady\n targetOriginDefault =\n 'targetOrigin' in data ? data.targetOrigin : targetOriginDefault\n heightCalcMode =\n 'heightCalculationMethod' in data\n ? data.heightCalculationMethod\n : heightCalcMode\n widthCalcMode =\n 'widthCalculationMethod' in data\n ? data.widthCalculationMethod\n : widthCalcMode\n }\n\n function setupCustomCalcMethods(calcMode, calcFunc) {\n if ('function' === typeof calcMode) {\n log('Setup custom ' + calcFunc + 'CalcMethod')\n customCalcMethods[calcFunc] = calcMode\n calcMode = 'custom'\n }\n\n return calcMode\n }\n\n if (\n 'iFrameResizer' in window &&\n Object === window.iFrameResizer.constructor\n ) {\n readData()\n heightCalcMode = setupCustomCalcMethods(heightCalcMode, 'height')\n widthCalcMode = setupCustomCalcMethods(widthCalcMode, 'width')\n }\n\n log('TargetOrigin for parent set to: ' + targetOriginDefault)\n }\n\n function chkCSS(attr, value) {\n if (-1 !== value.indexOf('-')) {\n warn('Negative CSS value ignored for ' + attr)\n value = ''\n }\n return value\n }\n\n function setBodyStyle(attr, value) {\n if (undefined !== value && '' !== value && 'null' !== value) {\n document.body.style[attr] = value\n log('Body ' + attr + ' set to \"' + value + '\"')\n }\n }\n\n function setMargin() {\n // If called via V1 script, convert bodyMargin from int to str\n if (undefined === bodyMarginStr) {\n bodyMarginStr = bodyMargin + 'px'\n }\n\n setBodyStyle('margin', chkCSS('margin', bodyMarginStr))\n }\n\n function stopInfiniteResizingOfIFrame() {\n document.documentElement.style.height = ''\n document.body.style.height = ''\n log('HTML & body height set to \"auto\"')\n }\n\n function manageTriggerEvent(options) {\n var listener = {\n add: function (eventName) {\n function handleEvent() {\n sendSize(options.eventName, options.eventType)\n }\n\n eventHandlersByName[eventName] = handleEvent\n\n addEventListener(window, eventName, handleEvent, { passive: true })\n },\n remove: function (eventName) {\n var handleEvent = eventHandlersByName[eventName]\n delete eventHandlersByName[eventName]\n\n removeEventListener(window, eventName, handleEvent)\n }\n }\n\n if (options.eventNames && Array.prototype.map) {\n options.eventName = options.eventNames[0]\n options.eventNames.map(listener[options.method])\n } else {\n listener[options.method](options.eventName)\n }\n\n log(\n capitalizeFirstLetter(options.method) +\n ' event listener: ' +\n options.eventType\n )\n }\n\n function manageEventListeners(method) {\n manageTriggerEvent({\n method: method,\n eventType: 'Animation Start',\n eventNames: ['animationstart', 'webkitAnimationStart']\n })\n manageTriggerEvent({\n method: method,\n eventType: 'Animation Iteration',\n eventNames: ['animationiteration', 'webkitAnimationIteration']\n })\n manageTriggerEvent({\n method: method,\n eventType: 'Animation End',\n eventNames: ['animationend', 'webkitAnimationEnd']\n })\n manageTriggerEvent({\n method: method,\n eventType: 'Input',\n eventName: 'input'\n })\n manageTriggerEvent({\n method: method,\n eventType: 'Mouse Up',\n eventName: 'mouseup'\n })\n manageTriggerEvent({\n method: method,\n eventType: 'Mouse Down',\n eventName: 'mousedown'\n })\n manageTriggerEvent({\n method: method,\n eventType: 'Orientation Change',\n eventName: 'orientationchange'\n })\n manageTriggerEvent({\n method: method,\n eventType: 'Print',\n eventNames: ['afterprint', 'beforeprint']\n })\n manageTriggerEvent({\n method: method,\n eventType: 'Ready State Change',\n eventName: 'readystatechange'\n })\n manageTriggerEvent({\n method: method,\n eventType: 'Touch Start',\n eventName: 'touchstart'\n })\n manageTriggerEvent({\n method: method,\n eventType: 'Touch End',\n eventName: 'touchend'\n })\n manageTriggerEvent({\n method: method,\n eventType: 'Touch Cancel',\n eventName: 'touchcancel'\n })\n manageTriggerEvent({\n method: method,\n eventType: 'Transition Start',\n eventNames: [\n 'transitionstart',\n 'webkitTransitionStart',\n 'MSTransitionStart',\n 'oTransitionStart',\n 'otransitionstart'\n ]\n })\n manageTriggerEvent({\n method: method,\n eventType: 'Transition Iteration',\n eventNames: [\n 'transitioniteration',\n 'webkitTransitionIteration',\n 'MSTransitionIteration',\n 'oTransitionIteration',\n 'otransitioniteration'\n ]\n })\n manageTriggerEvent({\n method: method,\n eventType: 'Transition End',\n eventNames: [\n 'transitionend',\n 'webkitTransitionEnd',\n 'MSTransitionEnd',\n 'oTransitionEnd',\n 'otransitionend'\n ]\n })\n if ('child' === resizeFrom) {\n manageTriggerEvent({\n method: method,\n eventType: 'IFrame Resized',\n eventName: 'resize'\n })\n }\n }\n\n function checkCalcMode(calcMode, calcModeDefault, modes, type) {\n if (calcModeDefault !== calcMode) {\n if (!(calcMode in modes)) {\n warn(\n calcMode + ' is not a valid option for ' + type + 'CalculationMethod.'\n )\n calcMode = calcModeDefault\n }\n log(type + ' calculation method set to \"' + calcMode + '\"')\n }\n\n return calcMode\n }\n\n function checkHeightMode() {\n heightCalcMode = checkCalcMode(\n heightCalcMode,\n heightCalcModeDefault,\n getHeight,\n 'height'\n )\n }\n\n function checkWidthMode() {\n widthCalcMode = checkCalcMode(\n widthCalcMode,\n widthCalcModeDefault,\n getWidth,\n 'width'\n )\n }\n\n function startEventListeners() {\n if (true === autoResize) {\n manageEventListeners('add')\n setupMutationObserver()\n } else {\n log('Auto Resize disabled')\n }\n }\n\n // function stopMsgsToParent() {\n // log('Disable outgoing messages')\n // sendPermit = false\n // }\n\n // function removeMsgListener() {\n // log('Remove event listener: Message')\n // removeEventListener(window, 'message', receiver)\n // }\n\n function disconnectMutationObserver() {\n if (null !== bodyObserver) {\n /* istanbul ignore next */ // Not testable in PhantonJS\n bodyObserver.disconnect()\n }\n }\n\n function stopEventListeners() {\n manageEventListeners('remove')\n disconnectMutationObserver()\n clearInterval(intervalTimer)\n }\n\n // function teardown() {\n // stopMsgsToParent()\n // removeMsgListener()\n // if (true === autoResize) stopEventListeners()\n // }\n\n function injectClearFixIntoBodyElement() {\n var clearFix = document.createElement('div')\n clearFix.style.clear = 'both'\n // Guard against the following having been globally redefined in CSS.\n clearFix.style.display = 'block'\n clearFix.style.height = '0'\n document.body.appendChild(clearFix)\n }\n\n function setupInPageLinks() {\n function getPagePosition() {\n return {\n x:\n window.pageXOffset === undefined\n ? document.documentElement.scrollLeft\n : window.pageXOffset,\n y:\n window.pageYOffset === undefined\n ? document.documentElement.scrollTop\n : window.pageYOffset\n }\n }\n\n function getElementPosition(el) {\n var elPosition = el.getBoundingClientRect(),\n pagePosition = getPagePosition()\n\n return {\n x: parseInt(elPosition.left, 10) + parseInt(pagePosition.x, 10),\n y: parseInt(elPosition.top, 10) + parseInt(pagePosition.y, 10)\n }\n }\n\n function findTarget(location) {\n function jumpToTarget(target) {\n var jumpPosition = getElementPosition(target)\n\n log(\n 'Moving to in page link (#' +\n hash +\n ') at x: ' +\n jumpPosition.x +\n ' y: ' +\n jumpPosition.y\n )\n sendMsg(jumpPosition.y, jumpPosition.x, 'scrollToOffset') // X&Y reversed at sendMsg uses height/width\n }\n\n var hash = location.split('#')[1] || location, // Remove # if present\n hashData = decodeURIComponent(hash),\n target =\n document.getElementById(hashData) ||\n document.getElementsByName(hashData)[0]\n\n if (undefined === target) {\n log(\n 'In page link (#' +\n hash +\n ') not found in iFrame, so sending to parent'\n )\n sendMsg(0, 0, 'inPageLink', '#' + hash)\n } else {\n jumpToTarget(target)\n }\n }\n\n function checkLocationHash() {\n var hash = window.location.hash\n var href = window.location.href\n\n if ('' !== hash && '#' !== hash) {\n findTarget(href)\n }\n }\n\n function bindAnchors() {\n function setupLink(el) {\n function linkClicked(e) {\n e.preventDefault()\n\n /* jshint validthis:true */\n findTarget(this.getAttribute('href'))\n }\n\n if ('#' !== el.getAttribute('href')) {\n addEventListener(el, 'click', linkClicked)\n }\n }\n\n Array.prototype.forEach.call(\n document.querySelectorAll('a[href^=\"#\"]'),\n setupLink\n )\n }\n\n function bindLocationHash() {\n addEventListener(window, 'hashchange', checkLocationHash)\n }\n\n function initCheck() {\n // Check if page loaded with location hash after init resize\n setTimeout(checkLocationHash, eventCancelTimer)\n }\n\n function enableInPageLinks() {\n /* istanbul ignore else */ // Not testable in phantonJS\n if (Array.prototype.forEach && document.querySelectorAll) {\n log('Setting up location.hash handlers')\n bindAnchors()\n bindLocationHash()\n initCheck()\n } else {\n warn(\n 'In page linking not fully supported in this browser! (See README.md for IE8 workaround)'\n )\n }\n }\n\n if (inPageLinks.enable) {\n enableInPageLinks()\n } else {\n log('In page linking not enabled')\n }\n\n return {\n findTarget: findTarget\n }\n }\n\n function setupMouseEvents() {\n if (mouseEvents !== true) return\n\n function sendMouse(e) {\n sendMsg(0, 0, e.type, e.screenY + ':' + e.screenX)\n }\n\n function addMouseListener(evt, name) {\n log('Add event listener: ' + name)\n addEventListener(window.document, evt, sendMouse)\n }\n\n addMouseListener('mouseenter', 'Mouse Enter')\n addMouseListener('mouseleave', 'Mouse Leave')\n }\n\n function setupPublicMethods() {\n log('Enable public methods')\n\n win.parentIFrame = {\n autoResize: function autoResizeF(resize) {\n if (true === resize && false === autoResize) {\n autoResize = true\n startEventListeners()\n } else if (false === resize && true === autoResize) {\n autoResize = false\n stopEventListeners()\n }\n sendMsg(0, 0, 'autoResize', JSON.stringify(autoResize))\n return autoResize\n },\n\n close: function closeF() {\n sendMsg(0, 0, 'close')\n // teardown()\n },\n\n getId: function getIdF() {\n return myID\n },\n\n getPageInfo: function getPageInfoF(callback) {\n if ('function' === typeof callback) {\n onPageInfo = callback\n sendMsg(0, 0, 'pageInfo')\n } else {\n onPageInfo = function () {}\n sendMsg(0, 0, 'pageInfoStop')\n }\n },\n\n moveToAnchor: function moveToAnchorF(hash) {\n inPageLinks.findTarget(hash)\n },\n\n reset: function resetF() {\n resetIFrame('parentIFrame.reset')\n },\n\n scrollTo: function scrollToF(x, y) {\n sendMsg(y, x, 'scrollTo') // X&Y reversed at sendMsg uses height/width\n },\n\n scrollToOffset: function scrollToF(x, y) {\n sendMsg(y, x, 'scrollToOffset') // X&Y reversed at sendMsg uses height/width\n },\n\n sendMessage: function sendMessageF(msg, targetOrigin) {\n sendMsg(0, 0, 'message', JSON.stringify(msg), targetOrigin)\n },\n\n setHeightCalculationMethod: function setHeightCalculationMethodF(\n heightCalculationMethod\n ) {\n heightCalcMode = heightCalculationMethod\n checkHeightMode()\n },\n\n setWidthCalculationMethod: function setWidthCalculationMethodF(\n widthCalculationMethod\n ) {\n widthCalcMode = widthCalculationMethod\n checkWidthMode()\n },\n\n setTargetOrigin: function setTargetOriginF(targetOrigin) {\n log('Set targetOrigin: ' + targetOrigin)\n targetOriginDefault = targetOrigin\n },\n\n size: function sizeF(customHeight, customWidth) {\n var valString =\n '' + (customHeight || '') + (customWidth ? ',' + customWidth : '')\n sendSize(\n 'size',\n 'parentIFrame.size(' + valString + ')',\n customHeight,\n customWidth\n )\n }\n }\n }\n\n function initInterval() {\n if (0 !== interval) {\n log('setInterval: ' + interval + 'ms')\n intervalTimer = setInterval(function () {\n sendSize('interval', 'setInterval: ' + interval)\n }, Math.abs(interval))\n }\n }\n\n // Not testable in PhantomJS\n /* istanbul ignore next */\n function setupBodyMutationObserver() {\n function addImageLoadListners(mutation) {\n function addImageLoadListener(element) {\n if (false === element.complete) {\n log('Attach listeners to ' + element.src)\n element.addEventListener('load', imageLoaded, false)\n element.addEventListener('error', imageError, false)\n elements.push(element)\n }\n }\n\n if (mutation.type === 'attributes' && mutation.attributeName === 'src') {\n addImageLoadListener(mutation.target)\n } else if (mutation.type === 'childList') {\n Array.prototype.forEach.call(\n mutation.target.querySelectorAll('img'),\n addImageLoadListener\n )\n }\n }\n\n function removeFromArray(element) {\n elements.splice(elements.indexOf(element), 1)\n }\n\n function removeImageLoadListener(element) {\n log('Remove listeners from ' + element.src)\n element.removeEventListener('load', imageLoaded, false)\n element.removeEventListener('error', imageError, false)\n removeFromArray(element)\n }\n\n function imageEventTriggered(event, type, typeDesc) {\n removeImageLoadListener(event.target)\n sendSize(type, typeDesc + ': ' + event.target.src)\n }\n\n function imageLoaded(event) {\n imageEventTriggered(event, 'imageLoad', 'Image loaded')\n }\n\n function imageError(event) {\n imageEventTriggered(event, 'imageLoadFailed', 'Image load failed')\n }\n\n function mutationObserved(mutations) {\n sendSize(\n 'mutationObserver',\n 'mutationObserver: ' + mutations[0].target + ' ' + mutations[0].type\n )\n\n // Deal with WebKit / Blink asyncing image loading when tags are injected into the page\n mutations.forEach(addImageLoadListners)\n }\n\n function createMutationObserver() {\n var target = document.querySelector('body'),\n config = {\n attributes: true,\n attributeOldValue: false,\n characterData: true,\n characterDataOldValue: false,\n childList: true,\n subtree: true\n }\n\n observer = new MutationObserver(mutationObserved)\n\n log('Create body MutationObserver')\n observer.observe(target, config)\n\n return observer\n }\n\n var elements = [],\n MutationObserver =\n window.MutationObserver || window.WebKitMutationObserver,\n observer = createMutationObserver()\n\n return {\n disconnect: function () {\n if ('disconnect' in observer) {\n log('Disconnect body MutationObserver')\n observer.disconnect()\n elements.forEach(removeImageLoadListener)\n }\n }\n }\n }\n\n function setupMutationObserver() {\n var forceIntervalTimer = 0 > interval\n\n // Not testable in PhantomJS\n /* istanbul ignore if */ if (\n window.MutationObserver ||\n window.WebKitMutationObserver\n ) {\n if (forceIntervalTimer) {\n initInterval()\n } else {\n bodyObserver = setupBodyMutationObserver()\n }\n } else {\n log('MutationObserver not supported in this browser!')\n initInterval()\n }\n }\n\n // document.documentElement.offsetHeight is not reliable, so\n // we have to jump through hoops to get a better value.\n function getComputedStyle(prop, el) {\n var retVal = 0\n el = el || document.body // Not testable in phantonJS\n\n retVal = document.defaultView.getComputedStyle(el, null)\n retVal = null === retVal ? 0 : retVal[prop]\n\n return parseInt(retVal, base)\n }\n\n function chkEventThottle(timer) {\n if (timer > throttledTimer / 2) {\n throttledTimer = 2 * timer\n log('Event throttle increased to ' + throttledTimer + 'ms')\n }\n }\n\n // Idea from https://github.com/guardian/iframe-messenger\n function getMaxElement(side, elements) {\n var elementsLength = elements.length,\n elVal = 0,\n maxVal = 0,\n Side = capitalizeFirstLetter(side),\n timer = Date.now()\n\n for (var i = 0; i < elementsLength; i++) {\n elVal =\n elements[i].getBoundingClientRect()[side] +\n getComputedStyle('margin' + Side, elements[i])\n if (elVal > maxVal) {\n maxVal = elVal\n }\n }\n\n timer = Date.now() - timer\n\n log('Parsed ' + elementsLength + ' HTML elements')\n log('Element position calculated in ' + timer + 'ms')\n\n chkEventThottle(timer)\n\n return maxVal\n }\n\n function getAllMeasurements(dimensions) {\n return [\n dimensions.bodyOffset(),\n dimensions.bodyScroll(),\n dimensions.documentElementOffset(),\n dimensions.documentElementScroll()\n ]\n }\n\n function getTaggedElements(side, tag) {\n function noTaggedElementsFound() {\n warn('No tagged elements (' + tag + ') found on page')\n return document.querySelectorAll('body *')\n }\n\n var elements = document.querySelectorAll('[' + tag + ']')\n\n if (elements.length === 0) noTaggedElementsFound()\n\n return getMaxElement(side, elements)\n }\n\n function getAllElements() {\n return document.querySelectorAll('body *')\n }\n\n var getHeight = {\n bodyOffset: function getBodyOffsetHeight() {\n return (\n document.body.offsetHeight +\n getComputedStyle('marginTop') +\n getComputedStyle('marginBottom')\n )\n },\n\n offset: function () {\n return getHeight.bodyOffset() // Backwards compatibility\n },\n\n bodyScroll: function getBodyScrollHeight() {\n return document.body.scrollHeight\n },\n\n custom: function getCustomWidth() {\n return customCalcMethods.height()\n },\n\n documentElementOffset: function getDEOffsetHeight() {\n return document.documentElement.offsetHeight\n },\n\n documentElementScroll: function getDEScrollHeight() {\n return document.documentElement.scrollHeight\n },\n\n max: function getMaxHeight() {\n return Math.max.apply(null, getAllMeasurements(getHeight))\n },\n\n min: function getMinHeight() {\n return Math.min.apply(null, getAllMeasurements(getHeight))\n },\n\n grow: function growHeight() {\n return getHeight.max() // Run max without the forced downsizing\n },\n\n lowestElement: function getBestHeight() {\n return Math.max(\n getHeight.bodyOffset() || getHeight.documentElementOffset(),\n getMaxElement('bottom', getAllElements())\n )\n },\n\n taggedElement: function getTaggedElementsHeight() {\n return getTaggedElements('bottom', 'data-iframe-height')\n }\n },\n getWidth = {\n bodyScroll: function getBodyScrollWidth() {\n return document.body.scrollWidth\n },\n\n bodyOffset: function getBodyOffsetWidth() {\n return document.body.offsetWidth\n },\n\n custom: function getCustomWidth() {\n return customCalcMethods.width()\n },\n\n documentElementScroll: function getDEScrollWidth() {\n return document.documentElement.scrollWidth\n },\n\n documentElementOffset: function getDEOffsetWidth() {\n return document.documentElement.offsetWidth\n },\n\n scroll: function getMaxWidth() {\n return Math.max(getWidth.bodyScroll(), getWidth.documentElementScroll())\n },\n\n max: function getMaxWidth() {\n return Math.max.apply(null, getAllMeasurements(getWidth))\n },\n\n min: function getMinWidth() {\n return Math.min.apply(null, getAllMeasurements(getWidth))\n },\n\n rightMostElement: function rightMostElement() {\n return getMaxElement('right', getAllElements())\n },\n\n taggedElement: function getTaggedElementsWidth() {\n return getTaggedElements('right', 'data-iframe-width')\n }\n }\n\n function sizeIFrame(\n triggerEvent,\n triggerEventDesc,\n customHeight,\n customWidth\n ) {\n function resizeIFrame() {\n height = currentHeight\n width = currentWidth\n\n sendMsg(height, width, triggerEvent)\n }\n\n function isSizeChangeDetected() {\n function checkTolarance(a, b) {\n var retVal = Math.abs(a - b) <= tolerance\n return !retVal\n }\n\n currentHeight =\n undefined === customHeight ? getHeight[heightCalcMode]() : customHeight\n currentWidth =\n undefined === customWidth ? getWidth[widthCalcMode]() : customWidth\n\n return (\n checkTolarance(height, currentHeight) ||\n (calculateWidth && checkTolarance(width, currentWidth))\n )\n }\n\n function isForceResizableEvent() {\n return !(triggerEvent in { init: 1, interval: 1, size: 1 })\n }\n\n function isForceResizableCalcMode() {\n return (\n heightCalcMode in resetRequiredMethods ||\n (calculateWidth && widthCalcMode in resetRequiredMethods)\n )\n }\n\n function logIgnored() {\n log('No change in size detected')\n }\n\n function checkDownSizing() {\n if (isForceResizableEvent() && isForceResizableCalcMode()) {\n resetIFrame(triggerEventDesc)\n } else if (!(triggerEvent in { interval: 1 })) {\n logIgnored()\n }\n }\n\n var currentHeight, currentWidth\n\n if (isSizeChangeDetected() || 'init' === triggerEvent) {\n lockTrigger()\n resizeIFrame()\n } else {\n checkDownSizing()\n }\n }\n\n var sizeIFrameThrottled = throttle(sizeIFrame)\n\n function sendSize(triggerEvent, triggerEventDesc, customHeight, customWidth) {\n function recordTrigger() {\n if (!(triggerEvent in { reset: 1, resetPage: 1, init: 1 })) {\n log('Trigger event: ' + triggerEventDesc)\n }\n }\n\n function isDoubleFiredEvent() {\n return triggerLocked && triggerEvent in doubleEventList\n }\n\n if (isDoubleFiredEvent()) {\n log('Trigger event cancelled: ' + triggerEvent)\n } else {\n recordTrigger()\n if (triggerEvent === 'init') {\n sizeIFrame(triggerEvent, triggerEventDesc, customHeight, customWidth)\n } else {\n sizeIFrameThrottled(\n triggerEvent,\n triggerEventDesc,\n customHeight,\n customWidth\n )\n }\n }\n }\n\n function lockTrigger() {\n if (!triggerLocked) {\n triggerLocked = true\n log('Trigger event lock on')\n }\n clearTimeout(triggerLockedTimer)\n triggerLockedTimer = setTimeout(function () {\n triggerLocked = false\n log('Trigger event lock off')\n log('--')\n }, eventCancelTimer)\n }\n\n function triggerReset(triggerEvent) {\n height = getHeight[heightCalcMode]()\n width = getWidth[widthCalcMode]()\n\n sendMsg(height, width, triggerEvent)\n }\n\n function resetIFrame(triggerEventDesc) {\n var hcm = heightCalcMode\n heightCalcMode = heightCalcModeDefault\n\n log('Reset trigger event: ' + triggerEventDesc)\n lockTrigger()\n triggerReset('reset')\n\n heightCalcMode = hcm\n }\n\n function sendMsg(height, width, triggerEvent, msg, targetOrigin) {\n function setTargetOrigin() {\n if (undefined === targetOrigin) {\n targetOrigin = targetOriginDefault\n } else {\n log('Message targetOrigin: ' + targetOrigin)\n }\n }\n\n function sendToParent() {\n var size = height + ':' + width,\n message =\n myID +\n ':' +\n size +\n ':' +\n triggerEvent +\n (undefined === msg ? '' : ':' + msg)\n\n log('Sending message to host page (' + message + ')')\n target.postMessage(msgID + message, targetOrigin)\n }\n\n if (true === sendPermit) {\n setTargetOrigin()\n sendToParent()\n }\n }\n\n function receiver(event) {\n var processRequestFromParent = {\n init: function initFromParent() {\n initMsg = event.data\n target = event.source\n\n init()\n firstRun = false\n setTimeout(function () {\n initLock = false\n }, eventCancelTimer)\n },\n\n reset: function resetFromParent() {\n if (initLock) {\n log('Page reset ignored by init')\n } else {\n log('Page size reset by host page')\n triggerReset('resetPage')\n }\n },\n\n resize: function resizeFromParent() {\n sendSize('resizeParent', 'Parent window requested size check')\n },\n\n moveToAnchor: function moveToAnchorF() {\n inPageLinks.findTarget(getData())\n },\n inPageLink: function inPageLinkF() {\n this.moveToAnchor()\n }, // Backward compatibility\n\n pageInfo: function pageInfoFromParent() {\n var msgBody = getData()\n log('PageInfoFromParent called from parent: ' + msgBody)\n onPageInfo(JSON.parse(msgBody))\n log(' --')\n },\n\n message: function messageFromParent() {\n var msgBody = getData()\n\n log('onMessage called from parent: ' + msgBody)\n // eslint-disable-next-line sonarjs/no-extra-arguments\n onMessage(JSON.parse(msgBody))\n log(' --')\n }\n }\n\n function isMessageForUs() {\n return msgID === ('' + event.data).slice(0, msgIdLen) // ''+ Protects against non-string messages\n }\n\n function getMessageType() {\n return event.data.split(']')[1].split(':')[0]\n }\n\n function getData() {\n return event.data.slice(event.data.indexOf(':') + 1)\n }\n\n function isMiddleTier() {\n return (\n (!(typeof module !== 'undefined' && module.exports) &&\n 'iFrameResize' in window) ||\n (window.jQuery !== undefined &&\n 'iFrameResize' in window.jQuery.prototype)\n )\n }\n\n function isInitMsg() {\n // Test if this message is from a child below us. This is an ugly test, however, updating\n // the message format would break backwards compatibility.\n return event.data.split(':')[2] in { true: 1, false: 1 }\n }\n\n function callFromParent() {\n var messageType = getMessageType()\n\n if (messageType in processRequestFromParent) {\n processRequestFromParent[messageType]()\n } else if (!isMiddleTier() && !isInitMsg()) {\n warn('Unexpected message (' + event.data + ')')\n }\n }\n\n function processMessage() {\n if (false === firstRun) {\n callFromParent()\n } else if (isInitMsg()) {\n processRequestFromParent.init()\n } else {\n log(\n 'Ignored message of type \"' +\n getMessageType() +\n '\". Received before initialization.'\n )\n }\n }\n\n if (isMessageForUs()) {\n processMessage()\n }\n }\n\n // Normally the parent kicks things off when it detects the iFrame has loaded.\n // If this script is async-loaded, then tell parent page to retry init.\n function chkLateLoaded() {\n if ('loading' !== document.readyState) {\n window.parent.postMessage('[iFrameResizerChild]Ready', '*')\n }\n }\n\n // Setup if not already running\n if (!('iframeResizer' in window)) {\n window.iframeChildListener = function (data) {\n receiver({ data, sameDomian: true })\n }\n addEventListener(window, 'message', receiver)\n addEventListener(window, 'readystatechange', chkLateLoaded)\n chkLateLoaded()\n }\n\n \n})()\n","// The module cache\nvar __webpack_module_cache__ = {};\n\n// The require function\nfunction __webpack_require__(moduleId) {\n\t// Check if module is in cache\n\tvar cachedModule = __webpack_module_cache__[moduleId];\n\tif (cachedModule !== undefined) {\n\t\treturn cachedModule.exports;\n\t}\n\t// Create a new module (and put it into the cache)\n\tvar module = __webpack_module_cache__[moduleId] = {\n\t\t// no module.id needed\n\t\t// no module.loaded needed\n\t\texports: {}\n\t};\n\n\t// Execute the module function\n\t__webpack_modules__[moduleId](module, module.exports, __webpack_require__);\n\n\t// Return the exports of the module\n\treturn module.exports;\n}\n\n","// getDefaultExport function for compatibility with non-harmony modules\n__webpack_require__.n = function(module) {\n\tvar getter = module && module.__esModule ?\n\t\tfunction() { return module['default']; } :\n\t\tfunction() { return module; };\n\t__webpack_require__.d(getter, { a: getter });\n\treturn getter;\n};","// define getter functions for harmony exports\n__webpack_require__.d = function(exports, definition) {\n\tfor(var key in definition) {\n\t\tif(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) {\n\t\t\tObject.defineProperty(exports, key, { enumerable: true, get: definition[key] });\n\t\t}\n\t}\n};","__webpack_require__.o = function(obj, prop) { return Object.prototype.hasOwnProperty.call(obj, prop); }","// define __esModule on exports\n__webpack_require__.r = function(exports) {\n\tif(typeof Symbol !== 'undefined' && Symbol.toStringTag) {\n\t\tObject.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });\n\t}\n\tObject.defineProperty(exports, '__esModule', { value: true });\n};","import 'iframe-resizer/js/iframeResizer.contentWindow';\n\n// close select if clicked outside\ndocument.addEventListener('click', () => {\n const selectOpened = window.top.document.querySelector('.styleguideSelectOpened');\n if (selectOpened) {\n window.top.document.querySelector('.styleguideSelectOpened').classList.remove('styleguideSelectOpened');\n }\n});\n"],"names":["undefined","window","autoResize","bodyBackground","bodyMargin","bodyMarginStr","bodyObserver","bodyPadding","calculateWidth","doubleEventList","resize","click","eventCancelTimer","firstRun","height","heightCalcModeDefault","heightCalcMode","initLock","initMsg","inPageLinks","interval","intervalTimer","logging","mouseEvents","msgID","myID","resetRequiredMethods","max","min","bodyScroll","documentElementScroll","resizeFrom","target","parent","targetOriginDefault","tolerance","triggerLocked","triggerLockedTimer","throttledTimer","width","widthCalcModeDefault","widthCalcMode","win","onMessage","warn","onReady","onPageInfo","customCalcMethods","document","documentElement","offsetHeight","body","scrollWidth","eventHandlersByName","passiveSupported","options","Object","create","passive","get","addEventListener","noop","removeEventListener","error","func","context","args","result","timeout","previous","later","getHeight","bodyOffset","getComputedStyle","offset","scrollHeight","custom","documentElementOffset","Math","apply","getAllMeasurements","grow","lowestElement","getMaxElement","getAllElements","taggedElement","getTaggedElements","getWidth","offsetWidth","scroll","rightMostElement","sizeIFrameThrottled","sizeIFrame","Date","now","remaining","this","arguments","clearTimeout","setTimeout","iframeChildListener","data","receiver","sameDomian","chkLateLoaded","el","evt","capitalizeFirstLetter","string","charAt","toUpperCase","slice","formatLogMsg","msg","log","console","init","clearFix","strBool","str","split","Number","enable","readDataFromParent","location","href","readData","iFrameResizer","JSON","stringify","keys","forEach","depricate","targetOrigin","heightCalculationMethod","widthCalculationMethod","setupCustomCalcMethods","calcMode","calcFunc","constructor","readDataFromPage","setBodyStyle","attr","value","indexOf","chkCSS","setMargin","createElement","style","clear","display","appendChild","checkHeightMode","checkWidthMode","parentIFrame","startEventListeners","manageEventListeners","disconnect","clearInterval","sendMsg","close","getId","getPageInfo","callback","moveToAnchor","hash","findTarget","reset","resetIFrame","scrollTo","x","y","scrollToOffset","sendMessage","setHeightCalculationMethod","setWidthCalculationMethod","setTargetOrigin","size","customHeight","customWidth","sendSize","sendMouse","e","type","screenY","screenX","addMouseListener","name","setupMouseEvents","getPagePosition","pageXOffset","scrollLeft","pageYOffset","scrollTop","getElementPosition","elPosition","getBoundingClientRect","pagePosition","parseInt","left","top","jumpToTarget","jumpPosition","hashData","decodeURIComponent","getElementById","getElementsByName","checkLocationHash","bindAnchors","setupLink","linkClicked","preventDefault","getAttribute","Array","prototype","call","querySelectorAll","bindLocationHash","initCheck","enableInPageLinks","setupInPageLinks","key","splitName","length","manageTriggerEvent","listener","add","eventName","handleEvent","eventType","remove","eventNames","map","method","checkCalcMode","calcModeDefault","modes","forceIntervalTimer","MutationObserver","WebKitMutationObserver","initInterval","addImageLoadListners","mutation","addImageLoadListener","element","complete","src","imageLoaded","imageError","elements","push","attributeName","removeFromArray","splice","removeImageLoadListener","imageEventTriggered","event","typeDesc","mutationObserved","mutations","createMutationObserver","querySelector","config","attributes","attributeOldValue","characterData","characterDataOldValue","childList","subtree","observer","observe","setupBodyMutationObserver","setInterval","abs","prop","retVal","defaultView","side","elementsLength","elVal","maxVal","Side","timer","i","chkEventThottle","dimensions","tag","triggerEvent","triggerEventDesc","currentHeight","currentWidth","checkTolarance","a","b","isSizeChangeDetected","lockTrigger","resetPage","triggerReset","hcm","message","postMessage","processRequestFromParent","source","getData","inPageLink","pageInfo","msgBody","parse","getMessageType","isInitMsg","true","false","callFromParent","messageType","module","exports","jQuery","readyState","__webpack_module_cache__","__webpack_require__","moduleId","cachedModule","__webpack_modules__","n","getter","__esModule","d","definition","o","defineProperty","enumerable","obj","hasOwnProperty","r","Symbol","toStringTag","classList"],"sourceRoot":""} \ No newline at end of file diff --git a/Resources/Public/Javascript/Styleguide.min.js b/Resources/Public/Javascript/Styleguide.min.js index a3947e7..80f6483 100644 --- a/Resources/Public/Javascript/Styleguide.min.js +++ b/Resources/Public/Javascript/Styleguide.min.js @@ -1,2 +1,2 @@ -!function(){var e={"./Resources/Private/Components/Atom/LanguageNavigation/LanguageNavigation.js":function(e,n,o){"use strict";o.r(n);o("./node_modules/core-js/modules/es.object.to-string.js"),o("./node_modules/core-js/modules/web.dom-collections.for-each.js"),o("./node_modules/core-js/modules/es.array.iterator.js"),o("./node_modules/core-js/modules/es.string.iterator.js"),o("./node_modules/core-js/modules/web.dom-collections.iterator.js"),o("./node_modules/core-js/modules/web.url.js"),o("./node_modules/core-js/modules/web.url-search-params.js"),o("./node_modules/core-js/modules/es.regexp.to-string.js");var t=o("./Resources/Private/Javascript/Utils.js");(0,t.register)("LanguageNavigation",(function(e){var n=(0,t.findAll)(".fluidStyleguideComponent"),o=(0,t.findAll)(".languageItem",e),r=(0,t.find)(".dropdownLabel",e);o.forEach((function(s){var i=s.dataset.language;s.addEventListener("click",(function(){(0,t.find)(".active",e).classList.remove("active"),s.classList.add("active"),n.forEach((function(e){var n=new URL(e.src);n.searchParams.set("language",i),e.src=n.toString()})),r.textContent=s.textContent,o.forEach((function(e){e.style.display="block"})),s.style.display="none",document.body.classList.remove("breakPoint")}))}))}))},"./Resources/Private/Components/Atom/StyleguideRefreshIFrame/StyleguideRefreshIFrame.js":function(){var e=document.getElementById("styleguideRefreshIframe_button"),n=document.getElementById("componentIframe");null!=e&&e.addEventListener("click",(function(){n.contentWindow.location.reload(!0)}))},"./Resources/Private/Components/Atom/StyleguideScrollTop/StyleguideScrollTop.js":function(e,n,o){"use strict";o.r(n);var t=o("./Resources/Private/Javascript/Utils.js");(0,t.register)("StyleguideScrollTop",(function(e){window.addEventListener("scroll",(function(){window.scrollY>200?e.classList.add("active"):e.classList.remove("active")})),(0,t.find)("div",e).addEventListener("click",(function(){window.scrollTo({top:0,behavior:"smooth"})}))}))},"./Resources/Private/Components/Atom/StyleguideSelect/StyleguideSelect.js":function(e,n,o){"use strict";o.r(n);o("./node_modules/core-js/modules/es.array.find.js"),o("./node_modules/core-js/modules/es.object.to-string.js"),o("./node_modules/core-js/modules/es.string.trim.js");var t=o("./Resources/Private/Javascript/Utils.js"),r=o("./Resources/Private/Components/Atom/StyleguideSelect/StyleguideSelectHelper.js");(0,t.register)("StyleguideSelect",(function(e){if(e){var n,o=!!e.dataset.autosuggest&&e.dataset.autosuggest,s=!!e.dataset.submitformonselect&&e.dataset.submitformonselect,i=e.getElementsByTagName("select")[0],a=r.StyleguideSelectHelper.buildFormCustomSelectLabel(i,o),l=r.StyleguideSelectHelper.buildFormCustomSelect(i,s),c=(0,t.findAll)("div",l),u=(0,t.find)("input",a);e.appendChild(a),e.appendChild(l),o&&u?(u.addEventListener("input",(function(e){r.StyleguideSelectHelper.handleAutoSuggestInput(c,l,e.currentTarget)})),u.addEventListener("focus",(function(e){e.currentTarget.value=""})),u.addEventListener("blur",(function(e){r.StyleguideSelectHelper.handleAutoSuggestBlur(c,l,e.currentTarget)})),n=(0,t.findAll)("div",l).find((function(e){return e.innerHTML===(0,t.find)("input",a).value.trim()}))):n=(0,t.findAll)("div",l).find((function(e){return e.innerHTML===a.textContent})),void 0!==n&&n.classList.add("".concat("styleguideSelect","EqualSelected")),a.addEventListener("click",(function(e){e.stopPropagation(),e.preventDefault(),o&&u&&u.focus(),r.StyleguideSelectHelper.toggleSelect(l)})),document.addEventListener("keydown",(function(e){r.StyleguideSelectHelper.handleSelectNavigationKeypressDown(l,e),r.StyleguideSelectHelper.handleSelectNavigationKeypressUp(l,e),r.StyleguideSelectHelper.handleSelectNavigationKeypressEnter(l,e),r.StyleguideSelectHelper.handleSelectNavigationKeypressEscape(l,e)})),i.addEventListener("focus",(function(e){r.StyleguideSelectHelper.simulateSelectFocus(l,e)})),i.addEventListener("blur",(function(e){r.StyleguideSelectHelper.simulateSelectBlur(l,e)}))}}))},"./Resources/Private/Components/Atom/StyleguideSelect/StyleguideSelectHelper.js":function(e,n,o){"use strict";o.r(n),o.d(n,{StyleguideSelectHelper:function(){return l}});o("./node_modules/core-js/modules/es.string.trim.js"),o("./node_modules/core-js/modules/es.object.to-string.js"),o("./node_modules/core-js/modules/web.dom-collections.for-each.js"),o("./node_modules/core-js/modules/es.regexp.exec.js"),o("./node_modules/core-js/modules/es.string.split.js"),o("./node_modules/core-js/modules/es.array.filter.js"),o("./node_modules/core-js/modules/es.array.includes.js"),o("./node_modules/core-js/modules/es.string.includes.js"),o("./node_modules/core-js/modules/es.array.concat.js");var t=o("./Resources/Private/Javascript/Utils.js");o("./Resources/Private/Javascript/Polyfills.js");function r(e,n){for(var o=0;o1&&void 0!==arguments[1]&&arguments[1],r=(0,t.findAll)("option",n);if(r){var s=!!o&&n.closest("form"),i=document.createElement("DIV");i.setAttribute("class","".concat(e.classPrefix,"Items"));for(var a=function(t){var a=document.createElement("DIV");a.innerHTML=n.options[t].innerHTML.trim(),r[t].dataset.url&&a.setAttribute("data-url",r[t].dataset.url),a.addEventListener("mousedown",(function(e){e.preventDefault()})),a.addEventListener("click",(function(r){if(r.preventDefault(),r.stopPropagation(),r.currentTarget.dataset.url)return location.href=r.currentTarget.dataset.url,!1;var a=r.currentTarget.parentNode.previousSibling,l=r.currentTarget.parentNode.getElementsByClassName("".concat(e.classPrefix,"EqualSelected"));if(n.options[t].dataset.reset){a.innerHTML=n.options[t].innerHTML,n.selectedIndex=0;for(var c=0;cr,a="height:".concat(s+2,"px;max-height:").concat(i+2,"px;");n.setAttribute("style",a)}}],(o=null)&&r(n.prototype,o),s&&r(n,s),Object.defineProperty(n,"prototype",{writable:!1}),e}();a="styleguideSelect",(i="classPrefix")in(s=l)?Object.defineProperty(s,i,{value:a,enumerable:!0,configurable:!0,writable:!0}):s[i]=a},"./Resources/Private/Components/Atom/ViewportNavigation/ViewportNavigation.js":function(e,n,o){"use strict";o.r(n);o("./node_modules/core-js/modules/es.object.to-string.js"),o("./node_modules/core-js/modules/web.dom-collections.for-each.js");var t=o("./Resources/Private/Javascript/Utils.js");(0,t.register)("ViewportNavigation",(function(e){var n=(0,t.findAll)(".fluidStyleguideComponent"),o=(0,t.findAll)(".viewportItem",e),r=((0,t.find)(".rulerOption",e),(0,t.find)(".dropdownLabel",e)),s=e.dataset.listview;o.forEach((function(i){var a=i.dataset.viewport;i.addEventListener("click",(function(){(0,t.find)(".active",e).classList.remove("active"),i.classList.add("active"),n.forEach((function(e){e.style.width=a,"100%"!==a&&s&&e.parentElement.classList.add("breakPoint")})),r.textContent=i.textContent,o.forEach((function(e){e.style.display="block"})),i.style.display="none",document.body.classList.remove("breakPoint"),"100%"===a||s||document.body.classList.add("breakPoint")}))}))}))},"./Resources/Private/Components/Molecule/EditFixtures/EditFixtures.js":function(e,n,o){"use strict";o.r(n);o("./node_modules/core-js/modules/es.object.to-string.js"),o("./node_modules/core-js/modules/web.dom-collections.for-each.js");var t=o("./Resources/Private/Javascript/Utils.js");(0,t.register)("EditFixtures",(function(e){var n=(0,t.find)("form",e),o=(0,t.findAll)(".editFixturesInput",e),r=(0,t.findAll)(".editFixturesCheckbox",e);o.forEach((function(e){e.addEventListener("input",(function(){n.submit()}))})),r.forEach((function(e){e.addEventListener("change",(function(){n.submit()}))}))}))},"./Resources/Private/Components/Organism/StyleguideToolbar/StyleguideToolbar.js":function(e,n,o){"use strict";o.r(n);o("./node_modules/core-js/modules/es.object.to-string.js"),o("./node_modules/core-js/modules/web.dom-collections.for-each.js");var t=o("./Resources/Private/Javascript/Utils.js");(0,t.register)("StyleguideToolbar",(function(e){var n=(0,t.find)(".toolbarOpener",e),o=(0,t.findAll)(".tabOpener",e),r=(0,t.findAll)(".tabContent",e);e.style.bottom="-".concat(e.clientHeight-16,"px"),n.addEventListener("click",(function(){e.classList.toggle("open")||(r.forEach((function(e,n){n?e.classList.remove("active"):e.classList.add("active")})),o.forEach((function(e,n){n?e.classList.remove("active"):e.classList.add("active")})))})),o.forEach((function(e,n){e.addEventListener("click",(function(){(0,t.find)(".tabOpener.active").classList.remove("active"),(0,t.find)(".tabContent.active").classList.remove("active"),r.forEach((function(o,t){n===t&&(e.classList.add("active"),o.classList.add("active"))}))}))}))}))},"./Resources/Private/Javascript/Polyfills.js":function(){window.Element&&!Element.prototype.closest&&(Element.prototype.closest=function(e){var n,o=(this.document||this.ownerDocument).querySelectorAll(e),t=this;do{for(n=o.length;--n>=0&&o.item(n)!==t;);}while(n<0&&(t=t.parentElement));return t})},"./Resources/Private/Javascript/Utils.js":function(e,n,o){"use strict";o.r(n),o.d(n,{find:function(){return t},findAll:function(){return r},register:function(){return s}});o("./node_modules/core-js/modules/es.array.slice.js"),o("./node_modules/core-js/modules/es.object.to-string.js"),o("./node_modules/core-js/modules/web.dom-collections.for-each.js");var t=function(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:document;return n.querySelector(e)},r=function(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:document;return[].slice.call(n.querySelectorAll(e))},s=function(e,n){document.addEventListener("DOMContentLoaded",(function(){r("[data-component=".concat(e,"]")).forEach((function(e){return n(e)}))}))}},"./node_modules/core-js/internals/a-callable.js":function(e,n,o){var t=o("./node_modules/core-js/internals/global.js"),r=o("./node_modules/core-js/internals/is-callable.js"),s=o("./node_modules/core-js/internals/try-to-string.js"),i=t.TypeError;e.exports=function(e){if(r(e))return e;throw i(s(e)+" is not a function")}},"./node_modules/core-js/internals/a-constructor.js":function(e,n,o){var t=o("./node_modules/core-js/internals/global.js"),r=o("./node_modules/core-js/internals/is-constructor.js"),s=o("./node_modules/core-js/internals/try-to-string.js"),i=t.TypeError;e.exports=function(e){if(r(e))return e;throw i(s(e)+" is not a constructor")}},"./node_modules/core-js/internals/a-possible-prototype.js":function(e,n,o){var t=o("./node_modules/core-js/internals/global.js"),r=o("./node_modules/core-js/internals/is-callable.js"),s=t.String,i=t.TypeError;e.exports=function(e){if("object"==typeof e||r(e))return e;throw i("Can't set "+s(e)+" as a prototype")}},"./node_modules/core-js/internals/add-to-unscopables.js":function(e,n,o){var t=o("./node_modules/core-js/internals/well-known-symbol.js"),r=o("./node_modules/core-js/internals/object-create.js"),s=o("./node_modules/core-js/internals/object-define-property.js"),i=t("unscopables"),a=Array.prototype;null==a[i]&&s.f(a,i,{configurable:!0,value:r(null)}),e.exports=function(e){a[i][e]=!0}},"./node_modules/core-js/internals/advance-string-index.js":function(e,n,o){"use strict";var t=o("./node_modules/core-js/internals/string-multibyte.js").charAt;e.exports=function(e,n,o){return n+(o?t(e,n).length:1)}},"./node_modules/core-js/internals/an-instance.js":function(e,n,o){var t=o("./node_modules/core-js/internals/global.js"),r=o("./node_modules/core-js/internals/object-is-prototype-of.js"),s=t.TypeError;e.exports=function(e,n){if(r(n,e))return e;throw s("Incorrect invocation")}},"./node_modules/core-js/internals/an-object.js":function(e,n,o){var t=o("./node_modules/core-js/internals/global.js"),r=o("./node_modules/core-js/internals/is-object.js"),s=t.String,i=t.TypeError;e.exports=function(e){if(r(e))return e;throw i(s(e)+" is not an object")}},"./node_modules/core-js/internals/array-for-each.js":function(e,n,o){"use strict";var t=o("./node_modules/core-js/internals/array-iteration.js").forEach,r=o("./node_modules/core-js/internals/array-method-is-strict.js")("forEach");e.exports=r?[].forEach:function(e){return t(this,e,arguments.length>1?arguments[1]:void 0)}},"./node_modules/core-js/internals/array-from.js":function(e,n,o){"use strict";var t=o("./node_modules/core-js/internals/global.js"),r=o("./node_modules/core-js/internals/function-bind-context.js"),s=o("./node_modules/core-js/internals/function-call.js"),i=o("./node_modules/core-js/internals/to-object.js"),a=o("./node_modules/core-js/internals/call-with-safe-iteration-closing.js"),l=o("./node_modules/core-js/internals/is-array-iterator-method.js"),c=o("./node_modules/core-js/internals/is-constructor.js"),u=o("./node_modules/core-js/internals/length-of-array-like.js"),d=o("./node_modules/core-js/internals/create-property.js"),f=o("./node_modules/core-js/internals/get-iterator.js"),j=o("./node_modules/core-js/internals/get-iterator-method.js"),m=t.Array;e.exports=function(e){var n=i(e),o=c(this),t=arguments.length,p=t>1?arguments[1]:void 0,g=void 0!==p;g&&(p=r(p,t>2?arguments[2]:void 0));var h,v,y,_,b,w,x=j(n),S=0;if(!x||this==m&&l(x))for(h=u(n),v=o?new this(h):m(h);h>S;S++)w=g?p(n[S],S):n[S],d(v,S,w);else for(b=(_=f(n,x)).next,v=o?new this:[];!(y=s(b,_)).done;S++)w=g?a(_,p,[y.value,S],!0):y.value,d(v,S,w);return v.length=S,v}},"./node_modules/core-js/internals/array-includes.js":function(e,n,o){var t=o("./node_modules/core-js/internals/to-indexed-object.js"),r=o("./node_modules/core-js/internals/to-absolute-index.js"),s=o("./node_modules/core-js/internals/length-of-array-like.js"),i=function(e){return function(n,o,i){var a,l=t(n),c=s(l),u=r(i,c);if(e&&o!=o){for(;c>u;)if((a=l[u++])!=a)return!0}else for(;c>u;u++)if((e||u in l)&&l[u]===o)return e||u||0;return!e&&-1}};e.exports={includes:i(!0),indexOf:i(!1)}},"./node_modules/core-js/internals/array-iteration.js":function(e,n,o){var t=o("./node_modules/core-js/internals/function-bind-context.js"),r=o("./node_modules/core-js/internals/function-uncurry-this.js"),s=o("./node_modules/core-js/internals/indexed-object.js"),i=o("./node_modules/core-js/internals/to-object.js"),a=o("./node_modules/core-js/internals/length-of-array-like.js"),l=o("./node_modules/core-js/internals/array-species-create.js"),c=r([].push),u=function(e){var n=1==e,o=2==e,r=3==e,u=4==e,d=6==e,f=7==e,j=5==e||d;return function(m,p,g,h){for(var v,y,_=i(m),b=s(_),w=t(p,g),x=a(b),S=0,k=h||l,P=n?k(m,x):o||f?k(m,0):void 0;x>S;S++)if((j||S in b)&&(y=w(v=b[S],S,_),e))if(n)P[S]=y;else if(y)switch(e){case 3:return!0;case 5:return v;case 6:return S;case 2:c(P,v)}else switch(e){case 4:return!1;case 7:c(P,v)}return d?-1:r||u?u:P}};e.exports={forEach:u(0),map:u(1),filter:u(2),some:u(3),every:u(4),find:u(5),findIndex:u(6),filterReject:u(7)}},"./node_modules/core-js/internals/array-method-has-species-support.js":function(e,n,o){var t=o("./node_modules/core-js/internals/fails.js"),r=o("./node_modules/core-js/internals/well-known-symbol.js"),s=o("./node_modules/core-js/internals/engine-v8-version.js"),i=r("species");e.exports=function(e){return s>=51||!t((function(){var n=[];return(n.constructor={})[i]=function(){return{foo:1}},1!==n[e](Boolean).foo}))}},"./node_modules/core-js/internals/array-method-is-strict.js":function(e,n,o){"use strict";var t=o("./node_modules/core-js/internals/fails.js");e.exports=function(e,n){var o=[][e];return!!o&&t((function(){o.call(null,n||function(){return 1},1)}))}},"./node_modules/core-js/internals/array-slice-simple.js":function(e,n,o){var t=o("./node_modules/core-js/internals/global.js"),r=o("./node_modules/core-js/internals/to-absolute-index.js"),s=o("./node_modules/core-js/internals/length-of-array-like.js"),i=o("./node_modules/core-js/internals/create-property.js"),a=t.Array,l=Math.max;e.exports=function(e,n,o){for(var t=s(e),c=r(n,t),u=r(void 0===o?t:o,t),d=a(l(u-c,0)),f=0;c0;)e[t]=e[--t];t!==s++&&(e[t]=o)}return e},a=function(e,n,o,t){for(var r=n.length,s=o.length,i=0,a=0;i0&&t[0]<4?1:+(t[0]+t[1])),!r&&i&&(!(t=i.match(/Edge\/(\d+)/))||t[1]>=74)&&(t=i.match(/Chrome\/(\d+)/))&&(r=+t[1]),e.exports=r},"./node_modules/core-js/internals/enum-bug-keys.js":function(e){e.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},"./node_modules/core-js/internals/export.js":function(e,n,o){var t=o("./node_modules/core-js/internals/global.js"),r=o("./node_modules/core-js/internals/object-get-own-property-descriptor.js").f,s=o("./node_modules/core-js/internals/create-non-enumerable-property.js"),i=o("./node_modules/core-js/internals/redefine.js"),a=o("./node_modules/core-js/internals/set-global.js"),l=o("./node_modules/core-js/internals/copy-constructor-properties.js"),c=o("./node_modules/core-js/internals/is-forced.js");e.exports=function(e,n){var o,u,d,f,j,m=e.target,p=e.global,g=e.stat;if(o=p?t:g?t[m]||a(m,{}):(t[m]||{}).prototype)for(u in n){if(f=n[u],d=e.noTargetGet?(j=r(o,u))&&j.value:o[u],!c(p?u:m+(g?".":"#")+u,e.forced)&&void 0!==d){if(typeof f==typeof d)continue;l(f,d)}(e.sham||d&&d.sham)&&s(f,"sham",!0),i(o,u,f,e)}}},"./node_modules/core-js/internals/fails.js":function(e){e.exports=function(e){try{return!!e()}catch(e){return!0}}},"./node_modules/core-js/internals/fix-regexp-well-known-symbol-logic.js":function(e,n,o){"use strict";o("./node_modules/core-js/modules/es.regexp.exec.js");var t=o("./node_modules/core-js/internals/function-uncurry-this.js"),r=o("./node_modules/core-js/internals/redefine.js"),s=o("./node_modules/core-js/internals/regexp-exec.js"),i=o("./node_modules/core-js/internals/fails.js"),a=o("./node_modules/core-js/internals/well-known-symbol.js"),l=o("./node_modules/core-js/internals/create-non-enumerable-property.js"),c=a("species"),u=RegExp.prototype;e.exports=function(e,n,o,d){var f=a(e),j=!i((function(){var n={};return n[f]=function(){return 7},7!=""[e](n)})),m=j&&!i((function(){var n=!1,o=/a/;return"split"===e&&((o={}).constructor={},o.constructor[c]=function(){return o},o.flags="",o[f]=/./[f]),o.exec=function(){return n=!0,null},o[f](""),!n}));if(!j||!m||o){var p=t(/./[f]),g=n(f,""[e],(function(e,n,o,r,i){var a=t(e),l=n.exec;return l===s||l===u.exec?j&&!i?{done:!0,value:p(n,o,r)}:{done:!0,value:a(o,n,r)}:{done:!1}}));r(String.prototype,e,g[0]),r(u,f,g[1])}d&&l(u[f],"sham",!0)}},"./node_modules/core-js/internals/function-apply.js":function(e,n,o){var t=o("./node_modules/core-js/internals/function-bind-native.js"),r=Function.prototype,s=r.apply,i=r.call;e.exports="object"==typeof Reflect&&Reflect.apply||(t?i.bind(s):function(){return i.apply(s,arguments)})},"./node_modules/core-js/internals/function-bind-context.js":function(e,n,o){var t=o("./node_modules/core-js/internals/function-uncurry-this.js"),r=o("./node_modules/core-js/internals/a-callable.js"),s=o("./node_modules/core-js/internals/function-bind-native.js"),i=t(t.bind);e.exports=function(e,n){return r(e),void 0===n?e:s?i(e,n):function(){return e.apply(n,arguments)}}},"./node_modules/core-js/internals/function-bind-native.js":function(e,n,o){var t=o("./node_modules/core-js/internals/fails.js");e.exports=!t((function(){var e=function(){}.bind();return"function"!=typeof e||e.hasOwnProperty("prototype")}))},"./node_modules/core-js/internals/function-call.js":function(e,n,o){var t=o("./node_modules/core-js/internals/function-bind-native.js"),r=Function.prototype.call;e.exports=t?r.bind(r):function(){return r.apply(r,arguments)}},"./node_modules/core-js/internals/function-name.js":function(e,n,o){var t=o("./node_modules/core-js/internals/descriptors.js"),r=o("./node_modules/core-js/internals/has-own-property.js"),s=Function.prototype,i=t&&Object.getOwnPropertyDescriptor,a=r(s,"name"),l=a&&"something"===function(){}.name,c=a&&(!t||t&&i(s,"name").configurable);e.exports={EXISTS:a,PROPER:l,CONFIGURABLE:c}},"./node_modules/core-js/internals/function-uncurry-this.js":function(e,n,o){var t=o("./node_modules/core-js/internals/function-bind-native.js"),r=Function.prototype,s=r.bind,i=r.call,a=t&&s.bind(i,i);e.exports=t?function(e){return e&&a(e)}:function(e){return e&&function(){return i.apply(e,arguments)}}},"./node_modules/core-js/internals/get-built-in.js":function(e,n,o){var t=o("./node_modules/core-js/internals/global.js"),r=o("./node_modules/core-js/internals/is-callable.js"),s=function(e){return r(e)?e:void 0};e.exports=function(e,n){return arguments.length<2?s(t[e]):t[e]&&t[e][n]}},"./node_modules/core-js/internals/get-iterator-method.js":function(e,n,o){var t=o("./node_modules/core-js/internals/classof.js"),r=o("./node_modules/core-js/internals/get-method.js"),s=o("./node_modules/core-js/internals/iterators.js"),i=o("./node_modules/core-js/internals/well-known-symbol.js")("iterator");e.exports=function(e){if(null!=e)return r(e,i)||r(e,"@@iterator")||s[t(e)]}},"./node_modules/core-js/internals/get-iterator.js":function(e,n,o){var t=o("./node_modules/core-js/internals/global.js"),r=o("./node_modules/core-js/internals/function-call.js"),s=o("./node_modules/core-js/internals/a-callable.js"),i=o("./node_modules/core-js/internals/an-object.js"),a=o("./node_modules/core-js/internals/try-to-string.js"),l=o("./node_modules/core-js/internals/get-iterator-method.js"),c=t.TypeError;e.exports=function(e,n){var o=arguments.length<2?l(e):n;if(s(o))return i(r(o,e));throw c(a(e)+" is not iterable")}},"./node_modules/core-js/internals/get-method.js":function(e,n,o){var t=o("./node_modules/core-js/internals/a-callable.js");e.exports=function(e,n){var o=e[n];return null==o?void 0:t(o)}},"./node_modules/core-js/internals/global.js":function(e,n,o){var t=function(e){return e&&e.Math==Math&&e};e.exports=t("object"==typeof globalThis&&globalThis)||t("object"==typeof window&&window)||t("object"==typeof self&&self)||t("object"==typeof o.g&&o.g)||function(){return this}()||Function("return this")()},"./node_modules/core-js/internals/has-own-property.js":function(e,n,o){var t=o("./node_modules/core-js/internals/function-uncurry-this.js"),r=o("./node_modules/core-js/internals/to-object.js"),s=t({}.hasOwnProperty);e.exports=Object.hasOwn||function(e,n){return s(r(e),n)}},"./node_modules/core-js/internals/hidden-keys.js":function(e){e.exports={}},"./node_modules/core-js/internals/html.js":function(e,n,o){var t=o("./node_modules/core-js/internals/get-built-in.js");e.exports=t("document","documentElement")},"./node_modules/core-js/internals/ie8-dom-define.js":function(e,n,o){var t=o("./node_modules/core-js/internals/descriptors.js"),r=o("./node_modules/core-js/internals/fails.js"),s=o("./node_modules/core-js/internals/document-create-element.js");e.exports=!t&&!r((function(){return 7!=Object.defineProperty(s("div"),"a",{get:function(){return 7}}).a}))},"./node_modules/core-js/internals/indexed-object.js":function(e,n,o){var t=o("./node_modules/core-js/internals/global.js"),r=o("./node_modules/core-js/internals/function-uncurry-this.js"),s=o("./node_modules/core-js/internals/fails.js"),i=o("./node_modules/core-js/internals/classof-raw.js"),a=t.Object,l=r("".split);e.exports=s((function(){return!a("z").propertyIsEnumerable(0)}))?function(e){return"String"==i(e)?l(e,""):a(e)}:a},"./node_modules/core-js/internals/inspect-source.js":function(e,n,o){var t=o("./node_modules/core-js/internals/function-uncurry-this.js"),r=o("./node_modules/core-js/internals/is-callable.js"),s=o("./node_modules/core-js/internals/shared-store.js"),i=t(Function.toString);r(s.inspectSource)||(s.inspectSource=function(e){return i(e)}),e.exports=s.inspectSource},"./node_modules/core-js/internals/internal-state.js":function(e,n,o){var t,r,s,i=o("./node_modules/core-js/internals/native-weak-map.js"),a=o("./node_modules/core-js/internals/global.js"),l=o("./node_modules/core-js/internals/function-uncurry-this.js"),c=o("./node_modules/core-js/internals/is-object.js"),u=o("./node_modules/core-js/internals/create-non-enumerable-property.js"),d=o("./node_modules/core-js/internals/has-own-property.js"),f=o("./node_modules/core-js/internals/shared-store.js"),j=o("./node_modules/core-js/internals/shared-key.js"),m=o("./node_modules/core-js/internals/hidden-keys.js"),p="Object already initialized",g=a.TypeError,h=a.WeakMap;if(i||f.state){var v=f.state||(f.state=new h),y=l(v.get),_=l(v.has),b=l(v.set);t=function(e,n){if(_(v,e))throw new g(p);return n.facade=e,b(v,e,n),n},r=function(e){return y(v,e)||{}},s=function(e){return _(v,e)}}else{var w=j("state");m[w]=!0,t=function(e,n){if(d(e,w))throw new g(p);return n.facade=e,u(e,w,n),n},r=function(e){return d(e,w)?e[w]:{}},s=function(e){return d(e,w)}}e.exports={set:t,get:r,has:s,enforce:function(e){return s(e)?r(e):t(e,{})},getterFor:function(e){return function(n){var o;if(!c(n)||(o=r(n)).type!==e)throw g("Incompatible receiver, "+e+" required");return o}}}},"./node_modules/core-js/internals/is-array-iterator-method.js":function(e,n,o){var t=o("./node_modules/core-js/internals/well-known-symbol.js"),r=o("./node_modules/core-js/internals/iterators.js"),s=t("iterator"),i=Array.prototype;e.exports=function(e){return void 0!==e&&(r.Array===e||i[s]===e)}},"./node_modules/core-js/internals/is-array.js":function(e,n,o){var t=o("./node_modules/core-js/internals/classof-raw.js");e.exports=Array.isArray||function(e){return"Array"==t(e)}},"./node_modules/core-js/internals/is-callable.js":function(e){e.exports=function(e){return"function"==typeof e}},"./node_modules/core-js/internals/is-constructor.js":function(e,n,o){var t=o("./node_modules/core-js/internals/function-uncurry-this.js"),r=o("./node_modules/core-js/internals/fails.js"),s=o("./node_modules/core-js/internals/is-callable.js"),i=o("./node_modules/core-js/internals/classof.js"),a=o("./node_modules/core-js/internals/get-built-in.js"),l=o("./node_modules/core-js/internals/inspect-source.js"),c=function(){},u=[],d=a("Reflect","construct"),f=/^\s*(?:class|function)\b/,j=t(f.exec),m=!f.exec(c),p=function(e){if(!s(e))return!1;try{return d(c,u,e),!0}catch(e){return!1}},g=function(e){if(!s(e))return!1;switch(i(e)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}try{return m||!!j(f,l(e))}catch(e){return!0}};g.sham=!0,e.exports=!d||r((function(){var e;return p(p.call)||!p(Object)||!p((function(){e=!0}))||e}))?g:p},"./node_modules/core-js/internals/is-forced.js":function(e,n,o){var t=o("./node_modules/core-js/internals/fails.js"),r=o("./node_modules/core-js/internals/is-callable.js"),s=/#|\.prototype\./,i=function(e,n){var o=l[a(e)];return o==u||o!=c&&(r(n)?t(n):!!n)},a=i.normalize=function(e){return String(e).replace(s,".").toLowerCase()},l=i.data={},c=i.NATIVE="N",u=i.POLYFILL="P";e.exports=i},"./node_modules/core-js/internals/is-object.js":function(e,n,o){var t=o("./node_modules/core-js/internals/is-callable.js");e.exports=function(e){return"object"==typeof e?null!==e:t(e)}},"./node_modules/core-js/internals/is-pure.js":function(e){e.exports=!1},"./node_modules/core-js/internals/is-regexp.js":function(e,n,o){var t=o("./node_modules/core-js/internals/is-object.js"),r=o("./node_modules/core-js/internals/classof-raw.js"),s=o("./node_modules/core-js/internals/well-known-symbol.js")("match");e.exports=function(e){var n;return t(e)&&(void 0!==(n=e[s])?!!n:"RegExp"==r(e))}},"./node_modules/core-js/internals/is-symbol.js":function(e,n,o){var t=o("./node_modules/core-js/internals/global.js"),r=o("./node_modules/core-js/internals/get-built-in.js"),s=o("./node_modules/core-js/internals/is-callable.js"),i=o("./node_modules/core-js/internals/object-is-prototype-of.js"),a=o("./node_modules/core-js/internals/use-symbol-as-uid.js"),l=t.Object;e.exports=a?function(e){return"symbol"==typeof e}:function(e){var n=r("Symbol");return s(n)&&i(n.prototype,l(e))}},"./node_modules/core-js/internals/iterator-close.js":function(e,n,o){var t=o("./node_modules/core-js/internals/function-call.js"),r=o("./node_modules/core-js/internals/an-object.js"),s=o("./node_modules/core-js/internals/get-method.js");e.exports=function(e,n,o){var i,a;r(e);try{if(!(i=s(e,"return"))){if("throw"===n)throw o;return o}i=t(i,e)}catch(e){a=!0,i=e}if("throw"===n)throw o;if(a)throw i;return r(i),o}},"./node_modules/core-js/internals/iterators-core.js":function(e,n,o){"use strict";var t,r,s,i=o("./node_modules/core-js/internals/fails.js"),a=o("./node_modules/core-js/internals/is-callable.js"),l=o("./node_modules/core-js/internals/object-create.js"),c=o("./node_modules/core-js/internals/object-get-prototype-of.js"),u=o("./node_modules/core-js/internals/redefine.js"),d=o("./node_modules/core-js/internals/well-known-symbol.js"),f=o("./node_modules/core-js/internals/is-pure.js"),j=d("iterator"),m=!1;[].keys&&("next"in(s=[].keys())?(r=c(c(s)))!==Object.prototype&&(t=r):m=!0),null==t||i((function(){var e={};return t[j].call(e)!==e}))?t={}:f&&(t=l(t)),a(t[j])||u(t,j,(function(){return this})),e.exports={IteratorPrototype:t,BUGGY_SAFARI_ITERATORS:m}},"./node_modules/core-js/internals/iterators.js":function(e){e.exports={}},"./node_modules/core-js/internals/length-of-array-like.js":function(e,n,o){var t=o("./node_modules/core-js/internals/to-length.js");e.exports=function(e){return t(e.length)}},"./node_modules/core-js/internals/native-symbol.js":function(e,n,o){var t=o("./node_modules/core-js/internals/engine-v8-version.js"),r=o("./node_modules/core-js/internals/fails.js");e.exports=!!Object.getOwnPropertySymbols&&!r((function(){var e=Symbol();return!String(e)||!(Object(e)instanceof Symbol)||!Symbol.sham&&t&&t<41}))},"./node_modules/core-js/internals/native-url.js":function(e,n,o){var t=o("./node_modules/core-js/internals/fails.js"),r=o("./node_modules/core-js/internals/well-known-symbol.js"),s=o("./node_modules/core-js/internals/is-pure.js"),i=r("iterator");e.exports=!t((function(){var e=new URL("b?a=1&b=2&c=3","http://a"),n=e.searchParams,o="";return e.pathname="c%20d",n.forEach((function(e,t){n.delete("b"),o+=t+e})),s&&!e.toJSON||!n.sort||"http://a/c%20d?a=1&c=3"!==e.href||"3"!==n.get("c")||"a=1"!==String(new URLSearchParams("?a=1"))||!n[i]||"a"!==new URL("https://a@b").username||"b"!==new URLSearchParams(new URLSearchParams("a=b")).get("a")||"xn--e1aybc"!==new URL("http://тест").host||"#%D0%B1"!==new URL("http://a#б").hash||"a1c3"!==o||"x"!==new URL("http://x",void 0).host}))},"./node_modules/core-js/internals/native-weak-map.js":function(e,n,o){var t=o("./node_modules/core-js/internals/global.js"),r=o("./node_modules/core-js/internals/is-callable.js"),s=o("./node_modules/core-js/internals/inspect-source.js"),i=t.WeakMap;e.exports=r(i)&&/native code/.test(s(i))},"./node_modules/core-js/internals/not-a-regexp.js":function(e,n,o){var t=o("./node_modules/core-js/internals/global.js"),r=o("./node_modules/core-js/internals/is-regexp.js"),s=t.TypeError;e.exports=function(e){if(r(e))throw s("The method doesn't accept regular expressions");return e}},"./node_modules/core-js/internals/object-assign.js":function(e,n,o){"use strict";var t=o("./node_modules/core-js/internals/descriptors.js"),r=o("./node_modules/core-js/internals/function-uncurry-this.js"),s=o("./node_modules/core-js/internals/function-call.js"),i=o("./node_modules/core-js/internals/fails.js"),a=o("./node_modules/core-js/internals/object-keys.js"),l=o("./node_modules/core-js/internals/object-get-own-property-symbols.js"),c=o("./node_modules/core-js/internals/object-property-is-enumerable.js"),u=o("./node_modules/core-js/internals/to-object.js"),d=o("./node_modules/core-js/internals/indexed-object.js"),f=Object.assign,j=Object.defineProperty,m=r([].concat);e.exports=!f||i((function(){if(t&&1!==f({b:1},f(j({},"a",{enumerable:!0,get:function(){j(this,"b",{value:3,enumerable:!1})}}),{b:2})).b)return!0;var e={},n={},o=Symbol(),r="abcdefghijklmnopqrst";return e[o]=7,r.split("").forEach((function(e){n[e]=e})),7!=f({},e)[o]||a(f({},n)).join("")!=r}))?function(e,n){for(var o=u(e),r=arguments.length,i=1,f=l.f,j=c.f;r>i;)for(var p,g=d(arguments[i++]),h=f?m(a(g),f(g)):a(g),v=h.length,y=0;v>y;)p=h[y++],t&&!s(j,g,p)||(o[p]=g[p]);return o}:f},"./node_modules/core-js/internals/object-create.js":function(e,n,o){var t,r=o("./node_modules/core-js/internals/an-object.js"),s=o("./node_modules/core-js/internals/object-define-properties.js"),i=o("./node_modules/core-js/internals/enum-bug-keys.js"),a=o("./node_modules/core-js/internals/hidden-keys.js"),l=o("./node_modules/core-js/internals/html.js"),c=o("./node_modules/core-js/internals/document-create-element.js"),u=o("./node_modules/core-js/internals/shared-key.js"),d=u("IE_PROTO"),f=function(){},j=function(e){return"