WP GDPR Compliance - Version 2.0.4

Version Description

Release date: 15th November 2021 * Improved the consent popup to also use the chosen font settings. * Smaller frontend css. * Fixed edge case of iframes in a noscript tag not bening loaded properly. * Copy updates.

Download this release

Release Info

Developer merlijnvanlent
Plugin Icon 128x128 WP GDPR Compliance
Version 2.0.4
Comparing to
See all releases

Code changes from version 2.0.3 to 2.0.4

Files changed (67) hide show
  1. Assets/css/admin.css +1 -1
  2. Assets/css/front.css +1 -1
  3. Assets/fonts/sofia/SofiaPro-Bold.woff +0 -0
  4. Assets/fonts/sofia/SofiaPro-Bold.woff2 +0 -0
  5. Assets/fonts/sofia/SofiaPro-Italic.woff +0 -0
  6. Assets/fonts/sofia/SofiaPro-Italic.woff2 +0 -0
  7. Assets/fonts/sofia/SofiaPro-Medium.woff +0 -0
  8. Assets/fonts/sofia/SofiaPro-Medium.woff2 +0 -0
  9. Assets/fonts/sofia/SofiaPro-SemiBold.woff +0 -0
  10. Assets/fonts/sofia/SofiaPro-SemiBold.woff2 +0 -0
  11. Assets/fonts/sofia/SofiaPro-SemiBoldItalic.woff +0 -0
  12. Assets/fonts/sofia/SofiaPro-SemiBoldItalic.woff2 +0 -0
  13. Assets/fonts/sofia/SofiaPro.woff +0 -0
  14. Assets/fonts/sofia/SofiaPro.woff2 +0 -0
  15. Assets/js/3cbf25ef3767781940dd.woff2 +0 -0
  16. Assets/js/3cec1bfdf33a0b885326.woff2 +0 -0
  17. Assets/js/47e519bbb1090dc52281.woff +0 -0
  18. Assets/js/571be978f6b15960b558.woff +0 -0
  19. Assets/js/5b28134ae0ee853f746f.woff2 +0 -0
  20. Assets/js/625ee787e7045ad177b7.woff2 +0 -0
  21. Assets/js/78d58e986700c1dd56be.woff +0 -0
  22. Assets/js/87da46dd351109a94325.woff2 +0 -0
  23. Assets/js/8cb1b48d7970d0a6b7fe.woff +0 -0
  24. Assets/js/8ce052d4ec66553cb99e.woff +0 -0
  25. Assets/js/931fc9f134eaac2662d9.woff +0 -0
  26. Assets/js/admin.min.js +1 -1
  27. Assets/js/dc237e72ff0ecbad38d7.woff2 +0 -0
  28. Assets/js/front.min.js +1 -1
  29. Assets/js/front.min.js.LICENSE.txt +5 -15
  30. Resources/fonts/sofia/SofiaPro-Bold.woff +0 -0
  31. Resources/fonts/sofia/SofiaPro-Bold.woff2 +0 -0
  32. Resources/fonts/sofia/SofiaPro-Italic.woff +0 -0
  33. Resources/fonts/sofia/SofiaPro-Italic.woff2 +0 -0
  34. Resources/fonts/sofia/SofiaPro-Medium.woff +0 -0
  35. Resources/fonts/sofia/SofiaPro-Medium.woff2 +0 -0
  36. Resources/fonts/sofia/SofiaPro-SemiBold.woff +0 -0
  37. Resources/fonts/sofia/SofiaPro-SemiBold.woff2 +0 -0
  38. Resources/fonts/sofia/SofiaPro-SemiBoldItalic.woff +0 -0
  39. Resources/fonts/sofia/SofiaPro-SemiBoldItalic.woff2 +0 -0
  40. Resources/fonts/sofia/SofiaPro.woff +0 -0
  41. Resources/fonts/sofia/SofiaPro.woff2 +0 -0
  42. Resources/js/admin/sign-up-modal.js +10 -0
  43. Resources/js/components/load-consents.js +1 -1
  44. Resources/js/utils/postscribe/postscribe.js +199 -0
  45. Resources/js/utils/postscribe/utils.js +150 -0
  46. Resources/js/utils/postscribe/write-stream.js +626 -0
  47. Resources/languages/wp-gdpr-compliance-nl_NL.mo +0 -0
  48. Resources/languages/wp-gdpr-compliance-nl_NL.po +1763 -1237
  49. Resources/languages/wp-gdpr-compliance.pot +70 -31
  50. Resources/scss/front/_modal.scss +11 -9
  51. Resources/scss/global/_fonts.scss +1 -68
  52. Templates/Admin/Pages/Dashboard/main.php +8 -6
  53. Templates/Admin/Pages/Dashboard/tile.php +3 -1
  54. Templates/Admin/Pages/Premium/main.php +1 -1
  55. Templates/Admin/Pages/Processors/footer.php +1 -1
  56. Templates/Admin/Pages/Settings/consent.php +16 -23
  57. Templates/Admin/Pages/Settings/integrations.php +1 -1
  58. Templates/Admin/Pages/Settings/request.php +1 -1
  59. Templates/Admin/header.php +3 -3
  60. Templates/Front/Consent/bar.php +2 -2
  61. WordPress/Admin.php +2 -0
  62. WordPress/Admin/Pages/PageDashboard.php +1 -1
  63. WordPress/Admin/Pages/PageSettings.php +6 -5
  64. WordPress/Config.php +1 -1
  65. WordPress/Plugin.php +14 -4
  66. readme.txt +8 -8
  67. wp-gdpr-compliance.php +3 -3
Assets/css/admin.css CHANGED
@@ -1 +1 @@
1
- @font-face{font-display:swap;font-family:Sofia Pro;font-style:normal;font-weight:400;src:url(../js/3cec1bfdf33a0b885326.woff2) format("woff2"),url(../js/8ce052d4ec66553cb99e.woff) format("woff")}@font-face{font-display:swap;font-family:Sofia Pro;font-style:italic;font-weight:400;src:url(../js/3cbf25ef3767781940dd.woff2) format("woff2"),url(../js/8cb1b48d7970d0a6b7fe.woff) format("woff")}@font-face{font-display:swap;font-family:Sofia Pro;font-style:normal;font-weight:500;src:url(../js/dc237e72ff0ecbad38d7.woff2) format("woff2"),url(../js/931fc9f134eaac2662d9.woff) format("woff")}@font-face{font-display:swap;font-family:Sofia Pro;font-style:normal;font-weight:600;src:url(../js/5b28134ae0ee853f746f.woff2) format("woff2"),url(../js/78d58e986700c1dd56be.woff) format("woff")}@font-face{font-display:swap;font-family:Sofia Pro;font-style:italic;font-weight:600;src:url(../js/625ee787e7045ad177b7.woff2) format("woff2"),url(../js/571be978f6b15960b558.woff) format("woff")}@font-face{font-display:swap;font-family:Sofia Pro;font-style:normal;font-weight:700;src:url(../js/87da46dd351109a94325.woff2) format("woff2"),url(../js/47e519bbb1090dc52281.woff) format("woff")}:root .wpgdprc-header__nav ul{list-style:none;margin-bottom:0;margin-left:0;padding-left:0}.wpgdprc blockquote,.wpgdprc dd,.wpgdprc dl,.wpgdprc fieldset,.wpgdprc figure,.wpgdprc h1,.wpgdprc h2,.wpgdprc h3,.wpgdprc h4,.wpgdprc h5,.wpgdprc h6,.wpgdprc hr,.wpgdprc legend,.wpgdprc ol,.wpgdprc p,.wpgdprc pre,.wpgdprc ul{margin:0;padding:0}.wpgdprc li>ol,.wpgdprc li>ul{margin-bottom:0}.wpgdprc table{border-collapse:collapse;border-spacing:0}.wpgdprc fieldset{border:0;min-width:0}.wpgdprc *,.wpgdprc :after,.wpgdprc :before{box-sizing:inherit}.wpgdprc [type=button],.wpgdprc [type=reset],.wpgdprc [type=submit]{-webkit-appearance:none;-moz-appearance:none;appearance:none;border:0;margin:0}@-webkit-keyframes fade-in{0%{opacity:0}to{opacity:1}}@keyframes fade-in{0%{opacity:0}to{opacity:1}}@-webkit-keyframes fade-out{0%{opacity:1}to{opacity:0}}@keyframes fade-out{0%{opacity:1}to{opacity:0}}@-webkit-keyframes slide-down{0%{opacity:0;transform:translateY(-30px)}to{opacity:1;transform:none}}@keyframes slide-down{0%{opacity:0;transform:translateY(-30px)}to{opacity:1;transform:none}}[data-animation]{opacity:0}[data-animation][data-animation-appearing]{-webkit-animation-duration:.25s;animation-duration:.25s;-webkit-animation-fill-mode:forwards;animation-fill-mode:forwards;-webkit-animation-name:fade-in;animation-name:fade-in;-webkit-animation-timing-function:cubic-bezier(0,.6,.7,1);animation-timing-function:cubic-bezier(0,.6,.7,1)}[data-animation][data-animation-appearing][data-animation=slide-down]{-webkit-animation-name:slide-down;animation-name:slide-down}@media print,screen and (min-width:64em){[data-animation][data-animation-delay="100"][data-animation-delay="100"]{-webkit-animation-delay:.1 s;animation-delay:.1 s}[data-animation][data-animation-delay="200"][data-animation-delay="200"]{-webkit-animation-delay:.2 s;animation-delay:.2 s}[data-animation][data-animation-delay="300"][data-animation-delay="300"]{-webkit-animation-delay:.3 s;animation-delay:.3 s}[data-animation][data-animation-delay="400"][data-animation-delay="400"]{-webkit-animation-delay:.4 s;animation-delay:.4 s}[data-animation][data-animation-delay="500"][data-animation-delay="500"]{-webkit-animation-delay:.5 s;animation-delay:.5 s}[data-animation][data-animation-delay="600"][data-animation-delay="600"]{-webkit-animation-delay:.6 s;animation-delay:.6 s}[data-animation][data-animation-delay="700"][data-animation-delay="700"]{-webkit-animation-delay:.7 s;animation-delay:.7 s}[data-animation][data-animation-delay="800"][data-animation-delay="800"]{-webkit-animation-delay:.8 s;animation-delay:.8 s}[data-animation][data-animation-delay="900"][data-animation-delay="900"]{-webkit-animation-delay:.9 s;animation-delay:.9 s}[data-animation][data-animation-delay="1000"][data-animation-delay="1000"]{-webkit-animation-delay:1 s;animation-delay:1 s}[data-animation][data-animation-delay="1100"][data-animation-delay="1100"]{-webkit-animation-delay:1.1 s;animation-delay:1.1 s}[data-animation][data-animation-delay="1200"][data-animation-delay="1200"]{-webkit-animation-delay:1.2 s;animation-delay:1.2 s}[data-animation][data-animation-delay="1300"][data-animation-delay="1300"]{-webkit-animation-delay:1.3 s;animation-delay:1.3 s}[data-animation][data-animation-delay="1400"][data-animation-delay="1400"]{-webkit-animation-delay:1.4 s;animation-delay:1.4 s}[data-animation][data-animation-delay="1500"][data-animation-delay="1500"]{-webkit-animation-delay:1.5 s;animation-delay:1.5 s}[data-animation][data-animation-delay="1600"][data-animation-delay="1600"]{-webkit-animation-delay:1.6 s;animation-delay:1.6 s}[data-animation][data-animation-delay="1700"][data-animation-delay="1700"]{-webkit-animation-delay:1.7 s;animation-delay:1.7 s}[data-animation][data-animation-delay="1800"][data-animation-delay="1800"]{-webkit-animation-delay:1.8 s;animation-delay:1.8 s}[data-animation][data-animation-delay="1900"][data-animation-delay="1900"]{-webkit-animation-delay:1.9 s;animation-delay:1.9 s}[data-animation][data-animation-delay="2000"][data-animation-delay="2000"]{-webkit-animation-delay:2 s;animation-delay:2 s}[data-animation][data-animation-delay="2100"][data-animation-delay="2100"]{-webkit-animation-delay:2.1 s;animation-delay:2.1 s}[data-animation][data-animation-delay="2200"][data-animation-delay="2200"]{-webkit-animation-delay:2.2 s;animation-delay:2.2 s}[data-animation][data-animation-delay="2300"][data-animation-delay="2300"]{-webkit-animation-delay:2.3 s;animation-delay:2.3 s}[data-animation][data-animation-delay="2400"][data-animation-delay="2400"]{-webkit-animation-delay:2.4 s;animation-delay:2.4 s}[data-animation][data-animation-delay="2500"][data-animation-delay="2500"]{-webkit-animation-delay:2.5 s;animation-delay:2.5 s}[data-animation][data-animation-delay="2600"][data-animation-delay="2600"]{-webkit-animation-delay:2.6 s;animation-delay:2.6 s}[data-animation][data-animation-delay="2700"][data-animation-delay="2700"]{-webkit-animation-delay:2.7 s;animation-delay:2.7 s}[data-animation][data-animation-delay="2800"][data-animation-delay="2800"]{-webkit-animation-delay:2.8 s;animation-delay:2.8 s}[data-animation][data-animation-delay="2900"][data-animation-delay="2900"]{-webkit-animation-delay:2.9 s;animation-delay:2.9 s}[data-animation][data-animation-delay="3000"][data-animation-delay="3000"]{-webkit-animation-delay:3 s;animation-delay:3 s}[data-animation][data-animation-delay="3100"][data-animation-delay="3100"]{-webkit-animation-delay:3.1 s;animation-delay:3.1 s}[data-animation][data-animation-delay="3200"][data-animation-delay="3200"]{-webkit-animation-delay:3.2 s;animation-delay:3.2 s}[data-animation][data-animation-delay="3300"][data-animation-delay="3300"]{-webkit-animation-delay:3.3 s;animation-delay:3.3 s}[data-animation][data-animation-delay="3400"][data-animation-delay="3400"]{-webkit-animation-delay:3.4 s;animation-delay:3.4 s}[data-animation][data-animation-delay="3500"][data-animation-delay="3500"]{-webkit-animation-delay:3.5 s;animation-delay:3.5 s}[data-animation][data-animation-delay="3600"][data-animation-delay="3600"]{-webkit-animation-delay:3.6 s;animation-delay:3.6 s}[data-animation][data-animation-delay="3700"][data-animation-delay="3700"]{-webkit-animation-delay:3.7 s;animation-delay:3.7 s}[data-animation][data-animation-delay="3800"][data-animation-delay="3800"]{-webkit-animation-delay:3.8 s;animation-delay:3.8 s}[data-animation][data-animation-delay="3900"][data-animation-delay="3900"]{-webkit-animation-delay:3.9 s;animation-delay:3.9 s}[data-animation][data-animation-delay="4000"][data-animation-delay="4000"]{-webkit-animation-delay:4 s;animation-delay:4 s}}@media(prefers-reduced-motion:reduce){[data-animation]{-webkit-animation-delay:1ms!important;animation-delay:1ms!important;-webkit-animation-duration:1ms!important;animation-duration:1ms!important}}@-webkit-keyframes barberpole{to{background-position:100% 100%}}@keyframes barberpole{to{background-position:100% 100%}}.wpgdprc ::-moz-selection{background:#3c7c96;color:#fff}.wpgdprc ::selection{background:#3c7c96;color:#fff}.wpgdprc a{transition:all .25s cubic-bezier(0,.6,.7,1)}.wpgdprc form{margin-bottom:0}.wpgdprc .no-bullet{list-style:none}.wpgdprc .video-container{height:0;opacity:0;padding-bottom:56.25%;padding-top:25px;position:relative;transition:opacity .25s cubic-bezier(0,.6,.7,1)}.wpgdprc .video-container iframe{height:100%;left:0;position:absolute;top:0;width:100%}.wpgdprc .video-container.active{opacity:1}.wpgdprc img{box-sizing:inherit;display:inline-block;height:auto;max-width:100%;vertical-align:middle}.wpgdprc svg.icon{fill:currentColor;height:1rem;margin:0;vertical-align:sub;width:1rem}.wpgdprc{-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;color:#5a5a5a;font-family:Sofia Pro,Helvetica Neue,Helvetica,Roboto,Arial,sans-serif;font-size:1rem}.wpgdprc h1,.wpgdprc h2,.wpgdprc h3,.wpgdprc h4,.wpgdprc h5,.wpgdprc h6{font-family:Sofia Pro,Helvetica Neue,Helvetica,Roboto,Arial,sans-serif;margin-bottom:.5rem;margin-top:0}.wpgdprc .h1,.wpgdprc .h2,.wpgdprc .h3,.wpgdprc .h4,.wpgdprc .h5,.wpgdprc .h6,.wpgdprc h1,.wpgdprc h2,.wpgdprc h3,.wpgdprc h4,.wpgdprc h5,.wpgdprc h6{color:#000;font-family:Sofia Pro,Helvetica Neue,Helvetica,Roboto,Arial,sans-serif;font-weight:700;line-height:1.2}.wpgdprc .h1,.wpgdprc h1{font-size:3rem}.wpgdprc .h2,.wpgdprc h2{font-size:2rem}.wpgdprc .h3,.wpgdprc h3{font-size:1.5rem}.wpgdprc .h4,.wpgdprc h4{font-size:1.375rem}.wpgdprc .h5,.wpgdprc h5{font-size:1.25rem}.wpgdprc .h6,.wpgdprc h6{font-size:1.125rem}.wpgdprc p{font-size:1rem;line-height:1.625}.wpgdprc p:last-child{margin-bottom:0}.wpgdprc ol,.wpgdprc ul{margin:0 0 1rem 1rem}.wpgdprc blockquote p:before{content:"“"}.wpgdprc blockquote p:after{content:"”"}.wpgdprc blockquote cite{color:#5a5a5a}.wpgdprc .screen-reader-text{clip:rect(0,0,0,0)!important;border:0!important;height:1px!important;overflow:hidden!important;padding:0!important;position:absolute!important;white-space:nowrap!important;width:1px!important}a .icon--wrap{margin-left:.625rem}.grid-x{display:flex;flex-flow:row wrap}.cell{flex:0 0 auto;min-height:0;min-width:0;width:100%}.cell.auto{flex:1 1 0px}.grid-x>.auto{width:auto}.grid-x>.small-12{flex-basis:auto}@media print,screen and (min-width:40em){.grid-x>.medium-3,.grid-x>.medium-9{flex-basis:auto}}@media print,screen and (min-width:64em){.grid-x>.large-4,.grid-x>.large-5,.grid-x>.large-6,.grid-x>.large-7,.grid-x>.large-8,.grid-x>.large-12{flex-basis:auto}}@media screen and (min-width:75em){.grid-x>.xlarge-3,.grid-x>.xlarge-4{flex-basis:auto}}@media screen and (min-width:90em){.grid-x>.xxlarge-3,.grid-x>.xxlarge-6{flex-basis:auto}}@media screen and (min-width:100em){.grid-x>.xxxlarge-4{flex-basis:auto}}.grid-x>.small-12{flex:0 0 auto;width:100%}@media print,screen and (min-width:40em){.grid-x>.medium-3,.grid-x>.medium-9{flex:0 0 auto}.grid-x>.medium-3{width:25%}.grid-x>.medium-9{width:75%}}@media print,screen and (min-width:64em){.grid-x>.large-4,.grid-x>.large-5,.grid-x>.large-6,.grid-x>.large-7,.grid-x>.large-8,.grid-x>.large-12{flex:0 0 auto}.grid-x>.large-4{width:33.3333333333%}.grid-x>.large-5{width:41.6666666667%}.grid-x>.large-6{width:50%}.grid-x>.large-7{width:58.3333333333%}.grid-x>.large-8{width:66.6666666667%}.grid-x>.large-12{width:100%}}@media screen and (min-width:75em){.grid-x>.xlarge-3,.grid-x>.xlarge-4{flex:0 0 auto}.grid-x>.xlarge-3{width:25%}.grid-x>.xlarge-4{width:33.3333333333%}}@media screen and (min-width:90em){.grid-x>.xxlarge-3,.grid-x>.xxlarge-6{flex:0 0 auto}.grid-x>.xxlarge-3{width:25%}.grid-x>.xxlarge-6{width:50%}}@media screen and (min-width:100em){.grid-x>.xxxlarge-4{flex:0 0 auto;width:33.3333333333%}}.grid-margin-x:not(.grid-x)>.cell{width:auto}.grid-margin-y:not(.grid-y)>.cell{height:auto}.grid-margin-x{margin-left:-.9375rem;margin-right:-.9375rem}.grid-margin-x>.cell{margin-left:.9375rem;margin-right:.9375rem;width:calc(100% - 1.875rem)}.grid-margin-x>.auto{width:auto}.grid-margin-x>.small-12{width:calc(100% - 1.875rem)}@media print,screen and (min-width:40em){.grid-margin-x>.medium-3{width:calc(25% - 1.875rem)}.grid-margin-x>.medium-9{width:calc(75% - 1.875rem)}}@media print,screen and (min-width:64em){.grid-margin-x>.large-4{width:calc(33.33333% - 1.875rem)}.grid-margin-x>.large-5{width:calc(41.66667% - 1.875rem)}.grid-margin-x>.large-6{width:calc(50% - 1.875rem)}.grid-margin-x>.large-7{width:calc(58.33333% - 1.875rem)}.grid-margin-x>.large-8{width:calc(66.66667% - 1.875rem)}.grid-margin-x>.large-12{width:calc(100% - 1.875rem)}}@media screen and (min-width:75em){.grid-margin-x>.xlarge-3{width:calc(25% - 1.875rem)}.grid-margin-x>.xlarge-4{width:calc(33.33333% - 1.875rem)}}@media screen and (min-width:90em){.grid-margin-x>.xxlarge-3{width:calc(25% - 1.875rem)}.grid-margin-x>.xxlarge-6{width:calc(50% - 1.875rem)}}@media screen and (min-width:100em){.grid-margin-x>.xxxlarge-4{width:calc(33.33333% - 1.875rem)}}.grid-margin-y{margin-bottom:-.9375rem;margin-top:-.9375rem}.grid-margin-y>.cell{height:calc(100% - 1.875rem);margin-bottom:.9375rem;margin-top:.9375rem}.grid-margin-y>.auto{height:auto}.grid-margin-y>.small-12{height:calc(100% - 1.875rem)}@media print,screen and (min-width:40em){.grid-margin-y>.medium-3{height:calc(25% - 1.875rem)}.grid-margin-y>.medium-9{height:calc(75% - 1.875rem)}}@media print,screen and (min-width:64em){.grid-margin-y>.large-4{height:calc(33.33333% - 1.875rem)}.grid-margin-y>.large-5{height:calc(41.66667% - 1.875rem)}.grid-margin-y>.large-6{height:calc(50% - 1.875rem)}.grid-margin-y>.large-7{height:calc(58.33333% - 1.875rem)}.grid-margin-y>.large-8{height:calc(66.66667% - 1.875rem)}.grid-margin-y>.large-12{height:calc(100% - 1.875rem)}}@media screen and (min-width:75em){.grid-margin-y>.xlarge-3{height:calc(25% - 1.875rem)}.grid-margin-y>.xlarge-4{height:calc(33.33333% - 1.875rem)}}@media screen and (min-width:90em){.grid-margin-y>.xxlarge-3{height:calc(25% - 1.875rem)}.grid-margin-y>.xxlarge-6{height:calc(50% - 1.875rem)}}@media screen and (min-width:100em){.grid-margin-y>.xxxlarge-4{height:calc(33.33333% - 1.875rem)}}.align-right{justify-content:flex-end}.align-justify{justify-content:space-between}.align-middle{align-items:center}.flex-container{display:flex}.flex-dir-row-reverse{flex-direction:row-reverse}.flex-dir-column{flex-direction:column}.hide{display:none!important}.visible{visibility:visible}.show-for-sr{clip:rect(0,0,0,0)!important;border:0!important;height:1px!important;overflow:hidden!important;padding:0!important;position:absolute!important;white-space:nowrap!important;width:1px!important}.margin-0{margin:0!important}.margin-bottom-0{margin-bottom:0!important}.margin-top-1{margin-top:1rem!important}.margin-bottom-1{margin-bottom:1rem!important}.margin-top-2{margin-top:2rem!important}.margin-right-2{margin-right:2rem!important}.margin-bottom-2{margin-bottom:2rem!important}.CodeMirror{color:#000;direction:ltr;font-family:monospace;height:300px}.CodeMirror-lines{padding:4px 0}.CodeMirror pre.CodeMirror-line,.CodeMirror pre.CodeMirror-line-like{padding:0 4px}.CodeMirror-gutter-filler,.CodeMirror-scrollbar-filler{background-color:#fff}.CodeMirror-gutters{background-color:#f7f7f7;border-right:1px solid #ddd;white-space:nowrap}.CodeMirror-linenumber{color:#999;min-width:20px;padding:0 3px 0 5px;text-align:right;white-space:nowrap}.CodeMirror-guttermarker{color:#000}.CodeMirror-guttermarker-subtle{color:#999}.CodeMirror-cursor{border-left:1px solid #000;border-right:none;width:0}.CodeMirror div.CodeMirror-secondarycursor{border-left:1px solid silver}.cm-fat-cursor .CodeMirror-cursor{background:#7e7;border:0!important;width:auto}.cm-fat-cursor div.CodeMirror-cursors{z-index:1}.cm-fat-cursor-mark{background-color:rgba(20,255,20,.5)}.cm-animate-fat-cursor,.cm-fat-cursor-mark{-webkit-animation:blink 1.06s steps(1) infinite;animation:blink 1.06s steps(1) infinite}.cm-animate-fat-cursor{background-color:#7e7;width:auto}@-webkit-keyframes blink{50%{background-color:transparent}}@keyframes blink{50%{background-color:transparent}}.cm-tab{display:inline-block;text-decoration:inherit}.CodeMirror-rulers{bottom:0;left:0;overflow:hidden;position:absolute;right:0;top:-50px}.CodeMirror-ruler{border-left:1px solid #ccc;bottom:0;position:absolute;top:0}.cm-s-default .cm-header{color:blue}.cm-s-default .cm-quote{color:#090}.cm-negative{color:#d44}.cm-positive{color:#292}.cm-header,.cm-strong{font-weight:700}.cm-em{font-style:italic}.cm-link{text-decoration:underline}.cm-strikethrough{text-decoration:line-through}.cm-s-default .cm-keyword{color:#708}.cm-s-default .cm-atom{color:#219}.cm-s-default .cm-number{color:#164}.cm-s-default .cm-def{color:blue}.cm-s-default .cm-variable-2{color:#05a}.cm-s-default .cm-type,.cm-s-default .cm-variable-3{color:#085}.cm-s-default .cm-comment{color:#a50}.cm-s-default .cm-string{color:#a11}.cm-s-default .cm-string-2{color:#f50}.cm-s-default .cm-meta,.cm-s-default .cm-qualifier{color:#555}.cm-s-default .cm-builtin{color:#30a}.cm-s-default .cm-bracket{color:#997}.cm-s-default .cm-tag{color:#170}.cm-s-default .cm-attribute{color:#00c}.cm-s-default .cm-hr{color:#999}.cm-s-default .cm-link{color:#00c}.cm-invalidchar,.cm-s-default .cm-error{color:red}.CodeMirror-composing{border-bottom:2px solid}div.CodeMirror span.CodeMirror-matchingbracket{color:#0b0}div.CodeMirror span.CodeMirror-nonmatchingbracket{color:#a22}.CodeMirror-matchingtag{background:rgba(255,150,0,.3)}.CodeMirror-activeline-background{background:#e8f2ff}.CodeMirror{background:#fff;overflow:hidden;position:relative}.CodeMirror-scroll{height:100%;margin-bottom:-50px;margin-right:-50px;outline:none;overflow:scroll!important;padding-bottom:50px;position:relative}.CodeMirror-sizer{border-right:50px solid transparent;position:relative}.CodeMirror-gutter-filler,.CodeMirror-hscrollbar,.CodeMirror-scrollbar-filler,.CodeMirror-vscrollbar{display:none;outline:none;position:absolute;z-index:6}.CodeMirror-vscrollbar{overflow-x:hidden;overflow-y:scroll;right:0;top:0}.CodeMirror-hscrollbar{bottom:0;left:0;overflow-x:scroll;overflow-y:hidden}.CodeMirror-scrollbar-filler{bottom:0;right:0}.CodeMirror-gutter-filler{bottom:0;left:0}.CodeMirror-gutters{left:0;min-height:100%;position:absolute;top:0;z-index:3}.CodeMirror-gutter{display:inline-block;height:100%;margin-bottom:-50px;vertical-align:top;white-space:normal}.CodeMirror-gutter-wrapper{background:none!important;border:none!important;position:absolute;z-index:4}.CodeMirror-gutter-background{bottom:0;position:absolute;top:0;z-index:4}.CodeMirror-gutter-elt{cursor:default;position:absolute;z-index:4}.CodeMirror-gutter-wrapper ::selection{background-color:transparent}.CodeMirror-gutter-wrapper ::-moz-selection{background-color:transparent}.CodeMirror-lines{cursor:text;min-height:1px}.CodeMirror pre.CodeMirror-line,.CodeMirror pre.CodeMirror-line-like{word-wrap:normal;-webkit-tap-highlight-color:transparent;font-feature-settings:"calt";background:transparent;border-radius:0;border-width:0;color:inherit;font-family:inherit;font-size:inherit;-webkit-font-variant-ligatures:contextual;font-variant-ligatures:contextual;line-height:inherit;margin:0;overflow:visible;position:relative;white-space:pre;z-index:2}.CodeMirror-wrap pre.CodeMirror-line,.CodeMirror-wrap pre.CodeMirror-line-like{word-wrap:break-word;white-space:pre-wrap;word-break:normal}.CodeMirror-linebackground{bottom:0;left:0;position:absolute;right:0;top:0;z-index:0}.CodeMirror-linewidget{padding:.1px;position:relative;z-index:2}.CodeMirror-rtl pre{direction:rtl}.CodeMirror-code{outline:none}.CodeMirror-gutter,.CodeMirror-gutters,.CodeMirror-linenumber,.CodeMirror-scroll,.CodeMirror-sizer{box-sizing:content-box}.CodeMirror-measure{height:0;overflow:hidden;position:absolute;visibility:hidden;width:100%}.CodeMirror-cursor{pointer-events:none;position:absolute}.CodeMirror-measure pre{position:static}div.CodeMirror-cursors{position:relative;visibility:hidden;z-index:3}.CodeMirror-focused div.CodeMirror-cursors,div.CodeMirror-dragcursors{visibility:visible}.CodeMirror-selected{background:#d9d9d9}.CodeMirror-focused .CodeMirror-selected{background:#d7d4f0}.CodeMirror-crosshair{cursor:crosshair}.CodeMirror-line::selection,.CodeMirror-line>span::selection,.CodeMirror-line>span>span::selection{background:#d7d4f0}.CodeMirror-line::-moz-selection,.CodeMirror-line>span::-moz-selection,.CodeMirror-line>span>span::-moz-selection{background:#d7d4f0}.cm-searching{background-color:#ffa;background-color:rgba(255,255,0,.4)}.cm-force-border{padding-right:.1px}@media print{.CodeMirror div.CodeMirror-cursors{visibility:hidden}}.cm-tab-wrap-hack:after{content:""}span.CodeMirror-selectedtext{background:none}.CodeMirror{-webkit-appearance:none;-moz-appearance:none;appearance:none;border:1px solid #d8d8d8;border-radius:3px;box-shadow:none;box-sizing:border-box;color:#5a5a5a;font-size:.875rem;line-height:1.625;min-height:12.1875rem;outline:none;width:100%}.CodeMirror::-webkit-input-placeholder{color:#888}.CodeMirror:-moz-placeholder,.CodeMirror::-moz-placeholder{color:#888}.CodeMirror:-ms-input-placeholder{color:#888}.CodeMirror:focus,.CodeMirror[focus-within]{border-color:#3c7c96}.CodeMirror:focus,.CodeMirror:focus-within{border-color:#3c7c96}.CodeMirror .CodeMirror-selected{height:21px!important}.wpgdprc input,.wpgdprc select{margin:0}.wpgdprc input:not([type]),.wpgdprc input[type=date],.wpgdprc input[type=datetime-local],.wpgdprc input[type=datetime],.wpgdprc input[type=email],.wpgdprc input[type=month],.wpgdprc input[type=number],.wpgdprc input[type=password],.wpgdprc input[type=search],.wpgdprc input[type=tel],.wpgdprc input[type=text],.wpgdprc input[type=time],.wpgdprc input[type=url],.wpgdprc input[type=week],.wpgdprc select,.wpgdprc textarea{-webkit-appearance:none;-moz-appearance:none;appearance:none;background:#fff;border:1px solid #d8d8d8;border-radius:3px;box-shadow:none;box-sizing:border-box;color:#5a5a5a;font-size:.875rem;line-height:1.625;min-height:2.8125rem;outline:none;padding:.625rem .75rem;width:100%}.wpgdprc input:not([type])::-webkit-input-placeholder,.wpgdprc input[type=date]::-webkit-input-placeholder,.wpgdprc input[type=datetime-local]::-webkit-input-placeholder,.wpgdprc input[type=datetime]::-webkit-input-placeholder,.wpgdprc input[type=email]::-webkit-input-placeholder,.wpgdprc input[type=month]::-webkit-input-placeholder,.wpgdprc input[type=number]::-webkit-input-placeholder,.wpgdprc input[type=password]::-webkit-input-placeholder,.wpgdprc input[type=search]::-webkit-input-placeholder,.wpgdprc input[type=tel]::-webkit-input-placeholder,.wpgdprc input[type=text]::-webkit-input-placeholder,.wpgdprc input[type=time]::-webkit-input-placeholder,.wpgdprc input[type=url]::-webkit-input-placeholder,.wpgdprc input[type=week]::-webkit-input-placeholder,.wpgdprc select::-webkit-input-placeholder,.wpgdprc textarea::-webkit-input-placeholder{color:#888}.wpgdprc input:not([type]):-moz-placeholder,.wpgdprc input:not([type])::-moz-placeholder,.wpgdprc input[type=date]:-moz-placeholder,.wpgdprc input[type=date]::-moz-placeholder,.wpgdprc input[type=datetime-local]:-moz-placeholder,.wpgdprc input[type=datetime-local]::-moz-placeholder,.wpgdprc input[type=datetime]:-moz-placeholder,.wpgdprc input[type=datetime]::-moz-placeholder,.wpgdprc input[type=email]:-moz-placeholder,.wpgdprc input[type=email]::-moz-placeholder,.wpgdprc input[type=month]:-moz-placeholder,.wpgdprc input[type=month]::-moz-placeholder,.wpgdprc input[type=number]:-moz-placeholder,.wpgdprc input[type=number]::-moz-placeholder,.wpgdprc input[type=password]:-moz-placeholder,.wpgdprc input[type=password]::-moz-placeholder,.wpgdprc input[type=search]:-moz-placeholder,.wpgdprc input[type=search]::-moz-placeholder,.wpgdprc input[type=tel]:-moz-placeholder,.wpgdprc input[type=tel]::-moz-placeholder,.wpgdprc input[type=text]:-moz-placeholder,.wpgdprc input[type=text]::-moz-placeholder,.wpgdprc input[type=time]:-moz-placeholder,.wpgdprc input[type=time]::-moz-placeholder,.wpgdprc input[type=url]:-moz-placeholder,.wpgdprc input[type=url]::-moz-placeholder,.wpgdprc input[type=week]:-moz-placeholder,.wpgdprc input[type=week]::-moz-placeholder,.wpgdprc select:-moz-placeholder,.wpgdprc select::-moz-placeholder,.wpgdprc textarea:-moz-placeholder,.wpgdprc textarea::-moz-placeholder{color:#888}.wpgdprc input:not([type]):-ms-input-placeholder,.wpgdprc input[type=date]:-ms-input-placeholder,.wpgdprc input[type=datetime-local]:-ms-input-placeholder,.wpgdprc input[type=datetime]:-ms-input-placeholder,.wpgdprc input[type=email]:-ms-input-placeholder,.wpgdprc input[type=month]:-ms-input-placeholder,.wpgdprc input[type=number]:-ms-input-placeholder,.wpgdprc input[type=password]:-ms-input-placeholder,.wpgdprc input[type=search]:-ms-input-placeholder,.wpgdprc input[type=tel]:-ms-input-placeholder,.wpgdprc input[type=text]:-ms-input-placeholder,.wpgdprc input[type=time]:-ms-input-placeholder,.wpgdprc input[type=url]:-ms-input-placeholder,.wpgdprc input[type=week]:-ms-input-placeholder,.wpgdprc select:-ms-input-placeholder,.wpgdprc textarea:-ms-input-placeholder{color:#888}.wpgdprc input:not([type]):focus,.wpgdprc input:not([type])[focus-within],.wpgdprc input[type=date]:focus,.wpgdprc input[type=date][focus-within],.wpgdprc input[type=datetime-local]:focus,.wpgdprc input[type=datetime-local][focus-within],.wpgdprc input[type=datetime]:focus,.wpgdprc input[type=datetime][focus-within],.wpgdprc input[type=email]:focus,.wpgdprc input[type=email][focus-within],.wpgdprc input[type=month]:focus,.wpgdprc input[type=month][focus-within],.wpgdprc input[type=number]:focus,.wpgdprc input[type=number][focus-within],.wpgdprc input[type=password]:focus,.wpgdprc input[type=password][focus-within],.wpgdprc input[type=search]:focus,.wpgdprc input[type=search][focus-within],.wpgdprc input[type=tel]:focus,.wpgdprc input[type=tel][focus-within],.wpgdprc input[type=text]:focus,.wpgdprc input[type=text][focus-within],.wpgdprc input[type=time]:focus,.wpgdprc input[type=time][focus-within],.wpgdprc input[type=url]:focus,.wpgdprc input[type=url][focus-within],.wpgdprc input[type=week]:focus,.wpgdprc input[type=week][focus-within],.wpgdprc select:focus,.wpgdprc select[focus-within],.wpgdprc textarea:focus,.wpgdprc textarea[focus-within]{border:1px solid #3c7c96;box-shadow:0 0 0 1px #3c7c96}.wpgdprc input:not([type]):focus,.wpgdprc input:not([type]):focus-within,.wpgdprc input[type=date]:focus,.wpgdprc input[type=date]:focus-within,.wpgdprc input[type=datetime-local]:focus,.wpgdprc input[type=datetime-local]:focus-within,.wpgdprc input[type=datetime]:focus,.wpgdprc input[type=datetime]:focus-within,.wpgdprc input[type=email]:focus,.wpgdprc input[type=email]:focus-within,.wpgdprc input[type=month]:focus,.wpgdprc input[type=month]:focus-within,.wpgdprc input[type=number]:focus,.wpgdprc input[type=number]:focus-within,.wpgdprc input[type=password]:focus,.wpgdprc input[type=password]:focus-within,.wpgdprc input[type=search]:focus,.wpgdprc input[type=search]:focus-within,.wpgdprc input[type=tel]:focus,.wpgdprc input[type=tel]:focus-within,.wpgdprc input[type=text]:focus,.wpgdprc input[type=text]:focus-within,.wpgdprc input[type=time]:focus,.wpgdprc input[type=time]:focus-within,.wpgdprc input[type=url]:focus,.wpgdprc input[type=url]:focus-within,.wpgdprc input[type=week]:focus,.wpgdprc input[type=week]:focus-within,.wpgdprc select:focus,.wpgdprc select:focus-within,.wpgdprc textarea:focus,.wpgdprc textarea:focus-within{border:1px solid #3c7c96;box-shadow:0 0 0 1px #3c7c96}.wpgdprc textarea{line-height:1.25rem;min-height:12.1875rem}.wpgdprc input[type=checkbox],.wpgdprc input[type=radio]{box-sizing:border-box;clear:both;display:block;margin-right:.25rem;margin-top:2px;padding:0}.wpgdprc button,.wpgdprc input[type=button],.wpgdprc input[type=reset],.wpgdprc input[type=submit]{cursor:pointer}.wpgdprc select{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg viewBox='0 0 13 8' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='m6.357 7.515 5.726-5.726a.328.328 0 0 0 0-.464l-.541-.542a.328.328 0 0 0-.465 0L6.125 5.724 1.173.784a.328.328 0 0 0-.465 0l-.541.54a.328.328 0 0 0 0 .465l5.726 5.726a.328.328 0 0 0 .464 0z' fill='%235A5A5A'/%3E%3C/svg%3E");background-position:right 1rem center;background-repeat:no-repeat;background-size:.75rem;max-width:100%;padding-right:2.8125rem}.wpgdprc button[disabled],.wpgdprc input[disabled],.wpgdprc select[disabled]{cursor:default}.wpgdprc input[type=search]{-webkit-appearance:textfield;-moz-appearance:textfield;appearance:textfield;box-sizing:content-box}.wpgdprc input[type=search]::-webkit-search-cancel-button,.wpgdprc input[type=search]::-webkit-search-decoration{-webkit-appearance:none;appearance:none}.wpgdprc input[type=color]{background:#fff;border:1px solid #d8d8d8}.wpgdprc .wpgdprc-form{margin-bottom:1rem}.wpgdprc .wpgdprc-form:last-child{margin-bottom:0}.wpgdprc .wpgdprc-form__label,.wpgdprc .wpgdprc-form__legend{color:#000;display:block;font-weight:700;margin-bottom:1rem}.wpgdprc .wpgdprc-form__fields{list-style:none;margin-bottom:0;margin-left:0}.wpgdprc-form__field{margin-bottom:1.4375rem}.wpgdprc-form__field:last-child{margin-bottom:0}.wpgdprc-form__field--switch .wpgdprc-switch{margin-bottom:0;min-height:2.8125rem}.wpgdprc-form__field--switch-no-text .wpgdprc-switch__text{margin:0}.wpgdprc .wpgdprc-form__description{color:#888;font-size:.875rem;margin-top:.75rem}.wpgdprc .wpgdprc-form__field--checkbox,.wpgdprc .wpgdprc-form__field--radio{align-items:center;display:flex;margin-bottom:0}.wpgdprc .wpgdprc-form__field--checkbox input,.wpgdprc .wpgdprc-form__field--radio input{aspect-ratio:1/1}.wpgdprc .wpgdprc-form__field--checkbox .wpgdprc-form__input,.wpgdprc .wpgdprc-form__field--radio .wpgdprc-form__input{align-self:flex-start;flex-shrink:0;margin-right:.5rem;width:auto}.wpgdprc .wpgdprc-form__field--checkbox .wpgdprc-form__label,.wpgdprc .wpgdprc-form__field--radio .wpgdprc-form__label{margin-bottom:0;margin-left:0;padding-left:0}.wpgdprc-form__input{width:100%}.wpgdprc .wpgdprc-form__input--textarea{line-height:1.8571428571;min-height:12.1875rem}.wpgdprc .wpgdprc-form__input--submit{width:auto}.wpgdprc-form__field--submit,.wpgdprc-form__field--submit p,.wpgdprc-form__submit{text-align:right}.wpgdprc-form__footer{margin-top:1.4375rem}@media print,screen and (min-width:64em){.wpgdprc-form--edit-consent .wpgdprc-form__field--submit{margin-top:1.25rem}}.wpgdprc-form__title-container{display:flex;flex-wrap:wrap;justify-content:space-between}.wpgdprc-form__title-container>:first-child{margin-right:.9375rem}.wpgdprc-form__text{max-width:46.875rem}.wpgdprc-form--fields{position:relative}.wpgdprc-form--overlay{background-color:transparent;bottom:0;height:0;left:0;position:absolute;right:0;top:0;transition:background-color .6s ease-in-out;width:0}[data-mode=premium] .wpgdprc-form--overlay{background-color:rgba(255,255,255,.75);height:100%;width:100%;z-index:1}.wpgdprc-form__field--colorpicker{align-items:center;display:flex;flex-wrap:wrap;position:relative}.wpgdprc-form__field--colorpicker label{width:100%}.wpgdprc-form__field--colorpicker input[type=color]{-webkit-appearance:none;-moz-appearance:none;appearance:none;bottom:0;height:2.5625rem;position:absolute;width:2.4375rem}.wpgdprc-form__field--colorpicker input[type=text]{margin-left:4.375rem}.wpgdprc-form__field .wpgdprc-link--edit+.wpgdprc-form__description{margin-top:.375rem}.wpgdprc-form__block--modal-settings .h3{margin-bottom:1.5rem}.wpgdprc-form--privacy-policy .wpgdprc-form__field .wpgdprc-link--edit{margin-top:.75rem}.wpgdprc-form--edit-consent .cell--aside{display:flex;flex-direction:column}.wpgdprc-form--edit-consent .wpgdprc-form__field--code{display:flex;flex-direction:column;flex-grow:1}.wpgdprc-form--edit-consent .wpgdprc-form__field--code .CodeMirror,.wpgdprc-form--edit-consent .wpgdprc-form__field--code textarea{flex-grow:1}.wpgdprc-form--request-user .wpgdprc-form__field select{margin-right:.9375rem;width:auto}.wpgdprc-label{align-items:center;background-color:#e1e1e1;border-radius:6.25rem;color:#888;display:inline-block;font-family:Sofia Pro,Helvetica Neue,Helvetica,Roboto,Arial,sans-serif;font-size:.75rem;height:-webkit-fit-content;height:-moz-fit-content;height:fit-content;line-height:1.1666666667;margin-bottom:0;margin-top:0;padding:.375rem .8125rem}.wpgdprc-label,.wpgdprc-label strong{font-weight:700}.wpgdprc-label__info{align-items:center;background-color:#fff;border:.0625rem solid #000;border-radius:100%;display:inline-flex;font-family:Garamond;font-size:.875rem;height:.875rem;justify-content:center;width:.875rem}.wpgdprc-label--large{font-size:.875rem;line-height:1.2857142857}.wpgdprc-label--success{background-color:#c1eed5;color:#176f3e}.wpgdprc-label--warning{background-color:#ffebed;color:#d03343}.wpgdprc-label--gray-light{background-color:#f8f8f9;color:#5a5a5a}.wpgdprc-label.is-hidden{display:none}.button.wpgdprc-button,.wpgdprc-button{align-items:center;background-color:#3c7c96;border:1px solid #3c7c96;border-radius:3px;box-shadow:0 2px 4px 0 rgba(0,0,0,.2);color:#fff;cursor:pointer;display:inline-flex;font-size:1rem;font-weight:700;justify-content:center;line-height:1.125;padding:.8125rem 1.125rem;position:relative;text-decoration:none;transition:all .25s cubic-bezier(0,.6,.7,1);width:auto}.button.wpgdprc-button.wpgdprc-button--outline:not(:focus),.button.wpgdprc-button.wpgdprc-button--outline:not(:hover),.wpgdprc-button.wpgdprc-button--outline:not(:focus),.wpgdprc-button.wpgdprc-button--outline:not(:hover){background-color:transparent;color:#3c7c96}.button.wpgdprc-button.wpgdprc-button--outline:focus,.button.wpgdprc-button.wpgdprc-button--outline:hover,.wpgdprc-button.wpgdprc-button--outline:focus,.wpgdprc-button.wpgdprc-button--outline:hover{background-color:#2d5e72;border-color:#2d5e72;border-width:1px;color:#fff}.button.wpgdprc-button:focus,.button.wpgdprc-button:hover,.wpgdprc-button:focus,.wpgdprc-button:hover,:root .button.wpgdprc-button.wpgdprc-button--active,:root .wpgdprc-button.wpgdprc-button--active{background-color:#2d5e72;border-color:#2d5e72;color:#fff}.wpgdprc-button.wpgdprc-button--alert{align-items:center;background-color:#d03343;border:1px solid #d03343;border-radius:3px;box-shadow:0 2px 4px 0 rgba(0,0,0,.2);color:#fff;cursor:pointer;display:inline-flex;font-size:1rem;font-weight:700;justify-content:center;line-height:1.125;padding:.8125rem 1.125rem;position:relative;text-decoration:none;transition:all .25s cubic-bezier(0,.6,.7,1);width:auto}.wpgdprc-button.wpgdprc-button--alert.wpgdprc-button--outline:not(:focus),.wpgdprc-button.wpgdprc-button--alert.wpgdprc-button--outline:not(:hover){background-color:transparent;color:#d03343}.wpgdprc-button.wpgdprc-button--alert.wpgdprc-button--outline:focus,.wpgdprc-button.wpgdprc-button--alert.wpgdprc-button--outline:hover{background-color:#a92734;border-color:#a92734;border-width:1px;color:#fff}.wpgdprc-button.wpgdprc-button--alert:focus,.wpgdprc-button.wpgdprc-button--alert:hover,:root .wpgdprc-button.wpgdprc-button--alert.wpgdprc-button--active{background-color:#a92734;border-color:#a92734;color:#fff}.wpgdprc-button.wpgdprc-button--white{align-items:center;background-color:#fff;border:1px solid #fff;border-radius:3px;box-shadow:0 2px 4px 0 rgba(0,0,0,.2);color:#5a5a5a;cursor:pointer;display:inline-flex;font-size:1rem;font-weight:700;justify-content:center;line-height:1.125;padding:.8125rem 1.125rem;position:relative;text-decoration:none;transition:all .25s cubic-bezier(0,.6,.7,1);width:auto}.wpgdprc-button.wpgdprc-button--white.wpgdprc-button--outline:not(:focus),.wpgdprc-button.wpgdprc-button--white.wpgdprc-button--outline:not(:hover){background-color:transparent;color:#fff}.wpgdprc-button.wpgdprc-button--white.wpgdprc-button--outline:focus,.wpgdprc-button.wpgdprc-button--white.wpgdprc-button--outline:hover{background-color:#3c7c96;border-color:#3c7c96;border-width:1px;color:#fff}.wpgdprc-button.wpgdprc-button--white:focus,.wpgdprc-button.wpgdprc-button--white:hover,:root .wpgdprc-button.wpgdprc-button--white.wpgdprc-button--active{background-color:#3c7c96;border-color:#3c7c96;color:#fff}.wpgdprc-button.wpgdprc-button--white-primary{align-items:center;background-color:#fff;border:1px solid #fff;border-radius:3px;box-shadow:0 2px 4px 0 rgba(0,0,0,.2);color:#3c7c96;cursor:pointer;display:inline-flex;font-size:1rem;font-weight:700;justify-content:center;line-height:1.125;padding:.8125rem 1.125rem;position:relative;text-decoration:none;transition:all .25s cubic-bezier(0,.6,.7,1);width:auto}.wpgdprc-button.wpgdprc-button--white-primary.wpgdprc-button--outline:not(:focus),.wpgdprc-button.wpgdprc-button--white-primary.wpgdprc-button--outline:not(:hover){background-color:transparent;color:#fff}.wpgdprc-button.wpgdprc-button--white-primary.wpgdprc-button--outline:focus,.wpgdprc-button.wpgdprc-button--white-primary.wpgdprc-button--outline:hover{background-color:#3c7c96;border-color:#3c7c96;border-width:1px;color:#fff}.wpgdprc-button.wpgdprc-button--white-primary:focus,.wpgdprc-button.wpgdprc-button--white-primary:hover,:root .wpgdprc-button.wpgdprc-button--white-primary.wpgdprc-button--active{background-color:#3c7c96;border-color:#3c7c96;color:#fff}.wpgdprc-button.wpgdprc-button--white-alert{align-items:center;background-color:#fff;border:1px solid #fff;border-radius:3px;box-shadow:0 2px 4px 0 rgba(0,0,0,.2);color:#d03343;cursor:pointer;display:inline-flex;font-size:1rem;font-weight:700;justify-content:center;line-height:1.125;padding:.8125rem 1.125rem;position:relative;text-decoration:none;transition:all .25s cubic-bezier(0,.6,.7,1);width:auto}.wpgdprc-button.wpgdprc-button--white-alert.wpgdprc-button--outline:not(:focus),.wpgdprc-button.wpgdprc-button--white-alert.wpgdprc-button--outline:not(:hover){background-color:transparent;color:#fff}.wpgdprc-button.wpgdprc-button--white-alert.wpgdprc-button--outline:focus,.wpgdprc-button.wpgdprc-button--white-alert.wpgdprc-button--outline:hover{background-color:#d03343;border-color:#d03343;border-width:1px;color:#fff}.wpgdprc-button.wpgdprc-button--white-alert:focus,.wpgdprc-button.wpgdprc-button--white-alert:hover,:root .wpgdprc-button.wpgdprc-button--white-alert.wpgdprc-button--active{background-color:#d03343;border-color:#d03343;color:#fff}.wpgdprc-button.wpgdprc-button--transparent{align-items:center;background-color:transparent;border:1px solid transparent;border-radius:3px;box-shadow:0 2px 4px 0 rgba(0,0,0,.2);box-shadow:none;color:#5a5a5a;cursor:pointer;display:inline-flex;font-size:1rem;font-weight:700;justify-content:center;line-height:1.125;padding:.8125rem 1.125rem;position:relative;text-decoration:none;transition:all .25s cubic-bezier(0,.6,.7,1);width:auto}.wpgdprc-button.wpgdprc-button--transparent.wpgdprc-button--outline:not(:focus),.wpgdprc-button.wpgdprc-button--transparent.wpgdprc-button--outline:not(:hover){background-color:transparent;color:transparent}.wpgdprc-button.wpgdprc-button--transparent.wpgdprc-button--outline:focus,.wpgdprc-button.wpgdprc-button--transparent.wpgdprc-button--outline:hover{background-color:transparent;border-color:transparent;border-width:1px;color:#3c7c96}.wpgdprc-button.wpgdprc-button--transparent:focus,.wpgdprc-button.wpgdprc-button--transparent:hover,:root .wpgdprc-button.wpgdprc-button--transparent.wpgdprc-button--active{background-color:transparent;border-color:transparent;color:#3c7c96}.wpgdprc-button[disabled]{align-items:center;background-color:#f8f8f9;border:1px solid #f8f8f9;border-radius:3px;box-shadow:0 2px 4px 0 rgba(0,0,0,.2);color:#afafaf;cursor:pointer;cursor:not-allowed;display:inline-flex;font-size:1rem;font-weight:700;justify-content:center;line-height:1.125;padding:.8125rem 1.125rem;position:relative;text-decoration:none;transition:all .25s cubic-bezier(0,.6,.7,1);width:auto}.wpgdprc-button[disabled].wpgdprc-button--outline:not(:focus),.wpgdprc-button[disabled].wpgdprc-button--outline:not(:hover){background-color:transparent;color:#f8f8f9}.wpgdprc-button[disabled].wpgdprc-button--outline:focus,.wpgdprc-button[disabled].wpgdprc-button--outline:hover{background-color:#f8f8f9;border-color:#f8f8f9;border-width:1px;color:#afafaf}.wpgdprc-button[disabled]:focus,.wpgdprc-button[disabled]:hover,:root .wpgdprc-button[disabled].wpgdprc-button--active{background-color:#f8f8f9;border-color:#f8f8f9;color:#afafaf}:root .wpgdprc-button.wpgdprc-button--small{font-family:Sofia Pro,Helvetica Neue,Helvetica,Roboto,Arial,sans-serif;font-size:.875rem;font-weight:700;line-height:1.1428571429;min-width:4.3125rem;padding:.5rem .875rem .3125rem}:root .wpgdprc-button.wpgdprc-button--small.wpgdprc-button--transparent{box-shadow:none}.wpgdprc-button--transparent.wpgdprc-button--delete{color:#888}.wpgdprc-button--transparent.wpgdprc-button--delete:focus,.wpgdprc-button--transparent.wpgdprc-button--delete:hover{color:#3c7c96}.wpgdprc-button.wpgdprc-button--transparent.wpgdprc-button--white{color:#fff}.wpgdprc-button.wpgdprc-button--transparent.wpgdprc-button--white:focus,.wpgdprc-button.wpgdprc-button--transparent.wpgdprc-button--white:hover{color:rgba(255,255,255,.6)}:root .wpgdprc-button.wpgdprc-button--icon{min-width:0;padding:.5rem 1.125rem .3125rem 2.25rem}:root .wpgdprc-button.wpgdprc-button--icon .icon--wrap{font-size:.875rem;left:.75rem;position:absolute;top:50%;transform:translateY(-50%)}:root .wpgdprc-button.wpgdprc-button--icon .icon--wrap svg.icon{margin:0}.wpgdprc-button.wpgdprc-button--border{border-color:#d6d6d6}.wpgdprc-button.is-hidden{display:none}.wpgdprc-link{align-items:center;color:#3c7c96;display:inline-flex;font-size:.875rem;font-weight:700;position:relative;text-decoration:none}.wpgdprc-link:focus,.wpgdprc-link:hover{color:#2d5e72;opacity:.7}.wpgdprc-link:focus svg.icon,.wpgdprc-link:hover svg.icon{transform:translateX(4px)}.wpgdprc-link .icon--wrap{align-items:center;display:flex;font-size:1rem;height:1rem;justify-content:center;position:relative;top:-.125rem;width:1rem}.wpgdprc-link .icon--wrap:first-child{margin:0 0 0 .625rem}.wpgdprc-link .icon--wrap:last-child{margin:0 .625rem 0 0}.wpgdprc-link .icon--wrap svg{margin:0;transition:transform .25s cubic-bezier(0,.6,.7,1)}.wpgdprc-link.is-hidden{display:none}.wpgdprc-link--white,.wpgdprc-link--white:focus,.wpgdprc-link--white:hover{color:#fff}.wpgdprc-link--edit{font-size:1rem;font-style:italic;text-decoration:none}.wpgdprc-link--edit .icon--wrap{display:none}.wpgdprc-switch{align-items:center;display:inline-flex}:root .wpgdprc-switch .wpgdprc-form__label{margin-bottom:0}.wpgdprc-switch.regular-text{width:auto}.wpgdprc-switch__text{font-size:.875rem;font-weight:700;margin-right:.9375rem}.wpgdprc-switch__switch{display:inline-block;height:2.25rem;position:relative;width:5.125rem}.wpgdprc-switch__input{height:0;opacity:0;width:0}.wpgdprc-switch__input:focus+.wpgdprc-switch__slider{box-shadow:0 0 8px 0 #3c7c96}.wpgdprc-switch__input:disabled{border:0}.wpgdprc-switch__input:disabled+.wpgdprc-switch__slider:after{opacity:1}.wpgdprc-switch__slider{background-color:#fff;border-radius:6.25rem;bottom:0;box-shadow:0 5px 10px 0 rgba(0,0,0,.1);cursor:pointer;left:0;overflow:hidden;position:absolute;right:0;top:0;transition:.4s}.wpgdprc-switch__slider .icon--wrap{align-items:center;background-color:#888;border-radius:6.25rem;bottom:calc(50% - .875rem);color:#fff;display:flex;height:1.75rem;justify-content:center;left:4px;position:absolute;transition:.4s;width:2.4375rem}.wpgdprc-switch__slider:after{-webkit-animation:barberpole 1s linear infinite;animation:barberpole 1s linear infinite;background-image:repeating-linear-gradient(45deg,hsla(0,0%,100%,.4),hsla(0,0%,100%,.4) .5rem,hsla(0,0%,53%,.4) 0,hsla(0,0%,53%,.4) 1rem);background-size:200% 200%;content:" ";height:100%;left:0;opacity:0;position:absolute;top:0;transition:opacity .25s cubic-bezier(0,.6,.7,1);width:100%}.wpgdprc-switch__input:checked+.wpgdprc-switch__slider .icon--wrap{background-color:#176f3e}.wpgdprc-switch__input:checked+.wpgdprc-switch__slider .icon--wrap[data-icon=times]{opacity:0}.wpgdprc-switch__input:checked+.wpgdprc-switch__slider .icon--wrap{transform:translateX(35px)}.wpgdprc-switch--border .wpgdprc-switch__slider{border:1px solid #d8d8d8}.wpgdprc-switch--column{align-items:flex-start;flex-direction:column}.wpgdprc-switch--column .wpgdprc-switch__text{color:#000;font-size:1.125rem;margin-bottom:.625rem;margin-right:0}.wpgdprc-switch--no-margin-right .wpgdprc-switch__text{margin-right:0}.wpgdprc-message{display:flex;margin-bottom:1rem;position:relative}.wpgdprc-message:last-child{margin-bottom:0}.wpgdprc-message.fade-out{-webkit-animation-duration:.25s;animation-duration:.25s;-webkit-animation-fill-mode:forwards;animation-fill-mode:forwards;-webkit-animation-name:fade-out;animation-name:fade-out;-webkit-animation-timing-function:cubic-bezier(0,.6,.7,1);animation-timing-function:cubic-bezier(0,.6,.7,1)}.wpgdprc-message__icon{align-self:flex-start;margin-top:unset;order:0}.wpgdprc-message__icon svg{width:1.5rem}.wpgdprc-message__content{order:1}.wpgdprc-message.is-hidden{display:none}@media screen and (min-width:75em){.wpgdprc-message{flex-wrap:unset;justify-content:space-between}.wpgdprc-message__container{padding:1.25rem}:root .wpgdprc-message__title{padding-right:0}.wpgdprc-message__icon{padding:0 .4375rem}.wpgdprc-message__action{flex-shrink:0;position:relative;right:unset;top:unset}:root .wpgdprc-message__button{margin-top:-.625rem}:root .wpgdprc-message__button span{display:inline}}.wpgdprc-message{background-color:#ecf3f6;border:1px solid #adcbd8;border-radius:5px;color:#3c7c96;padding:.625rem}.wpgdprc-message>*{padding:.625rem}.wpgdprc-message__container{align-items:center;display:flex}.wpgdprc-message__container .wpgdprc-button{color:#fff!important}.wpgdprc-message__content a:not(.wpgdprc-button){color:#3c7c96;font-weight:700;text-underline-offset:.0625rem;text-underline-position:auto}.wpgdprc-message__content a:not(.wpgdprc-button):focus,.wpgdprc-message__content a:not(.wpgdprc-button):hover{color:#2d5e72}.wpgdprc .wpgdprc-message__title{color:#3c7c96;padding-right:2.1875rem}.wpgdprc-message__action{position:absolute;right:0;top:0}.wpgdprc .wpgdprc-message__button{align-items:center;background-color:transparent;border:0;color:#3c7c96;cursor:pointer;display:flex;font-size:.875rem;margin-left:-.8125rem;position:relative;transition:all .25s cubic-bezier(0,.6,.7,1)}.wpgdprc .wpgdprc-message__button:focus,.wpgdprc .wpgdprc-message__button:hover{color:#2d5e72;opacity:1}.wpgdprc .wpgdprc-message__button .icon--wrap{align-items:center;color:inherit;display:flex;font-size:.875rem;height:2rem;justify-content:center;width:2rem}.wpgdprc-message--large-icon .wpgdprc-message__icon{margin-right:1rem}.wpgdprc-message--large-icon .wpgdprc-message__icon svg{width:4.5rem}.wpgdprc-message__icon path{fill:#3c7c96}.wpgdprc-message--warning{background-color:#fef8ea;border-color:#f6e1c0;color:#733312}.wpgdprc .wpgdprc-message--warning .wpgdprc-message__button,.wpgdprc .wpgdprc-message--warning .wpgdprc-message__title{color:#733312}.wpgdprc .wpgdprc-message--warning .wpgdprc-message__button:focus,.wpgdprc .wpgdprc-message--warning .wpgdprc-message__button:hover{color:#471f0b}.wpgdprc-message--warning .wpgdprc-message__icon path{fill:#733312}.wpgdprc-message--error{background-color:#ffebed;border-color:#f1cec6;color:#600404}.wpgdprc .wpgdprc-message--error .wpgdprc-message__button,.wpgdprc .wpgdprc-message--error .wpgdprc-message__title{color:#600404}.wpgdprc .wpgdprc-message--error .wpgdprc-message__button:focus,.wpgdprc .wpgdprc-message--error .wpgdprc-message__button:hover{color:#2f0202}.wpgdprc-message--error .wpgdprc-message__icon path{fill:#600404}.wpgdprc-tile{background-color:#f8f8f9;border-radius:5px;display:flex;flex-direction:column;height:calc(100% - 50px);padding:1.5625rem;position:relative}.wpgdprc-tile__content{margin-bottom:1.875rem}p.wpgdprc-tile__title{margin-bottom:.625rem}.wpgdprc-tile__text{font-size:1rem}.wpgdprc-tile__text--success{color:#176f3e}.wpgdprc-tile__text--warning{color:#ffae00}.wpgdprc-tile__footer{margin-top:auto}:root .wpgdprc-tile__message{font-size:.75rem;line-height:1.125rem}.wpgdprc-tile__check{margin-top:.8125rem}.wpgdprc-tile--primary{background-color:#3c7c96;color:#fff}.wpgdprc-tile--primary .wpgdprc-tile__title{color:#fff}.wpgdprc-tile--primary .wpgdprc-tile__text{opacity:.8}.wpgdprc-tile--manage .wpgdprc-tile__title{color:#5a5a5a;font-size:1rem;font-weight:400;margin-bottom:0}.wpgdprc-tile--manage .wpgdprc-tile__title span{display:block}.wpgdprc-tile--manage .wpgdprc-tile__text{border-top:.0625rem solid #d8d8d8;color:#888;font-size:.875rem;margin-top:.9375rem;padding-top:.5625rem}.wpgdprc-tile--manage .wpgdprc-link:focus svg.icon,.wpgdprc-tile--manage .wpgdprc-link:hover svg.icon{transform:rotate(180deg)}.wpgdprc-tile--text{color:#888}.wpgdprc-tile--text .wpgdprc-tile__content{margin-bottom:1.25rem}.wpgdprc-tile--text .wpgdprc-tile__text{font-size:.875rem}.wpgdprc-tile--green-light{background-color:#c1eed5;color:#176f3e}.wpgdprc-tile--green-light .wpgdprc-tile__title{color:#176f3e}.wpgdprc-badge{align-items:center;background-color:#f8f8f9;border-radius:5px;display:flex;height:calc(100% - 50px);padding:1.5625rem;position:relative}.wpgdprc-badge__content{flex-grow:1;order:1}.wpgdprc .wpgdprc-badge__title{margin-bottom:.25rem}.wpgdprc-badge__text{font-size:.875rem}.wpgdprc-badge__icon{flex-shrink:0;margin-right:.9375rem;order:0}.wpgdprc-badge__icon svg{width:1.75rem}.wpgdprc-badge__icon path{fill:#3c7c96}.wpgdprc-badge--woocommerce .wpgdprc-badge__icon svg{max-height:1.75rem;width:2.6875rem}.wpgdprc-text--warning{color:#d03343}.wpgdprc pre,span.wpgdprc-pre{word-wrap:break-word;display:inline;font-family:monospace;font-style:normal;white-space:pre-wrap;white-space:-moz-pre-wrap;white-space:-pre-wrap;white-space:-o-pre-wrap}span.wpgdprc-pre--strong{font-weight:700}.wpgdprc-consent-bar{bottom:0;font-family:inherit;font-family:var(--wp-gdpr--bar--font-family,inherit);left:0;margin:.9375rem;position:fixed;right:0;z-index:99999}.wpgdprc-consent-bar__inner{-webkit-animation:wpgdprcFadeIn .3s cubic-bezier(0,0,.2,1);animation:wpgdprcFadeIn .3s cubic-bezier(0,0,.2,1);background-color:var(--wp-gdpr--bar--background-color);border-radius:5px;box-shadow:0 2px 4px 0 rgba(0,0,0,.2);margin:0 auto;max-width:75rem;padding:1.25rem .625rem;text-align:center;z-index:999}.wpgdprc-consent-bar__inner,.wpgdprc-consent-bar__inner a{color:var(--wp-gdpr--bar--color)}.wpgdprc-consent-bar__container{display:flex;flex-wrap:wrap;position:relative}.wpgdprc-consent-bar__column{padding:0 10px}.wpgdprc-consent-bar__column:first-child{flex-grow:1}.wpgdprc-consent-bar__content{align-items:center;display:flex;flex-wrap:wrap;text-align:left;width:100%}.wpgdprc-consent-bar__column--notice{flex-grow:1;margin-bottom:.5rem}@media print,screen and (max-width:63.99875em){.wpgdprc-consent-bar__column--accept,.wpgdprc-consent-bar__column--settings{flex-grow:1}.wpgdprc-consent-bar__column--accept .wpgdprc-button,.wpgdprc-consent-bar__column--settings .wpgdprc-button{width:100%}}.wpgdprc-consent-bar__notice{font-size:1rem}.wpgdprc-consent-bar__notice p{margin-bottom:0}:root .wpgdprc-consent-bar button.wpgdprc-button--accept{align-items:center;background-color:var(--wp-gdpr--button--background-color);border-color:var(--wp-gdpr--button--background-color);border-radius:3px;box-shadow:0 2px 4px 0 rgba(0,0,0,.2);color:var(--wp-gdpr--button--color);cursor:pointer;display:inline-flex;font-size:1rem;font-weight:700;justify-content:center;line-height:1.1666666667;padding:.8125rem 1.125rem;position:relative;text-decoration:none;transition:all .25s cubic-bezier(0,.6,.7,1)}:root .wpgdprc-consent-bar button.wpgdprc-button--accept:focus,:root .wpgdprc-consent-bar button.wpgdprc-button--accept:hover{background-color:var(--wp-gdpr--button--background-color--darken);border-color:var(--wp-gdpr--button--background-color--darken)}:root .wpgdprc-consent-bar button.wpgdprc-button--settings{background-color:transparent;border-color:transparent;box-shadow:none;color:var(--wp-gdpr--bar--color)}:root .wpgdprc-consent-bar button.wpgdprc-button--settings:focus,:root .wpgdprc-consent-bar button.wpgdprc-button--settings:hover{background-color:transparent;border-color:transparent;box-shadow:none;opacity:.75}@media print,screen and (min-width:40em){.wpgdprc-consent-bar__column--notice{flex-grow:0;margin-bottom:0}.wpgdprc-consent-bar__column--settings{margin-left:0}.wpgdprc-consent-bar__content{flex-wrap:nowrap}}.wpgdprc-consent-bar--position-top{bottom:auto;top:0}@media screen and (min-width:48.9375em){.admin-bar .wpgdprc-consent-bar--position-top{top:2rem}}.admin-bar .wpgdprc-consent-bar--position-top{top:2.875rem}.wpgdprc-consent-bar--admin{margin:0;position:relative}.wpgdprc-consent-bar--admin .wpgdprc-consent-bar__notice{max-width:100%}.text-with-icon{background-color:#ecf3f6;display:flex;margin-top:1.5rem;padding:1.9375rem 1.5625rem}.text-with-icon *,.text-with-icon .text-with-icon__title,.text-with-icon p{color:#3c7c96}.text-with-icon .text-with-icon__icon{stroke-color:#3c7c96;margin-right:1.25rem;width:3rem}.text-with-icon .text-with-icon__icon svg{width:48px}.spinner{height:100%;margin-right:.5rem;width:auto}.spinner__spin{-webkit-animation:spinner .75s linear infinite;animation:spinner .75s linear infinite;aspect-ratio:1/1;border:.2em solid #fff;border-radius:50%;border-right-color:transparent;display:block;height:1.2rem;vertical-align:text-bottom}@-webkit-keyframes spinner{to{transform:rotate(1turn)}}@keyframes spinner{to{transform:rotate(1turn)}}body.wp-admin pre.debug{background-color:#ddd;border:1px solid #999;padding:10px;width:95%}body.wp-admin pre.debug:before{color:#999;content:"DEBUGGING INFO:";display:block}.wpgdprc-integration-item{align-items:center;background-color:#f8f8f9;display:flex;flex-wrap:wrap;margin:.625rem 0;padding:1.5625rem}.wpgdprc-integration-item__header{display:flex;flex-grow:1;flex-wrap:wrap}.wpgdprc-integration-item__header-inner{display:flex}.wpgdprc-integration-item__content{order:2}.wpgdprc-integration-item__content a{color:#3c7c96;font-weight:700;text-underline-offset:.0625rem;text-underline-position:auto}.wpgdprc-integration-item__content a:focus,.wpgdprc-integration-item__content a:hover{color:#2d5e72}:root .wpgdprc-integration-item__title{align-items:center;display:flex;font-size:1rem;line-height:1.625;margin-bottom:.25rem}:root .wpgdprc-integration-item__title span{margin-left:.625rem}:root p.wpgdprc-integration-item__text{font-size:.875rem;max-width:50.4375rem}.wpgdprc-integration-item__icon{align-items:center;display:flex;flex-shrink:0;height:2.8125rem;justify-content:center;margin:0 0 0 -1.5625rem;order:1;width:4.25rem}.wpgdprc-integration-item__icon svg{width:1.625rem}.wpgdprc-integration-item__icon svg path{fill:#3c7c96}.wpgdprc-integration-item__icon--woocommerce svg{width:2.375rem}.wpgdprc-integration-item__action{flex-shrink:0;margin-left:2.6875rem;margin-top:.9375rem}.wpgdprc-integration-item__container{max-height:0;opacity:0;overflow:hidden;padding:0;transition:max-height .25s ease-out,opacity .25s ease-out,padding-top .25s ease-out;width:100%}.wpgdprc-integration-item__container.is-expanded{opacity:1;overflow:hidden;padding-top:1.25rem}.wpgdprc-integration-item__form{background-color:#f0f0f0;border-radius:5px;margin-bottom:1.25rem;padding:1.25rem}.wpgdprc-integration-item__form:last-child{margin-bottom:0}.wpgdprc-integration-item__form-field{margin-bottom:1.25rem;width:100%}.wpgdprc-integration-item__form-label{color:#000;display:inline-block;font-size:.875rem;font-weight:700;margin-bottom:.625rem}.wpgdprc-integration-item__form-label--large{font-size:1rem}.wpgdprc-integration-item__form-input-container--main{align-items:center;display:flex;position:relative}.wpgdprc-integration-item__form-input-container--main .icon--wrap{align-items:center;display:flex;flex-shrink:0;height:2.125rem;justify-content:left;width:2.125rem}.wpgdprc-integration-item__form-input-container--main .icon--wrap svg{fill:#3c7c96;height:1.25rem;transition:transform .25s cubic-bezier(0,.6,.7,1);width:1.25rem}:root input.wpgdprc-integration-item__form-input{font-size:.875rem;padding:.375rem .75rem}:root input.wpgdprc-integration-item__form-input:disabled{opacity:.5}:root p.wpgdprc-integration-item__form-description{color:#888;font-size:.75rem}.wpgdprc-integration-item__grid{display:flex;flex-flow:row wrap;margin:0 -.9375rem}.wpgdprc-integration-item__cell{display:flex;flex:0 0 auto;margin-left:.9375rem;margin-right:.9375rem;min-height:0;min-width:0;position:relative;width:calc(100% - 1.875rem)}.wpgdprc-integration-item__submit{margin-top:1.125rem}:root .wpgdprc-integration-item__submit .wpgdprc-button{color:#888;font-family:Sofia Pro,Helvetica Neue,Helvetica,Roboto,Arial,sans-serif;font-weight:400;padding:0}:root .wpgdprc-integration-item__submit .wpgdprc-button:focus,:root .wpgdprc-integration-item__submit .wpgdprc-button:hover{color:#3c7c96}@media screen and (min-width:48.9375em){.wpgdprc-integration-item__header{flex-wrap:unset}.wpgdprc-integration-item__header-inner{margin-right:1.875rem}.wpgdprc-integration-item__content{margin-bottom:0}.wpgdprc-integration-item__action{margin-left:auto;margin-top:unset}}@media print,screen and (min-width:40em){.wpgdprc-integration-item__cell{flex:0 0 auto;margin-left:.9375rem;margin-right:.9375rem;width:calc(50% - 1.875rem)}.wpgdprc-integration-item__form-group{padding-left:2.125rem}}@media screen and (min-width:60.0625em){.wpgdprc-integration-item__container{padding-left:2.6875rem}}.wpgdprc-banner-item{background-color:#f8f8f9;padding:.75rem 1.375rem;transition:all .25s cubic-bezier(0,.6,.7,1)}.wpgdprc-banner-item:not(:last-child){margin-bottom:1.25rem}.wpgdprc-banner-item__inner{align-items:center;display:flex;flex-wrap:wrap;justify-content:space-between}.wpgdprc-banner-item__header{align-items:center;display:flex;flex-wrap:wrap;margin:.625rem 0}:root .wpgdprc-banner-item__title{margin-right:.9375rem;transition:color .25s cubic-bezier(0,.6,.7,1)}.wpgdprc-banner-item__edited{color:#888;font-size:.875rem;font-style:italic}.wpgdprc-banner-item__container{align-items:center;display:flex;flex-grow:1;flex-wrap:wrap;justify-content:flex-end;margin:.625rem 0}.wpgdprc-banner-item__content,.wpgdprc-banner-item__content-wrap{align-items:center;display:flex;flex-wrap:wrap;justify-content:space-between}.wpgdprc-banner-item__content-wrap{flex-grow:1}.wpgdprc-banner-item__content[aria-hidden=true]{display:none}.wpgdprc-banner-item__actions-wrap{align-items:center;display:flex;flex-grow:1;flex-wrap:wrap;justify-content:flex-end;margin-bottom:.625rem;margin-top:.625rem}:root .wpgdprc-banner-item__label{margin-right:1.25rem}:root .wpgdprc-banner-item__actions{align-items:center;display:flex;flex-wrap:wrap;margin:0 -.875rem 0 0}:root .wpgdprc-banner-item__actions li{margin:0}:root .wpgdprc-banner-item__list{align-items:center;display:flex;flex-grow:1;flex-wrap:wrap;justify-content:space-between;list-style:none;margin:-.3125rem -.9375rem}:root .wpgdprc-banner-item__item{font-size:.875rem;line-height:1.8571428571;margin:.3125rem .9375rem}:root .wpgdprc-banner-item__item span{display:block;font-weight:700}.wpgdprc-banner-item--request .wpgdprc-banner-item__header{max-width:375px;width:375px}.wpgdprc-banner-item--request .wpgdprc-banner-item__container{margin:0}.wpgdprc-banner-item--request .wpgdprc-banner-item__content{flex-grow:1}.wpgdprc-banner-item.will-delete{background-color:#d03343;color:#fff}.wpgdprc-banner-item.will-delete .wpgdprc-banner-item__title{color:#fff}.wpgdprc-banner-item.will-delete .wpgdprc-banner-item__text{font-weight:700;margin-right:1.25rem}.wpgdprc-banner-item.will-delete .wpgdprc-banner-item__edited{display:none}@media screen and (min-width:81.25em){.wpgdprc-banner-item.will-delete .wpgdprc-banner-item__text{margin-right:2.625rem}}.wpgdprc-request-item{background-color:#f8f8f9;padding:.75rem 1.375rem;transition:all .25s cubic-bezier(0,.6,.7,1)}.wpgdprc-request-item:not(:last-child){margin-bottom:1.25rem}.wpgdprc-sign-up-modal{display:none}.wpgdprc-sign-up-modal.is-open{display:block!important}.wpgdprc-sign-up-modal[aria-hidden=false] .wpgdprc-sign-up-modal__overlay{-webkit-animation:wpgdprcFadeIn .3s cubic-bezier(0,0,.2,1);animation:wpgdprcFadeIn .3s cubic-bezier(0,0,.2,1)}.wpgdprc-sign-up-modal[aria-hidden=true] .wpgdprc-sign-up-modal__overlay{-webkit-animation:wpgdprcFadeOut .3s cubic-bezier(0,0,.2,1);animation:wpgdprcFadeOut .3s cubic-bezier(0,0,.2,1)}.wpgdprc-sign-up-modal__overlay{align-items:center;background:#000;background:rgba(0,0,0,.6);bottom:0;display:flex;flex-direction:column;justify-content:center;left:0;position:fixed;right:0;top:0;will-change:transform;z-index:999999}.wpgdprc-sign-up-modal__inner{background:#fff;border-radius:5px;box-shadow:0 10px 15px 0 rgba(0,0,0,.2);display:flex;flex-direction:column;max-height:80vh;max-width:800px;overflow-y:auto;position:relative;width:90%;width:90vw}.wpgdprc-sign-up-modal__header{border-bottom:1px solid #ededed;padding:.9375rem}:root .wpgdprc-sign-up-modal__title{color:#000;font-family:Sofia Pro,Helvetica Neue,Helvetica,Roboto,Arial,sans-serif;font-size:1.25rem;font-weight:700;letter-spacing:0;margin-bottom:0;margin-right:6.25rem}:root .wpgdprc-sign-up-modal__title--description{font-size:1.5rem;margin-bottom:.625rem}:root .wpgdprc-sign-up-modal button.wpgdprc-sign-up-modal__back,:root .wpgdprc-sign-up-modal button.wpgdprc-sign-up-modal__close{align-items:center;background-color:transparent;border:0;border-radius:3px;color:#5a5a5a;display:flex;height:40px;justify-content:center;margin:0;padding:0;position:absolute;right:.625rem;top:.75rem;transition:all .25s cubic-bezier(0,.6,.7,1);width:40px}:root .wpgdprc-sign-up-modal button.wpgdprc-sign-up-modal__back:focus,:root .wpgdprc-sign-up-modal button.wpgdprc-sign-up-modal__back:hover,:root .wpgdprc-sign-up-modal button.wpgdprc-sign-up-modal__close:focus,:root .wpgdprc-sign-up-modal button.wpgdprc-sign-up-modal__close:hover{background-color:var(--wp-gdpr--button--background-color--darken);box-shadow:0 2px 4px 0 rgba(0,0,0,.2);color:var(--wp-gdpr--button--color)}:root .wpgdprc-sign-up-modal button.wpgdprc-sign-up-modal__back svg,:root .wpgdprc-sign-up-modal button.wpgdprc-sign-up-modal__close svg{pointer-events:none;width:.875rem}:root .wpgdprc-sign-up-modal button.wpgdprc-sign-up-modal__back svg path,:root .wpgdprc-sign-up-modal button.wpgdprc-sign-up-modal__close svg path{fill:currentColor}.wpgdprc-sign-up-modal__body{border-bottom:1px solid #ededed;flex-grow:1}.wpgdprc-sign-up-modal__description{color:#8a8a8a;display:none;flex-direction:column;height:100%}.wpgdprc-sign-up-modal__description--active{display:block}.wpgdprc-sign-up-modal__information,.wpgdprc-sign-up-modal__navigation{padding:.9375rem;position:relative}.wpgdprc-sign-up-modal__information{flex-grow:1}.wpgdprc-sign-up-modal__navigation{border-bottom:1px solid #ededed;flex-shrink:0}.wpgdprc-sign-up-modal__navigation>a{display:block;margin-top:10px}.wpgdprc-sign-up-modal__navigation>a:first-child{margin-top:0}:root .wpgdprc-sign-up-modal__navigation-list{list-style:none;margin:0}:root .wpgdprc button.wpgdprc-sign-up-modal__navigation-button{background-color:transparent;border:0;color:#878787;font-size:1rem;letter-spacing:0;line-height:2.25;outline:none;padding:0;text-align:left}:root .wpgdprc button.wpgdprc-sign-up-modal__navigation-button:focus,:root .wpgdprc button.wpgdprc-sign-up-modal__navigation-button:hover{color:var(--wp-gdpr--button--background-color--darken)}:root .wpgdprc button.wpgdprc-sign-up-modal__navigation-button--active{color:var(--wp-gdpr--button--background-color);font-weight:700}:root .wpgdprc-content-modal__content{color:#5a5a5a;font-size:1rem;letter-spacing:0;line-height:1.625}:root .wpgdprc-content-modal__content>*{margin-bottom:1.625rem}:root .wpgdprc-content-modal__content>:last-child{margin-bottom:0}:root .wpgdprc button.wpgdprc-sign-up-modal__back{display:none;right:3.75rem!important}.wpgdprc-content-modal__options{margin-top:auto}.wpgdprc-content-modal__options>*{margin-top:1.625rem}.wpgdprc-sign-up-modal__footer{display:flex;justify-content:flex-end;padding:.9375rem}:root .wpgdprc-sign-up-modal__footer .wpgdprc-button:not(.has-background){align-items:center;background-color:#3c7c96;background-color:var(--wp-gdpr--button--background-color);border:1px solid #3c7c96;border-radius:3px;box-shadow:0 2px 4px 0 rgba(0,0,0,.2);color:#fff;color:var(--wp-gdpr--button--color);cursor:pointer;display:inline-flex;font-size:1rem;font-weight:700;justify-content:center;line-height:1.125;padding:.8125rem 1.125rem;position:relative;text-decoration:none;transition:all .25s cubic-bezier(0,.6,.7,1);width:auto}:root .wpgdprc-sign-up-modal__footer .wpgdprc-button:not(.has-background).wpgdprc-button--outline:not(:focus),:root .wpgdprc-sign-up-modal__footer .wpgdprc-button:not(.has-background).wpgdprc-button--outline:not(:hover){background-color:transparent;color:#3c7c96}:root .wpgdprc-sign-up-modal__footer .wpgdprc-button:not(.has-background).wpgdprc-button--outline:focus,:root .wpgdprc-sign-up-modal__footer .wpgdprc-button:not(.has-background).wpgdprc-button--outline:hover{background-color:#2d5e72;border-color:#2d5e72;border-width:1px;color:#fff}:root .wpgdprc-sign-up-modal__footer .wpgdprc-button:not(.has-background):focus,:root .wpgdprc-sign-up-modal__footer .wpgdprc-button:not(.has-background):hover,:root :root .wpgdprc-sign-up-modal__footer .wpgdprc-button:not(.has-background).wpgdprc-button--active{background-color:#2d5e72;border-color:#2d5e72;color:#fff}:root .wpgdprc-sign-up-modal__footer .wpgdprc-button:not(.has-background):focus,:root .wpgdprc-sign-up-modal__footer .wpgdprc-button:not(.has-background):hover{background-color:var(--wp-gdpr--button--background-color--darken);border-color:var(--wp-gdpr--button--background-color--darken)}.wpgdprc-sign-up-modal__footer__information{align-items:center;display:flex;flex-grow:1;position:relative}@media only screen and (min-width:768px){.wpgdprc-sign-up-modal__header{padding:1.5rem 1.5625rem}:root .wpgdprc-sign-up-modal button.wpgdprc-sign-up-modal__back,:root .wpgdprc-sign-up-modal button.wpgdprc-sign-up-modal__close{right:.9375rem;top:1.25rem}.wpgdprc-sign-up-modal__body{display:flex;flex-direction:row}.wpgdprc-sign-up-modal__information,.wpgdprc-sign-up-modal__navigation{padding:1.5625rem}.wpgdprc-sign-up-modal__navigation{border-bottom:0;width:14.1875rem}.wpgdprc-sign-up-modal__footer{padding:1.5625rem}}abbr.wpgdprc-required+abbr.required{display:none!important}.wpgdprc-sign-up-modal__choose-type{height:100%;padding:1.5625rem 1.5625rem 0}.wpgdprc-sign-up-modal__choose-type>p:first-child{margin:0 1rem}.wpgdprc-sign-up-modal__choose-type .wpgdprc-sign-up-modal__column p{margin:2rem 0 1.5rem}.wpgdprc-sign-up-modal__sign-up{height:100%;min-height:50vh}.wpgdprc-sign-up-modal__sign-up>p{margin:0 1rem;padding:1.5625rem}.wpgdprc-sign-up-modal__columns{display:flex;flex-wrap:wrap;justify-content:space-between;margin-top:1.5625rem}.wpgdprc-sign-up-modal__columns span.icon--wrap,.wpgdprc-sign-up-modal__columns svg.icon,.wpgdprc-sign-up-modal__columns use{fill:#3c7c96;height:4rem;width:4rem}.wpgdprc-sign-up-modal__column{background-color:#f1f1f1;border-radius:3px;display:flex;flex:1 0 25%;flex-direction:column;margin:1rem;padding:1.5rem}.wpgdprc-sign-up-modal__column .wpgdprc-button{flex-grow:1}.wpgdprc-sign-up-modal__open{background-color:transparent;border:0;left:0;padding:.125rem;position:absolute}.wpgdprc-sign-up-modal__open,.wpgdprc-sign-up-modal__open svg{height:1rem;width:1rem}.wpgdprc-sign-up-modal__open path,.wpgdprc-sign-up-modal__open svg path{fill:transparent;transition:fill .25s}.wpgdprc-sign-up-modal__open:hover svg path{fill:#3c7c96}@-webkit-keyframes wpgdprcFadeIn{0%{opacity:0}to{opacity:1}}@keyframes wpgdprcFadeIn{0%{opacity:0}to{opacity:1}}@-webkit-keyframes wpgdprcFadeOut{0%{opacity:1}to{opacity:0}}@keyframes wpgdprcFadeOut{0%{opacity:1}to{opacity:0}}.wpgdprc-section__header{margin-bottom:1.25rem}.wpgdprc-section__title{margin-bottom:0}.wpgdprc-tiles__header{margin-bottom:1.25rem}.wpgdprc-tiles__title{margin-bottom:0}.wpgdprc-tabs__header{justify-content:space-between}.wpgdprc-tabs__header,.wpgdprc-tabs__title-container{align-items:center;display:flex;flex-wrap:wrap;margin-bottom:.625rem}.wpgdprc-tabs__title-container{margin-right:1.25rem}:root .wpgdprc-tabs__title{margin-bottom:0;margin-right:1.25rem}:root .wpgdprc-tabs__list{align-items:center;display:flex;flex-wrap:wrap;margin:-.625rem -.625rem 0}.wpgdprc-tabs__item{margin:.625rem;text-align:center}.wpgdprc-tabs__item button.wpgdprc-tabs__anchor,a.wpgdprc-tabs__anchor{color:#afafaf;display:inline-block;font-size:.875rem;position:relative;text-align:center;text-decoration:none;transition:color .25s cubic-bezier(0,.6,.7,1)}.wpgdprc-tabs__item button.wpgdprc-tabs__anchor:focus,.wpgdprc-tabs__item button.wpgdprc-tabs__anchor:hover,a.wpgdprc-tabs__anchor:focus,a.wpgdprc-tabs__anchor:hover{color:#3c7c96;font-weight:600}.wpgdprc-tabs__item button.wpgdprc-tabs__anchor:after,a.wpgdprc-tabs__anchor:after{content:attr(data-title);display:block;font-weight:600;height:0;overflow:hidden;transition:opacity .25s cubic-bezier(0,.6,.7,1);visibility:hidden}.wpgdprc-tabs__item button.wpgdprc-tabs__anchor[aria-selected=true],a.wpgdprc-tabs__anchor[aria-selected=true]{color:#5a5a5a;font-weight:600}.wpgdprc-tabs__item button.wpgdprc-tabs__anchor[aria-selected=false],a.wpgdprc-tabs__anchor[aria-selected=false]{font-weight:400}.wpgdprc-tabs__item button.wpgdprc-tabs__anchor[aria-selected=false]:focus,.wpgdprc-tabs__item button.wpgdprc-tabs__anchor[aria-selected=false]:hover,a.wpgdprc-tabs__anchor[aria-selected=false]:focus,a.wpgdprc-tabs__anchor[aria-selected=false]:hover{font-weight:600}.wpgdprc-tabs__block[aria-hidden=false]{-webkit-animation-duration:.25s;animation-duration:.25s;-webkit-animation-fill-mode:forwards;animation-fill-mode:forwards;-webkit-animation-name:fade-in;animation-name:fade-in;-webkit-animation-timing-function:cubic-bezier(0,.6,.7,1);animation-timing-function:cubic-bezier(0,.6,.7,1)}.wpgdprc-tabs__block[aria-hidden=true]{display:none}.wpgdprc-tabs--alt .wpgdprc-tabs__header{border-bottom:.0625rem solid #d8d8d8;margin-bottom:1.5rem}:root .wpgdprc-tabs--alt .wpgdprc-tabs__list{margin:-.75rem -.75rem 0}.wpgdprc-tabs--alt .wpgdprc-tabs__item{margin:0 .75rem}.wpgdprc-tabs--alt .wpgdprc-tabs__anchor{-webkit-text-decoration-skip:ink;color:#5a5a5a;display:block;font-size:1rem;padding:.75rem 0;text-decoration:underline;-webkit-text-decoration-color:transparent;text-decoration-color:transparent;text-decoration-skip-ink:auto;text-decoration-thickness:.1875rem;text-underline-offset:.75rem}.wpgdprc-tabs--alt .wpgdprc-tabs__anchor:focus,.wpgdprc-tabs--alt .wpgdprc-tabs__anchor:hover{color:#3c7c96;font-weight:600}.wpgdprc-tabs--alt .wpgdprc-tabs__anchor[aria-selected=true]{color:#3c7c96;-webkit-text-decoration-color:currentColor;text-decoration-color:currentColor}.wpgdprc-banner{align-items:center;border-top:.0625rem solid #d8d8d8;display:flex;flex-wrap:wrap;padding:1.5625rem 0}.wpgdprc-banner__container{display:flex}.wpgdprc-banner__content{margin-bottom:.9375rem;order:2}.wpgdprc-banner__content a{color:#3c7c96;font-weight:700;text-underline-offset:.0625rem;text-underline-position:auto}.wpgdprc-banner__content a:focus,.wpgdprc-banner__content a:hover{color:#2d5e72}:root .wpgdprc-banner__title{font-size:1rem;margin-bottom:.25rem}:root .wpgdprc-banner__pre-title{color:#888;font-size:.875rem;margin-bottom:.25rem}.wpgdprc-banner__text{max-width:50.4375rem}.wpgdprc-banner__icon{flex-shrink:0;margin-right:.9375rem;order:1}.wpgdprc-banner__icon svg{width:3.25rem}.wpgdprc-banner__action{flex-shrink:0;margin-left:4.1875rem}@media screen and (min-width:48.9375em){.wpgdprc-banner{flex-wrap:unset}.wpgdprc-banner__container{margin-right:1.875rem}.wpgdprc-banner__content{margin-bottom:0}.wpgdprc-banner__icon{margin-right:1.25rem}.wpgdprc-banner__action{margin-left:auto}}@media screen and (min-width:60.0625em){.wpgdprc-banner{padding-bottom:.3125rem}}.wpgdprc-welcome a{color:#3c7c96}.wpgdprc{max-width:87.5rem;padding:0 .625rem 0 0}.wpgdprc-main{display:flex}@media screen and (min-width:48.9375em){.wpgdprc{padding:0 1.25rem 0 0}.wpgdprc-main{flex-wrap:unset}}@media screen and (min-width:75em){.wpgdprc{padding:0 1.875rem}}.wpgdprc-header{align-items:center;display:flex;flex-wrap:wrap;justify-content:space-between;padding:2.25rem 0}.wpgdprc-header .wpgdprc-label{font-weight:500;margin-right:.9375rem;padding:.5rem .8125rem}.wpgdprc-header .wpgdprc-label span{font-weight:700}.wpgdprc-header__left{align-items:center;display:flex;flex-wrap:wrap;margin-right:.9375rem}.wpgdprc-header__title{margin:.3125rem .9375rem .3125rem 0}:root .wpgdprc-header__logos{align-items:center;display:flex;margin:0}.wpgdprc-header__logo{list-style:none;margin-bottom:0}.wpgdprc-header__logo--lock{margin-right:.9375rem}.wpgdprc-header__logo--lock svg{width:2.5rem}.wpgdprc-header__logo--name{display:flex;flex-direction:column}.wpgdprc-header__logo--name svg{width:9.5rem}.wpgdprc-header__link--premium{color:#5a5a5a;font-size:.875rem;font-weight:500;text-underline-offset:.0625rem;text-underline-position:auto}.wpgdprc-header__link--premium:focus,.wpgdprc-header__link--premium:hover{color:#3c7c96}:root p.wpgdprc-header__message{margin:.3125rem 0}.wpgdprc-header__manage{color:#5a5a5a;display:inline-block;font-family:Sofia Pro,Helvetica Neue,Helvetica,Roboto,Arial,sans-serif;font-size:.875rem;font-weight:500;margin:.3125rem 0;text-decoration:underline}.wpgdprc-header__manage:focus,.wpgdprc-header__manage:hover{color:#3c7c96}:root .wpgdprc-header__nav{margin:.3125rem 0}:root .wpgdprc-header__nav,:root .wpgdprc-header__nav ul{display:flex;flex-wrap:wrap}:root .wpgdprc-header__nav li{margin-bottom:0;margin-right:2.1875rem}:root .wpgdprc-header__nav li:last-child{margin-right:0}:root .wpgdprc-header__nav a{color:#888;display:flex;font-size:.875rem;justify-content:space-between;text-decoration:none}:root .wpgdprc-header__nav a:focus,:root .wpgdprc-header__nav a:hover{color:#3c7c96}.wpgdprc p.wp-notice{margin:.5em 0;padding:2px}[data-mode=premium] .wpgdprc-header__link--premium{display:none}.wpgdprc-container{background-color:#fff;box-shadow:0 5px 10px 0 rgba(0,0,0,.1);order:2;padding:.9375rem;width:100%}@media screen and (min-width:48.9375em){.wpgdprc-container{padding:1.25rem}}@media screen and (min-width:60.0625em){.wpgdprc-container{padding:1.875rem}}.wpgdprc-content>*,.wpgdprc-content__container>*{margin-bottom:1.875rem}.wpgdprc-content>:last-child,.wpgdprc-content__container>:last-child{margin-bottom:0}.wpgdprc-content__header{margin-bottom:1.25rem}:root .wpgdprc-content__title{margin-bottom:.625rem}.wpgdprc-content__text{max-width:46.875rem}.wpgdprc-content__text p{margin-bottom:1em}:root .wpgdprc-content__actions{align-items:center;display:flex;flex-wrap:wrap;margin:0}:root .wpgdprc-content__actions li{list-style:none;margin-bottom:0;margin-right:1.25rem}:root .wpgdprc-content__actions li:last-child{margin-right:0}.wpgdprc-content__header--justify{align-items:center;display:flex;flex-wrap:wrap;justify-content:space-between}.wpgdprc-content__container{border-top:.0625rem solid #d8d8d8;padding-top:1.25rem}.wpgdprc-content__container--no-border{border:0}.wpgdprc-sidebar{order:1}.wpgdprc-sidebar__item,:root .wpgdprc-sidebar__list{margin:0}.wpgdprc-sidebar__anchor{align-items:center;border-radius:3px;color:#888;display:flex;position:relative;text-decoration:none;width:100%}.wpgdprc-sidebar__anchor .icon--wrap{align-items:center;border:0!important;color:inherit;content:"";display:flex;font-weight:300;height:3.625rem;justify-content:center;margin:0!important;width:3.625rem}.wpgdprc-sidebar__anchor .icon--wrap svg.icon{height:1.25rem;margin:0;width:1.25rem}.wpgdprc-sidebar__anchor:after{border-bottom:1.6875rem solid transparent;border-left:.6875rem solid #3c7c96;border-top:1.6875rem solid transparent;content:"";height:0;opacity:0;position:absolute;right:-.6875rem;top:.125rem;transition:all .25s cubic-bezier(0,.6,.7,1);width:0}.wpgdprc-sidebar__anchor .wpgdprc-sidebar__anchor-svg svg path{fill:#888}.wpgdprc-sidebar__anchor.active,.wpgdprc-sidebar__anchor:focus,.wpgdprc-sidebar__anchor:hover{background-color:#3c7c96;color:#fff}.wpgdprc-sidebar__anchor.active:after,.wpgdprc-sidebar__anchor:focus:after,.wpgdprc-sidebar__anchor:hover:after{opacity:1}.wpgdprc-sidebar__anchor.active .wpgdprc-sidebar__anchor-svg svg path,.wpgdprc-sidebar__anchor:focus .wpgdprc-sidebar__anchor-svg svg path,.wpgdprc-sidebar__anchor:hover .wpgdprc-sidebar__anchor-svg svg path{fill:#fff}.wpgdprc-sidebar__anchor:focus span{border-bottom:3px solid}.wpgdprc-sidebar__anchor.active{box-shadow:0 5px 10px 0 rgba(0,0,0,.1)}.wpgdprc-sidebar__anchor.active .wpgdprc-sidebar__anchor-text{font-weight:700}.wpgdprc-sidebar__anchor-svg{align-items:center;display:flex;height:3.625rem;justify-content:center;width:3.625rem}.wpgdprc-sidebar__anchor-text{display:none;font-family:Sofia Pro,Helvetica Neue,Helvetica,Roboto,Arial,sans-serif;font-weight:600;line-height:1.25;position:relative;top:.0625rem}.wpgdprc-sidebar__anchor--checklist:before{content:"";display:none}.wpgdprc-sidebar__anchor--checklist .wpgdprc-sidebar__anchor-svg svg{width:.5625rem}@media screen and (min-width:48.9375em){.wpgdprc-sidebar{flex-shrink:0;max-width:12.8125rem;width:100%}.wpgdprc-sidebar__anchor-text{display:inline}}.wpgdprc-footer{display:flex;flex-wrap:wrap;font-family:Sofia Pro,Helvetica Neue,Helvetica,Roboto,Arial,sans-serif;font-size:.875rem;font-weight:500;justify-content:flex-end;margin-left:3.625rem;padding-top:1.375rem}p.wpgdprc-footer__developer{margin:0}p.wpgdprc-footer__developer a{align-items:flex-start;color:#5a5a5a;display:flex;flex-direction:column;flex-wrap:wrap;text-decoration:none}p.wpgdprc-footer__developer a:focus,p.wpgdprc-footer__developer a:hover{color:#3c7c96}p.wpgdprc-footer__developer a svg.icon{display:none}p.wpgdprc-footer__developer svg{margin-top:.375rem;order:1;width:14.6875rem}@media screen and (min-width:48.9375em){.wpgdprc-footer{margin-left:12.8125rem}}body.fts.wpgdprc{background:#f1f1f1;max-width:100%;opacity:1;padding:0;visibility:visible}#wp-gdpr-fts{box-sizing:border-box;margin:2rem 0}@media screen and (min-width:48.9375em){#wp-gdpr-fts{margin:4.875rem auto;max-width:80em;width:80%}}#wp-gdpr-fts .step__title{align-items:flex-end;display:flex;justify-content:space-between}#wp-gdpr-fts .step__title span{color:#5a5a5a;font-size:1rem}#wp-gdpr-fts form:not(.default-width) .cell{width:calc(100% - 1.875rem)}#wp-gdpr-fts .hidden,#wp-gdpr-fts form .wpgdprc-form__field.wpgdprc-form__field--submit,#wp-gdpr-fts form .wpgdprc-form__field wpgdprc-form__field--submit{display:none}#wp-gdpr-fts a:not(.button){color:#3c7c96}#wp-gdpr-fts .questionnaire label{margin:.6rem 0 .4rem .4rem}#wp-gdpr-fts p{margin-bottom:.5rem}#wp-gdpr-fts hr{margin:.5rem -1rem}#wp-gdpr-fts .list li{margin:.25rem 0}#step-container>.step{min-height:340px}#step-container>.step:not(.active){display:none}#step-container .step-container__footer{margin-top:2rem}#step-container .step-container__footer button{padding:.8125rem 1.125rem}#step-container .step-container__footer button:not([data-step=next])[disabled]{transition:none;visibility:hidden}#step-container .step-container__footer button[data-step=prev] span{margin-right:.5rem}#step-container .step-container__footer button[data-step=next][disabled] .spinner-wrapper{display:block!important}#step-to-buttons button{background-color:transparent;border:0;font-weight:400;line-height:1.9375rem;padding-left:calc(1rem + 12px);padding-right:0;position:relative;text-align:left;transition:all .25s cubic-bezier(0,.6,.7,1)}#step-to-buttons button:not(:last-child){margin:0 0 .3825rem}#step-to-buttons button[disabled]{opacity:1}#step-to-buttons button:before{background-color:#888;border:1px solid #888;border-radius:100%;content:" ";display:inline-block;height:12px;left:0;position:absolute;top:50%;transform:translateY(-65%);width:12px}#step-to-buttons button.active{color:#3c7c96;font-size:1.25rem;font-weight:700}#step-to-buttons button.active~button:before{background-color:transparent}#step-to-buttons button.active:before{background-color:#3c7c96;border-color:#3c7c96}.wp-gdpr-fts__footer{margin:1rem auto 0}
1
+ :root .wpgdprc-header__nav ul{list-style:none;margin-bottom:0;margin-left:0;padding-left:0}.wpgdprc blockquote,.wpgdprc dd,.wpgdprc dl,.wpgdprc fieldset,.wpgdprc figure,.wpgdprc h1,.wpgdprc h2,.wpgdprc h3,.wpgdprc h4,.wpgdprc h5,.wpgdprc h6,.wpgdprc hr,.wpgdprc legend,.wpgdprc ol,.wpgdprc p,.wpgdprc pre,.wpgdprc ul{margin:0;padding:0}.wpgdprc li>ol,.wpgdprc li>ul{margin-bottom:0}.wpgdprc table{border-collapse:collapse;border-spacing:0}.wpgdprc fieldset{border:0;min-width:0}.wpgdprc *,.wpgdprc :after,.wpgdprc :before{box-sizing:inherit}.wpgdprc [type=button],.wpgdprc [type=reset],.wpgdprc [type=submit]{-webkit-appearance:none;-moz-appearance:none;appearance:none;border:0;margin:0}@-webkit-keyframes fade-in{0%{opacity:0}to{opacity:1}}@keyframes fade-in{0%{opacity:0}to{opacity:1}}@-webkit-keyframes fade-out{0%{opacity:1}to{opacity:0}}@keyframes fade-out{0%{opacity:1}to{opacity:0}}@-webkit-keyframes slide-down{0%{opacity:0;transform:translateY(-30px)}to{opacity:1;transform:none}}@keyframes slide-down{0%{opacity:0;transform:translateY(-30px)}to{opacity:1;transform:none}}[data-animation]{opacity:0}[data-animation][data-animation-appearing]{-webkit-animation-duration:.25s;animation-duration:.25s;-webkit-animation-fill-mode:forwards;animation-fill-mode:forwards;-webkit-animation-name:fade-in;animation-name:fade-in;-webkit-animation-timing-function:cubic-bezier(0,.6,.7,1);animation-timing-function:cubic-bezier(0,.6,.7,1)}[data-animation][data-animation-appearing][data-animation=slide-down]{-webkit-animation-name:slide-down;animation-name:slide-down}@media print,screen and (min-width:64em){[data-animation][data-animation-delay="100"][data-animation-delay="100"]{-webkit-animation-delay:.1 s;animation-delay:.1 s}[data-animation][data-animation-delay="200"][data-animation-delay="200"]{-webkit-animation-delay:.2 s;animation-delay:.2 s}[data-animation][data-animation-delay="300"][data-animation-delay="300"]{-webkit-animation-delay:.3 s;animation-delay:.3 s}[data-animation][data-animation-delay="400"][data-animation-delay="400"]{-webkit-animation-delay:.4 s;animation-delay:.4 s}[data-animation][data-animation-delay="500"][data-animation-delay="500"]{-webkit-animation-delay:.5 s;animation-delay:.5 s}[data-animation][data-animation-delay="600"][data-animation-delay="600"]{-webkit-animation-delay:.6 s;animation-delay:.6 s}[data-animation][data-animation-delay="700"][data-animation-delay="700"]{-webkit-animation-delay:.7 s;animation-delay:.7 s}[data-animation][data-animation-delay="800"][data-animation-delay="800"]{-webkit-animation-delay:.8 s;animation-delay:.8 s}[data-animation][data-animation-delay="900"][data-animation-delay="900"]{-webkit-animation-delay:.9 s;animation-delay:.9 s}[data-animation][data-animation-delay="1000"][data-animation-delay="1000"]{-webkit-animation-delay:1 s;animation-delay:1 s}[data-animation][data-animation-delay="1100"][data-animation-delay="1100"]{-webkit-animation-delay:1.1 s;animation-delay:1.1 s}[data-animation][data-animation-delay="1200"][data-animation-delay="1200"]{-webkit-animation-delay:1.2 s;animation-delay:1.2 s}[data-animation][data-animation-delay="1300"][data-animation-delay="1300"]{-webkit-animation-delay:1.3 s;animation-delay:1.3 s}[data-animation][data-animation-delay="1400"][data-animation-delay="1400"]{-webkit-animation-delay:1.4 s;animation-delay:1.4 s}[data-animation][data-animation-delay="1500"][data-animation-delay="1500"]{-webkit-animation-delay:1.5 s;animation-delay:1.5 s}[data-animation][data-animation-delay="1600"][data-animation-delay="1600"]{-webkit-animation-delay:1.6 s;animation-delay:1.6 s}[data-animation][data-animation-delay="1700"][data-animation-delay="1700"]{-webkit-animation-delay:1.7 s;animation-delay:1.7 s}[data-animation][data-animation-delay="1800"][data-animation-delay="1800"]{-webkit-animation-delay:1.8 s;animation-delay:1.8 s}[data-animation][data-animation-delay="1900"][data-animation-delay="1900"]{-webkit-animation-delay:1.9 s;animation-delay:1.9 s}[data-animation][data-animation-delay="2000"][data-animation-delay="2000"]{-webkit-animation-delay:2 s;animation-delay:2 s}[data-animation][data-animation-delay="2100"][data-animation-delay="2100"]{-webkit-animation-delay:2.1 s;animation-delay:2.1 s}[data-animation][data-animation-delay="2200"][data-animation-delay="2200"]{-webkit-animation-delay:2.2 s;animation-delay:2.2 s}[data-animation][data-animation-delay="2300"][data-animation-delay="2300"]{-webkit-animation-delay:2.3 s;animation-delay:2.3 s}[data-animation][data-animation-delay="2400"][data-animation-delay="2400"]{-webkit-animation-delay:2.4 s;animation-delay:2.4 s}[data-animation][data-animation-delay="2500"][data-animation-delay="2500"]{-webkit-animation-delay:2.5 s;animation-delay:2.5 s}[data-animation][data-animation-delay="2600"][data-animation-delay="2600"]{-webkit-animation-delay:2.6 s;animation-delay:2.6 s}[data-animation][data-animation-delay="2700"][data-animation-delay="2700"]{-webkit-animation-delay:2.7 s;animation-delay:2.7 s}[data-animation][data-animation-delay="2800"][data-animation-delay="2800"]{-webkit-animation-delay:2.8 s;animation-delay:2.8 s}[data-animation][data-animation-delay="2900"][data-animation-delay="2900"]{-webkit-animation-delay:2.9 s;animation-delay:2.9 s}[data-animation][data-animation-delay="3000"][data-animation-delay="3000"]{-webkit-animation-delay:3 s;animation-delay:3 s}[data-animation][data-animation-delay="3100"][data-animation-delay="3100"]{-webkit-animation-delay:3.1 s;animation-delay:3.1 s}[data-animation][data-animation-delay="3200"][data-animation-delay="3200"]{-webkit-animation-delay:3.2 s;animation-delay:3.2 s}[data-animation][data-animation-delay="3300"][data-animation-delay="3300"]{-webkit-animation-delay:3.3 s;animation-delay:3.3 s}[data-animation][data-animation-delay="3400"][data-animation-delay="3400"]{-webkit-animation-delay:3.4 s;animation-delay:3.4 s}[data-animation][data-animation-delay="3500"][data-animation-delay="3500"]{-webkit-animation-delay:3.5 s;animation-delay:3.5 s}[data-animation][data-animation-delay="3600"][data-animation-delay="3600"]{-webkit-animation-delay:3.6 s;animation-delay:3.6 s}[data-animation][data-animation-delay="3700"][data-animation-delay="3700"]{-webkit-animation-delay:3.7 s;animation-delay:3.7 s}[data-animation][data-animation-delay="3800"][data-animation-delay="3800"]{-webkit-animation-delay:3.8 s;animation-delay:3.8 s}[data-animation][data-animation-delay="3900"][data-animation-delay="3900"]{-webkit-animation-delay:3.9 s;animation-delay:3.9 s}[data-animation][data-animation-delay="4000"][data-animation-delay="4000"]{-webkit-animation-delay:4 s;animation-delay:4 s}}@media(prefers-reduced-motion:reduce){[data-animation]{-webkit-animation-delay:1ms!important;animation-delay:1ms!important;-webkit-animation-duration:1ms!important;animation-duration:1ms!important}}@-webkit-keyframes barberpole{to{background-position:100% 100%}}@keyframes barberpole{to{background-position:100% 100%}}.wpgdprc ::-moz-selection{background:#3c7c96;color:#fff}.wpgdprc ::selection{background:#3c7c96;color:#fff}.wpgdprc a{transition:all .25s cubic-bezier(0,.6,.7,1)}.wpgdprc form{margin-bottom:0}.wpgdprc .no-bullet{list-style:none}.wpgdprc .video-container{height:0;opacity:0;padding-bottom:56.25%;padding-top:25px;position:relative;transition:opacity .25s cubic-bezier(0,.6,.7,1)}.wpgdprc .video-container iframe{height:100%;left:0;position:absolute;top:0;width:100%}.wpgdprc .video-container.active{opacity:1}.wpgdprc img{box-sizing:inherit;display:inline-block;height:auto;max-width:100%;vertical-align:middle}.wpgdprc svg.icon{fill:currentColor;height:1rem;margin:0;vertical-align:sub;width:1rem}.wpgdprc{-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;color:#5a5a5a;font-family:sofia-pro,Helvetica Neue,Helvetica,Roboto,Arial,sans-serif;font-size:1rem}.wpgdprc h1,.wpgdprc h2,.wpgdprc h3,.wpgdprc h4,.wpgdprc h5,.wpgdprc h6{font-family:sofia-pro,Helvetica Neue,Helvetica,Roboto,Arial,sans-serif;margin-bottom:.5rem;margin-top:0}.wpgdprc .h1,.wpgdprc .h2,.wpgdprc .h3,.wpgdprc .h4,.wpgdprc .h5,.wpgdprc .h6,.wpgdprc h1,.wpgdprc h2,.wpgdprc h3,.wpgdprc h4,.wpgdprc h5,.wpgdprc h6{color:#000;font-family:sofia-pro,Helvetica Neue,Helvetica,Roboto,Arial,sans-serif;font-weight:700;line-height:1.2}.wpgdprc .h1,.wpgdprc h1{font-size:3rem}.wpgdprc .h2,.wpgdprc h2{font-size:2rem}.wpgdprc .h3,.wpgdprc h3{font-size:1.5rem}.wpgdprc .h4,.wpgdprc h4{font-size:1.375rem}.wpgdprc .h5,.wpgdprc h5{font-size:1.25rem}.wpgdprc .h6,.wpgdprc h6{font-size:1.125rem}.wpgdprc p{font-size:1rem;line-height:1.625}.wpgdprc p:last-child{margin-bottom:0}.wpgdprc ol,.wpgdprc ul{margin:0 0 1rem 1rem}.wpgdprc blockquote p:before{content:"“"}.wpgdprc blockquote p:after{content:"”"}.wpgdprc blockquote cite{color:#5a5a5a}.wpgdprc .screen-reader-text{clip:rect(0,0,0,0)!important;border:0!important;height:1px!important;overflow:hidden!important;padding:0!important;position:absolute!important;white-space:nowrap!important;width:1px!important}a .icon--wrap{margin-left:.625rem}.grid-x{display:flex;flex-flow:row wrap}.cell{flex:0 0 auto;min-height:0;min-width:0;width:100%}.cell.auto{flex:1 1 0}.grid-x>.auto{width:auto}.grid-x>.small-12{flex-basis:auto}@media print,screen and (min-width:40em){.grid-x>.medium-3,.grid-x>.medium-9{flex-basis:auto}}@media print,screen and (min-width:64em){.grid-x>.large-4,.grid-x>.large-5,.grid-x>.large-6,.grid-x>.large-7,.grid-x>.large-8,.grid-x>.large-12{flex-basis:auto}}@media screen and (min-width:75em){.grid-x>.xlarge-3,.grid-x>.xlarge-4{flex-basis:auto}}@media screen and (min-width:90em){.grid-x>.xxlarge-3,.grid-x>.xxlarge-6{flex-basis:auto}}@media screen and (min-width:100em){.grid-x>.xxxlarge-4{flex-basis:auto}}.grid-x>.small-12{flex:0 0 auto;width:100%}@media print,screen and (min-width:40em){.grid-x>.medium-3,.grid-x>.medium-9{flex:0 0 auto}.grid-x>.medium-3{width:25%}.grid-x>.medium-9{width:75%}}@media print,screen and (min-width:64em){.grid-x>.large-4,.grid-x>.large-5,.grid-x>.large-6,.grid-x>.large-7,.grid-x>.large-8,.grid-x>.large-12{flex:0 0 auto}.grid-x>.large-4{width:33.3333333333%}.grid-x>.large-5{width:41.6666666667%}.grid-x>.large-6{width:50%}.grid-x>.large-7{width:58.3333333333%}.grid-x>.large-8{width:66.6666666667%}.grid-x>.large-12{width:100%}}@media screen and (min-width:75em){.grid-x>.xlarge-3,.grid-x>.xlarge-4{flex:0 0 auto}.grid-x>.xlarge-3{width:25%}.grid-x>.xlarge-4{width:33.3333333333%}}@media screen and (min-width:90em){.grid-x>.xxlarge-3,.grid-x>.xxlarge-6{flex:0 0 auto}.grid-x>.xxlarge-3{width:25%}.grid-x>.xxlarge-6{width:50%}}@media screen and (min-width:100em){.grid-x>.xxxlarge-4{flex:0 0 auto;width:33.3333333333%}}.grid-margin-x:not(.grid-x)>.cell{width:auto}.grid-margin-y:not(.grid-y)>.cell{height:auto}.grid-margin-x{margin-left:-.9375rem;margin-right:-.9375rem}.grid-margin-x>.cell{margin-left:.9375rem;margin-right:.9375rem;width:calc(100% - 1.875rem)}.grid-margin-x>.auto{width:auto}.grid-margin-x>.small-12{width:calc(100% - 1.875rem)}@media print,screen and (min-width:40em){.grid-margin-x>.medium-3{width:calc(25% - 1.875rem)}.grid-margin-x>.medium-9{width:calc(75% - 1.875rem)}}@media print,screen and (min-width:64em){.grid-margin-x>.large-4{width:calc(33.33333% - 1.875rem)}.grid-margin-x>.large-5{width:calc(41.66667% - 1.875rem)}.grid-margin-x>.large-6{width:calc(50% - 1.875rem)}.grid-margin-x>.large-7{width:calc(58.33333% - 1.875rem)}.grid-margin-x>.large-8{width:calc(66.66667% - 1.875rem)}.grid-margin-x>.large-12{width:calc(100% - 1.875rem)}}@media screen and (min-width:75em){.grid-margin-x>.xlarge-3{width:calc(25% - 1.875rem)}.grid-margin-x>.xlarge-4{width:calc(33.33333% - 1.875rem)}}@media screen and (min-width:90em){.grid-margin-x>.xxlarge-3{width:calc(25% - 1.875rem)}.grid-margin-x>.xxlarge-6{width:calc(50% - 1.875rem)}}@media screen and (min-width:100em){.grid-margin-x>.xxxlarge-4{width:calc(33.33333% - 1.875rem)}}.grid-margin-y{margin-bottom:-.9375rem;margin-top:-.9375rem}.grid-margin-y>.cell{height:calc(100% - 1.875rem);margin-bottom:.9375rem;margin-top:.9375rem}.grid-margin-y>.auto{height:auto}.grid-margin-y>.small-12{height:calc(100% - 1.875rem)}@media print,screen and (min-width:40em){.grid-margin-y>.medium-3{height:calc(25% - 1.875rem)}.grid-margin-y>.medium-9{height:calc(75% - 1.875rem)}}@media print,screen and (min-width:64em){.grid-margin-y>.large-4{height:calc(33.33333% - 1.875rem)}.grid-margin-y>.large-5{height:calc(41.66667% - 1.875rem)}.grid-margin-y>.large-6{height:calc(50% - 1.875rem)}.grid-margin-y>.large-7{height:calc(58.33333% - 1.875rem)}.grid-margin-y>.large-8{height:calc(66.66667% - 1.875rem)}.grid-margin-y>.large-12{height:calc(100% - 1.875rem)}}@media screen and (min-width:75em){.grid-margin-y>.xlarge-3{height:calc(25% - 1.875rem)}.grid-margin-y>.xlarge-4{height:calc(33.33333% - 1.875rem)}}@media screen and (min-width:90em){.grid-margin-y>.xxlarge-3{height:calc(25% - 1.875rem)}.grid-margin-y>.xxlarge-6{height:calc(50% - 1.875rem)}}@media screen and (min-width:100em){.grid-margin-y>.xxxlarge-4{height:calc(33.33333% - 1.875rem)}}.align-right{justify-content:flex-end}.align-justify{justify-content:space-between}.align-middle{align-items:center}.flex-container{display:flex}.flex-dir-row-reverse{flex-direction:row-reverse}.flex-dir-column{flex-direction:column}.hide{display:none!important}.visible{visibility:visible}.show-for-sr{clip:rect(0,0,0,0)!important;border:0!important;height:1px!important;overflow:hidden!important;padding:0!important;position:absolute!important;white-space:nowrap!important;width:1px!important}.margin-0{margin:0!important}.margin-bottom-0{margin-bottom:0!important}.margin-top-1{margin-top:1rem!important}.margin-bottom-1{margin-bottom:1rem!important}.margin-top-2{margin-top:2rem!important}.margin-right-2{margin-right:2rem!important}.margin-bottom-2{margin-bottom:2rem!important}.CodeMirror{color:#000;direction:ltr;font-family:monospace;height:300px}.CodeMirror-lines{padding:4px 0}.CodeMirror pre.CodeMirror-line,.CodeMirror pre.CodeMirror-line-like{padding:0 4px}.CodeMirror-gutter-filler,.CodeMirror-scrollbar-filler{background-color:#fff}.CodeMirror-gutters{background-color:#f7f7f7;border-right:1px solid #ddd;white-space:nowrap}.CodeMirror-linenumber{color:#999;min-width:20px;padding:0 3px 0 5px;text-align:right;white-space:nowrap}.CodeMirror-guttermarker{color:#000}.CodeMirror-guttermarker-subtle{color:#999}.CodeMirror-cursor{border-left:1px solid #000;border-right:none;width:0}.CodeMirror div.CodeMirror-secondarycursor{border-left:1px solid silver}.cm-fat-cursor .CodeMirror-cursor{background:#7e7;border:0!important;width:auto}.cm-fat-cursor div.CodeMirror-cursors{z-index:1}.cm-fat-cursor-mark{background-color:rgba(20,255,20,.5)}.cm-animate-fat-cursor,.cm-fat-cursor-mark{-webkit-animation:blink 1.06s steps(1) infinite;animation:blink 1.06s steps(1) infinite}.cm-animate-fat-cursor{background-color:#7e7;width:auto}@-webkit-keyframes blink{50%{background-color:transparent}}@keyframes blink{50%{background-color:transparent}}.cm-tab{display:inline-block;text-decoration:inherit}.CodeMirror-rulers{bottom:0;left:0;overflow:hidden;position:absolute;right:0;top:-50px}.CodeMirror-ruler{border-left:1px solid #ccc;bottom:0;position:absolute;top:0}.cm-s-default .cm-header{color:blue}.cm-s-default .cm-quote{color:#090}.cm-negative{color:#d44}.cm-positive{color:#292}.cm-header,.cm-strong{font-weight:700}.cm-em{font-style:italic}.cm-link{text-decoration:underline}.cm-strikethrough{text-decoration:line-through}.cm-s-default .cm-keyword{color:#708}.cm-s-default .cm-atom{color:#219}.cm-s-default .cm-number{color:#164}.cm-s-default .cm-def{color:blue}.cm-s-default .cm-variable-2{color:#05a}.cm-s-default .cm-type,.cm-s-default .cm-variable-3{color:#085}.cm-s-default .cm-comment{color:#a50}.cm-s-default .cm-string{color:#a11}.cm-s-default .cm-string-2{color:#f50}.cm-s-default .cm-meta,.cm-s-default .cm-qualifier{color:#555}.cm-s-default .cm-builtin{color:#30a}.cm-s-default .cm-bracket{color:#997}.cm-s-default .cm-tag{color:#170}.cm-s-default .cm-attribute{color:#00c}.cm-s-default .cm-hr{color:#999}.cm-s-default .cm-link{color:#00c}.cm-invalidchar,.cm-s-default .cm-error{color:red}.CodeMirror-composing{border-bottom:2px solid}div.CodeMirror span.CodeMirror-matchingbracket{color:#0b0}div.CodeMirror span.CodeMirror-nonmatchingbracket{color:#a22}.CodeMirror-matchingtag{background:rgba(255,150,0,.3)}.CodeMirror-activeline-background{background:#e8f2ff}.CodeMirror{background:#fff;overflow:hidden;position:relative}.CodeMirror-scroll{height:100%;margin-bottom:-50px;margin-right:-50px;outline:none;overflow:scroll!important;padding-bottom:50px;position:relative}.CodeMirror-sizer{border-right:50px solid transparent;position:relative}.CodeMirror-gutter-filler,.CodeMirror-hscrollbar,.CodeMirror-scrollbar-filler,.CodeMirror-vscrollbar{display:none;outline:none;position:absolute;z-index:6}.CodeMirror-vscrollbar{overflow-x:hidden;overflow-y:scroll;right:0;top:0}.CodeMirror-hscrollbar{bottom:0;left:0;overflow-x:scroll;overflow-y:hidden}.CodeMirror-scrollbar-filler{bottom:0;right:0}.CodeMirror-gutter-filler{bottom:0;left:0}.CodeMirror-gutters{left:0;min-height:100%;position:absolute;top:0;z-index:3}.CodeMirror-gutter{display:inline-block;height:100%;margin-bottom:-50px;vertical-align:top;white-space:normal}.CodeMirror-gutter-wrapper{background:none!important;border:none!important;position:absolute;z-index:4}.CodeMirror-gutter-background{bottom:0;position:absolute;top:0;z-index:4}.CodeMirror-gutter-elt{cursor:default;position:absolute;z-index:4}.CodeMirror-gutter-wrapper ::selection{background-color:transparent}.CodeMirror-gutter-wrapper ::-moz-selection{background-color:transparent}.CodeMirror-lines{cursor:text;min-height:1px}.CodeMirror pre.CodeMirror-line,.CodeMirror pre.CodeMirror-line-like{word-wrap:normal;-webkit-tap-highlight-color:transparent;font-feature-settings:"calt";background:transparent;border-radius:0;border-width:0;color:inherit;font-family:inherit;font-size:inherit;-webkit-font-variant-ligatures:contextual;font-variant-ligatures:contextual;line-height:inherit;margin:0;overflow:visible;position:relative;white-space:pre;z-index:2}.CodeMirror-wrap pre.CodeMirror-line,.CodeMirror-wrap pre.CodeMirror-line-like{word-wrap:break-word;white-space:pre-wrap;word-break:normal}.CodeMirror-linebackground{bottom:0;left:0;position:absolute;right:0;top:0;z-index:0}.CodeMirror-linewidget{padding:.1px;position:relative;z-index:2}.CodeMirror-rtl pre{direction:rtl}.CodeMirror-code{outline:none}.CodeMirror-gutter,.CodeMirror-gutters,.CodeMirror-linenumber,.CodeMirror-scroll,.CodeMirror-sizer{box-sizing:content-box}.CodeMirror-measure{height:0;overflow:hidden;position:absolute;visibility:hidden;width:100%}.CodeMirror-cursor{pointer-events:none;position:absolute}.CodeMirror-measure pre{position:static}div.CodeMirror-cursors{position:relative;visibility:hidden;z-index:3}.CodeMirror-focused div.CodeMirror-cursors,div.CodeMirror-dragcursors{visibility:visible}.CodeMirror-selected{background:#d9d9d9}.CodeMirror-focused .CodeMirror-selected{background:#d7d4f0}.CodeMirror-crosshair{cursor:crosshair}.CodeMirror-line::selection,.CodeMirror-line>span::selection,.CodeMirror-line>span>span::selection{background:#d7d4f0}.CodeMirror-line::-moz-selection,.CodeMirror-line>span::-moz-selection,.CodeMirror-line>span>span::-moz-selection{background:#d7d4f0}.cm-searching{background-color:#ffa;background-color:rgba(255,255,0,.4)}.cm-force-border{padding-right:.1px}@media print{.CodeMirror div.CodeMirror-cursors{visibility:hidden}}.cm-tab-wrap-hack:after{content:""}span.CodeMirror-selectedtext{background:none}.CodeMirror{-webkit-appearance:none;-moz-appearance:none;appearance:none;border:1px solid #d8d8d8;border-radius:3px;box-shadow:none;box-sizing:border-box;color:#5a5a5a;font-size:.875rem;line-height:1.625;min-height:12.1875rem;outline:none;width:100%}.CodeMirror::-webkit-input-placeholder{color:#888}.CodeMirror:-moz-placeholder,.CodeMirror::-moz-placeholder{color:#888}.CodeMirror:-ms-input-placeholder{color:#888}.CodeMirror:focus,.CodeMirror[focus-within]{border-color:#3c7c96}.CodeMirror:focus,.CodeMirror:focus-within{border-color:#3c7c96}.CodeMirror .CodeMirror-selected{height:21px!important}.wpgdprc input,.wpgdprc select{margin:0}.wpgdprc input:not([type]),.wpgdprc input[type=date],.wpgdprc input[type=datetime-local],.wpgdprc input[type=datetime],.wpgdprc input[type=email],.wpgdprc input[type=month],.wpgdprc input[type=number],.wpgdprc input[type=password],.wpgdprc input[type=search],.wpgdprc input[type=tel],.wpgdprc input[type=text],.wpgdprc input[type=time],.wpgdprc input[type=url],.wpgdprc input[type=week],.wpgdprc select,.wpgdprc textarea{-webkit-appearance:none;-moz-appearance:none;appearance:none;background:#fff;border:1px solid #d8d8d8;border-radius:3px;box-shadow:none;box-sizing:border-box;color:#5a5a5a;font-size:.875rem;line-height:1.625;min-height:2.8125rem;outline:none;padding:.625rem .75rem;width:100%}.wpgdprc input:not([type])::-webkit-input-placeholder,.wpgdprc input[type=date]::-webkit-input-placeholder,.wpgdprc input[type=datetime-local]::-webkit-input-placeholder,.wpgdprc input[type=datetime]::-webkit-input-placeholder,.wpgdprc input[type=email]::-webkit-input-placeholder,.wpgdprc input[type=month]::-webkit-input-placeholder,.wpgdprc input[type=number]::-webkit-input-placeholder,.wpgdprc input[type=password]::-webkit-input-placeholder,.wpgdprc input[type=search]::-webkit-input-placeholder,.wpgdprc input[type=tel]::-webkit-input-placeholder,.wpgdprc input[type=text]::-webkit-input-placeholder,.wpgdprc input[type=time]::-webkit-input-placeholder,.wpgdprc input[type=url]::-webkit-input-placeholder,.wpgdprc input[type=week]::-webkit-input-placeholder,.wpgdprc select::-webkit-input-placeholder,.wpgdprc textarea::-webkit-input-placeholder{color:#888}.wpgdprc input:not([type]):-moz-placeholder,.wpgdprc input:not([type])::-moz-placeholder,.wpgdprc input[type=date]:-moz-placeholder,.wpgdprc input[type=date]::-moz-placeholder,.wpgdprc input[type=datetime-local]:-moz-placeholder,.wpgdprc input[type=datetime-local]::-moz-placeholder,.wpgdprc input[type=datetime]:-moz-placeholder,.wpgdprc input[type=datetime]::-moz-placeholder,.wpgdprc input[type=email]:-moz-placeholder,.wpgdprc input[type=email]::-moz-placeholder,.wpgdprc input[type=month]:-moz-placeholder,.wpgdprc input[type=month]::-moz-placeholder,.wpgdprc input[type=number]:-moz-placeholder,.wpgdprc input[type=number]::-moz-placeholder,.wpgdprc input[type=password]:-moz-placeholder,.wpgdprc input[type=password]::-moz-placeholder,.wpgdprc input[type=search]:-moz-placeholder,.wpgdprc input[type=search]::-moz-placeholder,.wpgdprc input[type=tel]:-moz-placeholder,.wpgdprc input[type=tel]::-moz-placeholder,.wpgdprc input[type=text]:-moz-placeholder,.wpgdprc input[type=text]::-moz-placeholder,.wpgdprc input[type=time]:-moz-placeholder,.wpgdprc input[type=time]::-moz-placeholder,.wpgdprc input[type=url]:-moz-placeholder,.wpgdprc input[type=url]::-moz-placeholder,.wpgdprc input[type=week]:-moz-placeholder,.wpgdprc input[type=week]::-moz-placeholder,.wpgdprc select:-moz-placeholder,.wpgdprc select::-moz-placeholder,.wpgdprc textarea:-moz-placeholder,.wpgdprc textarea::-moz-placeholder{color:#888}.wpgdprc input:not([type]):-ms-input-placeholder,.wpgdprc input[type=date]:-ms-input-placeholder,.wpgdprc input[type=datetime-local]:-ms-input-placeholder,.wpgdprc input[type=datetime]:-ms-input-placeholder,.wpgdprc input[type=email]:-ms-input-placeholder,.wpgdprc input[type=month]:-ms-input-placeholder,.wpgdprc input[type=number]:-ms-input-placeholder,.wpgdprc input[type=password]:-ms-input-placeholder,.wpgdprc input[type=search]:-ms-input-placeholder,.wpgdprc input[type=tel]:-ms-input-placeholder,.wpgdprc input[type=text]:-ms-input-placeholder,.wpgdprc input[type=time]:-ms-input-placeholder,.wpgdprc input[type=url]:-ms-input-placeholder,.wpgdprc input[type=week]:-ms-input-placeholder,.wpgdprc select:-ms-input-placeholder,.wpgdprc textarea:-ms-input-placeholder{color:#888}.wpgdprc input:not([type]):focus,.wpgdprc input:not([type])[focus-within],.wpgdprc input[type=date]:focus,.wpgdprc input[type=date][focus-within],.wpgdprc input[type=datetime-local]:focus,.wpgdprc input[type=datetime-local][focus-within],.wpgdprc input[type=datetime]:focus,.wpgdprc input[type=datetime][focus-within],.wpgdprc input[type=email]:focus,.wpgdprc input[type=email][focus-within],.wpgdprc input[type=month]:focus,.wpgdprc input[type=month][focus-within],.wpgdprc input[type=number]:focus,.wpgdprc input[type=number][focus-within],.wpgdprc input[type=password]:focus,.wpgdprc input[type=password][focus-within],.wpgdprc input[type=search]:focus,.wpgdprc input[type=search][focus-within],.wpgdprc input[type=tel]:focus,.wpgdprc input[type=tel][focus-within],.wpgdprc input[type=text]:focus,.wpgdprc input[type=text][focus-within],.wpgdprc input[type=time]:focus,.wpgdprc input[type=time][focus-within],.wpgdprc input[type=url]:focus,.wpgdprc input[type=url][focus-within],.wpgdprc input[type=week]:focus,.wpgdprc input[type=week][focus-within],.wpgdprc select:focus,.wpgdprc select[focus-within],.wpgdprc textarea:focus,.wpgdprc textarea[focus-within]{border:1px solid #3c7c96;box-shadow:0 0 0 1px #3c7c96}.wpgdprc input:not([type]):focus,.wpgdprc input:not([type]):focus-within,.wpgdprc input[type=date]:focus,.wpgdprc input[type=date]:focus-within,.wpgdprc input[type=datetime-local]:focus,.wpgdprc input[type=datetime-local]:focus-within,.wpgdprc input[type=datetime]:focus,.wpgdprc input[type=datetime]:focus-within,.wpgdprc input[type=email]:focus,.wpgdprc input[type=email]:focus-within,.wpgdprc input[type=month]:focus,.wpgdprc input[type=month]:focus-within,.wpgdprc input[type=number]:focus,.wpgdprc input[type=number]:focus-within,.wpgdprc input[type=password]:focus,.wpgdprc input[type=password]:focus-within,.wpgdprc input[type=search]:focus,.wpgdprc input[type=search]:focus-within,.wpgdprc input[type=tel]:focus,.wpgdprc input[type=tel]:focus-within,.wpgdprc input[type=text]:focus,.wpgdprc input[type=text]:focus-within,.wpgdprc input[type=time]:focus,.wpgdprc input[type=time]:focus-within,.wpgdprc input[type=url]:focus,.wpgdprc input[type=url]:focus-within,.wpgdprc input[type=week]:focus,.wpgdprc input[type=week]:focus-within,.wpgdprc select:focus,.wpgdprc select:focus-within,.wpgdprc textarea:focus,.wpgdprc textarea:focus-within{border:1px solid #3c7c96;box-shadow:0 0 0 1px #3c7c96}.wpgdprc textarea{line-height:1.25rem;min-height:12.1875rem}.wpgdprc input[type=checkbox],.wpgdprc input[type=radio]{box-sizing:border-box;clear:both;display:block;margin-right:.25rem;margin-top:2px;padding:0}.wpgdprc button,.wpgdprc input[type=button],.wpgdprc input[type=reset],.wpgdprc input[type=submit]{cursor:pointer}.wpgdprc select{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg viewBox='0 0 13 8' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='m6.357 7.515 5.726-5.726a.328.328 0 0 0 0-.464l-.541-.542a.328.328 0 0 0-.465 0L6.125 5.724 1.173.784a.328.328 0 0 0-.465 0l-.541.54a.328.328 0 0 0 0 .465l5.726 5.726a.328.328 0 0 0 .464 0z' fill='%235A5A5A'/%3E%3C/svg%3E");background-position:right 1rem center;background-repeat:no-repeat;background-size:.75rem;max-width:100%;padding-right:2.8125rem}.wpgdprc button[disabled],.wpgdprc input[disabled],.wpgdprc select[disabled]{cursor:default}.wpgdprc input[type=search]{-webkit-appearance:textfield;-moz-appearance:textfield;appearance:textfield;box-sizing:content-box}.wpgdprc input[type=search]::-webkit-search-cancel-button,.wpgdprc input[type=search]::-webkit-search-decoration{-webkit-appearance:none;appearance:none}.wpgdprc input[type=color]{background:#fff;border:1px solid #d8d8d8}.wpgdprc .wpgdprc-form{margin-bottom:1rem}.wpgdprc .wpgdprc-form:last-child{margin-bottom:0}.wpgdprc .wpgdprc-form__label,.wpgdprc .wpgdprc-form__legend{color:#000;display:block;font-weight:700;margin-bottom:1rem}.wpgdprc .wpgdprc-form__fields{list-style:none;margin-bottom:0;margin-left:0}.wpgdprc-form__field{margin-bottom:1.4375rem}.wpgdprc-form__field:last-child{margin-bottom:0}.wpgdprc-form__field--switch .wpgdprc-switch{margin-bottom:0;min-height:2.8125rem}.wpgdprc-form__field--switch-no-text .wpgdprc-switch__text{margin:0}.wpgdprc .wpgdprc-form__description{color:#888;font-size:.875rem;margin-top:.75rem}.wpgdprc .wpgdprc-form__field--checkbox,.wpgdprc .wpgdprc-form__field--radio{align-items:center;display:flex;margin-bottom:0}.wpgdprc .wpgdprc-form__field--checkbox input,.wpgdprc .wpgdprc-form__field--radio input{aspect-ratio:1/1}.wpgdprc .wpgdprc-form__field--checkbox .wpgdprc-form__input,.wpgdprc .wpgdprc-form__field--radio .wpgdprc-form__input{align-self:flex-start;flex-shrink:0;margin-right:.5rem;width:auto}.wpgdprc .wpgdprc-form__field--checkbox .wpgdprc-form__label,.wpgdprc .wpgdprc-form__field--radio .wpgdprc-form__label{margin-bottom:0;margin-left:0;padding-left:0}.wpgdprc-form__input{width:100%}.wpgdprc .wpgdprc-form__input--textarea{line-height:1.8571428571;min-height:12.1875rem}.wpgdprc .wpgdprc-form__input--submit{width:auto}.wpgdprc-form__field--submit,.wpgdprc-form__field--submit p,.wpgdprc-form__submit{text-align:right}.wpgdprc-form__footer{margin-top:1.4375rem}@media print,screen and (min-width:64em){.wpgdprc-form--edit-consent .wpgdprc-form__field--submit{margin-top:1.25rem}}.wpgdprc-form__title-container{display:flex;flex-wrap:wrap;justify-content:space-between}.wpgdprc-form__title-container>:first-child{margin-right:.9375rem}.wpgdprc-form__text{max-width:46.875rem}.wpgdprc-form--fields{position:relative}.wpgdprc-form--overlay{background-color:transparent;bottom:0;height:0;left:0;position:absolute;right:0;top:0;transition:background-color .6s ease-in-out;width:0}[data-mode=premium] .wpgdprc-form--overlay{background-color:hsla(0,0%,100%,.75);height:100%;width:100%;z-index:1}.wpgdprc-form__field--colorpicker{align-items:center;display:flex;flex-wrap:wrap;position:relative}.wpgdprc-form__field--colorpicker label{width:100%}.wpgdprc-form__field--colorpicker input[type=color]{-webkit-appearance:none;-moz-appearance:none;appearance:none;bottom:0;height:2.5625rem;position:absolute;width:2.4375rem}.wpgdprc-form__field--colorpicker input[type=text]{margin-left:4.375rem}.wpgdprc-form__field .wpgdprc-link--edit+.wpgdprc-form__description{margin-top:.375rem}.wpgdprc-form__block--modal-settings .h3{margin-bottom:1.5rem}.wpgdprc-form--privacy-policy .wpgdprc-form__field .wpgdprc-link--edit{margin-top:.75rem}.wpgdprc-form--edit-consent .cell--aside{display:flex;flex-direction:column}.wpgdprc-form--edit-consent .wpgdprc-form__field--code{display:flex;flex-direction:column;flex-grow:1}.wpgdprc-form--edit-consent .wpgdprc-form__field--code .CodeMirror,.wpgdprc-form--edit-consent .wpgdprc-form__field--code textarea{flex-grow:1}.wpgdprc-form--request-user .wpgdprc-form__field select{margin-right:.9375rem;width:auto}.wpgdprc-label{align-items:center;background-color:#e1e1e1;border-radius:6.25rem;color:#888;display:inline-block;font-family:sofia-pro,Helvetica Neue,Helvetica,Roboto,Arial,sans-serif;font-size:.75rem;height:-webkit-fit-content;height:-moz-fit-content;height:fit-content;line-height:1.1666666667;margin-bottom:0;margin-top:0;padding:.375rem .8125rem}.wpgdprc-label,.wpgdprc-label strong{font-weight:700}.wpgdprc-label__info{align-items:center;background-color:#fff;border:.0625rem solid #000;border-radius:100%;display:inline-flex;font-family:Garamond;font-size:.875rem;height:.875rem;justify-content:center;width:.875rem}.wpgdprc-label--large{font-size:.875rem;line-height:1.2857142857}.wpgdprc-label--success{background-color:#c1eed5;color:#176f3e}.wpgdprc-label--warning{background-color:#ffebed;color:#d03343}.wpgdprc-label--gray-light{background-color:#f8f8f9;color:#5a5a5a}.wpgdprc-label.is-hidden{display:none}.button.wpgdprc-button,.wpgdprc-button{align-items:center;background-color:#3c7c96;border:1px solid #3c7c96;border-radius:3px;box-shadow:0 2px 4px 0 rgba(0,0,0,.2);color:#fff;cursor:pointer;display:inline-flex;font-size:1rem;font-weight:700;justify-content:center;line-height:1.125;padding:.8125rem 1.125rem;position:relative;text-decoration:none;transition:all .25s cubic-bezier(0,.6,.7,1);width:auto}.button.wpgdprc-button.wpgdprc-button--outline:not(:focus),.button.wpgdprc-button.wpgdprc-button--outline:not(:hover),.wpgdprc-button.wpgdprc-button--outline:not(:focus),.wpgdprc-button.wpgdprc-button--outline:not(:hover){background-color:transparent;color:#3c7c96}.button.wpgdprc-button.wpgdprc-button--outline:focus,.button.wpgdprc-button.wpgdprc-button--outline:hover,.wpgdprc-button.wpgdprc-button--outline:focus,.wpgdprc-button.wpgdprc-button--outline:hover{background-color:#2d5e72;border-color:#2d5e72;border-width:1px;color:#fff}.button.wpgdprc-button:focus,.button.wpgdprc-button:hover,.wpgdprc-button:focus,.wpgdprc-button:hover,:root .button.wpgdprc-button.wpgdprc-button--active,:root .wpgdprc-button.wpgdprc-button--active{background-color:#2d5e72;border-color:#2d5e72;color:#fff}.wpgdprc-button.wpgdprc-button--alert{align-items:center;background-color:#d03343;border:1px solid #d03343;border-radius:3px;box-shadow:0 2px 4px 0 rgba(0,0,0,.2);color:#fff;cursor:pointer;display:inline-flex;font-size:1rem;font-weight:700;justify-content:center;line-height:1.125;padding:.8125rem 1.125rem;position:relative;text-decoration:none;transition:all .25s cubic-bezier(0,.6,.7,1);width:auto}.wpgdprc-button.wpgdprc-button--alert.wpgdprc-button--outline:not(:focus),.wpgdprc-button.wpgdprc-button--alert.wpgdprc-button--outline:not(:hover){background-color:transparent;color:#d03343}.wpgdprc-button.wpgdprc-button--alert.wpgdprc-button--outline:focus,.wpgdprc-button.wpgdprc-button--alert.wpgdprc-button--outline:hover{background-color:#a92734;border-color:#a92734;border-width:1px;color:#fff}.wpgdprc-button.wpgdprc-button--alert:focus,.wpgdprc-button.wpgdprc-button--alert:hover,:root .wpgdprc-button.wpgdprc-button--alert.wpgdprc-button--active{background-color:#a92734;border-color:#a92734;color:#fff}.wpgdprc-button.wpgdprc-button--white{align-items:center;background-color:#fff;border:1px solid #fff;border-radius:3px;box-shadow:0 2px 4px 0 rgba(0,0,0,.2);color:#5a5a5a;cursor:pointer;display:inline-flex;font-size:1rem;font-weight:700;justify-content:center;line-height:1.125;padding:.8125rem 1.125rem;position:relative;text-decoration:none;transition:all .25s cubic-bezier(0,.6,.7,1);width:auto}.wpgdprc-button.wpgdprc-button--white.wpgdprc-button--outline:not(:focus),.wpgdprc-button.wpgdprc-button--white.wpgdprc-button--outline:not(:hover){background-color:transparent;color:#fff}.wpgdprc-button.wpgdprc-button--white.wpgdprc-button--outline:focus,.wpgdprc-button.wpgdprc-button--white.wpgdprc-button--outline:hover{background-color:#3c7c96;border-color:#3c7c96;border-width:1px;color:#fff}.wpgdprc-button.wpgdprc-button--white:focus,.wpgdprc-button.wpgdprc-button--white:hover,:root .wpgdprc-button.wpgdprc-button--white.wpgdprc-button--active{background-color:#3c7c96;border-color:#3c7c96;color:#fff}.wpgdprc-button.wpgdprc-button--white-primary{align-items:center;background-color:#fff;border:1px solid #fff;border-radius:3px;box-shadow:0 2px 4px 0 rgba(0,0,0,.2);color:#3c7c96;cursor:pointer;display:inline-flex;font-size:1rem;font-weight:700;justify-content:center;line-height:1.125;padding:.8125rem 1.125rem;position:relative;text-decoration:none;transition:all .25s cubic-bezier(0,.6,.7,1);width:auto}.wpgdprc-button.wpgdprc-button--white-primary.wpgdprc-button--outline:not(:focus),.wpgdprc-button.wpgdprc-button--white-primary.wpgdprc-button--outline:not(:hover){background-color:transparent;color:#fff}.wpgdprc-button.wpgdprc-button--white-primary.wpgdprc-button--outline:focus,.wpgdprc-button.wpgdprc-button--white-primary.wpgdprc-button--outline:hover{background-color:#3c7c96;border-color:#3c7c96;border-width:1px;color:#fff}.wpgdprc-button.wpgdprc-button--white-primary:focus,.wpgdprc-button.wpgdprc-button--white-primary:hover,:root .wpgdprc-button.wpgdprc-button--white-primary.wpgdprc-button--active{background-color:#3c7c96;border-color:#3c7c96;color:#fff}.wpgdprc-button.wpgdprc-button--white-alert{align-items:center;background-color:#fff;border:1px solid #fff;border-radius:3px;box-shadow:0 2px 4px 0 rgba(0,0,0,.2);color:#d03343;cursor:pointer;display:inline-flex;font-size:1rem;font-weight:700;justify-content:center;line-height:1.125;padding:.8125rem 1.125rem;position:relative;text-decoration:none;transition:all .25s cubic-bezier(0,.6,.7,1);width:auto}.wpgdprc-button.wpgdprc-button--white-alert.wpgdprc-button--outline:not(:focus),.wpgdprc-button.wpgdprc-button--white-alert.wpgdprc-button--outline:not(:hover){background-color:transparent;color:#fff}.wpgdprc-button.wpgdprc-button--white-alert.wpgdprc-button--outline:focus,.wpgdprc-button.wpgdprc-button--white-alert.wpgdprc-button--outline:hover{background-color:#d03343;border-color:#d03343;border-width:1px;color:#fff}.wpgdprc-button.wpgdprc-button--white-alert:focus,.wpgdprc-button.wpgdprc-button--white-alert:hover,:root .wpgdprc-button.wpgdprc-button--white-alert.wpgdprc-button--active{background-color:#d03343;border-color:#d03343;color:#fff}.wpgdprc-button.wpgdprc-button--transparent{align-items:center;background-color:transparent;border:1px solid transparent;border-radius:3px;box-shadow:0 2px 4px 0 rgba(0,0,0,.2);box-shadow:none;color:#5a5a5a;cursor:pointer;display:inline-flex;font-size:1rem;font-weight:700;justify-content:center;line-height:1.125;padding:.8125rem 1.125rem;position:relative;text-decoration:none;transition:all .25s cubic-bezier(0,.6,.7,1);width:auto}.wpgdprc-button.wpgdprc-button--transparent.wpgdprc-button--outline:not(:focus),.wpgdprc-button.wpgdprc-button--transparent.wpgdprc-button--outline:not(:hover){background-color:transparent;color:transparent}.wpgdprc-button.wpgdprc-button--transparent.wpgdprc-button--outline:focus,.wpgdprc-button.wpgdprc-button--transparent.wpgdprc-button--outline:hover{background-color:transparent;border-color:transparent;border-width:1px;color:#3c7c96}.wpgdprc-button.wpgdprc-button--transparent:focus,.wpgdprc-button.wpgdprc-button--transparent:hover,:root .wpgdprc-button.wpgdprc-button--transparent.wpgdprc-button--active{background-color:transparent;border-color:transparent;color:#3c7c96}.wpgdprc-button[disabled]{align-items:center;background-color:#f8f8f9;border:1px solid #f8f8f9;border-radius:3px;box-shadow:0 2px 4px 0 rgba(0,0,0,.2);color:#afafaf;cursor:pointer;cursor:not-allowed;display:inline-flex;font-size:1rem;font-weight:700;justify-content:center;line-height:1.125;padding:.8125rem 1.125rem;position:relative;text-decoration:none;transition:all .25s cubic-bezier(0,.6,.7,1);width:auto}.wpgdprc-button[disabled].wpgdprc-button--outline:not(:focus),.wpgdprc-button[disabled].wpgdprc-button--outline:not(:hover){background-color:transparent;color:#f8f8f9}.wpgdprc-button[disabled].wpgdprc-button--outline:focus,.wpgdprc-button[disabled].wpgdprc-button--outline:hover{background-color:#f8f8f9;border-color:#f8f8f9;border-width:1px;color:#afafaf}.wpgdprc-button[disabled]:focus,.wpgdprc-button[disabled]:hover,:root .wpgdprc-button[disabled].wpgdprc-button--active{background-color:#f8f8f9;border-color:#f8f8f9;color:#afafaf}:root .wpgdprc-button.wpgdprc-button--small{font-family:sofia-pro,Helvetica Neue,Helvetica,Roboto,Arial,sans-serif;font-size:.875rem;font-weight:700;line-height:1.1428571429;min-width:4.3125rem;padding:.5rem .875rem .3125rem}:root .wpgdprc-button.wpgdprc-button--small.wpgdprc-button--transparent{box-shadow:none}.wpgdprc-button--transparent.wpgdprc-button--delete{color:#888}.wpgdprc-button--transparent.wpgdprc-button--delete:focus,.wpgdprc-button--transparent.wpgdprc-button--delete:hover{color:#3c7c96}.wpgdprc-button.wpgdprc-button--transparent.wpgdprc-button--white{color:#fff}.wpgdprc-button.wpgdprc-button--transparent.wpgdprc-button--white:focus,.wpgdprc-button.wpgdprc-button--transparent.wpgdprc-button--white:hover{color:hsla(0,0%,100%,.6)}:root .wpgdprc-button.wpgdprc-button--icon{min-width:0;padding:.5rem 1.125rem .3125rem 2.25rem}:root .wpgdprc-button.wpgdprc-button--icon .icon--wrap{font-size:.875rem;left:.75rem;position:absolute;top:50%;transform:translateY(-50%)}:root .wpgdprc-button.wpgdprc-button--icon .icon--wrap svg.icon{margin:0}.wpgdprc-button.wpgdprc-button--border{border-color:#d6d6d6}.wpgdprc-button.is-hidden{display:none}.wpgdprc-link{align-items:center;color:#3c7c96;display:inline-flex;font-size:.875rem;font-weight:700;position:relative;text-decoration:none}.wpgdprc-link:focus,.wpgdprc-link:hover{color:#2d5e72;opacity:.7}.wpgdprc-link:focus svg.icon,.wpgdprc-link:hover svg.icon{transform:translateX(4px)}.wpgdprc-link .icon--wrap{align-items:center;display:flex;font-size:1rem;height:1rem;justify-content:center;position:relative;top:-.125rem;width:1rem}.wpgdprc-link .icon--wrap:first-child{margin:0 0 0 .625rem}.wpgdprc-link .icon--wrap:last-child{margin:0 .625rem 0 0}.wpgdprc-link .icon--wrap svg{margin:0;transition:transform .25s cubic-bezier(0,.6,.7,1)}.wpgdprc-link.is-hidden{display:none}.wpgdprc-link--white,.wpgdprc-link--white:focus,.wpgdprc-link--white:hover{color:#fff}.wpgdprc-link--edit{font-size:1rem;font-style:italic;text-decoration:none}.wpgdprc-link--edit .icon--wrap{display:none}.wpgdprc-switch{align-items:center;display:inline-flex}:root .wpgdprc-switch .wpgdprc-form__label{margin-bottom:0}.wpgdprc-switch.regular-text{width:auto}.wpgdprc-switch__text{font-size:.875rem;font-weight:700;margin-right:.9375rem}.wpgdprc-switch__switch{display:inline-block;height:2.25rem;position:relative;width:5.125rem}.wpgdprc-switch__input{height:0;opacity:0;width:0}.wpgdprc-switch__input:focus+.wpgdprc-switch__slider{box-shadow:0 0 8px 0 #3c7c96}.wpgdprc-switch__input:disabled{border:0}.wpgdprc-switch__input:disabled+.wpgdprc-switch__slider:after{opacity:1}.wpgdprc-switch__slider{background-color:#fff;border-radius:6.25rem;bottom:0;box-shadow:0 5px 10px 0 rgba(0,0,0,.1);cursor:pointer;left:0;overflow:hidden;position:absolute;right:0;top:0;transition:.4s}.wpgdprc-switch__slider .icon--wrap{align-items:center;background-color:#888;border-radius:6.25rem;bottom:calc(50% - .875rem);color:#fff;display:flex;height:1.75rem;justify-content:center;left:4px;position:absolute;transition:.4s;width:2.4375rem}.wpgdprc-switch__slider:after{-webkit-animation:barberpole 1s linear infinite;animation:barberpole 1s linear infinite;background-image:repeating-linear-gradient(45deg,hsla(0,0%,100%,.4),hsla(0,0%,100%,.4) .5rem,hsla(0,0%,53%,.4) 0,hsla(0,0%,53%,.4) 1rem);background-size:200% 200%;content:" ";height:100%;left:0;opacity:0;position:absolute;top:0;transition:opacity .25s cubic-bezier(0,.6,.7,1);width:100%}.wpgdprc-switch__input:checked+.wpgdprc-switch__slider .icon--wrap{background-color:#176f3e}.wpgdprc-switch__input:checked+.wpgdprc-switch__slider .icon--wrap[data-icon=times]{opacity:0}.wpgdprc-switch__input:checked+.wpgdprc-switch__slider .icon--wrap{transform:translateX(35px)}.wpgdprc-switch--border .wpgdprc-switch__slider{border:1px solid #d8d8d8}.wpgdprc-switch--column{align-items:flex-start;flex-direction:column}.wpgdprc-switch--column .wpgdprc-switch__text{color:#000;font-size:1.125rem;margin-bottom:.625rem;margin-right:0}.wpgdprc-switch--no-margin-right .wpgdprc-switch__text{margin-right:0}.wpgdprc-message{display:flex;margin-bottom:1rem;position:relative}.wpgdprc-message:last-child{margin-bottom:0}.wpgdprc-message.fade-out{-webkit-animation-duration:.25s;animation-duration:.25s;-webkit-animation-fill-mode:forwards;animation-fill-mode:forwards;-webkit-animation-name:fade-out;animation-name:fade-out;-webkit-animation-timing-function:cubic-bezier(0,.6,.7,1);animation-timing-function:cubic-bezier(0,.6,.7,1)}.wpgdprc-message__icon{align-self:flex-start;margin-top:unset;order:0}.wpgdprc-message__icon svg{width:1.5rem}.wpgdprc-message__content{order:1}.wpgdprc-message.is-hidden{display:none}@media screen and (min-width:75em){.wpgdprc-message{flex-wrap:unset;justify-content:space-between}.wpgdprc-message__container{padding:1.25rem}:root .wpgdprc-message__title{padding-right:0}.wpgdprc-message__icon{padding:0 .4375rem}.wpgdprc-message__action{flex-shrink:0;position:relative;right:unset;top:unset}:root .wpgdprc-message__button{margin-top:-.625rem}:root .wpgdprc-message__button span{display:inline}}.wpgdprc-message{background-color:#ecf3f6;border:1px solid #adcbd8;border-radius:5px;color:#3c7c96;padding:.625rem}.wpgdprc-message>*{padding:.625rem}.wpgdprc-message__container{align-items:center;display:flex}.wpgdprc-message__container .wpgdprc-button{color:#fff!important}.wpgdprc-message__content a:not(.wpgdprc-button){color:#3c7c96;font-weight:700;text-underline-offset:.0625rem;text-underline-position:auto}.wpgdprc-message__content a:not(.wpgdprc-button):focus,.wpgdprc-message__content a:not(.wpgdprc-button):hover{color:#2d5e72}.wpgdprc .wpgdprc-message__title{color:#3c7c96;padding-right:2.1875rem}.wpgdprc-message__action{position:absolute;right:0;top:0}.wpgdprc .wpgdprc-message__button{align-items:center;background-color:transparent;border:0;color:#3c7c96;cursor:pointer;display:flex;font-size:.875rem;margin-left:-.8125rem;position:relative;transition:all .25s cubic-bezier(0,.6,.7,1)}.wpgdprc .wpgdprc-message__button:focus,.wpgdprc .wpgdprc-message__button:hover{color:#2d5e72;opacity:1}.wpgdprc .wpgdprc-message__button .icon--wrap{align-items:center;color:inherit;display:flex;font-size:.875rem;height:2rem;justify-content:center;width:2rem}.wpgdprc-message--large-icon .wpgdprc-message__icon{margin-right:1rem}.wpgdprc-message--large-icon .wpgdprc-message__icon svg{width:4.5rem}.wpgdprc-message__icon path{fill:#3c7c96}.wpgdprc-message--warning{background-color:#fef8ea;border-color:#f6e1c0;color:#733312}.wpgdprc .wpgdprc-message--warning .wpgdprc-message__button,.wpgdprc .wpgdprc-message--warning .wpgdprc-message__title{color:#733312}.wpgdprc .wpgdprc-message--warning .wpgdprc-message__button:focus,.wpgdprc .wpgdprc-message--warning .wpgdprc-message__button:hover{color:#471f0b}.wpgdprc-message--warning .wpgdprc-message__icon path{fill:#733312}.wpgdprc-message--error{background-color:#ffebed;border-color:#f1cec6;color:#600404}.wpgdprc .wpgdprc-message--error .wpgdprc-message__button,.wpgdprc .wpgdprc-message--error .wpgdprc-message__title{color:#600404}.wpgdprc .wpgdprc-message--error .wpgdprc-message__button:focus,.wpgdprc .wpgdprc-message--error .wpgdprc-message__button:hover{color:#2f0202}.wpgdprc-message--error .wpgdprc-message__icon path{fill:#600404}.wpgdprc-tile{background-color:#f8f8f9;border-radius:5px;display:flex;flex-direction:column;height:calc(100% - 50px);padding:1.5625rem;position:relative}.wpgdprc-tile__content{margin-bottom:1.875rem}p.wpgdprc-tile__title{margin-bottom:.625rem}.wpgdprc-tile__text{font-size:1rem}.wpgdprc-tile__text--success{color:#176f3e}.wpgdprc-tile__text--warning{color:#ffae00}.wpgdprc-tile__footer{margin-top:auto}:root .wpgdprc-tile__message{font-size:.75rem;line-height:1.125rem}.wpgdprc-tile__check{margin-top:.8125rem}.wpgdprc-tile--primary{background-color:#3c7c96;color:#fff}.wpgdprc-tile--primary .wpgdprc-tile__title{color:#fff}.wpgdprc-tile--primary .wpgdprc-tile__text{opacity:.8}.wpgdprc-tile--manage .wpgdprc-tile__title{color:#5a5a5a;font-size:1rem;font-weight:400;margin-bottom:0}.wpgdprc-tile--manage .wpgdprc-tile__title span{display:block}.wpgdprc-tile--manage .wpgdprc-tile__text{border-top:.0625rem solid #d8d8d8;color:#888;font-size:.875rem;margin-top:.9375rem;padding-top:.5625rem}.wpgdprc-tile--manage .wpgdprc-link:focus svg.icon,.wpgdprc-tile--manage .wpgdprc-link:hover svg.icon{transform:rotate(180deg)}.wpgdprc-tile--text{color:#888}.wpgdprc-tile--text .wpgdprc-tile__content{margin-bottom:1.25rem}.wpgdprc-tile--text .wpgdprc-tile__text{font-size:.875rem}.wpgdprc-tile--green-light{background-color:#c1eed5;color:#176f3e}.wpgdprc-tile--green-light .wpgdprc-tile__title{color:#176f3e}.wpgdprc-badge{align-items:center;background-color:#f8f8f9;border-radius:5px;display:flex;height:calc(100% - 50px);padding:1.5625rem;position:relative}.wpgdprc-badge__content{flex-grow:1;order:1}.wpgdprc .wpgdprc-badge__title{margin-bottom:.25rem}.wpgdprc-badge__text{font-size:.875rem}.wpgdprc-badge__icon{flex-shrink:0;margin-right:.9375rem;order:0}.wpgdprc-badge__icon svg{width:1.75rem}.wpgdprc-badge__icon path{fill:#3c7c96}.wpgdprc-badge--woocommerce .wpgdprc-badge__icon svg{max-height:1.75rem;width:2.6875rem}.wpgdprc-text--warning{color:#d03343}.wpgdprc pre,span.wpgdprc-pre{word-wrap:break-word;display:inline;font-family:monospace;font-style:normal;white-space:pre-wrap;white-space:-moz-pre-wrap;white-space:-pre-wrap;white-space:-o-pre-wrap}span.wpgdprc-pre--strong{font-weight:700}.wpgdprc-consent-bar{bottom:0;font-family:inherit;font-family:var(--wp-gdpr--bar--font-family,inherit);left:0;margin:.9375rem;position:fixed;right:0;z-index:99999}.wpgdprc-consent-bar__inner{-webkit-animation:wpgdprcFadeIn .3s cubic-bezier(0,0,.2,1);animation:wpgdprcFadeIn .3s cubic-bezier(0,0,.2,1);background-color:var(--wp-gdpr--bar--background-color);border-radius:5px;box-shadow:0 2px 4px 0 rgba(0,0,0,.2);margin:0 auto;max-width:75rem;padding:1.25rem .625rem;text-align:center;z-index:999}.wpgdprc-consent-bar__inner,.wpgdprc-consent-bar__inner a{color:var(--wp-gdpr--bar--color)}.wpgdprc-consent-bar__container{display:flex;flex-wrap:wrap;position:relative}.wpgdprc-consent-bar__column{padding:0 10px}.wpgdprc-consent-bar__column:first-child{flex-grow:1}.wpgdprc-consent-bar__content{align-items:center;display:flex;flex-wrap:wrap;text-align:left;width:100%}.wpgdprc-consent-bar__column--notice{flex-grow:1;margin-bottom:.5rem}@media print,screen and (max-width:63.99875em){.wpgdprc-consent-bar__column--accept,.wpgdprc-consent-bar__column--settings{flex-grow:1}.wpgdprc-consent-bar__column--accept .wpgdprc-button,.wpgdprc-consent-bar__column--settings .wpgdprc-button{width:100%}}.wpgdprc-consent-bar__notice{font-size:1rem}.wpgdprc-consent-bar__notice p{margin-bottom:0}:root .wpgdprc-consent-bar button.wpgdprc-button--accept{align-items:center;background-color:var(--wp-gdpr--button--background-color);border-color:var(--wp-gdpr--button--background-color);border-radius:3px;box-shadow:0 2px 4px 0 rgba(0,0,0,.2);color:var(--wp-gdpr--button--color);cursor:pointer;display:inline-flex;font-size:1rem;font-weight:700;justify-content:center;line-height:1.1666666667;padding:.8125rem 1.125rem;position:relative;text-decoration:none;transition:all .25s cubic-bezier(0,.6,.7,1)}:root .wpgdprc-consent-bar button.wpgdprc-button--accept:focus,:root .wpgdprc-consent-bar button.wpgdprc-button--accept:hover{background-color:var(--wp-gdpr--button--background-color--darken);border-color:var(--wp-gdpr--button--background-color--darken)}:root .wpgdprc-consent-bar button.wpgdprc-button--settings{background-color:transparent;border-color:transparent;box-shadow:none;color:var(--wp-gdpr--bar--color)}:root .wpgdprc-consent-bar button.wpgdprc-button--settings:focus,:root .wpgdprc-consent-bar button.wpgdprc-button--settings:hover{background-color:transparent;border-color:transparent;box-shadow:none;opacity:.75}@media print,screen and (min-width:40em){.wpgdprc-consent-bar__column--notice{flex-grow:0;margin-bottom:0}.wpgdprc-consent-bar__column--settings{margin-left:0}.wpgdprc-consent-bar__content{flex-wrap:nowrap}}.wpgdprc-consent-bar--position-top{bottom:auto;top:0}@media screen and (min-width:48.9375em){.admin-bar .wpgdprc-consent-bar--position-top{top:2rem}}.admin-bar .wpgdprc-consent-bar--position-top{top:2.875rem}.wpgdprc-consent-bar--admin{margin:0;position:relative}.wpgdprc-consent-bar--admin .wpgdprc-consent-bar__notice{max-width:100%}.text-with-icon{background-color:#ecf3f6;display:flex;margin-top:1.5rem;padding:1.9375rem 1.5625rem}.text-with-icon *,.text-with-icon .text-with-icon__title,.text-with-icon p{color:#3c7c96}.text-with-icon .text-with-icon__icon{stroke-color:#3c7c96;margin-right:1.25rem;width:3rem}.text-with-icon .text-with-icon__icon svg{width:48px}.spinner{height:100%;margin-right:.5rem;width:auto}.spinner__spin{-webkit-animation:spinner .75s linear infinite;animation:spinner .75s linear infinite;aspect-ratio:1/1;border:.2em solid #fff;border-radius:50%;border-right-color:transparent;display:block;height:1.2rem;vertical-align:text-bottom}@-webkit-keyframes spinner{to{transform:rotate(1turn)}}@keyframes spinner{to{transform:rotate(1turn)}}body.wp-admin pre.debug{background-color:#ddd;border:1px solid #999;padding:10px;width:95%}body.wp-admin pre.debug:before{color:#999;content:"DEBUGGING INFO:";display:block}.wpgdprc-integration-item{align-items:center;background-color:#f8f8f9;display:flex;flex-wrap:wrap;margin:.625rem 0;padding:1.5625rem}.wpgdprc-integration-item__header{display:flex;flex-grow:1;flex-wrap:wrap}.wpgdprc-integration-item__header-inner{display:flex}.wpgdprc-integration-item__content{order:2}.wpgdprc-integration-item__content a{color:#3c7c96;font-weight:700;text-underline-offset:.0625rem;text-underline-position:auto}.wpgdprc-integration-item__content a:focus,.wpgdprc-integration-item__content a:hover{color:#2d5e72}:root .wpgdprc-integration-item__title{align-items:center;display:flex;font-size:1rem;line-height:1.625;margin-bottom:.25rem}:root .wpgdprc-integration-item__title span{margin-left:.625rem}:root p.wpgdprc-integration-item__text{font-size:.875rem;max-width:50.4375rem}.wpgdprc-integration-item__icon{align-items:center;display:flex;flex-shrink:0;height:2.8125rem;justify-content:center;margin:0 0 0 -1.5625rem;order:1;width:4.25rem}.wpgdprc-integration-item__icon svg{width:1.625rem}.wpgdprc-integration-item__icon svg path{fill:#3c7c96}.wpgdprc-integration-item__icon--woocommerce svg{width:2.375rem}.wpgdprc-integration-item__action{flex-shrink:0;margin-left:2.6875rem;margin-top:.9375rem}.wpgdprc-integration-item__container{max-height:0;opacity:0;overflow:hidden;padding:0;transition:max-height .25s ease-out,opacity .25s ease-out,padding-top .25s ease-out;width:100%}.wpgdprc-integration-item__container.is-expanded{opacity:1;overflow:hidden;padding-top:1.25rem}.wpgdprc-integration-item__form{background-color:#f0f0f0;border-radius:5px;margin-bottom:1.25rem;padding:1.25rem}.wpgdprc-integration-item__form:last-child{margin-bottom:0}.wpgdprc-integration-item__form-field{margin-bottom:1.25rem;width:100%}.wpgdprc-integration-item__form-label{color:#000;display:inline-block;font-size:.875rem;font-weight:700;margin-bottom:.625rem}.wpgdprc-integration-item__form-label--large{font-size:1rem}.wpgdprc-integration-item__form-input-container--main{align-items:center;display:flex;position:relative}.wpgdprc-integration-item__form-input-container--main .icon--wrap{align-items:center;display:flex;flex-shrink:0;height:2.125rem;justify-content:left;width:2.125rem}.wpgdprc-integration-item__form-input-container--main .icon--wrap svg{fill:#3c7c96;height:1.25rem;transition:transform .25s cubic-bezier(0,.6,.7,1);width:1.25rem}:root input.wpgdprc-integration-item__form-input{font-size:.875rem;padding:.375rem .75rem}:root input.wpgdprc-integration-item__form-input:disabled{opacity:.5}:root p.wpgdprc-integration-item__form-description{color:#888;font-size:.75rem}.wpgdprc-integration-item__grid{display:flex;flex-flow:row wrap;margin:0 -.9375rem}.wpgdprc-integration-item__cell{display:flex;flex:0 0 auto;margin-left:.9375rem;margin-right:.9375rem;min-height:0;min-width:0;position:relative;width:calc(100% - 1.875rem)}.wpgdprc-integration-item__submit{margin-top:1.125rem}:root .wpgdprc-integration-item__submit .wpgdprc-button{color:#888;font-family:sofia-pro,Helvetica Neue,Helvetica,Roboto,Arial,sans-serif;font-weight:400;padding:0}:root .wpgdprc-integration-item__submit .wpgdprc-button:focus,:root .wpgdprc-integration-item__submit .wpgdprc-button:hover{color:#3c7c96}@media screen and (min-width:48.9375em){.wpgdprc-integration-item__header{flex-wrap:unset}.wpgdprc-integration-item__header-inner{margin-right:1.875rem}.wpgdprc-integration-item__content{margin-bottom:0}.wpgdprc-integration-item__action{margin-left:auto;margin-top:unset}}@media print,screen and (min-width:40em){.wpgdprc-integration-item__cell{flex:0 0 auto;margin-left:.9375rem;margin-right:.9375rem;width:calc(50% - 1.875rem)}.wpgdprc-integration-item__form-group{padding-left:2.125rem}}@media screen and (min-width:60.0625em){.wpgdprc-integration-item__container{padding-left:2.6875rem}}.wpgdprc-banner-item{background-color:#f8f8f9;padding:.75rem 1.375rem;transition:all .25s cubic-bezier(0,.6,.7,1)}.wpgdprc-banner-item:not(:last-child){margin-bottom:1.25rem}.wpgdprc-banner-item__inner{align-items:center;display:flex;flex-wrap:wrap;justify-content:space-between}.wpgdprc-banner-item__header{align-items:center;display:flex;flex-wrap:wrap;margin:.625rem 0}:root .wpgdprc-banner-item__title{margin-right:.9375rem;transition:color .25s cubic-bezier(0,.6,.7,1)}.wpgdprc-banner-item__edited{color:#888;font-size:.875rem;font-style:italic}.wpgdprc-banner-item__container{align-items:center;display:flex;flex-grow:1;flex-wrap:wrap;justify-content:flex-end;margin:.625rem 0}.wpgdprc-banner-item__content,.wpgdprc-banner-item__content-wrap{align-items:center;display:flex;flex-wrap:wrap;justify-content:space-between}.wpgdprc-banner-item__content-wrap{flex-grow:1}.wpgdprc-banner-item__content[aria-hidden=true]{display:none}.wpgdprc-banner-item__actions-wrap{align-items:center;display:flex;flex-grow:1;flex-wrap:wrap;justify-content:flex-end;margin-bottom:.625rem;margin-top:.625rem}:root .wpgdprc-banner-item__label{margin-right:1.25rem}:root .wpgdprc-banner-item__actions{align-items:center;display:flex;flex-wrap:wrap;margin:0 -.875rem 0 0}:root .wpgdprc-banner-item__actions li{margin:0}:root .wpgdprc-banner-item__list{align-items:center;display:flex;flex-grow:1;flex-wrap:wrap;justify-content:space-between;list-style:none;margin:-.3125rem -.9375rem}:root .wpgdprc-banner-item__item{font-size:.875rem;line-height:1.8571428571;margin:.3125rem .9375rem}:root .wpgdprc-banner-item__item span{display:block;font-weight:700}.wpgdprc-banner-item--request .wpgdprc-banner-item__header{max-width:375px;width:375px}.wpgdprc-banner-item--request .wpgdprc-banner-item__container{margin:0}.wpgdprc-banner-item--request .wpgdprc-banner-item__content{flex-grow:1}.wpgdprc-banner-item.will-delete{background-color:#d03343;color:#fff}.wpgdprc-banner-item.will-delete .wpgdprc-banner-item__title{color:#fff}.wpgdprc-banner-item.will-delete .wpgdprc-banner-item__text{font-weight:700;margin-right:1.25rem}.wpgdprc-banner-item.will-delete .wpgdprc-banner-item__edited{display:none}@media screen and (min-width:81.25em){.wpgdprc-banner-item.will-delete .wpgdprc-banner-item__text{margin-right:2.625rem}}.wpgdprc-request-item{background-color:#f8f8f9;padding:.75rem 1.375rem;transition:all .25s cubic-bezier(0,.6,.7,1)}.wpgdprc-request-item:not(:last-child){margin-bottom:1.25rem}.wpgdprc-sign-up-modal{display:none}.wpgdprc-sign-up-modal.is-open{display:block!important}.wpgdprc-sign-up-modal[aria-hidden=false] .wpgdprc-sign-up-modal__overlay{-webkit-animation:wpgdprcFadeIn .3s cubic-bezier(0,0,.2,1);animation:wpgdprcFadeIn .3s cubic-bezier(0,0,.2,1)}.wpgdprc-sign-up-modal[aria-hidden=true] .wpgdprc-sign-up-modal__overlay{-webkit-animation:wpgdprcFadeOut .3s cubic-bezier(0,0,.2,1);animation:wpgdprcFadeOut .3s cubic-bezier(0,0,.2,1)}.wpgdprc-sign-up-modal__overlay{align-items:center;background:#000;background:rgba(0,0,0,.6);bottom:0;display:flex;flex-direction:column;justify-content:center;left:0;position:fixed;right:0;top:0;will-change:transform;z-index:999999}.wpgdprc-sign-up-modal__inner{background:#fff;border-radius:5px;box-shadow:0 10px 15px 0 rgba(0,0,0,.2);display:flex;flex-direction:column;max-height:80vh;max-width:800px;overflow-y:auto;position:relative;width:90%;width:90vw}.wpgdprc-sign-up-modal__header{border-bottom:1px solid #ededed;padding:.9375rem}:root .wpgdprc-sign-up-modal__title{color:#000;font-family:sofia-pro,Helvetica Neue,Helvetica,Roboto,Arial,sans-serif;font-size:1.25rem;font-weight:700;letter-spacing:0;margin-bottom:0;margin-right:6.25rem}:root .wpgdprc-sign-up-modal__title--description{font-size:1.5rem;margin-bottom:.625rem}:root .wpgdprc-sign-up-modal button.wpgdprc-sign-up-modal__back,:root .wpgdprc-sign-up-modal button.wpgdprc-sign-up-modal__close{align-items:center;background-color:transparent;border:0;border-radius:3px;color:#5a5a5a;display:flex;height:40px;justify-content:center;margin:0;padding:0;position:absolute;right:.625rem;top:.75rem;transition:all .25s cubic-bezier(0,.6,.7,1);width:40px}:root .wpgdprc-sign-up-modal button.wpgdprc-sign-up-modal__back:focus,:root .wpgdprc-sign-up-modal button.wpgdprc-sign-up-modal__back:hover,:root .wpgdprc-sign-up-modal button.wpgdprc-sign-up-modal__close:focus,:root .wpgdprc-sign-up-modal button.wpgdprc-sign-up-modal__close:hover{background-color:var(--wp-gdpr--button--background-color--darken);box-shadow:0 2px 4px 0 rgba(0,0,0,.2);color:var(--wp-gdpr--button--color)}:root .wpgdprc-sign-up-modal button.wpgdprc-sign-up-modal__back svg,:root .wpgdprc-sign-up-modal button.wpgdprc-sign-up-modal__close svg{pointer-events:none;width:.875rem}:root .wpgdprc-sign-up-modal button.wpgdprc-sign-up-modal__back svg path,:root .wpgdprc-sign-up-modal button.wpgdprc-sign-up-modal__close svg path{fill:currentColor}.wpgdprc-sign-up-modal__body{border-bottom:1px solid #ededed;flex-grow:1}.wpgdprc-sign-up-modal__description{color:#8a8a8a;display:none;flex-direction:column;height:100%}.wpgdprc-sign-up-modal__description--active{display:block}.wpgdprc-sign-up-modal__information,.wpgdprc-sign-up-modal__navigation{padding:.9375rem;position:relative}.wpgdprc-sign-up-modal__information{flex-grow:1}.wpgdprc-sign-up-modal__navigation{border-bottom:1px solid #ededed;flex-shrink:0}.wpgdprc-sign-up-modal__navigation>a{display:block;margin-top:10px}.wpgdprc-sign-up-modal__navigation>a:first-child{margin-top:0}:root .wpgdprc-sign-up-modal__navigation-list{list-style:none;margin:0}:root .wpgdprc button.wpgdprc-sign-up-modal__navigation-button{background-color:transparent;border:0;color:#878787;font-size:1rem;letter-spacing:0;line-height:2.25;outline:none;padding:0;text-align:left}:root .wpgdprc button.wpgdprc-sign-up-modal__navigation-button:focus,:root .wpgdprc button.wpgdprc-sign-up-modal__navigation-button:hover{color:var(--wp-gdpr--button--background-color--darken)}:root .wpgdprc button.wpgdprc-sign-up-modal__navigation-button--active{color:var(--wp-gdpr--button--background-color);font-weight:700}:root .wpgdprc-content-modal__content{color:#5a5a5a;font-size:1rem;letter-spacing:0;line-height:1.625}:root .wpgdprc-content-modal__content>*{margin-bottom:1.625rem}:root .wpgdprc-content-modal__content>:last-child{margin-bottom:0}:root .wpgdprc button.wpgdprc-sign-up-modal__back{display:none;right:3.75rem!important}.wpgdprc-content-modal__options{margin-top:auto}.wpgdprc-content-modal__options>*{margin-top:1.625rem}.wpgdprc-sign-up-modal__footer{display:flex;justify-content:flex-end;padding:.9375rem}:root .wpgdprc-sign-up-modal__footer .wpgdprc-button:not(.has-background){align-items:center;background-color:#3c7c96;background-color:var(--wp-gdpr--button--background-color);border:1px solid #3c7c96;border-radius:3px;box-shadow:0 2px 4px 0 rgba(0,0,0,.2);color:#fff;color:var(--wp-gdpr--button--color);cursor:pointer;display:inline-flex;font-size:1rem;font-weight:700;justify-content:center;line-height:1.125;padding:.8125rem 1.125rem;position:relative;text-decoration:none;transition:all .25s cubic-bezier(0,.6,.7,1);width:auto}:root .wpgdprc-sign-up-modal__footer .wpgdprc-button:not(.has-background).wpgdprc-button--outline:not(:focus),:root .wpgdprc-sign-up-modal__footer .wpgdprc-button:not(.has-background).wpgdprc-button--outline:not(:hover){background-color:transparent;color:#3c7c96}:root .wpgdprc-sign-up-modal__footer .wpgdprc-button:not(.has-background).wpgdprc-button--outline:focus,:root .wpgdprc-sign-up-modal__footer .wpgdprc-button:not(.has-background).wpgdprc-button--outline:hover{background-color:#2d5e72;border-color:#2d5e72;border-width:1px;color:#fff}:root .wpgdprc-sign-up-modal__footer .wpgdprc-button:not(.has-background):focus,:root .wpgdprc-sign-up-modal__footer .wpgdprc-button:not(.has-background):hover,:root :root .wpgdprc-sign-up-modal__footer .wpgdprc-button:not(.has-background).wpgdprc-button--active{background-color:#2d5e72;border-color:#2d5e72;color:#fff}:root .wpgdprc-sign-up-modal__footer .wpgdprc-button:not(.has-background):focus,:root .wpgdprc-sign-up-modal__footer .wpgdprc-button:not(.has-background):hover{background-color:var(--wp-gdpr--button--background-color--darken);border-color:var(--wp-gdpr--button--background-color--darken)}.wpgdprc-sign-up-modal__footer__information{align-items:center;display:flex;flex-grow:1;position:relative}@media only screen and (min-width:768px){.wpgdprc-sign-up-modal__header{padding:1.5rem 1.5625rem}:root .wpgdprc-sign-up-modal button.wpgdprc-sign-up-modal__back,:root .wpgdprc-sign-up-modal button.wpgdprc-sign-up-modal__close{right:.9375rem;top:1.25rem}.wpgdprc-sign-up-modal__body{display:flex;flex-direction:row}.wpgdprc-sign-up-modal__information,.wpgdprc-sign-up-modal__navigation{padding:1.5625rem}.wpgdprc-sign-up-modal__navigation{border-bottom:0;width:14.1875rem}.wpgdprc-sign-up-modal__footer{padding:1.5625rem}}abbr.wpgdprc-required+abbr.required{display:none!important}.wpgdprc-sign-up-modal__choose-type{height:100%;padding:1.5625rem 1.5625rem 0}.wpgdprc-sign-up-modal__choose-type>p:first-child{margin:0 1rem}.wpgdprc-sign-up-modal__choose-type .wpgdprc-sign-up-modal__column p{margin:2rem 0 1.5rem}.wpgdprc-sign-up-modal__sign-up{height:100%;min-height:50vh}.wpgdprc-sign-up-modal__sign-up>p{margin:0 1rem;padding:1.5625rem}.wpgdprc-sign-up-modal__columns{display:flex;flex-wrap:wrap;justify-content:space-between;margin-top:1.5625rem}.wpgdprc-sign-up-modal__columns span.icon--wrap,.wpgdprc-sign-up-modal__columns svg.icon,.wpgdprc-sign-up-modal__columns use{fill:#3c7c96;height:4rem;width:4rem}.wpgdprc-sign-up-modal__column{background-color:#f1f1f1;border-radius:3px;display:flex;flex:1 0 25%;flex-direction:column;margin:1rem;padding:1.5rem}.wpgdprc-sign-up-modal__column .wpgdprc-button{flex-grow:1}.wpgdprc-sign-up-modal__open{background-color:transparent;border:0;left:0;padding:.125rem;position:absolute}.wpgdprc-sign-up-modal__open,.wpgdprc-sign-up-modal__open svg{height:1rem;width:1rem}.wpgdprc-sign-up-modal__open path,.wpgdprc-sign-up-modal__open svg path{fill:transparent;transition:fill .25s}.wpgdprc-sign-up-modal__open:hover svg path{fill:#3c7c96}@-webkit-keyframes wpgdprcFadeIn{0%{opacity:0}to{opacity:1}}@keyframes wpgdprcFadeIn{0%{opacity:0}to{opacity:1}}@-webkit-keyframes wpgdprcFadeOut{0%{opacity:1}to{opacity:0}}@keyframes wpgdprcFadeOut{0%{opacity:1}to{opacity:0}}.wpgdprc-section__header{margin-bottom:1.25rem}.wpgdprc-section__title{margin-bottom:0}.wpgdprc-tiles__header{margin-bottom:1.25rem}.wpgdprc-tiles__title{margin-bottom:0}.wpgdprc-tabs__header{justify-content:space-between}.wpgdprc-tabs__header,.wpgdprc-tabs__title-container{align-items:center;display:flex;flex-wrap:wrap;margin-bottom:.625rem}.wpgdprc-tabs__title-container{margin-right:1.25rem}:root .wpgdprc-tabs__title{margin-bottom:0;margin-right:1.25rem}:root .wpgdprc-tabs__list{align-items:center;display:flex;flex-wrap:wrap;margin:-.625rem -.625rem 0}.wpgdprc-tabs__item{margin:.625rem;text-align:center}.wpgdprc-tabs__item button.wpgdprc-tabs__anchor,a.wpgdprc-tabs__anchor{color:#afafaf;display:inline-block;font-size:.875rem;position:relative;text-align:center;text-decoration:none;transition:color .25s cubic-bezier(0,.6,.7,1)}.wpgdprc-tabs__item button.wpgdprc-tabs__anchor:focus,.wpgdprc-tabs__item button.wpgdprc-tabs__anchor:hover,a.wpgdprc-tabs__anchor:focus,a.wpgdprc-tabs__anchor:hover{color:#3c7c96;font-weight:600}.wpgdprc-tabs__item button.wpgdprc-tabs__anchor:after,a.wpgdprc-tabs__anchor:after{content:attr(data-title);display:block;font-weight:600;height:0;overflow:hidden;transition:opacity .25s cubic-bezier(0,.6,.7,1);visibility:hidden}.wpgdprc-tabs__item button.wpgdprc-tabs__anchor[aria-selected=true],a.wpgdprc-tabs__anchor[aria-selected=true]{color:#5a5a5a;font-weight:600}.wpgdprc-tabs__item button.wpgdprc-tabs__anchor[aria-selected=false],a.wpgdprc-tabs__anchor[aria-selected=false]{font-weight:400}.wpgdprc-tabs__item button.wpgdprc-tabs__anchor[aria-selected=false]:focus,.wpgdprc-tabs__item button.wpgdprc-tabs__anchor[aria-selected=false]:hover,a.wpgdprc-tabs__anchor[aria-selected=false]:focus,a.wpgdprc-tabs__anchor[aria-selected=false]:hover{font-weight:600}.wpgdprc-tabs__block[aria-hidden=false]{-webkit-animation-duration:.25s;animation-duration:.25s;-webkit-animation-fill-mode:forwards;animation-fill-mode:forwards;-webkit-animation-name:fade-in;animation-name:fade-in;-webkit-animation-timing-function:cubic-bezier(0,.6,.7,1);animation-timing-function:cubic-bezier(0,.6,.7,1)}.wpgdprc-tabs__block[aria-hidden=true]{display:none}.wpgdprc-tabs--alt .wpgdprc-tabs__header{border-bottom:.0625rem solid #d8d8d8;margin-bottom:1.5rem}:root .wpgdprc-tabs--alt .wpgdprc-tabs__list{margin:-.75rem -.75rem 0}.wpgdprc-tabs--alt .wpgdprc-tabs__item{margin:0 .75rem}.wpgdprc-tabs--alt .wpgdprc-tabs__anchor{-webkit-text-decoration-skip:ink;color:#5a5a5a;display:block;font-size:1rem;padding:.75rem 0;text-decoration:underline;-webkit-text-decoration-color:transparent;text-decoration-color:transparent;text-decoration-skip-ink:auto;text-decoration-thickness:.1875rem;text-underline-offset:.75rem}.wpgdprc-tabs--alt .wpgdprc-tabs__anchor:focus,.wpgdprc-tabs--alt .wpgdprc-tabs__anchor:hover{color:#3c7c96;font-weight:600}.wpgdprc-tabs--alt .wpgdprc-tabs__anchor[aria-selected=true]{color:#3c7c96;-webkit-text-decoration-color:currentColor;text-decoration-color:currentColor}.wpgdprc-banner{align-items:center;border-top:.0625rem solid #d8d8d8;display:flex;flex-wrap:wrap;padding:1.5625rem 0}.wpgdprc-banner__container{display:flex}.wpgdprc-banner__content{margin-bottom:.9375rem;order:2}.wpgdprc-banner__content a{color:#3c7c96;font-weight:700;text-underline-offset:.0625rem;text-underline-position:auto}.wpgdprc-banner__content a:focus,.wpgdprc-banner__content a:hover{color:#2d5e72}:root .wpgdprc-banner__title{font-size:1rem;margin-bottom:.25rem}:root .wpgdprc-banner__pre-title{color:#888;font-size:.875rem;margin-bottom:.25rem}.wpgdprc-banner__text{max-width:50.4375rem}.wpgdprc-banner__icon{flex-shrink:0;margin-right:.9375rem;order:1}.wpgdprc-banner__icon svg{width:3.25rem}.wpgdprc-banner__action{flex-shrink:0;margin-left:4.1875rem}@media screen and (min-width:48.9375em){.wpgdprc-banner{flex-wrap:unset}.wpgdprc-banner__container{margin-right:1.875rem}.wpgdprc-banner__content{margin-bottom:0}.wpgdprc-banner__icon{margin-right:1.25rem}.wpgdprc-banner__action{margin-left:auto}}@media screen and (min-width:60.0625em){.wpgdprc-banner{padding-bottom:.3125rem}}.wpgdprc-welcome a{color:#3c7c96}.wpgdprc{max-width:87.5rem;padding:0 .625rem 0 0}.wpgdprc-main{display:flex}@media screen and (min-width:48.9375em){.wpgdprc{padding:0 1.25rem 0 0}.wpgdprc-main{flex-wrap:unset}}@media screen and (min-width:75em){.wpgdprc{padding:0 1.875rem}}.wpgdprc-header{align-items:center;display:flex;flex-wrap:wrap;justify-content:space-between;padding:2.25rem 0}.wpgdprc-header .wpgdprc-label{font-weight:500;margin-right:.9375rem;padding:.5rem .8125rem}.wpgdprc-header .wpgdprc-label span{font-weight:700}.wpgdprc-header__left{align-items:center;display:flex;flex-wrap:wrap;margin-right:.9375rem}.wpgdprc-header__title{margin:.3125rem .9375rem .3125rem 0}:root .wpgdprc-header__logos{align-items:center;display:flex;margin:0}.wpgdprc-header__logo{list-style:none;margin-bottom:0}.wpgdprc-header__logo--lock{margin-right:.9375rem}.wpgdprc-header__logo--lock svg{width:2.5rem}.wpgdprc-header__logo--name{display:flex;flex-direction:column}.wpgdprc-header__logo--name svg{width:9.5rem}.wpgdprc-header__link--premium{color:#5a5a5a;font-size:.875rem;font-weight:500;text-underline-offset:.0625rem;text-underline-position:auto}.wpgdprc-header__link--premium:focus,.wpgdprc-header__link--premium:hover{color:#3c7c96}:root p.wpgdprc-header__message{margin:.3125rem 0}.wpgdprc-header__manage{color:#5a5a5a;display:inline-block;font-family:sofia-pro,Helvetica Neue,Helvetica,Roboto,Arial,sans-serif;font-size:.875rem;font-weight:500;margin:.3125rem 0;text-decoration:underline}.wpgdprc-header__manage:focus,.wpgdprc-header__manage:hover{color:#3c7c96}:root .wpgdprc-header__nav{margin:.3125rem 0}:root .wpgdprc-header__nav,:root .wpgdprc-header__nav ul{display:flex;flex-wrap:wrap}:root .wpgdprc-header__nav li{margin-bottom:0;margin-right:2.1875rem}:root .wpgdprc-header__nav li:last-child{margin-right:0}:root .wpgdprc-header__nav a{color:#888;display:flex;font-size:.875rem;justify-content:space-between;text-decoration:none}:root .wpgdprc-header__nav a:focus,:root .wpgdprc-header__nav a:hover{color:#3c7c96}.wpgdprc p.wp-notice{margin:.5em 0;padding:2px}[data-mode=premium] .wpgdprc-header__link--premium{display:none}.wpgdprc-container{background-color:#fff;box-shadow:0 5px 10px 0 rgba(0,0,0,.1);order:2;padding:.9375rem;width:100%}@media screen and (min-width:48.9375em){.wpgdprc-container{padding:1.25rem}}@media screen and (min-width:60.0625em){.wpgdprc-container{padding:1.875rem}}.wpgdprc-content>*,.wpgdprc-content__container>*{margin-bottom:1.875rem}.wpgdprc-content>:last-child,.wpgdprc-content__container>:last-child{margin-bottom:0}.wpgdprc-content__header{margin-bottom:1.25rem}:root .wpgdprc-content__title{margin-bottom:.625rem}.wpgdprc-content__text{max-width:46.875rem}.wpgdprc-content__text p{margin-bottom:1em}:root .wpgdprc-content__actions{align-items:center;display:flex;flex-wrap:wrap;margin:0}:root .wpgdprc-content__actions li{list-style:none;margin-bottom:0;margin-right:1.25rem}:root .wpgdprc-content__actions li:last-child{margin-right:0}.wpgdprc-content__header--justify{align-items:center;display:flex;flex-wrap:wrap;justify-content:space-between}.wpgdprc-content__container{border-top:.0625rem solid #d8d8d8;padding-top:1.25rem}.wpgdprc-content__container--no-border{border:0}.wpgdprc-sidebar{order:1}.wpgdprc-sidebar__item,:root .wpgdprc-sidebar__list{margin:0}.wpgdprc-sidebar__anchor{align-items:center;border-radius:3px;color:#888;display:flex;position:relative;text-decoration:none;width:100%}.wpgdprc-sidebar__anchor .icon--wrap{align-items:center;border:0!important;color:inherit;content:"";display:flex;font-weight:300;height:3.625rem;justify-content:center;margin:0!important;width:3.625rem}.wpgdprc-sidebar__anchor .icon--wrap svg.icon{height:1.25rem;margin:0;width:1.25rem}.wpgdprc-sidebar__anchor:after{border-bottom:1.6875rem solid transparent;border-left:.6875rem solid #3c7c96;border-top:1.6875rem solid transparent;content:"";height:0;opacity:0;position:absolute;right:-.6875rem;top:.125rem;transition:all .25s cubic-bezier(0,.6,.7,1);width:0}.wpgdprc-sidebar__anchor .wpgdprc-sidebar__anchor-svg svg path{fill:#888}.wpgdprc-sidebar__anchor.active,.wpgdprc-sidebar__anchor:focus,.wpgdprc-sidebar__anchor:hover{background-color:#3c7c96;color:#fff}.wpgdprc-sidebar__anchor.active:after,.wpgdprc-sidebar__anchor:focus:after,.wpgdprc-sidebar__anchor:hover:after{opacity:1}.wpgdprc-sidebar__anchor.active .wpgdprc-sidebar__anchor-svg svg path,.wpgdprc-sidebar__anchor:focus .wpgdprc-sidebar__anchor-svg svg path,.wpgdprc-sidebar__anchor:hover .wpgdprc-sidebar__anchor-svg svg path{fill:#fff}.wpgdprc-sidebar__anchor:focus span{border-bottom:3px solid}.wpgdprc-sidebar__anchor.active{box-shadow:0 5px 10px 0 rgba(0,0,0,.1)}.wpgdprc-sidebar__anchor.active .wpgdprc-sidebar__anchor-text{font-weight:700}.wpgdprc-sidebar__anchor-svg{align-items:center;display:flex;height:3.625rem;justify-content:center;width:3.625rem}.wpgdprc-sidebar__anchor-text{display:none;font-family:sofia-pro,Helvetica Neue,Helvetica,Roboto,Arial,sans-serif;font-weight:600;line-height:1.25;position:relative;top:.0625rem}.wpgdprc-sidebar__anchor--checklist:before{content:"";display:none}.wpgdprc-sidebar__anchor--checklist .wpgdprc-sidebar__anchor-svg svg{width:.5625rem}@media screen and (min-width:48.9375em){.wpgdprc-sidebar{flex-shrink:0;max-width:12.8125rem;width:100%}.wpgdprc-sidebar__anchor-text{display:inline}}.wpgdprc-footer{display:flex;flex-wrap:wrap;font-family:sofia-pro,Helvetica Neue,Helvetica,Roboto,Arial,sans-serif;font-size:.875rem;font-weight:500;justify-content:flex-end;margin-left:3.625rem;padding-top:1.375rem}p.wpgdprc-footer__developer{margin:0}p.wpgdprc-footer__developer a{align-items:flex-start;color:#5a5a5a;display:flex;flex-direction:column;flex-wrap:wrap;text-decoration:none}p.wpgdprc-footer__developer a:focus,p.wpgdprc-footer__developer a:hover{color:#3c7c96}p.wpgdprc-footer__developer a svg.icon{display:none}p.wpgdprc-footer__developer svg{margin-top:.375rem;order:1;width:14.6875rem}@media screen and (min-width:48.9375em){.wpgdprc-footer{margin-left:12.8125rem}}body.fts.wpgdprc{background:#f1f1f1;max-width:100%;opacity:1;padding:0;visibility:visible}#wp-gdpr-fts{box-sizing:border-box;margin:2rem 0}@media screen and (min-width:48.9375em){#wp-gdpr-fts{margin:4.875rem auto;max-width:80em;width:80%}}#wp-gdpr-fts .step__title{align-items:flex-end;display:flex;justify-content:space-between}#wp-gdpr-fts .step__title span{color:#5a5a5a;font-size:1rem}#wp-gdpr-fts form:not(.default-width) .cell{width:calc(100% - 1.875rem)}#wp-gdpr-fts .hidden,#wp-gdpr-fts form .wpgdprc-form__field.wpgdprc-form__field--submit,#wp-gdpr-fts form .wpgdprc-form__field wpgdprc-form__field--submit{display:none}#wp-gdpr-fts a:not(.button){color:#3c7c96}#wp-gdpr-fts .questionnaire label{margin:.6rem 0 .4rem .4rem}#wp-gdpr-fts p{margin-bottom:.5rem}#wp-gdpr-fts hr{margin:.5rem -1rem}#wp-gdpr-fts .list li{margin:.25rem 0}#step-container>.step{min-height:340px}#step-container>.step:not(.active){display:none}#step-container .step-container__footer{margin-top:2rem}#step-container .step-container__footer button{padding:.8125rem 1.125rem}#step-container .step-container__footer button:not([data-step=next])[disabled]{transition:none;visibility:hidden}#step-container .step-container__footer button[data-step=prev] span{margin-right:.5rem}#step-container .step-container__footer button[data-step=next][disabled] .spinner-wrapper{display:block!important}#step-to-buttons button{background-color:transparent;border:0;font-weight:400;line-height:1.9375rem;padding-left:calc(1rem + 12px);padding-right:0;position:relative;text-align:left;transition:all .25s cubic-bezier(0,.6,.7,1)}#step-to-buttons button:not(:last-child){margin:0 0 .3825rem}#step-to-buttons button[disabled]{opacity:1}#step-to-buttons button:before{background-color:#888;border:1px solid #888;border-radius:100%;content:" ";display:inline-block;height:12px;left:0;position:absolute;top:50%;transform:translateY(-65%);width:12px}#step-to-buttons button.active{color:#3c7c96;font-size:1.25rem;font-weight:700}#step-to-buttons button.active~button:before{background-color:transparent}#step-to-buttons button.active:before{background-color:#3c7c96;border-color:#3c7c96}.wp-gdpr-fts__footer{margin:1rem auto 0}
Assets/css/front.css CHANGED
@@ -1 +1 @@
1
- @font-face{font-display:swap;font-family:Sofia Pro;font-style:normal;font-weight:400;src:url(../js/3cec1bfdf33a0b885326.woff2) format("woff2"),url(../js/8ce052d4ec66553cb99e.woff) format("woff")}@font-face{font-display:swap;font-family:Sofia Pro;font-style:italic;font-weight:400;src:url(../js/3cbf25ef3767781940dd.woff2) format("woff2"),url(../js/8cb1b48d7970d0a6b7fe.woff) format("woff")}@font-face{font-display:swap;font-family:Sofia Pro;font-style:normal;font-weight:500;src:url(../js/dc237e72ff0ecbad38d7.woff2) format("woff2"),url(../js/931fc9f134eaac2662d9.woff) format("woff")}@font-face{font-display:swap;font-family:Sofia Pro;font-style:normal;font-weight:600;src:url(../js/5b28134ae0ee853f746f.woff2) format("woff2"),url(../js/78d58e986700c1dd56be.woff) format("woff")}@font-face{font-display:swap;font-family:Sofia Pro;font-style:italic;font-weight:600;src:url(../js/625ee787e7045ad177b7.woff2) format("woff2"),url(../js/571be978f6b15960b558.woff) format("woff")}@font-face{font-display:swap;font-family:Sofia Pro;font-style:normal;font-weight:700;src:url(../js/87da46dd351109a94325.woff2) format("woff2"),url(../js/47e519bbb1090dc52281.woff) format("woff")}.wpgdprc blockquote,.wpgdprc dd,.wpgdprc dl,.wpgdprc fieldset,.wpgdprc figure,.wpgdprc h1,.wpgdprc h2,.wpgdprc h3,.wpgdprc h4,.wpgdprc h5,.wpgdprc h6,.wpgdprc hr,.wpgdprc legend,.wpgdprc ol,.wpgdprc p,.wpgdprc pre,.wpgdprc ul{margin:0;padding:0}.wpgdprc li>ol,.wpgdprc li>ul{margin-bottom:0}.wpgdprc table{border-collapse:collapse;border-spacing:0}.wpgdprc fieldset{border:0;min-width:0}.wpgdprc *,.wpgdprc :after,.wpgdprc :before{box-sizing:inherit}.wpgdprc [type=button],.wpgdprc [type=reset],.wpgdprc [type=submit]{-webkit-appearance:none;-moz-appearance:none;appearance:none;border:0;margin:0}.wpgdprc ::-moz-selection{background:#3c7c96;color:#fff}.wpgdprc ::selection{background:#3c7c96;color:#fff}.wpgdprc a{transition:all .25s cubic-bezier(0,.6,.7,1)}.wpgdprc form{margin-bottom:0}.wpgdprc .no-bullet{list-style:none}.wpgdprc .video-container{height:0;opacity:0;padding-bottom:56.25%;padding-top:25px;position:relative;transition:opacity .25s cubic-bezier(0,.6,.7,1)}.wpgdprc .video-container iframe{height:100%;left:0;position:absolute;top:0;width:100%}.wpgdprc .video-container.active{opacity:1}.wpgdprc img{box-sizing:inherit;display:inline-block;height:auto;max-width:100%;vertical-align:middle}.wpgdprc svg.icon{fill:currentColor;height:1rem;margin:0;vertical-align:sub;width:1rem}.wpgdprc{-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;color:#5a5a5a;font-family:Sofia Pro,Helvetica Neue,Helvetica,Roboto,Arial,sans-serif;font-size:1rem}.wpgdprc h1,.wpgdprc h2,.wpgdprc h3,.wpgdprc h4,.wpgdprc h5,.wpgdprc h6{font-family:Sofia Pro,Helvetica Neue,Helvetica,Roboto,Arial,sans-serif;margin-bottom:.5rem;margin-top:0}.wpgdprc .h1,.wpgdprc .h2,.wpgdprc .h3,.wpgdprc .h4,.wpgdprc .h5,.wpgdprc .h6,.wpgdprc h1,.wpgdprc h2,.wpgdprc h3,.wpgdprc h4,.wpgdprc h5,.wpgdprc h6{color:#000;font-family:Sofia Pro,Helvetica Neue,Helvetica,Roboto,Arial,sans-serif;font-weight:700;line-height:1.2}.wpgdprc .h1,.wpgdprc h1{font-size:3rem}.wpgdprc .h2,.wpgdprc h2{font-size:2rem}.wpgdprc .h3,.wpgdprc h3{font-size:1.5rem}.wpgdprc .h4,.wpgdprc h4{font-size:1.375rem}.wpgdprc .h5,.wpgdprc h5{font-size:1.25rem}.wpgdprc .h6,.wpgdprc h6{font-size:1.125rem}.wpgdprc p{font-size:1rem;line-height:1.625}.wpgdprc p:last-child{margin-bottom:0}.wpgdprc ol,.wpgdprc ul{margin:0 0 1rem 1rem}.wpgdprc blockquote p:before{content:"“"}.wpgdprc blockquote p:after{content:"”"}.wpgdprc blockquote cite{color:#5a5a5a}.wpgdprc .screen-reader-text{clip:rect(0,0,0,0)!important;border:0!important;height:1px!important;overflow:hidden!important;padding:0!important;position:absolute!important;white-space:nowrap!important;width:1px!important}.button.wpgdprc-button,.wpgdprc-button{align-items:center;background-color:#3c7c96;border:1px solid #3c7c96;border-radius:3px;box-shadow:0 2px 4px 0 rgba(0,0,0,.2);color:#fff;cursor:pointer;display:inline-flex;font-size:1rem;font-weight:700;justify-content:center;line-height:1.125;padding:.8125rem 1.125rem;position:relative;text-decoration:none;transition:all .25s cubic-bezier(0,.6,.7,1);width:auto}.button.wpgdprc-button.wpgdprc-button--outline:not(:focus),.button.wpgdprc-button.wpgdprc-button--outline:not(:hover),.wpgdprc-button.wpgdprc-button--outline:not(:focus),.wpgdprc-button.wpgdprc-button--outline:not(:hover){background-color:transparent;color:#3c7c96}.button.wpgdprc-button.wpgdprc-button--outline:focus,.button.wpgdprc-button.wpgdprc-button--outline:hover,.wpgdprc-button.wpgdprc-button--outline:focus,.wpgdprc-button.wpgdprc-button--outline:hover{background-color:#2d5e72;border-color:#2d5e72;border-width:1px;color:#fff}.button.wpgdprc-button:focus,.button.wpgdprc-button:hover,.wpgdprc-button:focus,.wpgdprc-button:hover,:root .button.wpgdprc-button.wpgdprc-button--active,:root .wpgdprc-button.wpgdprc-button--active{background-color:#2d5e72;border-color:#2d5e72;color:#fff}.wpgdprc-button.wpgdprc-button--alert{align-items:center;background-color:#d03343;border:1px solid #d03343;border-radius:3px;box-shadow:0 2px 4px 0 rgba(0,0,0,.2);color:#fff;cursor:pointer;display:inline-flex;font-size:1rem;font-weight:700;justify-content:center;line-height:1.125;padding:.8125rem 1.125rem;position:relative;text-decoration:none;transition:all .25s cubic-bezier(0,.6,.7,1);width:auto}.wpgdprc-button.wpgdprc-button--alert.wpgdprc-button--outline:not(:focus),.wpgdprc-button.wpgdprc-button--alert.wpgdprc-button--outline:not(:hover){background-color:transparent;color:#d03343}.wpgdprc-button.wpgdprc-button--alert.wpgdprc-button--outline:focus,.wpgdprc-button.wpgdprc-button--alert.wpgdprc-button--outline:hover{background-color:#a92734;border-color:#a92734;border-width:1px;color:#fff}.wpgdprc-button.wpgdprc-button--alert:focus,.wpgdprc-button.wpgdprc-button--alert:hover,:root .wpgdprc-button.wpgdprc-button--alert.wpgdprc-button--active{background-color:#a92734;border-color:#a92734;color:#fff}.wpgdprc-button.wpgdprc-button--white{align-items:center;background-color:#fff;border:1px solid #fff;border-radius:3px;box-shadow:0 2px 4px 0 rgba(0,0,0,.2);color:#5a5a5a;cursor:pointer;display:inline-flex;font-size:1rem;font-weight:700;justify-content:center;line-height:1.125;padding:.8125rem 1.125rem;position:relative;text-decoration:none;transition:all .25s cubic-bezier(0,.6,.7,1);width:auto}.wpgdprc-button.wpgdprc-button--white.wpgdprc-button--outline:not(:focus),.wpgdprc-button.wpgdprc-button--white.wpgdprc-button--outline:not(:hover){background-color:transparent;color:#fff}.wpgdprc-button.wpgdprc-button--white.wpgdprc-button--outline:focus,.wpgdprc-button.wpgdprc-button--white.wpgdprc-button--outline:hover{background-color:#3c7c96;border-color:#3c7c96;border-width:1px;color:#fff}.wpgdprc-button.wpgdprc-button--white:focus,.wpgdprc-button.wpgdprc-button--white:hover,:root .wpgdprc-button.wpgdprc-button--white.wpgdprc-button--active{background-color:#3c7c96;border-color:#3c7c96;color:#fff}.wpgdprc-button.wpgdprc-button--white-primary{align-items:center;background-color:#fff;border:1px solid #fff;border-radius:3px;box-shadow:0 2px 4px 0 rgba(0,0,0,.2);color:#3c7c96;cursor:pointer;display:inline-flex;font-size:1rem;font-weight:700;justify-content:center;line-height:1.125;padding:.8125rem 1.125rem;position:relative;text-decoration:none;transition:all .25s cubic-bezier(0,.6,.7,1);width:auto}.wpgdprc-button.wpgdprc-button--white-primary.wpgdprc-button--outline:not(:focus),.wpgdprc-button.wpgdprc-button--white-primary.wpgdprc-button--outline:not(:hover){background-color:transparent;color:#fff}.wpgdprc-button.wpgdprc-button--white-primary.wpgdprc-button--outline:focus,.wpgdprc-button.wpgdprc-button--white-primary.wpgdprc-button--outline:hover{background-color:#3c7c96;border-color:#3c7c96;border-width:1px;color:#fff}.wpgdprc-button.wpgdprc-button--white-primary:focus,.wpgdprc-button.wpgdprc-button--white-primary:hover,:root .wpgdprc-button.wpgdprc-button--white-primary.wpgdprc-button--active{background-color:#3c7c96;border-color:#3c7c96;color:#fff}.wpgdprc-button.wpgdprc-button--white-alert{align-items:center;background-color:#fff;border:1px solid #fff;border-radius:3px;box-shadow:0 2px 4px 0 rgba(0,0,0,.2);color:#d03343;cursor:pointer;display:inline-flex;font-size:1rem;font-weight:700;justify-content:center;line-height:1.125;padding:.8125rem 1.125rem;position:relative;text-decoration:none;transition:all .25s cubic-bezier(0,.6,.7,1);width:auto}.wpgdprc-button.wpgdprc-button--white-alert.wpgdprc-button--outline:not(:focus),.wpgdprc-button.wpgdprc-button--white-alert.wpgdprc-button--outline:not(:hover){background-color:transparent;color:#fff}.wpgdprc-button.wpgdprc-button--white-alert.wpgdprc-button--outline:focus,.wpgdprc-button.wpgdprc-button--white-alert.wpgdprc-button--outline:hover{background-color:#d03343;border-color:#d03343;border-width:1px;color:#fff}.wpgdprc-button.wpgdprc-button--white-alert:focus,.wpgdprc-button.wpgdprc-button--white-alert:hover,:root .wpgdprc-button.wpgdprc-button--white-alert.wpgdprc-button--active{background-color:#d03343;border-color:#d03343;color:#fff}.wpgdprc-button.wpgdprc-button--transparent{align-items:center;background-color:transparent;border:1px solid transparent;border-radius:3px;box-shadow:0 2px 4px 0 rgba(0,0,0,.2);box-shadow:none;color:#5a5a5a;cursor:pointer;display:inline-flex;font-size:1rem;font-weight:700;justify-content:center;line-height:1.125;padding:.8125rem 1.125rem;position:relative;text-decoration:none;transition:all .25s cubic-bezier(0,.6,.7,1);width:auto}.wpgdprc-button.wpgdprc-button--transparent.wpgdprc-button--outline:not(:focus),.wpgdprc-button.wpgdprc-button--transparent.wpgdprc-button--outline:not(:hover){background-color:transparent;color:transparent}.wpgdprc-button.wpgdprc-button--transparent.wpgdprc-button--outline:focus,.wpgdprc-button.wpgdprc-button--transparent.wpgdprc-button--outline:hover{background-color:transparent;border-color:transparent;border-width:1px;color:#3c7c96}.wpgdprc-button.wpgdprc-button--transparent:focus,.wpgdprc-button.wpgdprc-button--transparent:hover,:root .wpgdprc-button.wpgdprc-button--transparent.wpgdprc-button--active{background-color:transparent;border-color:transparent;color:#3c7c96}.wpgdprc-button[disabled]{align-items:center;background-color:#f8f8f9;border:1px solid #f8f8f9;border-radius:3px;box-shadow:0 2px 4px 0 rgba(0,0,0,.2);color:#afafaf;cursor:pointer;cursor:not-allowed;display:inline-flex;font-size:1rem;font-weight:700;justify-content:center;line-height:1.125;padding:.8125rem 1.125rem;position:relative;text-decoration:none;transition:all .25s cubic-bezier(0,.6,.7,1);width:auto}.wpgdprc-button[disabled].wpgdprc-button--outline:not(:focus),.wpgdprc-button[disabled].wpgdprc-button--outline:not(:hover){background-color:transparent;color:#f8f8f9}.wpgdprc-button[disabled].wpgdprc-button--outline:focus,.wpgdprc-button[disabled].wpgdprc-button--outline:hover{background-color:#f8f8f9;border-color:#f8f8f9;border-width:1px;color:#afafaf}.wpgdprc-button[disabled]:focus,.wpgdprc-button[disabled]:hover,:root .wpgdprc-button[disabled].wpgdprc-button--active{background-color:#f8f8f9;border-color:#f8f8f9;color:#afafaf}:root .wpgdprc-button.wpgdprc-button--small{font-family:Sofia Pro,Helvetica Neue,Helvetica,Roboto,Arial,sans-serif;font-size:.875rem;font-weight:700;line-height:1.1428571429;min-width:4.3125rem;padding:.5rem .875rem .3125rem}:root .wpgdprc-button.wpgdprc-button--small.wpgdprc-button--transparent{box-shadow:none}.wpgdprc-button--transparent.wpgdprc-button--delete{color:#888}.wpgdprc-button--transparent.wpgdprc-button--delete:focus,.wpgdprc-button--transparent.wpgdprc-button--delete:hover{color:#3c7c96}.wpgdprc-button.wpgdprc-button--transparent.wpgdprc-button--white{color:#fff}.wpgdprc-button.wpgdprc-button--transparent.wpgdprc-button--white:focus,.wpgdprc-button.wpgdprc-button--transparent.wpgdprc-button--white:hover{color:rgba(255,255,255,.6)}:root .wpgdprc-button.wpgdprc-button--icon{min-width:0;padding:.5rem 1.125rem .3125rem 2.25rem}:root .wpgdprc-button.wpgdprc-button--icon .icon--wrap{font-size:.875rem;left:.75rem;position:absolute;top:50%;transform:translateY(-50%)}:root .wpgdprc-button.wpgdprc-button--icon .icon--wrap svg.icon{margin:0}.wpgdprc-button.wpgdprc-button--border{border-color:#d6d6d6}.wpgdprc-button.is-hidden{display:none}.wpgdprc .wpgdprc-form{margin-bottom:1rem}.wpgdprc .wpgdprc-form:last-child{margin-bottom:0}.wpgdprc .wpgdprc-form__label,.wpgdprc .wpgdprc-form__legend{color:#000;display:block;font-weight:700;margin-bottom:1rem}.wpgdprc .wpgdprc-form__fields{list-style:none;margin-bottom:0;margin-left:0}.wpgdprc-form__field{margin-bottom:1.4375rem}.wpgdprc-form__field:last-child{margin-bottom:0}.wpgdprc-form__field--switch .wpgdprc-switch{margin-bottom:0;min-height:2.8125rem}.wpgdprc-form__field--switch-no-text .wpgdprc-switch__text{margin:0}.wpgdprc .wpgdprc-form__description{color:#888;font-size:.875rem;margin-top:.75rem}.wpgdprc .wpgdprc-form__field--checkbox,.wpgdprc .wpgdprc-form__field--radio{align-items:center;display:flex;margin-bottom:0}.wpgdprc .wpgdprc-form__field--checkbox input,.wpgdprc .wpgdprc-form__field--radio input{aspect-ratio:1/1}.wpgdprc .wpgdprc-form__field--checkbox .wpgdprc-form__input,.wpgdprc .wpgdprc-form__field--radio .wpgdprc-form__input{align-self:flex-start;flex-shrink:0;margin-right:.5rem;width:auto}.wpgdprc .wpgdprc-form__field--checkbox .wpgdprc-form__label,.wpgdprc .wpgdprc-form__field--radio .wpgdprc-form__label{margin-bottom:0;margin-left:0;padding-left:0}.wpgdprc-form__input{width:100%}.wpgdprc .wpgdprc-form__input--textarea{line-height:1.8571428571;min-height:12.1875rem}.wpgdprc .wpgdprc-form__input--submit{width:auto}.wpgdprc-form__field--submit,.wpgdprc-form__field--submit p,.wpgdprc-form__submit{text-align:right}.wpgdprc-form__footer{margin-top:1.4375rem}.wpgdprc .wpgdprc-status--processing,.wpgdprc .wpgdprc-status--removed{pointer-events:none}.wpgdprc .wpgdprc-status--removed{opacity:.5;text-decoration:line-through}.wpgdprc-checkbox{display:flex}.comment-form .wpgdprc-checkbox label{font-size:var(--global--font-size-xs);font-weight:400}.wpgdprc-switch{align-items:center;display:inline-flex}:root .wpgdprc-switch .wpgdprc-form__label{margin-bottom:0}.wpgdprc-switch.regular-text{width:auto}.wpgdprc-switch__text{font-size:.875rem;font-weight:700;margin-right:.9375rem}.wpgdprc-switch__switch{display:inline-block;height:2.25rem;position:relative;width:5.125rem}.wpgdprc-switch__input{height:0;opacity:0;width:0}.wpgdprc-switch__input:focus+.wpgdprc-switch__slider{box-shadow:0 0 8px 0 #3c7c96}.wpgdprc-switch__input:disabled{border:0}.wpgdprc-switch__input:disabled+.wpgdprc-switch__slider:after{opacity:1}.wpgdprc-switch__slider{background-color:#fff;border-radius:6.25rem;bottom:0;box-shadow:0 5px 10px 0 rgba(0,0,0,.1);cursor:pointer;left:0;overflow:hidden;position:absolute;right:0;top:0;transition:.4s}.wpgdprc-switch__slider .icon--wrap{align-items:center;background-color:#888;border-radius:6.25rem;bottom:calc(50% - .875rem);color:#fff;display:flex;height:1.75rem;justify-content:center;left:4px;position:absolute;transition:.4s;width:2.4375rem}.wpgdprc-switch__slider:after{-webkit-animation:barberpole 1s linear infinite;animation:barberpole 1s linear infinite;background-image:repeating-linear-gradient(45deg,hsla(0,0%,100%,.4),hsla(0,0%,100%,.4) .5rem,hsla(0,0%,53%,.4) 0,hsla(0,0%,53%,.4) 1rem);background-size:200% 200%;content:" ";height:100%;left:0;opacity:0;position:absolute;top:0;transition:opacity .25s cubic-bezier(0,.6,.7,1);width:100%}.wpgdprc-switch__input:checked+.wpgdprc-switch__slider .icon--wrap{background-color:#176f3e}.wpgdprc-switch__input:checked+.wpgdprc-switch__slider .icon--wrap[data-icon=times]{opacity:0}.wpgdprc-switch__input:checked+.wpgdprc-switch__slider .icon--wrap{transform:translateX(35px)}.wpgdprc-switch--border .wpgdprc-switch__slider{border:1px solid #d8d8d8}.wpgdprc-switch--column{align-items:flex-start;flex-direction:column}.wpgdprc-switch--column .wpgdprc-switch__text{color:#000;font-size:1.125rem;margin-bottom:.625rem;margin-right:0}.wpgdprc-switch--no-margin-right .wpgdprc-switch__text{margin-right:0}.wpgdprc-message{display:flex;margin-bottom:1rem;position:relative}.wpgdprc-message:last-child{margin-bottom:0}.wpgdprc-message.fade-out{-webkit-animation-duration:.25s;animation-duration:.25s;-webkit-animation-fill-mode:forwards;animation-fill-mode:forwards;-webkit-animation-name:fade-out;animation-name:fade-out;-webkit-animation-timing-function:cubic-bezier(0,.6,.7,1);animation-timing-function:cubic-bezier(0,.6,.7,1)}.wpgdprc-message__icon{align-self:flex-start;margin-top:unset;order:0}.wpgdprc-message__icon svg{width:1.5rem}.wpgdprc-message__content{order:1}.wpgdprc-message.is-hidden{display:none}.wpgdprc-table{margin-bottom:1rem;width:100%}.wpgdprc-table:last-child{margin-bottom:0}.wpgdprc-table__th{font-weight:700}.wpgdprc-table__td:before{content:attr(data-title);display:none;font-weight:700;left:.625rem;overflow:hidden;padding-right:.625rem;position:absolute;top:.625rem;white-space:nowrap;width:45%}@media print,screen and (max-width:39.99875em){.wpgdprc-table,.wpgdprc-table__tbody,.wpgdprc-table__td,.wpgdprc-table__th,.wpgdprc-table__thead,.wpgdprc-table__tr{display:block}.wpgdprc-table__tr--thead{left:-9999px;position:absolute;top:-9999px}.wpgdprc-table__tr--tbody:nth-of-type(2n){background-color:#f8f8f9}.wpgdprc-table__td{border-left:0;border-right:0;border-top:0;min-height:2.5rem;padding-left:50%;position:relative}.wpgdprc-table__td:before{display:block}}@media print,screen and (min-width:40em){.wpgdprc-table{border-collapse:collapse}.wpgdprc-table .wpgdprc-table__td,.wpgdprc-table .wpgdprc-table__th{padding:.375rem;text-align:left}}.wpgdprc-consent-bar{bottom:0;font-family:inherit;font-family:var(--wp-gdpr--bar--font-family,inherit);left:0;margin:.9375rem;position:fixed;right:0;z-index:99999}.wpgdprc-consent-bar__inner{-webkit-animation:wpgdprcFadeIn .3s cubic-bezier(0,0,.2,1);animation:wpgdprcFadeIn .3s cubic-bezier(0,0,.2,1);background-color:var(--wp-gdpr--bar--background-color);border-radius:5px;box-shadow:0 2px 4px 0 rgba(0,0,0,.2);margin:0 auto;max-width:75rem;padding:1.25rem .625rem;text-align:center;z-index:999}.wpgdprc-consent-bar__inner,.wpgdprc-consent-bar__inner a{color:var(--wp-gdpr--bar--color)}.wpgdprc-consent-bar__container{display:flex;flex-wrap:wrap;position:relative}.wpgdprc-consent-bar__column{padding:0 10px}.wpgdprc-consent-bar__column:first-child{flex-grow:1}.wpgdprc-consent-bar__content{align-items:center;display:flex;flex-wrap:wrap;text-align:left;width:100%}.wpgdprc-consent-bar__column--notice{flex-grow:1;margin-bottom:.5rem}@media print,screen and (max-width:63.99875em){.wpgdprc-consent-bar__column--accept,.wpgdprc-consent-bar__column--settings{flex-grow:1}.wpgdprc-consent-bar__column--accept .wpgdprc-button,.wpgdprc-consent-bar__column--settings .wpgdprc-button{width:100%}}.wpgdprc-consent-bar__notice{font-size:1rem}.wpgdprc-consent-bar__notice p{margin-bottom:0}:root .wpgdprc-consent-bar button.wpgdprc-button--accept{align-items:center;background-color:var(--wp-gdpr--button--background-color);border-color:var(--wp-gdpr--button--background-color);border-radius:3px;box-shadow:0 2px 4px 0 rgba(0,0,0,.2);color:var(--wp-gdpr--button--color);cursor:pointer;display:inline-flex;font-size:1rem;font-weight:700;justify-content:center;line-height:1.1666666667;padding:.8125rem 1.125rem;position:relative;text-decoration:none;transition:all .25s cubic-bezier(0,.6,.7,1)}:root .wpgdprc-consent-bar button.wpgdprc-button--accept:focus,:root .wpgdprc-consent-bar button.wpgdprc-button--accept:hover{background-color:var(--wp-gdpr--button--background-color--darken);border-color:var(--wp-gdpr--button--background-color--darken)}:root .wpgdprc-consent-bar button.wpgdprc-button--settings{background-color:transparent;border-color:transparent;box-shadow:none;color:var(--wp-gdpr--bar--color)}:root .wpgdprc-consent-bar button.wpgdprc-button--settings:focus,:root .wpgdprc-consent-bar button.wpgdprc-button--settings:hover{background-color:transparent;border-color:transparent;box-shadow:none;opacity:.75}@media print,screen and (min-width:40em){.wpgdprc-consent-bar__column--notice{flex-grow:0;margin-bottom:0}.wpgdprc-consent-bar__column--settings{margin-left:0}.wpgdprc-consent-bar__content{flex-wrap:nowrap}}.wpgdprc-consent-bar--position-top{bottom:auto;top:0}@media screen and (min-width:48.9375em){.admin-bar .wpgdprc-consent-bar--position-top{top:2rem}}.admin-bar .wpgdprc-consent-bar--position-top{top:2.875rem}.wpgdprc-consent-bar--admin{margin:0;position:relative}.wpgdprc-consent-bar--admin .wpgdprc-consent-bar__notice{max-width:100%}.wpgdprc-consent-modal{display:none}.wpgdprc-consent-modal.is-open{display:block!important}.wpgdprc-consent-modal[aria-hidden=false] .wpgdprc-consent-modal__overlay{-webkit-animation:wpgdprcFadeIn .3s cubic-bezier(0,0,.2,1);animation:wpgdprcFadeIn .3s cubic-bezier(0,0,.2,1)}.wpgdprc-consent-modal[aria-hidden=true] .wpgdprc-consent-modal__overlay{-webkit-animation:wpgdprcFadeOut .3s cubic-bezier(0,0,.2,1);animation:wpgdprcFadeOut .3s cubic-bezier(0,0,.2,1)}.wpgdprc-consent-modal__overlay{align-items:center;background:#000;background:rgba(0,0,0,.6);bottom:0;display:flex;justify-content:center;left:0;position:fixed;right:0;top:0;will-change:transform;z-index:999999}.wpgdprc-consent-modal__inner{background:#fff;border-radius:5px;box-shadow:0 10px 15px 0 rgba(0,0,0,.2);display:flex;flex-direction:column;height:80%;height:80vh;max-width:800px;overflow-y:auto;position:relative;width:90%;width:90vw}.wpgdprc-consent-modal__header{border-bottom:1px solid #ededed;padding:.9375rem}:root .wpgdprc-consent-modal__title{color:#000;font-family:Sofia Pro,Helvetica Neue,Helvetica,Roboto,Arial,sans-serif;font-size:1.25rem;font-weight:700;letter-spacing:0;margin-bottom:0}:root .wpgdprc-consent-modal__title--description{font-size:1.5rem;margin-bottom:.625rem}:root .wpgdprc-consent-modal button.wpgdprc-consent-modal__close{align-items:center;background-color:transparent;border:0;border-radius:3px;color:#5a5a5a;display:flex;height:40px;justify-content:center;margin:0;padding:0;position:absolute;right:.625rem;top:.75rem;transition:all .25s cubic-bezier(0,.6,.7,1);width:40px}:root .wpgdprc-consent-modal button.wpgdprc-consent-modal__close:focus,:root .wpgdprc-consent-modal button.wpgdprc-consent-modal__close:hover{background-color:var(--wp-gdpr--button--background-color--darken);box-shadow:0 2px 4px 0 rgba(0,0,0,.2);color:var(--wp-gdpr--button--color)}:root .wpgdprc-consent-modal button.wpgdprc-consent-modal__close svg{pointer-events:none;width:.875rem}:root .wpgdprc-consent-modal button.wpgdprc-consent-modal__close svg path{fill:currentColor}.wpgdprc-consent-modal__body{border-bottom:1px solid #ededed;flex-grow:1}.wpgdprc-consent-modal__description{color:#8a8a8a;display:none;flex-direction:column;height:100%}.wpgdprc-consent-modal__description--active{display:block}.wpgdprc-consent-modal__information,.wpgdprc-consent-modal__navigation{padding:.9375rem;position:relative}.wpgdprc-consent-modal__information{flex-grow:1}.wpgdprc-consent-modal__navigation{border-bottom:1px solid #ededed;flex-shrink:0}.wpgdprc-consent-modal__navigation>a{display:block;margin-top:10px}.wpgdprc-consent-modal__navigation>a:first-child{margin-top:0}:root .wpgdprc-consent-modal__navigation-list{list-style:none;margin:0}:root .wpgdprc button.wpgdprc-consent-modal__navigation-button{background-color:transparent;border:0;color:#878787;font-size:1rem;letter-spacing:0;line-height:2.25;outline:none;padding:0;text-align:left}:root .wpgdprc button.wpgdprc-consent-modal__navigation-button:focus,:root .wpgdprc button.wpgdprc-consent-modal__navigation-button:hover{color:var(--wp-gdpr--button--background-color--darken)}:root .wpgdprc button.wpgdprc-consent-modal__navigation-button--active{color:var(--wp-gdpr--button--background-color);font-weight:700}:root .wpgdprc-content-modal__content{color:#5a5a5a;font-size:1rem;letter-spacing:0;line-height:1.625}:root .wpgdprc-content-modal__content>*{margin-bottom:1.625rem}:root .wpgdprc-content-modal__content>:last-child{margin-bottom:0}.wpgdprc-content-modal__options{margin-top:auto}.wpgdprc-content-modal__options>*{margin-top:1.625rem}.wpgdprc-consent-modal__footer{display:flex;justify-content:flex-end;padding:.9375rem}:root .wpgdprc-consent-modal__footer .wpgdprc-button:not(.has-background){align-items:center;background-color:#3c7c96;background-color:var(--wp-gdpr--button--background-color);border:1px solid #3c7c96;border-radius:3px;box-shadow:0 2px 4px 0 rgba(0,0,0,.2);color:#fff;color:var(--wp-gdpr--button--color);cursor:pointer;display:inline-flex;font-size:1rem;font-weight:700;justify-content:center;line-height:1.125;padding:.8125rem 1.125rem;position:relative;text-decoration:none;transition:all .25s cubic-bezier(0,.6,.7,1);width:auto}:root .wpgdprc-consent-modal__footer .wpgdprc-button:not(.has-background).wpgdprc-button--outline:not(:focus),:root .wpgdprc-consent-modal__footer .wpgdprc-button:not(.has-background).wpgdprc-button--outline:not(:hover){background-color:transparent;color:#3c7c96}:root .wpgdprc-consent-modal__footer .wpgdprc-button:not(.has-background).wpgdprc-button--outline:focus,:root .wpgdprc-consent-modal__footer .wpgdprc-button:not(.has-background).wpgdprc-button--outline:hover{background-color:#2d5e72;border-color:#2d5e72;border-width:1px;color:#fff}:root .wpgdprc-consent-modal__footer .wpgdprc-button:not(.has-background):focus,:root .wpgdprc-consent-modal__footer .wpgdprc-button:not(.has-background):hover,:root :root .wpgdprc-consent-modal__footer .wpgdprc-button:not(.has-background).wpgdprc-button--active{background-color:#2d5e72;border-color:#2d5e72;color:#fff}:root .wpgdprc-consent-modal__footer .wpgdprc-button:not(.has-background):focus,:root .wpgdprc-consent-modal__footer .wpgdprc-button:not(.has-background):hover{background-color:var(--wp-gdpr--button--background-color--darken);border-color:var(--wp-gdpr--button--background-color--darken)}.wpgdprc-consent-modal__footer__information{align-items:center;display:flex;flex-grow:1;position:relative}@media only screen and (min-width:768px){.wpgdprc-consent-modal__header{padding:1.5rem 1.5625rem}:root .wpgdprc-consent-modal button.wpgdprc-consent-modal__close{right:.9375rem;top:1.25rem}.wpgdprc-consent-modal__body{display:flex;flex-direction:row}.wpgdprc-consent-modal__information,.wpgdprc-consent-modal__navigation{padding:1.5625rem}.wpgdprc-consent-modal__navigation{border-bottom:0;width:14.1875rem}.wpgdprc-consent-modal__footer{padding:1.5625rem}}abbr.wpgdprc-required+abbr.required{display:none!important}@-webkit-keyframes wpgdprcFadeIn{0%{opacity:0}to{opacity:1}}@keyframes wpgdprcFadeIn{0%{opacity:0}to{opacity:1}}@-webkit-keyframes wpgdprcFadeOut{0%{opacity:1}to{opacity:0}}@keyframes wpgdprcFadeOut{0%{opacity:1}to{opacity:0}}.gform_wrapper .gfield_error label a,.gform_wrapper .gfield_validation_message a,.gform_wrapper .validation_message a{color:inherit}
1
+ .wpgdprc blockquote,.wpgdprc dd,.wpgdprc dl,.wpgdprc fieldset,.wpgdprc figure,.wpgdprc h1,.wpgdprc h2,.wpgdprc h3,.wpgdprc h4,.wpgdprc h5,.wpgdprc h6,.wpgdprc hr,.wpgdprc legend,.wpgdprc ol,.wpgdprc p,.wpgdprc pre,.wpgdprc ul{margin:0;padding:0}.wpgdprc li>ol,.wpgdprc li>ul{margin-bottom:0}.wpgdprc table{border-collapse:collapse;border-spacing:0}.wpgdprc fieldset{border:0;min-width:0}.wpgdprc *,.wpgdprc :after,.wpgdprc :before{box-sizing:inherit}.wpgdprc [type=button],.wpgdprc [type=reset],.wpgdprc [type=submit]{-webkit-appearance:none;-moz-appearance:none;appearance:none;border:0;margin:0}.wpgdprc ::-moz-selection{background:#3c7c96;color:#fff}.wpgdprc ::selection{background:#3c7c96;color:#fff}.wpgdprc a{transition:all .25s cubic-bezier(0,.6,.7,1)}.wpgdprc form{margin-bottom:0}.wpgdprc .no-bullet{list-style:none}.wpgdprc .video-container{height:0;opacity:0;padding-bottom:56.25%;padding-top:25px;position:relative;transition:opacity .25s cubic-bezier(0,.6,.7,1)}.wpgdprc .video-container iframe{height:100%;left:0;position:absolute;top:0;width:100%}.wpgdprc .video-container.active{opacity:1}.wpgdprc img{box-sizing:inherit;display:inline-block;height:auto;max-width:100%;vertical-align:middle}.wpgdprc svg.icon{fill:currentColor;height:1rem;margin:0;vertical-align:sub;width:1rem}.wpgdprc{-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;color:#5a5a5a;font-family:sofia-pro,Helvetica Neue,Helvetica,Roboto,Arial,sans-serif;font-size:1rem}.wpgdprc h1,.wpgdprc h2,.wpgdprc h3,.wpgdprc h4,.wpgdprc h5,.wpgdprc h6{font-family:sofia-pro,Helvetica Neue,Helvetica,Roboto,Arial,sans-serif;margin-bottom:.5rem;margin-top:0}.wpgdprc .h1,.wpgdprc .h2,.wpgdprc .h3,.wpgdprc .h4,.wpgdprc .h5,.wpgdprc .h6,.wpgdprc h1,.wpgdprc h2,.wpgdprc h3,.wpgdprc h4,.wpgdprc h5,.wpgdprc h6{color:#000;font-family:sofia-pro,Helvetica Neue,Helvetica,Roboto,Arial,sans-serif;font-weight:700;line-height:1.2}.wpgdprc .h1,.wpgdprc h1{font-size:3rem}.wpgdprc .h2,.wpgdprc h2{font-size:2rem}.wpgdprc .h3,.wpgdprc h3{font-size:1.5rem}.wpgdprc .h4,.wpgdprc h4{font-size:1.375rem}.wpgdprc .h5,.wpgdprc h5{font-size:1.25rem}.wpgdprc .h6,.wpgdprc h6{font-size:1.125rem}.wpgdprc p{font-size:1rem;line-height:1.625}.wpgdprc p:last-child{margin-bottom:0}.wpgdprc ol,.wpgdprc ul{margin:0 0 1rem 1rem}.wpgdprc blockquote p:before{content:"“"}.wpgdprc blockquote p:after{content:"”"}.wpgdprc blockquote cite{color:#5a5a5a}.wpgdprc .screen-reader-text{clip:rect(0,0,0,0)!important;border:0!important;height:1px!important;overflow:hidden!important;padding:0!important;position:absolute!important;white-space:nowrap!important;width:1px!important}.button.wpgdprc-button,.wpgdprc-button{align-items:center;background-color:#3c7c96;border:1px solid #3c7c96;border-radius:3px;box-shadow:0 2px 4px 0 rgba(0,0,0,.2);color:#fff;cursor:pointer;display:inline-flex;font-size:1rem;font-weight:700;justify-content:center;line-height:1.125;padding:.8125rem 1.125rem;position:relative;text-decoration:none;transition:all .25s cubic-bezier(0,.6,.7,1);width:auto}.button.wpgdprc-button.wpgdprc-button--outline:not(:focus),.button.wpgdprc-button.wpgdprc-button--outline:not(:hover),.wpgdprc-button.wpgdprc-button--outline:not(:focus),.wpgdprc-button.wpgdprc-button--outline:not(:hover){background-color:transparent;color:#3c7c96}.button.wpgdprc-button.wpgdprc-button--outline:focus,.button.wpgdprc-button.wpgdprc-button--outline:hover,.wpgdprc-button.wpgdprc-button--outline:focus,.wpgdprc-button.wpgdprc-button--outline:hover{background-color:#2d5e72;border-color:#2d5e72;border-width:1px;color:#fff}.button.wpgdprc-button:focus,.button.wpgdprc-button:hover,.wpgdprc-button:focus,.wpgdprc-button:hover,:root .button.wpgdprc-button.wpgdprc-button--active,:root .wpgdprc-button.wpgdprc-button--active{background-color:#2d5e72;border-color:#2d5e72;color:#fff}.wpgdprc-button.wpgdprc-button--alert{align-items:center;background-color:#d03343;border:1px solid #d03343;border-radius:3px;box-shadow:0 2px 4px 0 rgba(0,0,0,.2);color:#fff;cursor:pointer;display:inline-flex;font-size:1rem;font-weight:700;justify-content:center;line-height:1.125;padding:.8125rem 1.125rem;position:relative;text-decoration:none;transition:all .25s cubic-bezier(0,.6,.7,1);width:auto}.wpgdprc-button.wpgdprc-button--alert.wpgdprc-button--outline:not(:focus),.wpgdprc-button.wpgdprc-button--alert.wpgdprc-button--outline:not(:hover){background-color:transparent;color:#d03343}.wpgdprc-button.wpgdprc-button--alert.wpgdprc-button--outline:focus,.wpgdprc-button.wpgdprc-button--alert.wpgdprc-button--outline:hover{background-color:#a92734;border-color:#a92734;border-width:1px;color:#fff}.wpgdprc-button.wpgdprc-button--alert:focus,.wpgdprc-button.wpgdprc-button--alert:hover,:root .wpgdprc-button.wpgdprc-button--alert.wpgdprc-button--active{background-color:#a92734;border-color:#a92734;color:#fff}.wpgdprc-button.wpgdprc-button--white{align-items:center;background-color:#fff;border:1px solid #fff;border-radius:3px;box-shadow:0 2px 4px 0 rgba(0,0,0,.2);color:#5a5a5a;cursor:pointer;display:inline-flex;font-size:1rem;font-weight:700;justify-content:center;line-height:1.125;padding:.8125rem 1.125rem;position:relative;text-decoration:none;transition:all .25s cubic-bezier(0,.6,.7,1);width:auto}.wpgdprc-button.wpgdprc-button--white.wpgdprc-button--outline:not(:focus),.wpgdprc-button.wpgdprc-button--white.wpgdprc-button--outline:not(:hover){background-color:transparent;color:#fff}.wpgdprc-button.wpgdprc-button--white.wpgdprc-button--outline:focus,.wpgdprc-button.wpgdprc-button--white.wpgdprc-button--outline:hover{background-color:#3c7c96;border-color:#3c7c96;border-width:1px;color:#fff}.wpgdprc-button.wpgdprc-button--white:focus,.wpgdprc-button.wpgdprc-button--white:hover,:root .wpgdprc-button.wpgdprc-button--white.wpgdprc-button--active{background-color:#3c7c96;border-color:#3c7c96;color:#fff}.wpgdprc-button.wpgdprc-button--white-primary{align-items:center;background-color:#fff;border:1px solid #fff;border-radius:3px;box-shadow:0 2px 4px 0 rgba(0,0,0,.2);color:#3c7c96;cursor:pointer;display:inline-flex;font-size:1rem;font-weight:700;justify-content:center;line-height:1.125;padding:.8125rem 1.125rem;position:relative;text-decoration:none;transition:all .25s cubic-bezier(0,.6,.7,1);width:auto}.wpgdprc-button.wpgdprc-button--white-primary.wpgdprc-button--outline:not(:focus),.wpgdprc-button.wpgdprc-button--white-primary.wpgdprc-button--outline:not(:hover){background-color:transparent;color:#fff}.wpgdprc-button.wpgdprc-button--white-primary.wpgdprc-button--outline:focus,.wpgdprc-button.wpgdprc-button--white-primary.wpgdprc-button--outline:hover{background-color:#3c7c96;border-color:#3c7c96;border-width:1px;color:#fff}.wpgdprc-button.wpgdprc-button--white-primary:focus,.wpgdprc-button.wpgdprc-button--white-primary:hover,:root .wpgdprc-button.wpgdprc-button--white-primary.wpgdprc-button--active{background-color:#3c7c96;border-color:#3c7c96;color:#fff}.wpgdprc-button.wpgdprc-button--white-alert{align-items:center;background-color:#fff;border:1px solid #fff;border-radius:3px;box-shadow:0 2px 4px 0 rgba(0,0,0,.2);color:#d03343;cursor:pointer;display:inline-flex;font-size:1rem;font-weight:700;justify-content:center;line-height:1.125;padding:.8125rem 1.125rem;position:relative;text-decoration:none;transition:all .25s cubic-bezier(0,.6,.7,1);width:auto}.wpgdprc-button.wpgdprc-button--white-alert.wpgdprc-button--outline:not(:focus),.wpgdprc-button.wpgdprc-button--white-alert.wpgdprc-button--outline:not(:hover){background-color:transparent;color:#fff}.wpgdprc-button.wpgdprc-button--white-alert.wpgdprc-button--outline:focus,.wpgdprc-button.wpgdprc-button--white-alert.wpgdprc-button--outline:hover{background-color:#d03343;border-color:#d03343;border-width:1px;color:#fff}.wpgdprc-button.wpgdprc-button--white-alert:focus,.wpgdprc-button.wpgdprc-button--white-alert:hover,:root .wpgdprc-button.wpgdprc-button--white-alert.wpgdprc-button--active{background-color:#d03343;border-color:#d03343;color:#fff}.wpgdprc-button.wpgdprc-button--transparent{align-items:center;background-color:transparent;border:1px solid transparent;border-radius:3px;box-shadow:0 2px 4px 0 rgba(0,0,0,.2);box-shadow:none;color:#5a5a5a;cursor:pointer;display:inline-flex;font-size:1rem;font-weight:700;justify-content:center;line-height:1.125;padding:.8125rem 1.125rem;position:relative;text-decoration:none;transition:all .25s cubic-bezier(0,.6,.7,1);width:auto}.wpgdprc-button.wpgdprc-button--transparent.wpgdprc-button--outline:not(:focus),.wpgdprc-button.wpgdprc-button--transparent.wpgdprc-button--outline:not(:hover){background-color:transparent;color:transparent}.wpgdprc-button.wpgdprc-button--transparent.wpgdprc-button--outline:focus,.wpgdprc-button.wpgdprc-button--transparent.wpgdprc-button--outline:hover{background-color:transparent;border-color:transparent;border-width:1px;color:#3c7c96}.wpgdprc-button.wpgdprc-button--transparent:focus,.wpgdprc-button.wpgdprc-button--transparent:hover,:root .wpgdprc-button.wpgdprc-button--transparent.wpgdprc-button--active{background-color:transparent;border-color:transparent;color:#3c7c96}.wpgdprc-button[disabled]{align-items:center;background-color:#f8f8f9;border:1px solid #f8f8f9;border-radius:3px;box-shadow:0 2px 4px 0 rgba(0,0,0,.2);color:#afafaf;cursor:pointer;cursor:not-allowed;display:inline-flex;font-size:1rem;font-weight:700;justify-content:center;line-height:1.125;padding:.8125rem 1.125rem;position:relative;text-decoration:none;transition:all .25s cubic-bezier(0,.6,.7,1);width:auto}.wpgdprc-button[disabled].wpgdprc-button--outline:not(:focus),.wpgdprc-button[disabled].wpgdprc-button--outline:not(:hover){background-color:transparent;color:#f8f8f9}.wpgdprc-button[disabled].wpgdprc-button--outline:focus,.wpgdprc-button[disabled].wpgdprc-button--outline:hover{background-color:#f8f8f9;border-color:#f8f8f9;border-width:1px;color:#afafaf}.wpgdprc-button[disabled]:focus,.wpgdprc-button[disabled]:hover,:root .wpgdprc-button[disabled].wpgdprc-button--active{background-color:#f8f8f9;border-color:#f8f8f9;color:#afafaf}:root .wpgdprc-button.wpgdprc-button--small{font-family:sofia-pro,Helvetica Neue,Helvetica,Roboto,Arial,sans-serif;font-size:.875rem;font-weight:700;line-height:1.1428571429;min-width:4.3125rem;padding:.5rem .875rem .3125rem}:root .wpgdprc-button.wpgdprc-button--small.wpgdprc-button--transparent{box-shadow:none}.wpgdprc-button--transparent.wpgdprc-button--delete{color:#888}.wpgdprc-button--transparent.wpgdprc-button--delete:focus,.wpgdprc-button--transparent.wpgdprc-button--delete:hover{color:#3c7c96}.wpgdprc-button.wpgdprc-button--transparent.wpgdprc-button--white{color:#fff}.wpgdprc-button.wpgdprc-button--transparent.wpgdprc-button--white:focus,.wpgdprc-button.wpgdprc-button--transparent.wpgdprc-button--white:hover{color:hsla(0,0%,100%,.6)}:root .wpgdprc-button.wpgdprc-button--icon{min-width:0;padding:.5rem 1.125rem .3125rem 2.25rem}:root .wpgdprc-button.wpgdprc-button--icon .icon--wrap{font-size:.875rem;left:.75rem;position:absolute;top:50%;transform:translateY(-50%)}:root .wpgdprc-button.wpgdprc-button--icon .icon--wrap svg.icon{margin:0}.wpgdprc-button.wpgdprc-button--border{border-color:#d6d6d6}.wpgdprc-button.is-hidden{display:none}.wpgdprc .wpgdprc-form{margin-bottom:1rem}.wpgdprc .wpgdprc-form:last-child{margin-bottom:0}.wpgdprc .wpgdprc-form__label,.wpgdprc .wpgdprc-form__legend{color:#000;display:block;font-weight:700;margin-bottom:1rem}.wpgdprc .wpgdprc-form__fields{list-style:none;margin-bottom:0;margin-left:0}.wpgdprc-form__field{margin-bottom:1.4375rem}.wpgdprc-form__field:last-child{margin-bottom:0}.wpgdprc-form__field--switch .wpgdprc-switch{margin-bottom:0;min-height:2.8125rem}.wpgdprc-form__field--switch-no-text .wpgdprc-switch__text{margin:0}.wpgdprc .wpgdprc-form__description{color:#888;font-size:.875rem;margin-top:.75rem}.wpgdprc .wpgdprc-form__field--checkbox,.wpgdprc .wpgdprc-form__field--radio{align-items:center;display:flex;margin-bottom:0}.wpgdprc .wpgdprc-form__field--checkbox input,.wpgdprc .wpgdprc-form__field--radio input{aspect-ratio:1/1}.wpgdprc .wpgdprc-form__field--checkbox .wpgdprc-form__input,.wpgdprc .wpgdprc-form__field--radio .wpgdprc-form__input{align-self:flex-start;flex-shrink:0;margin-right:.5rem;width:auto}.wpgdprc .wpgdprc-form__field--checkbox .wpgdprc-form__label,.wpgdprc .wpgdprc-form__field--radio .wpgdprc-form__label{margin-bottom:0;margin-left:0;padding-left:0}.wpgdprc-form__input{width:100%}.wpgdprc .wpgdprc-form__input--textarea{line-height:1.8571428571;min-height:12.1875rem}.wpgdprc .wpgdprc-form__input--submit{width:auto}.wpgdprc-form__field--submit,.wpgdprc-form__field--submit p,.wpgdprc-form__submit{text-align:right}.wpgdprc-form__footer{margin-top:1.4375rem}.wpgdprc .wpgdprc-status--processing,.wpgdprc .wpgdprc-status--removed{pointer-events:none}.wpgdprc .wpgdprc-status--removed{opacity:.5;text-decoration:line-through}.wpgdprc-checkbox{display:flex}.comment-form .wpgdprc-checkbox label{font-size:var(--global--font-size-xs);font-weight:400}.wpgdprc-switch{align-items:center;display:inline-flex}:root .wpgdprc-switch .wpgdprc-form__label{margin-bottom:0}.wpgdprc-switch.regular-text{width:auto}.wpgdprc-switch__text{font-size:.875rem;font-weight:700;margin-right:.9375rem}.wpgdprc-switch__switch{display:inline-block;height:2.25rem;position:relative;width:5.125rem}.wpgdprc-switch__input{height:0;opacity:0;width:0}.wpgdprc-switch__input:focus+.wpgdprc-switch__slider{box-shadow:0 0 8px 0 #3c7c96}.wpgdprc-switch__input:disabled{border:0}.wpgdprc-switch__input:disabled+.wpgdprc-switch__slider:after{opacity:1}.wpgdprc-switch__slider{background-color:#fff;border-radius:6.25rem;bottom:0;box-shadow:0 5px 10px 0 rgba(0,0,0,.1);cursor:pointer;left:0;overflow:hidden;position:absolute;right:0;top:0;transition:.4s}.wpgdprc-switch__slider .icon--wrap{align-items:center;background-color:#888;border-radius:6.25rem;bottom:calc(50% - .875rem);color:#fff;display:flex;height:1.75rem;justify-content:center;left:4px;position:absolute;transition:.4s;width:2.4375rem}.wpgdprc-switch__slider:after{-webkit-animation:barberpole 1s linear infinite;animation:barberpole 1s linear infinite;background-image:repeating-linear-gradient(45deg,hsla(0,0%,100%,.4),hsla(0,0%,100%,.4) .5rem,hsla(0,0%,53%,.4) 0,hsla(0,0%,53%,.4) 1rem);background-size:200% 200%;content:" ";height:100%;left:0;opacity:0;position:absolute;top:0;transition:opacity .25s cubic-bezier(0,.6,.7,1);width:100%}.wpgdprc-switch__input:checked+.wpgdprc-switch__slider .icon--wrap{background-color:#176f3e}.wpgdprc-switch__input:checked+.wpgdprc-switch__slider .icon--wrap[data-icon=times]{opacity:0}.wpgdprc-switch__input:checked+.wpgdprc-switch__slider .icon--wrap{transform:translateX(35px)}.wpgdprc-switch--border .wpgdprc-switch__slider{border:1px solid #d8d8d8}.wpgdprc-switch--column{align-items:flex-start;flex-direction:column}.wpgdprc-switch--column .wpgdprc-switch__text{color:#000;font-size:1.125rem;margin-bottom:.625rem;margin-right:0}.wpgdprc-switch--no-margin-right .wpgdprc-switch__text{margin-right:0}.wpgdprc-message{display:flex;margin-bottom:1rem;position:relative}.wpgdprc-message:last-child{margin-bottom:0}.wpgdprc-message.fade-out{-webkit-animation-duration:.25s;animation-duration:.25s;-webkit-animation-fill-mode:forwards;animation-fill-mode:forwards;-webkit-animation-name:fade-out;animation-name:fade-out;-webkit-animation-timing-function:cubic-bezier(0,.6,.7,1);animation-timing-function:cubic-bezier(0,.6,.7,1)}.wpgdprc-message__icon{align-self:flex-start;margin-top:unset;order:0}.wpgdprc-message__icon svg{width:1.5rem}.wpgdprc-message__content{order:1}.wpgdprc-message.is-hidden{display:none}.wpgdprc-table{margin-bottom:1rem;width:100%}.wpgdprc-table:last-child{margin-bottom:0}.wpgdprc-table__th{font-weight:700}.wpgdprc-table__td:before{content:attr(data-title);display:none;font-weight:700;left:.625rem;overflow:hidden;padding-right:.625rem;position:absolute;top:.625rem;white-space:nowrap;width:45%}@media print,screen and (max-width:39.99875em){.wpgdprc-table,.wpgdprc-table__tbody,.wpgdprc-table__td,.wpgdprc-table__th,.wpgdprc-table__thead,.wpgdprc-table__tr{display:block}.wpgdprc-table__tr--thead{left:-9999px;position:absolute;top:-9999px}.wpgdprc-table__tr--tbody:nth-of-type(2n){background-color:#f8f8f9}.wpgdprc-table__td{border-left:0;border-right:0;border-top:0;min-height:2.5rem;padding-left:50%;position:relative}.wpgdprc-table__td:before{display:block}}@media print,screen and (min-width:40em){.wpgdprc-table{border-collapse:collapse}.wpgdprc-table .wpgdprc-table__td,.wpgdprc-table .wpgdprc-table__th{padding:.375rem;text-align:left}}.wpgdprc-consent-bar{bottom:0;font-family:inherit;font-family:var(--wp-gdpr--bar--font-family,inherit);left:0;margin:.9375rem;position:fixed;right:0;z-index:99999}.wpgdprc-consent-bar__inner{-webkit-animation:wpgdprcFadeIn .3s cubic-bezier(0,0,.2,1);animation:wpgdprcFadeIn .3s cubic-bezier(0,0,.2,1);background-color:var(--wp-gdpr--bar--background-color);border-radius:5px;box-shadow:0 2px 4px 0 rgba(0,0,0,.2);margin:0 auto;max-width:75rem;padding:1.25rem .625rem;text-align:center;z-index:999}.wpgdprc-consent-bar__inner,.wpgdprc-consent-bar__inner a{color:var(--wp-gdpr--bar--color)}.wpgdprc-consent-bar__container{display:flex;flex-wrap:wrap;position:relative}.wpgdprc-consent-bar__column{padding:0 10px}.wpgdprc-consent-bar__column:first-child{flex-grow:1}.wpgdprc-consent-bar__content{align-items:center;display:flex;flex-wrap:wrap;text-align:left;width:100%}.wpgdprc-consent-bar__column--notice{flex-grow:1;margin-bottom:.5rem}@media print,screen and (max-width:63.99875em){.wpgdprc-consent-bar__column--accept,.wpgdprc-consent-bar__column--settings{flex-grow:1}.wpgdprc-consent-bar__column--accept .wpgdprc-button,.wpgdprc-consent-bar__column--settings .wpgdprc-button{width:100%}}.wpgdprc-consent-bar__notice{font-size:1rem}.wpgdprc-consent-bar__notice p{margin-bottom:0}:root .wpgdprc-consent-bar button.wpgdprc-button--accept{align-items:center;background-color:var(--wp-gdpr--button--background-color);border-color:var(--wp-gdpr--button--background-color);border-radius:3px;box-shadow:0 2px 4px 0 rgba(0,0,0,.2);color:var(--wp-gdpr--button--color);cursor:pointer;display:inline-flex;font-size:1rem;font-weight:700;justify-content:center;line-height:1.1666666667;padding:.8125rem 1.125rem;position:relative;text-decoration:none;transition:all .25s cubic-bezier(0,.6,.7,1)}:root .wpgdprc-consent-bar button.wpgdprc-button--accept:focus,:root .wpgdprc-consent-bar button.wpgdprc-button--accept:hover{background-color:var(--wp-gdpr--button--background-color--darken);border-color:var(--wp-gdpr--button--background-color--darken)}:root .wpgdprc-consent-bar button.wpgdprc-button--settings{background-color:transparent;border-color:transparent;box-shadow:none;color:var(--wp-gdpr--bar--color)}:root .wpgdprc-consent-bar button.wpgdprc-button--settings:focus,:root .wpgdprc-consent-bar button.wpgdprc-button--settings:hover{background-color:transparent;border-color:transparent;box-shadow:none;opacity:.75}@media print,screen and (min-width:40em){.wpgdprc-consent-bar__column--notice{flex-grow:0;margin-bottom:0}.wpgdprc-consent-bar__column--settings{margin-left:0}.wpgdprc-consent-bar__content{flex-wrap:nowrap}}.wpgdprc-consent-bar--position-top{bottom:auto;top:0}@media screen and (min-width:48.9375em){.admin-bar .wpgdprc-consent-bar--position-top{top:2rem}}.admin-bar .wpgdprc-consent-bar--position-top{top:2.875rem}.wpgdprc-consent-bar--admin{margin:0;position:relative}.wpgdprc-consent-bar--admin .wpgdprc-consent-bar__notice{max-width:100%}.wpgdprc-consent-modal{display:none}.wpgdprc-consent-modal.is-open{display:block!important}.wpgdprc-consent-modal[aria-hidden=false] .wpgdprc-consent-modal__overlay{-webkit-animation:wpgdprcFadeIn .3s cubic-bezier(0,0,.2,1);animation:wpgdprcFadeIn .3s cubic-bezier(0,0,.2,1)}.wpgdprc-consent-modal[aria-hidden=true] .wpgdprc-consent-modal__overlay{-webkit-animation:wpgdprcFadeOut .3s cubic-bezier(0,0,.2,1);animation:wpgdprcFadeOut .3s cubic-bezier(0,0,.2,1)}.wpgdprc-consent-modal{font-family:inherit;font-family:var(--wp-gdpr--bar--font-family,inherit)}.wpgdprc-consent-modal__overlay{align-items:center;background:#000;background:rgba(0,0,0,.6);bottom:0;display:flex;justify-content:center;left:0;position:fixed;right:0;top:0;will-change:transform;z-index:999999}.wpgdprc-consent-modal__inner{background:#fff;border-radius:5px;box-shadow:0 10px 15px 0 rgba(0,0,0,.2);display:flex;flex-direction:column;height:80%;height:80vh;max-width:800px;overflow-y:auto;position:relative;width:90%;width:90vw}.wpgdprc-consent-modal__header{border-bottom:1px solid #ededed;padding:.9375rem}:root .wpgdprc-consent-modal__title{color:#000;font-size:1.25rem;font-weight:700;letter-spacing:0;margin-bottom:0}:root .wpgdprc-consent-modal__title--description{font-size:1.5rem;margin-bottom:.625rem}:root .wpgdprc-consent-modal button.wpgdprc-consent-modal__close{align-items:center;background-color:transparent;border:0;border-radius:3px;color:#5a5a5a;display:flex;height:40px;justify-content:center;margin:0;padding:0;position:absolute;right:.625rem;top:.75rem;transition:all .25s cubic-bezier(0,.6,.7,1);width:40px}:root .wpgdprc-consent-modal button.wpgdprc-consent-modal__close:focus,:root .wpgdprc-consent-modal button.wpgdprc-consent-modal__close:hover{background-color:#3c7c96;box-shadow:0 2px 4px 0 rgba(0,0,0,.2);color:#fff}:root .wpgdprc-consent-modal button.wpgdprc-consent-modal__close svg{pointer-events:none;width:.875rem}:root .wpgdprc-consent-modal button.wpgdprc-consent-modal__close svg path{fill:currentColor}.wpgdprc-consent-modal__body{border-bottom:1px solid #ededed;flex-grow:1}.wpgdprc-consent-modal__description{color:#8a8a8a;display:none;flex-direction:column;height:100%}.wpgdprc-consent-modal__description--active{display:block}.wpgdprc-consent-modal__information,.wpgdprc-consent-modal__navigation{padding:.9375rem;position:relative}.wpgdprc-consent-modal__information{flex-grow:1}.wpgdprc-consent-modal__navigation{border-bottom:1px solid #ededed;flex-shrink:0}.wpgdprc-consent-modal__navigation>a{display:block;margin-top:10px}.wpgdprc-consent-modal__navigation>a:first-child{margin-top:0}:root .wpgdprc-consent-modal__navigation-list{list-style:none;margin:0}:root .wpgdprc button.wpgdprc-consent-modal__navigation-button{background-color:transparent;border:0;color:#878787;font-size:1rem;letter-spacing:0;line-height:2.25;outline:none;padding:0;text-align:left}:root .wpgdprc button.wpgdprc-consent-modal__navigation-button:focus,:root .wpgdprc button.wpgdprc-consent-modal__navigation-button:hover{color:#3c7c96}:root .wpgdprc button.wpgdprc-consent-modal__navigation-button--active{color:#3c7c96;font-weight:700}:root .wpgdprc-content-modal__content{color:#5a5a5a;font-size:1rem;letter-spacing:0;line-height:1.625}:root .wpgdprc-content-modal__content>*{margin-bottom:1.625rem}:root .wpgdprc-content-modal__content>:last-child{margin-bottom:0}.wpgdprc-content-modal__options{margin-top:auto}.wpgdprc-content-modal__options>*{margin-top:1.625rem}.wpgdprc-consent-modal__footer{display:flex;justify-content:flex-end;padding:.9375rem}:root .wpgdprc-consent-modal__footer .wpgdprc-button:not(.has-background){align-items:center;background-color:#3c7c96;border:1px solid #3c7c96;border-radius:3px;box-shadow:0 2px 4px 0 rgba(0,0,0,.2);color:#fff;cursor:pointer;display:inline-flex;font-size:1rem;font-weight:700;justify-content:center;line-height:1.125;padding:.8125rem 1.125rem;position:relative;text-decoration:none;transition:all .25s cubic-bezier(0,.6,.7,1);width:auto}:root .wpgdprc-consent-modal__footer .wpgdprc-button:not(.has-background).wpgdprc-button--outline:not(:focus),:root .wpgdprc-consent-modal__footer .wpgdprc-button:not(.has-background).wpgdprc-button--outline:not(:hover){background-color:transparent;color:#3c7c96}:root .wpgdprc-consent-modal__footer .wpgdprc-button:not(.has-background).wpgdprc-button--outline:focus,:root .wpgdprc-consent-modal__footer .wpgdprc-button:not(.has-background).wpgdprc-button--outline:hover{background-color:#2d5e72;border-color:#2d5e72;border-width:1px;color:#fff}:root .wpgdprc-consent-modal__footer .wpgdprc-button:not(.has-background):focus,:root .wpgdprc-consent-modal__footer .wpgdprc-button:not(.has-background):hover,:root :root .wpgdprc-consent-modal__footer .wpgdprc-button:not(.has-background).wpgdprc-button--active{background-color:#2d5e72;border-color:#2d5e72;color:#fff}:root .wpgdprc-consent-modal__footer .wpgdprc-button:not(.has-background):focus,:root .wpgdprc-consent-modal__footer .wpgdprc-button:not(.has-background):hover{background-color:#264f5f}.wpgdprc-consent-modal__footer__information{align-items:center;display:flex;flex-grow:1;position:relative}@media only screen and (min-width:768px){.wpgdprc-consent-modal__header{padding:1.5rem 1.5625rem}:root .wpgdprc-consent-modal button.wpgdprc-consent-modal__close{right:.9375rem;top:1.25rem}.wpgdprc-consent-modal__body{display:flex;flex-direction:row}.wpgdprc-consent-modal__information,.wpgdprc-consent-modal__navigation{padding:1.5625rem}.wpgdprc-consent-modal__navigation{border-bottom:0;width:14.1875rem}.wpgdprc-consent-modal__footer{padding:1.5625rem}}abbr.wpgdprc-required+abbr.required{display:none!important}@-webkit-keyframes wpgdprcFadeIn{0%{opacity:0}to{opacity:1}}@keyframes wpgdprcFadeIn{0%{opacity:0}to{opacity:1}}@-webkit-keyframes wpgdprcFadeOut{0%{opacity:1}to{opacity:0}}@keyframes wpgdprcFadeOut{0%{opacity:1}to{opacity:0}}.gform_wrapper .gfield_error label a,.gform_wrapper .gfield_validation_message a,.gform_wrapper .validation_message a{color:inherit}
Assets/fonts/sofia/SofiaPro-Bold.woff DELETED
Binary file
Assets/fonts/sofia/SofiaPro-Bold.woff2 DELETED
Binary file
Assets/fonts/sofia/SofiaPro-Italic.woff DELETED
Binary file
Assets/fonts/sofia/SofiaPro-Italic.woff2 DELETED
Binary file
Assets/fonts/sofia/SofiaPro-Medium.woff DELETED
Binary file
Assets/fonts/sofia/SofiaPro-Medium.woff2 DELETED
Binary file
Assets/fonts/sofia/SofiaPro-SemiBold.woff DELETED
Binary file
Assets/fonts/sofia/SofiaPro-SemiBold.woff2 DELETED
Binary file
Assets/fonts/sofia/SofiaPro-SemiBoldItalic.woff DELETED
Binary file
Assets/fonts/sofia/SofiaPro-SemiBoldItalic.woff2 DELETED
Binary file
Assets/fonts/sofia/SofiaPro.woff DELETED
Binary file
Assets/fonts/sofia/SofiaPro.woff2 DELETED
Binary file
Assets/js/3cbf25ef3767781940dd.woff2 DELETED
Binary file
Assets/js/3cec1bfdf33a0b885326.woff2 DELETED
Binary file
Assets/js/47e519bbb1090dc52281.woff DELETED
Binary file
Assets/js/571be978f6b15960b558.woff DELETED
Binary file
Assets/js/5b28134ae0ee853f746f.woff2 DELETED
Binary file
Assets/js/625ee787e7045ad177b7.woff2 DELETED
Binary file
Assets/js/78d58e986700c1dd56be.woff DELETED
Binary file
Assets/js/87da46dd351109a94325.woff2 DELETED
Binary file
Assets/js/8cb1b48d7970d0a6b7fe.woff DELETED
Binary file
Assets/js/8ce052d4ec66553cb99e.woff DELETED
Binary file
Assets/js/931fc9f134eaac2662d9.woff DELETED
Binary file
Assets/js/admin.min.js CHANGED
@@ -1 +1 @@
1
- (()=>{var e={631:function(e){e.exports=function(){"use strict";var e=navigator.userAgent,t=navigator.platform,n=/gecko\/\d/i.test(e),r=/MSIE \d/.test(e),i=/Trident\/(?:[7-9]|\d{2,})\..*rv:(\d+)/.exec(e),o=/Edge\/(\d+)/.exec(e),a=r||i||o,s=a&&(r?document.documentMode||6:+(o||i)[1]),l=!o&&/WebKit\//.test(e),c=l&&/Qt\/\d+\.\d+/.test(e),u=!o&&/Chrome\//.test(e),h=/Opera\//.test(e),d=/Apple Computer/.test(navigator.vendor),f=/Mac OS X 1\d\D([8-9]|\d\d)\D/.test(e),p=/PhantomJS/.test(e),g=d&&(/Mobile\/\w+/.test(e)||navigator.maxTouchPoints>2),v=/Android/.test(e),m=g||v||/webOS|BlackBerry|Opera Mini|Opera Mobi|IEMobile/i.test(e),y=g||/Mac/.test(t),b=/\bCrOS\b/.test(e),w=/win/i.test(t),x=h&&e.match(/Version\/(\d*\.\d*)/);x&&(x=Number(x[1])),x&&x>=15&&(h=!1,l=!0);var C=y&&(c||h&&(null==x||x<12.11)),k=n||a&&s>=9;function S(e){return new RegExp("(^|\\s)"+e+"(?:$|\\s)\\s*")}var L,T=function(e,t){var n=e.className,r=S(t).exec(n);if(r){var i=n.slice(r.index+r[0].length);e.className=n.slice(0,r.index)+(i?r[1]+i:"")}};function A(e){for(var t=e.childNodes.length;t>0;--t)e.removeChild(e.firstChild);return e}function O(e,t){return A(e).appendChild(t)}function M(e,t,n,r){var i=document.createElement(e);if(n&&(i.className=n),r&&(i.style.cssText=r),"string"==typeof t)i.appendChild(document.createTextNode(t));else if(t)for(var o=0;o<t.length;++o)i.appendChild(t[o]);return i}function N(e,t,n,r){var i=M(e,t,n,r);return i.setAttribute("role","presentation"),i}function E(e,t){if(3==t.nodeType&&(t=t.parentNode),e.contains)return e.contains(t);do{if(11==t.nodeType&&(t=t.host),t==e)return!0}while(t=t.parentNode)}function P(){var e;try{e=document.activeElement}catch(t){e=document.body||null}for(;e&&e.shadowRoot&&e.shadowRoot.activeElement;)e=e.shadowRoot.activeElement;return e}function F(e,t){var n=e.className;S(t).test(n)||(e.className+=(n?" ":"")+t)}function D(e,t){for(var n=e.split(" "),r=0;r<n.length;r++)n[r]&&!S(n[r]).test(t)&&(t+=" "+n[r]);return t}L=document.createRange?function(e,t,n,r){var i=document.createRange();return i.setEnd(r||e,n),i.setStart(e,t),i}:function(e,t,n){var r=document.body.createTextRange();try{r.moveToElementText(e.parentNode)}catch(e){return r}return r.collapse(!0),r.moveEnd("character",n),r.moveStart("character",t),r};var j=function(e){e.select()};function B(e){var t=Array.prototype.slice.call(arguments,1);return function(){return e.apply(null,t)}}function I(e,t,n){for(var r in t||(t={}),e)!e.hasOwnProperty(r)||!1===n&&t.hasOwnProperty(r)||(t[r]=e[r]);return t}function W(e,t,n,r,i){null==t&&-1==(t=e.search(/[^\s\u00a0]/))&&(t=e.length);for(var o=r||0,a=i||0;;){var s=e.indexOf("\t",o);if(s<0||s>=t)return a+(t-o);a+=s-o,a+=n-a%n,o=s+1}}g?j=function(e){e.selectionStart=0,e.selectionEnd=e.value.length}:a&&(j=function(e){try{e.select()}catch(e){}});var H=function(){this.id=null,this.f=null,this.time=0,this.handler=B(this.onTimeout,this)};function R(e,t){for(var n=0;n<e.length;++n)if(e[n]==t)return n;return-1}H.prototype.onTimeout=function(e){e.id=0,e.time<=+new Date?e.f():setTimeout(e.handler,e.time-+new Date)},H.prototype.set=function(e,t){this.f=t;var n=+new Date+e;(!this.id||n<this.time)&&(clearTimeout(this.id),this.id=setTimeout(this.handler,e),this.time=n)};var _=50,z={toString:function(){return"CodeMirror.Pass"}},q={scroll:!1},U={origin:"*mouse"},G={origin:"+move"};function K(e,t,n){for(var r=0,i=0;;){var o=e.indexOf("\t",r);-1==o&&(o=e.length);var a=o-r;if(o==e.length||i+a>=t)return r+Math.min(a,t-i);if(i+=o-r,r=o+1,(i+=n-i%n)>=t)return r}}var V=[""];function $(e){for(;V.length<=e;)V.push(X(V)+" ");return V[e]}function X(e){return e[e.length-1]}function Y(e,t){for(var n=[],r=0;r<e.length;r++)n[r]=t(e[r],r);return n}function Z(e,t,n){for(var r=0,i=n(t);r<e.length&&n(e[r])<=i;)r++;e.splice(r,0,t)}function Q(){}function J(e,t){var n;return Object.create?n=Object.create(e):(Q.prototype=e,n=new Q),t&&I(t,n),n}var ee=/[\u00df\u0587\u0590-\u05f4\u0600-\u06ff\u3040-\u309f\u30a0-\u30ff\u3400-\u4db5\u4e00-\u9fcc\uac00-\ud7af]/;function te(e){return/\w/.test(e)||e>"€"&&(e.toUpperCase()!=e.toLowerCase()||ee.test(e))}function ne(e,t){return t?!!(t.source.indexOf("\\w")>-1&&te(e))||t.test(e):te(e)}function re(e){for(var t in e)if(e.hasOwnProperty(t)&&e[t])return!1;return!0}var ie=/[\u0300-\u036f\u0483-\u0489\u0591-\u05bd\u05bf\u05c1\u05c2\u05c4\u05c5\u05c7\u0610-\u061a\u064b-\u065e\u0670\u06d6-\u06dc\u06de-\u06e4\u06e7\u06e8\u06ea-\u06ed\u0711\u0730-\u074a\u07a6-\u07b0\u07eb-\u07f3\u0816-\u0819\u081b-\u0823\u0825-\u0827\u0829-\u082d\u0900-\u0902\u093c\u0941-\u0948\u094d\u0951-\u0955\u0962\u0963\u0981\u09bc\u09be\u09c1-\u09c4\u09cd\u09d7\u09e2\u09e3\u0a01\u0a02\u0a3c\u0a41\u0a42\u0a47\u0a48\u0a4b-\u0a4d\u0a51\u0a70\u0a71\u0a75\u0a81\u0a82\u0abc\u0ac1-\u0ac5\u0ac7\u0ac8\u0acd\u0ae2\u0ae3\u0b01\u0b3c\u0b3e\u0b3f\u0b41-\u0b44\u0b4d\u0b56\u0b57\u0b62\u0b63\u0b82\u0bbe\u0bc0\u0bcd\u0bd7\u0c3e-\u0c40\u0c46-\u0c48\u0c4a-\u0c4d\u0c55\u0c56\u0c62\u0c63\u0cbc\u0cbf\u0cc2\u0cc6\u0ccc\u0ccd\u0cd5\u0cd6\u0ce2\u0ce3\u0d3e\u0d41-\u0d44\u0d4d\u0d57\u0d62\u0d63\u0dca\u0dcf\u0dd2-\u0dd4\u0dd6\u0ddf\u0e31\u0e34-\u0e3a\u0e47-\u0e4e\u0eb1\u0eb4-\u0eb9\u0ebb\u0ebc\u0ec8-\u0ecd\u0f18\u0f19\u0f35\u0f37\u0f39\u0f71-\u0f7e\u0f80-\u0f84\u0f86\u0f87\u0f90-\u0f97\u0f99-\u0fbc\u0fc6\u102d-\u1030\u1032-\u1037\u1039\u103a\u103d\u103e\u1058\u1059\u105e-\u1060\u1071-\u1074\u1082\u1085\u1086\u108d\u109d\u135f\u1712-\u1714\u1732-\u1734\u1752\u1753\u1772\u1773\u17b7-\u17bd\u17c6\u17c9-\u17d3\u17dd\u180b-\u180d\u18a9\u1920-\u1922\u1927\u1928\u1932\u1939-\u193b\u1a17\u1a18\u1a56\u1a58-\u1a5e\u1a60\u1a62\u1a65-\u1a6c\u1a73-\u1a7c\u1a7f\u1b00-\u1b03\u1b34\u1b36-\u1b3a\u1b3c\u1b42\u1b6b-\u1b73\u1b80\u1b81\u1ba2-\u1ba5\u1ba8\u1ba9\u1c2c-\u1c33\u1c36\u1c37\u1cd0-\u1cd2\u1cd4-\u1ce0\u1ce2-\u1ce8\u1ced\u1dc0-\u1de6\u1dfd-\u1dff\u200c\u200d\u20d0-\u20f0\u2cef-\u2cf1\u2de0-\u2dff\u302a-\u302f\u3099\u309a\ua66f-\ua672\ua67c\ua67d\ua6f0\ua6f1\ua802\ua806\ua80b\ua825\ua826\ua8c4\ua8e0-\ua8f1\ua926-\ua92d\ua947-\ua951\ua980-\ua982\ua9b3\ua9b6-\ua9b9\ua9bc\uaa29-\uaa2e\uaa31\uaa32\uaa35\uaa36\uaa43\uaa4c\uaab0\uaab2-\uaab4\uaab7\uaab8\uaabe\uaabf\uaac1\uabe5\uabe8\uabed\udc00-\udfff\ufb1e\ufe00-\ufe0f\ufe20-\ufe26\uff9e\uff9f]/;function oe(e){return e.charCodeAt(0)>=768&&ie.test(e)}function ae(e,t,n){for(;(n<0?t>0:t<e.length)&&oe(e.charAt(t));)t+=n;return t}function se(e,t,n){for(var r=t>n?-1:1;;){if(t==n)return t;var i=(t+n)/2,o=r<0?Math.ceil(i):Math.floor(i);if(o==t)return e(o)?t:n;e(o)?n=o:t=o+r}}function le(e,t,n,r){if(!e)return r(t,n,"ltr",0);for(var i=!1,o=0;o<e.length;++o){var a=e[o];(a.from<n&&a.to>t||t==n&&a.to==t)&&(r(Math.max(a.from,t),Math.min(a.to,n),1==a.level?"rtl":"ltr",o),i=!0)}i||r(t,n,"ltr")}var ce=null;function ue(e,t,n){var r;ce=null;for(var i=0;i<e.length;++i){var o=e[i];if(o.from<t&&o.to>t)return i;o.to==t&&(o.from!=o.to&&"before"==n?r=i:ce=i),o.from==t&&(o.from!=o.to&&"before"!=n?r=i:ce=i)}return null!=r?r:ce}var he=function(){var e="bbbbbbbbbtstwsbbbbbbbbbbbbbbssstwNN%%%NNNNNN,N,N1111111111NNNNNNNLLLLLLLLLLLLLLLLLLLLLLLLLLNNNNNNLLLLLLLLLLLLLLLLLLLLLLLLLLNNNNbbbbbbsbbbbbbbbbbbbbbbbbbbbbbbbbb,N%%%%NNNNLNNNNN%%11NLNNN1LNNNNNLLLLLLLLLLLLLLLLLLLLLLLNLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLN",t="nnnnnnNNr%%r,rNNmmmmmmmmmmmrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrmmmmmmmmmmmmmmmmmmmmmnnnnnnnnnn%nnrrrmrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrmmmmmmmnNmmmmmmrrmmNmmmmrr1111111111";function n(n){return n<=247?e.charAt(n):1424<=n&&n<=1524?"R":1536<=n&&n<=1785?t.charAt(n-1536):1774<=n&&n<=2220?"r":8192<=n&&n<=8203?"w":8204==n?"b":"L"}var r=/[\u0590-\u05f4\u0600-\u06ff\u0700-\u08ac]/,i=/[stwN]/,o=/[LRr]/,a=/[Lb1n]/,s=/[1n]/;function l(e,t,n){this.level=e,this.from=t,this.to=n}return function(e,t){var c="ltr"==t?"L":"R";if(0==e.length||"ltr"==t&&!r.test(e))return!1;for(var u=e.length,h=[],d=0;d<u;++d)h.push(n(e.charCodeAt(d)));for(var f=0,p=c;f<u;++f){var g=h[f];"m"==g?h[f]=p:p=g}for(var v=0,m=c;v<u;++v){var y=h[v];"1"==y&&"r"==m?h[v]="n":o.test(y)&&(m=y,"r"==y&&(h[v]="R"))}for(var b=1,w=h[0];b<u-1;++b){var x=h[b];"+"==x&&"1"==w&&"1"==h[b+1]?h[b]="1":","!=x||w!=h[b+1]||"1"!=w&&"n"!=w||(h[b]=w),w=x}for(var C=0;C<u;++C){var k=h[C];if(","==k)h[C]="N";else if("%"==k){var S=void 0;for(S=C+1;S<u&&"%"==h[S];++S);for(var L=C&&"!"==h[C-1]||S<u&&"1"==h[S]?"1":"N",T=C;T<S;++T)h[T]=L;C=S-1}}for(var A=0,O=c;A<u;++A){var M=h[A];"L"==O&&"1"==M?h[A]="L":o.test(M)&&(O=M)}for(var N=0;N<u;++N)if(i.test(h[N])){var E=void 0;for(E=N+1;E<u&&i.test(h[E]);++E);for(var P="L"==(N?h[N-1]:c),F=P==("L"==(E<u?h[E]:c))?P?"L":"R":c,D=N;D<E;++D)h[D]=F;N=E-1}for(var j,B=[],I=0;I<u;)if(a.test(h[I])){var W=I;for(++I;I<u&&a.test(h[I]);++I);B.push(new l(0,W,I))}else{var H=I,R=B.length,_="rtl"==t?1:0;for(++I;I<u&&"L"!=h[I];++I);for(var z=H;z<I;)if(s.test(h[z])){H<z&&(B.splice(R,0,new l(1,H,z)),R+=_);var q=z;for(++z;z<I&&s.test(h[z]);++z);B.splice(R,0,new l(2,q,z)),R+=_,H=z}else++z;H<I&&B.splice(R,0,new l(1,H,I))}return"ltr"==t&&(1==B[0].level&&(j=e.match(/^\s+/))&&(B[0].from=j[0].length,B.unshift(new l(0,0,j[0].length))),1==X(B).level&&(j=e.match(/\s+$/))&&(X(B).to-=j[0].length,B.push(new l(0,u-j[0].length,u)))),"rtl"==t?B.reverse():B}}();function de(e,t){var n=e.order;return null==n&&(n=e.order=he(e.text,t)),n}var fe=[],pe=function(e,t,n){if(e.addEventListener)e.addEventListener(t,n,!1);else if(e.attachEvent)e.attachEvent("on"+t,n);else{var r=e._handlers||(e._handlers={});r[t]=(r[t]||fe).concat(n)}};function ge(e,t){return e._handlers&&e._handlers[t]||fe}function ve(e,t,n){if(e.removeEventListener)e.removeEventListener(t,n,!1);else if(e.detachEvent)e.detachEvent("on"+t,n);else{var r=e._handlers,i=r&&r[t];if(i){var o=R(i,n);o>-1&&(r[t]=i.slice(0,o).concat(i.slice(o+1)))}}}function me(e,t){var n=ge(e,t);if(n.length)for(var r=Array.prototype.slice.call(arguments,2),i=0;i<n.length;++i)n[i].apply(null,r)}function ye(e,t,n){return"string"==typeof t&&(t={type:t,preventDefault:function(){this.defaultPrevented=!0}}),me(e,n||t.type,e,t),Se(t)||t.codemirrorIgnore}function be(e){var t=e._handlers&&e._handlers.cursorActivity;if(t)for(var n=e.curOp.cursorActivityHandlers||(e.curOp.cursorActivityHandlers=[]),r=0;r<t.length;++r)-1==R(n,t[r])&&n.push(t[r])}function we(e,t){return ge(e,t).length>0}function xe(e){e.prototype.on=function(e,t){pe(this,e,t)},e.prototype.off=function(e,t){ve(this,e,t)}}function Ce(e){e.preventDefault?e.preventDefault():e.returnValue=!1}function ke(e){e.stopPropagation?e.stopPropagation():e.cancelBubble=!0}function Se(e){return null!=e.defaultPrevented?e.defaultPrevented:0==e.returnValue}function Le(e){Ce(e),ke(e)}function Te(e){return e.target||e.srcElement}function Ae(e){var t=e.which;return null==t&&(1&e.button?t=1:2&e.button?t=3:4&e.button&&(t=2)),y&&e.ctrlKey&&1==t&&(t=3),t}var Oe,Me,Ne=function(){if(a&&s<9)return!1;var e=M("div");return"draggable"in e||"dragDrop"in e}();function Ee(e){if(null==Oe){var t=M("span","​");O(e,M("span",[t,document.createTextNode("x")])),0!=e.firstChild.offsetHeight&&(Oe=t.offsetWidth<=1&&t.offsetHeight>2&&!(a&&s<8))}var n=Oe?M("span","​"):M("span"," ",null,"display: inline-block; width: 1px; margin-right: -1px");return n.setAttribute("cm-text",""),n}function Pe(e){if(null!=Me)return Me;var t=O(e,document.createTextNode("AخA")),n=L(t,0,1).getBoundingClientRect(),r=L(t,1,2).getBoundingClientRect();return A(e),!(!n||n.left==n.right)&&(Me=r.right-n.right<3)}var Fe,De=3!="\n\nb".split(/\n/).length?function(e){for(var t=0,n=[],r=e.length;t<=r;){var i=e.indexOf("\n",t);-1==i&&(i=e.length);var o=e.slice(t,"\r"==e.charAt(i-1)?i-1:i),a=o.indexOf("\r");-1!=a?(n.push(o.slice(0,a)),t+=a+1):(n.push(o),t=i+1)}return n}:function(e){return e.split(/\r\n?|\n/)},je=window.getSelection?function(e){try{return e.selectionStart!=e.selectionEnd}catch(e){return!1}}:function(e){var t;try{t=e.ownerDocument.selection.createRange()}catch(e){}return!(!t||t.parentElement()!=e)&&0!=t.compareEndPoints("StartToEnd",t)},Be="oncopy"in(Fe=M("div"))||(Fe.setAttribute("oncopy","return;"),"function"==typeof Fe.oncopy),Ie=null;function We(e){if(null!=Ie)return Ie;var t=O(e,M("span","x")),n=t.getBoundingClientRect(),r=L(t,0,1).getBoundingClientRect();return Ie=Math.abs(n.left-r.left)>1}var He={},Re={};function _e(e,t){arguments.length>2&&(t.dependencies=Array.prototype.slice.call(arguments,2)),He[e]=t}function ze(e,t){Re[e]=t}function qe(e){if("string"==typeof e&&Re.hasOwnProperty(e))e=Re[e];else if(e&&"string"==typeof e.name&&Re.hasOwnProperty(e.name)){var t=Re[e.name];"string"==typeof t&&(t={name:t}),(e=J(t,e)).name=t.name}else{if("string"==typeof e&&/^[\w\-]+\/[\w\-]+\+xml$/.test(e))return qe("application/xml");if("string"==typeof e&&/^[\w\-]+\/[\w\-]+\+json$/.test(e))return qe("application/json")}return"string"==typeof e?{name:e}:e||{name:"null"}}function Ue(e,t){t=qe(t);var n=He[t.name];if(!n)return Ue(e,"text/plain");var r=n(e,t);if(Ge.hasOwnProperty(t.name)){var i=Ge[t.name];for(var o in i)i.hasOwnProperty(o)&&(r.hasOwnProperty(o)&&(r["_"+o]=r[o]),r[o]=i[o])}if(r.name=t.name,t.helperType&&(r.helperType=t.helperType),t.modeProps)for(var a in t.modeProps)r[a]=t.modeProps[a];return r}var Ge={};function Ke(e,t){I(t,Ge.hasOwnProperty(e)?Ge[e]:Ge[e]={})}function Ve(e,t){if(!0===t)return t;if(e.copyState)return e.copyState(t);var n={};for(var r in t){var i=t[r];i instanceof Array&&(i=i.concat([])),n[r]=i}return n}function $e(e,t){for(var n;e.innerMode&&(n=e.innerMode(t))&&n.mode!=e;)t=n.state,e=n.mode;return n||{mode:e,state:t}}function Xe(e,t,n){return!e.startState||e.startState(t,n)}var Ye=function(e,t,n){this.pos=this.start=0,this.string=e,this.tabSize=t||8,this.lastColumnPos=this.lastColumnValue=0,this.lineStart=0,this.lineOracle=n};function Ze(e,t){if((t-=e.first)<0||t>=e.size)throw new Error("There is no line "+(t+e.first)+" in the document.");for(var n=e;!n.lines;)for(var r=0;;++r){var i=n.children[r],o=i.chunkSize();if(t<o){n=i;break}t-=o}return n.lines[t]}function Qe(e,t,n){var r=[],i=t.line;return e.iter(t.line,n.line+1,(function(e){var o=e.text;i==n.line&&(o=o.slice(0,n.ch)),i==t.line&&(o=o.slice(t.ch)),r.push(o),++i})),r}function Je(e,t,n){var r=[];return e.iter(t,n,(function(e){r.push(e.text)})),r}function et(e,t){var n=t-e.height;if(n)for(var r=e;r;r=r.parent)r.height+=n}function tt(e){if(null==e.parent)return null;for(var t=e.parent,n=R(t.lines,e),r=t.parent;r;t=r,r=r.parent)for(var i=0;r.children[i]!=t;++i)n+=r.children[i].chunkSize();return n+t.first}function nt(e,t){var n=e.first;e:do{for(var r=0;r<e.children.length;++r){var i=e.children[r],o=i.height;if(t<o){e=i;continue e}t-=o,n+=i.chunkSize()}return n}while(!e.lines);for(var a=0;a<e.lines.length;++a){var s=e.lines[a].height;if(t<s)break;t-=s}return n+a}function rt(e,t){return t>=e.first&&t<e.first+e.size}function it(e,t){return String(e.lineNumberFormatter(t+e.firstLineNumber))}function ot(e,t,n){if(void 0===n&&(n=null),!(this instanceof ot))return new ot(e,t,n);this.line=e,this.ch=t,this.sticky=n}function at(e,t){return e.line-t.line||e.ch-t.ch}function st(e,t){return e.sticky==t.sticky&&0==at(e,t)}function lt(e){return ot(e.line,e.ch)}function ct(e,t){return at(e,t)<0?t:e}function ut(e,t){return at(e,t)<0?e:t}function ht(e,t){return Math.max(e.first,Math.min(t,e.first+e.size-1))}function dt(e,t){if(t.line<e.first)return ot(e.first,0);var n=e.first+e.size-1;return t.line>n?ot(n,Ze(e,n).text.length):ft(t,Ze(e,t.line).text.length)}function ft(e,t){var n=e.ch;return null==n||n>t?ot(e.line,t):n<0?ot(e.line,0):e}function pt(e,t){for(var n=[],r=0;r<t.length;r++)n[r]=dt(e,t[r]);return n}Ye.prototype.eol=function(){return this.pos>=this.string.length},Ye.prototype.sol=function(){return this.pos==this.lineStart},Ye.prototype.peek=function(){return this.string.charAt(this.pos)||void 0},Ye.prototype.next=function(){if(this.pos<this.string.length)return this.string.charAt(this.pos++)},Ye.prototype.eat=function(e){var t=this.string.charAt(this.pos);if("string"==typeof e?t==e:t&&(e.test?e.test(t):e(t)))return++this.pos,t},Ye.prototype.eatWhile=function(e){for(var t=this.pos;this.eat(e););return this.pos>t},Ye.prototype.eatSpace=function(){for(var e=this.pos;/[\s\u00a0]/.test(this.string.charAt(this.pos));)++this.pos;return this.pos>e},Ye.prototype.skipToEnd=function(){this.pos=this.string.length},Ye.prototype.skipTo=function(e){var t=this.string.indexOf(e,this.pos);if(t>-1)return this.pos=t,!0},Ye.prototype.backUp=function(e){this.pos-=e},Ye.prototype.column=function(){return this.lastColumnPos<this.start&&(this.lastColumnValue=W(this.string,this.start,this.tabSize,this.lastColumnPos,this.lastColumnValue),this.lastColumnPos=this.start),this.lastColumnValue-(this.lineStart?W(this.string,this.lineStart,this.tabSize):0)},Ye.prototype.indentation=function(){return W(this.string,null,this.tabSize)-(this.lineStart?W(this.string,this.lineStart,this.tabSize):0)},Ye.prototype.match=function(e,t,n){if("string"!=typeof e){var r=this.string.slice(this.pos).match(e);return r&&r.index>0?null:(r&&!1!==t&&(this.pos+=r[0].length),r)}var i=function(e){return n?e.toLowerCase():e};if(i(this.string.substr(this.pos,e.length))==i(e))return!1!==t&&(this.pos+=e.length),!0},Ye.prototype.current=function(){return this.string.slice(this.start,this.pos)},Ye.prototype.hideFirstChars=function(e,t){this.lineStart+=e;try{return t()}finally{this.lineStart-=e}},Ye.prototype.lookAhead=function(e){var t=this.lineOracle;return t&&t.lookAhead(e)},Ye.prototype.baseToken=function(){var e=this.lineOracle;return e&&e.baseToken(this.pos)};var gt=function(e,t){this.state=e,this.lookAhead=t},vt=function(e,t,n,r){this.state=t,this.doc=e,this.line=n,this.maxLookAhead=r||0,this.baseTokens=null,this.baseTokenPos=1};function mt(e,t,n,r){var i=[e.state.modeGen],o={};Tt(e,t.text,e.doc.mode,n,(function(e,t){return i.push(e,t)}),o,r);for(var a=n.state,s=function(r){n.baseTokens=i;var s=e.state.overlays[r],l=1,c=0;n.state=!0,Tt(e,t.text,s.mode,n,(function(e,t){for(var n=l;c<e;){var r=i[l];r>e&&i.splice(l,1,e,i[l+1],r),l+=2,c=Math.min(e,r)}if(t)if(s.opaque)i.splice(n,l-n,e,"overlay "+t),l=n+2;else for(;n<l;n+=2){var o=i[n+1];i[n+1]=(o?o+" ":"")+"overlay "+t}}),o),n.state=a,n.baseTokens=null,n.baseTokenPos=1},l=0;l<e.state.overlays.length;++l)s(l);return{styles:i,classes:o.bgClass||o.textClass?o:null}}function yt(e,t,n){if(!t.styles||t.styles[0]!=e.state.modeGen){var r=bt(e,tt(t)),i=t.text.length>e.options.maxHighlightLength&&Ve(e.doc.mode,r.state),o=mt(e,t,r);i&&(r.state=i),t.stateAfter=r.save(!i),t.styles=o.styles,o.classes?t.styleClasses=o.classes:t.styleClasses&&(t.styleClasses=null),n===e.doc.highlightFrontier&&(e.doc.modeFrontier=Math.max(e.doc.modeFrontier,++e.doc.highlightFrontier))}return t.styles}function bt(e,t,n){var r=e.doc,i=e.display;if(!r.mode.startState)return new vt(r,!0,t);var o=At(e,t,n),a=o>r.first&&Ze(r,o-1).stateAfter,s=a?vt.fromSaved(r,a,o):new vt(r,Xe(r.mode),o);return r.iter(o,t,(function(n){wt(e,n.text,s);var r=s.line;n.stateAfter=r==t-1||r%5==0||r>=i.viewFrom&&r<i.viewTo?s.save():null,s.nextLine()})),n&&(r.modeFrontier=s.line),s}function wt(e,t,n,r){var i=e.doc.mode,o=new Ye(t,e.options.tabSize,n);for(o.start=o.pos=r||0,""==t&&xt(i,n.state);!o.eol();)Ct(i,o,n.state),o.start=o.pos}function xt(e,t){if(e.blankLine)return e.blankLine(t);if(e.innerMode){var n=$e(e,t);return n.mode.blankLine?n.mode.blankLine(n.state):void 0}}function Ct(e,t,n,r){for(var i=0;i<10;i++){r&&(r[0]=$e(e,n).mode);var o=e.token(t,n);if(t.pos>t.start)return o}throw new Error("Mode "+e.name+" failed to advance stream.")}vt.prototype.lookAhead=function(e){var t=this.doc.getLine(this.line+e);return null!=t&&e>this.maxLookAhead&&(this.maxLookAhead=e),t},vt.prototype.baseToken=function(e){if(!this.baseTokens)return null;for(;this.baseTokens[this.baseTokenPos]<=e;)this.baseTokenPos+=2;var t=this.baseTokens[this.baseTokenPos+1];return{type:t&&t.replace(/( |^)overlay .*/,""),size:this.baseTokens[this.baseTokenPos]-e}},vt.prototype.nextLine=function(){this.line++,this.maxLookAhead>0&&this.maxLookAhead--},vt.fromSaved=function(e,t,n){return t instanceof gt?new vt(e,Ve(e.mode,t.state),n,t.lookAhead):new vt(e,Ve(e.mode,t),n)},vt.prototype.save=function(e){var t=!1!==e?Ve(this.doc.mode,this.state):this.state;return this.maxLookAhead>0?new gt(t,this.maxLookAhead):t};var kt=function(e,t,n){this.start=e.start,this.end=e.pos,this.string=e.current(),this.type=t||null,this.state=n};function St(e,t,n,r){var i,o,a=e.doc,s=a.mode,l=Ze(a,(t=dt(a,t)).line),c=bt(e,t.line,n),u=new Ye(l.text,e.options.tabSize,c);for(r&&(o=[]);(r||u.pos<t.ch)&&!u.eol();)u.start=u.pos,i=Ct(s,u,c.state),r&&o.push(new kt(u,i,Ve(a.mode,c.state)));return r?o:new kt(u,i,c.state)}function Lt(e,t){if(e)for(;;){var n=e.match(/(?:^|\s+)line-(background-)?(\S+)/);if(!n)break;e=e.slice(0,n.index)+e.slice(n.index+n[0].length);var r=n[1]?"bgClass":"textClass";null==t[r]?t[r]=n[2]:new RegExp("(?:^|\\s)"+n[2]+"(?:$|\\s)").test(t[r])||(t[r]+=" "+n[2])}return e}function Tt(e,t,n,r,i,o,a){var s=n.flattenSpans;null==s&&(s=e.options.flattenSpans);var l,c=0,u=null,h=new Ye(t,e.options.tabSize,r),d=e.options.addModeClass&&[null];for(""==t&&Lt(xt(n,r.state),o);!h.eol();){if(h.pos>e.options.maxHighlightLength?(s=!1,a&&wt(e,t,r,h.pos),h.pos=t.length,l=null):l=Lt(Ct(n,h,r.state,d),o),d){var f=d[0].name;f&&(l="m-"+(l?f+" "+l:f))}if(!s||u!=l){for(;c<h.start;)i(c=Math.min(h.start,c+5e3),u);u=l}h.start=h.pos}for(;c<h.pos;){var p=Math.min(h.pos,c+5e3);i(p,u),c=p}}function At(e,t,n){for(var r,i,o=e.doc,a=n?-1:t-(e.doc.mode.innerMode?1e3:100),s=t;s>a;--s){if(s<=o.first)return o.first;var l=Ze(o,s-1),c=l.stateAfter;if(c&&(!n||s+(c instanceof gt?c.lookAhead:0)<=o.modeFrontier))return s;var u=W(l.text,null,e.options.tabSize);(null==i||r>u)&&(i=s-1,r=u)}return i}function Ot(e,t){if(e.modeFrontier=Math.min(e.modeFrontier,t),!(e.highlightFrontier<t-10)){for(var n=e.first,r=t-1;r>n;r--){var i=Ze(e,r).stateAfter;if(i&&(!(i instanceof gt)||r+i.lookAhead<t)){n=r+1;break}}e.highlightFrontier=Math.min(e.highlightFrontier,n)}}var Mt=!1,Nt=!1;function Et(){Mt=!0}function Pt(){Nt=!0}function Ft(e,t,n){this.marker=e,this.from=t,this.to=n}function Dt(e,t){if(e)for(var n=0;n<e.length;++n){var r=e[n];if(r.marker==t)return r}}function jt(e,t){for(var n,r=0;r<e.length;++r)e[r]!=t&&(n||(n=[])).push(e[r]);return n}function Bt(e,t,n){var r=n&&window.WeakSet&&(n.markedSpans||(n.markedSpans=new WeakSet));r&&r.has(e.markedSpans)?e.markedSpans.push(t):(e.markedSpans=e.markedSpans?e.markedSpans.concat([t]):[t],r&&r.add(e.markedSpans)),t.marker.attachLine(e)}function It(e,t,n){var r;if(e)for(var i=0;i<e.length;++i){var o=e[i],a=o.marker;if(null==o.from||(a.inclusiveLeft?o.from<=t:o.from<t)||o.from==t&&"bookmark"==a.type&&(!n||!o.marker.insertLeft)){var s=null==o.to||(a.inclusiveRight?o.to>=t:o.to>t);(r||(r=[])).push(new Ft(a,o.from,s?null:o.to))}}return r}function Wt(e,t,n){var r;if(e)for(var i=0;i<e.length;++i){var o=e[i],a=o.marker;if(null==o.to||(a.inclusiveRight?o.to>=t:o.to>t)||o.from==t&&"bookmark"==a.type&&(!n||o.marker.insertLeft)){var s=null==o.from||(a.inclusiveLeft?o.from<=t:o.from<t);(r||(r=[])).push(new Ft(a,s?null:o.from-t,null==o.to?null:o.to-t))}}return r}function Ht(e,t){if(t.full)return null;var n=rt(e,t.from.line)&&Ze(e,t.from.line).markedSpans,r=rt(e,t.to.line)&&Ze(e,t.to.line).markedSpans;if(!n&&!r)return null;var i=t.from.ch,o=t.to.ch,a=0==at(t.from,t.to),s=It(n,i,a),l=Wt(r,o,a),c=1==t.text.length,u=X(t.text).length+(c?i:0);if(s)for(var h=0;h<s.length;++h){var d=s[h];if(null==d.to){var f=Dt(l,d.marker);f?c&&(d.to=null==f.to?null:f.to+u):d.to=i}}if(l)for(var p=0;p<l.length;++p){var g=l[p];null!=g.to&&(g.to+=u),null==g.from?Dt(s,g.marker)||(g.from=u,c&&(s||(s=[])).push(g)):(g.from+=u,c&&(s||(s=[])).push(g))}s&&(s=Rt(s)),l&&l!=s&&(l=Rt(l));var v=[s];if(!c){var m,y=t.text.length-2;if(y>0&&s)for(var b=0;b<s.length;++b)null==s[b].to&&(m||(m=[])).push(new Ft(s[b].marker,null,null));for(var w=0;w<y;++w)v.push(m);v.push(l)}return v}function Rt(e){for(var t=0;t<e.length;++t){var n=e[t];null!=n.from&&n.from==n.to&&!1!==n.marker.clearWhenEmpty&&e.splice(t--,1)}return e.length?e:null}function _t(e,t,n){var r=null;if(e.iter(t.line,n.line+1,(function(e){if(e.markedSpans)for(var t=0;t<e.markedSpans.length;++t){var n=e.markedSpans[t].marker;!n.readOnly||r&&-1!=R(r,n)||(r||(r=[])).push(n)}})),!r)return null;for(var i=[{from:t,to:n}],o=0;o<r.length;++o)for(var a=r[o],s=a.find(0),l=0;l<i.length;++l){var c=i[l];if(!(at(c.to,s.from)<0||at(c.from,s.to)>0)){var u=[l,1],h=at(c.from,s.from),d=at(c.to,s.to);(h<0||!a.inclusiveLeft&&!h)&&u.push({from:c.from,to:s.from}),(d>0||!a.inclusiveRight&&!d)&&u.push({from:s.to,to:c.to}),i.splice.apply(i,u),l+=u.length-3}}return i}function zt(e){var t=e.markedSpans;if(t){for(var n=0;n<t.length;++n)t[n].marker.detachLine(e);e.markedSpans=null}}function qt(e,t){if(t){for(var n=0;n<t.length;++n)t[n].marker.attachLine(e);e.markedSpans=t}}function Ut(e){return e.inclusiveLeft?-1:0}function Gt(e){return e.inclusiveRight?1:0}function Kt(e,t){var n=e.lines.length-t.lines.length;if(0!=n)return n;var r=e.find(),i=t.find(),o=at(r.from,i.from)||Ut(e)-Ut(t);if(o)return-o;var a=at(r.to,i.to)||Gt(e)-Gt(t);return a||t.id-e.id}function Vt(e,t){var n,r=Nt&&e.markedSpans;if(r)for(var i=void 0,o=0;o<r.length;++o)(i=r[o]).marker.collapsed&&null==(t?i.from:i.to)&&(!n||Kt(n,i.marker)<0)&&(n=i.marker);return n}function $t(e){return Vt(e,!0)}function Xt(e){return Vt(e,!1)}function Yt(e,t){var n,r=Nt&&e.markedSpans;if(r)for(var i=0;i<r.length;++i){var o=r[i];o.marker.collapsed&&(null==o.from||o.from<t)&&(null==o.to||o.to>t)&&(!n||Kt(n,o.marker)<0)&&(n=o.marker)}return n}function Zt(e,t,n,r,i){var o=Ze(e,t),a=Nt&&o.markedSpans;if(a)for(var s=0;s<a.length;++s){var l=a[s];if(l.marker.collapsed){var c=l.marker.find(0),u=at(c.from,n)||Ut(l.marker)-Ut(i),h=at(c.to,r)||Gt(l.marker)-Gt(i);if(!(u>=0&&h<=0||u<=0&&h>=0)&&(u<=0&&(l.marker.inclusiveRight&&i.inclusiveLeft?at(c.to,n)>=0:at(c.to,n)>0)||u>=0&&(l.marker.inclusiveRight&&i.inclusiveLeft?at(c.from,r)<=0:at(c.from,r)<0)))return!0}}}function Qt(e){for(var t;t=$t(e);)e=t.find(-1,!0).line;return e}function Jt(e){for(var t;t=Xt(e);)e=t.find(1,!0).line;return e}function en(e){for(var t,n;t=Xt(e);)e=t.find(1,!0).line,(n||(n=[])).push(e);return n}function tn(e,t){var n=Ze(e,t),r=Qt(n);return n==r?t:tt(r)}function nn(e,t){if(t>e.lastLine())return t;var n,r=Ze(e,t);if(!rn(e,r))return t;for(;n=Xt(r);)r=n.find(1,!0).line;return tt(r)+1}function rn(e,t){var n=Nt&&t.markedSpans;if(n)for(var r=void 0,i=0;i<n.length;++i)if((r=n[i]).marker.collapsed){if(null==r.from)return!0;if(!r.marker.widgetNode&&0==r.from&&r.marker.inclusiveLeft&&on(e,t,r))return!0}}function on(e,t,n){if(null==n.to){var r=n.marker.find(1,!0);return on(e,r.line,Dt(r.line.markedSpans,n.marker))}if(n.marker.inclusiveRight&&n.to==t.text.length)return!0;for(var i=void 0,o=0;o<t.markedSpans.length;++o)if((i=t.markedSpans[o]).marker.collapsed&&!i.marker.widgetNode&&i.from==n.to&&(null==i.to||i.to!=n.from)&&(i.marker.inclusiveLeft||n.marker.inclusiveRight)&&on(e,t,i))return!0}function an(e){for(var t=0,n=(e=Qt(e)).parent,r=0;r<n.lines.length;++r){var i=n.lines[r];if(i==e)break;t+=i.height}for(var o=n.parent;o;o=(n=o).parent)for(var a=0;a<o.children.length;++a){var s=o.children[a];if(s==n)break;t+=s.height}return t}function sn(e){if(0==e.height)return 0;for(var t,n=e.text.length,r=e;t=$t(r);){var i=t.find(0,!0);r=i.from.line,n+=i.from.ch-i.to.ch}for(r=e;t=Xt(r);){var o=t.find(0,!0);n-=r.text.length-o.from.ch,n+=(r=o.to.line).text.length-o.to.ch}return n}function ln(e){var t=e.display,n=e.doc;t.maxLine=Ze(n,n.first),t.maxLineLength=sn(t.maxLine),t.maxLineChanged=!0,n.iter((function(e){var n=sn(e);n>t.maxLineLength&&(t.maxLineLength=n,t.maxLine=e)}))}var cn=function(e,t,n){this.text=e,qt(this,t),this.height=n?n(this):1};function un(e,t,n,r){e.text=t,e.stateAfter&&(e.stateAfter=null),e.styles&&(e.styles=null),null!=e.order&&(e.order=null),zt(e),qt(e,n);var i=r?r(e):1;i!=e.height&&et(e,i)}function hn(e){e.parent=null,zt(e)}cn.prototype.lineNo=function(){return tt(this)},xe(cn);var dn={},fn={};function pn(e,t){if(!e||/^\s*$/.test(e))return null;var n=t.addModeClass?fn:dn;return n[e]||(n[e]=e.replace(/\S+/g,"cm-$&"))}function gn(e,t){var n=N("span",null,null,l?"padding-right: .1px":null),r={pre:N("pre",[n],"CodeMirror-line"),content:n,col:0,pos:0,cm:e,trailingSpace:!1,splitSpaces:e.getOption("lineWrapping")};t.measure={};for(var i=0;i<=(t.rest?t.rest.length:0);i++){var o=i?t.rest[i-1]:t.line,a=void 0;r.pos=0,r.addToken=mn,Pe(e.display.measure)&&(a=de(o,e.doc.direction))&&(r.addToken=bn(r.addToken,a)),r.map=[],xn(o,r,yt(e,o,t!=e.display.externalMeasured&&tt(o))),o.styleClasses&&(o.styleClasses.bgClass&&(r.bgClass=D(o.styleClasses.bgClass,r.bgClass||"")),o.styleClasses.textClass&&(r.textClass=D(o.styleClasses.textClass,r.textClass||""))),0==r.map.length&&r.map.push(0,0,r.content.appendChild(Ee(e.display.measure))),0==i?(t.measure.map=r.map,t.measure.cache={}):((t.measure.maps||(t.measure.maps=[])).push(r.map),(t.measure.caches||(t.measure.caches=[])).push({}))}if(l){var s=r.content.lastChild;(/\bcm-tab\b/.test(s.className)||s.querySelector&&s.querySelector(".cm-tab"))&&(r.content.className="cm-tab-wrap-hack")}return me(e,"renderLine",e,t.line,r.pre),r.pre.className&&(r.textClass=D(r.pre.className,r.textClass||"")),r}function vn(e){var t=M("span","•","cm-invalidchar");return t.title="\\u"+e.charCodeAt(0).toString(16),t.setAttribute("aria-label",t.title),t}function mn(e,t,n,r,i,o,l){if(t){var c,u=e.splitSpaces?yn(t,e.trailingSpace):t,h=e.cm.state.specialChars,d=!1;if(h.test(t)){c=document.createDocumentFragment();for(var f=0;;){h.lastIndex=f;var p=h.exec(t),g=p?p.index-f:t.length-f;if(g){var v=document.createTextNode(u.slice(f,f+g));a&&s<9?c.appendChild(M("span",[v])):c.appendChild(v),e.map.push(e.pos,e.pos+g,v),e.col+=g,e.pos+=g}if(!p)break;f+=g+1;var m=void 0;if("\t"==p[0]){var y=e.cm.options.tabSize,b=y-e.col%y;(m=c.appendChild(M("span",$(b),"cm-tab"))).setAttribute("role","presentation"),m.setAttribute("cm-text","\t"),e.col+=b}else"\r"==p[0]||"\n"==p[0]?((m=c.appendChild(M("span","\r"==p[0]?"␍":"␤","cm-invalidchar"))).setAttribute("cm-text",p[0]),e.col+=1):((m=e.cm.options.specialCharPlaceholder(p[0])).setAttribute("cm-text",p[0]),a&&s<9?c.appendChild(M("span",[m])):c.appendChild(m),e.col+=1);e.map.push(e.pos,e.pos+1,m),e.pos++}}else e.col+=t.length,c=document.createTextNode(u),e.map.push(e.pos,e.pos+t.length,c),a&&s<9&&(d=!0),e.pos+=t.length;if(e.trailingSpace=32==u.charCodeAt(t.length-1),n||r||i||d||o||l){var w=n||"";r&&(w+=r),i&&(w+=i);var x=M("span",[c],w,o);if(l)for(var C in l)l.hasOwnProperty(C)&&"style"!=C&&"class"!=C&&x.setAttribute(C,l[C]);return e.content.appendChild(x)}e.content.appendChild(c)}}function yn(e,t){if(e.length>1&&!/ /.test(e))return e;for(var n=t,r="",i=0;i<e.length;i++){var o=e.charAt(i);" "!=o||!n||i!=e.length-1&&32!=e.charCodeAt(i+1)||(o=" "),r+=o,n=" "==o}return r}function bn(e,t){return function(n,r,i,o,a,s,l){i=i?i+" cm-force-border":"cm-force-border";for(var c=n.pos,u=c+r.length;;){for(var h=void 0,d=0;d<t.length&&!((h=t[d]).to>c&&h.from<=c);d++);if(h.to>=u)return e(n,r,i,o,a,s,l);e(n,r.slice(0,h.to-c),i,o,null,s,l),o=null,r=r.slice(h.to-c),c=h.to}}}function wn(e,t,n,r){var i=!r&&n.widgetNode;i&&e.map.push(e.pos,e.pos+t,i),!r&&e.cm.display.input.needsContentAttribute&&(i||(i=e.content.appendChild(document.createElement("span"))),i.setAttribute("cm-marker",n.id)),i&&(e.cm.display.input.setUneditable(i),e.content.appendChild(i)),e.pos+=t,e.trailingSpace=!1}function xn(e,t,n){var r=e.markedSpans,i=e.text,o=0;if(r)for(var a,s,l,c,u,h,d,f=i.length,p=0,g=1,v="",m=0;;){if(m==p){l=c=u=s="",d=null,h=null,m=1/0;for(var y=[],b=void 0,w=0;w<r.length;++w){var x=r[w],C=x.marker;if("bookmark"==C.type&&x.from==p&&C.widgetNode)y.push(C);else if(x.from<=p&&(null==x.to||x.to>p||C.collapsed&&x.to==p&&x.from==p)){if(null!=x.to&&x.to!=p&&m>x.to&&(m=x.to,c=""),C.className&&(l+=" "+C.className),C.css&&(s=(s?s+";":"")+C.css),C.startStyle&&x.from==p&&(u+=" "+C.startStyle),C.endStyle&&x.to==m&&(b||(b=[])).push(C.endStyle,x.to),C.title&&((d||(d={})).title=C.title),C.attributes)for(var k in C.attributes)(d||(d={}))[k]=C.attributes[k];C.collapsed&&(!h||Kt(h.marker,C)<0)&&(h=x)}else x.from>p&&m>x.from&&(m=x.from)}if(b)for(var S=0;S<b.length;S+=2)b[S+1]==m&&(c+=" "+b[S]);if(!h||h.from==p)for(var L=0;L<y.length;++L)wn(t,0,y[L]);if(h&&(h.from||0)==p){if(wn(t,(null==h.to?f+1:h.to)-p,h.marker,null==h.from),null==h.to)return;h.to==p&&(h=!1)}}if(p>=f)break;for(var T=Math.min(f,m);;){if(v){var A=p+v.length;if(!h){var O=A>T?v.slice(0,T-p):v;t.addToken(t,O,a?a+l:l,u,p+O.length==m?c:"",s,d)}if(A>=T){v=v.slice(T-p),p=T;break}p=A,u=""}v=i.slice(o,o=n[g++]),a=pn(n[g++],t.cm.options)}}else for(var M=1;M<n.length;M+=2)t.addToken(t,i.slice(o,o=n[M]),pn(n[M+1],t.cm.options))}function Cn(e,t,n){this.line=t,this.rest=en(t),this.size=this.rest?tt(X(this.rest))-n+1:1,this.node=this.text=null,this.hidden=rn(e,t)}function kn(e,t,n){for(var r,i=[],o=t;o<n;o=r){var a=new Cn(e.doc,Ze(e.doc,o),o);r=o+a.size,i.push(a)}return i}var Sn=null;function Ln(e){Sn?Sn.ops.push(e):e.ownsGroup=Sn={ops:[e],delayedCallbacks:[]}}function Tn(e){var t=e.delayedCallbacks,n=0;do{for(;n<t.length;n++)t[n].call(null);for(var r=0;r<e.ops.length;r++){var i=e.ops[r];if(i.cursorActivityHandlers)for(;i.cursorActivityCalled<i.cursorActivityHandlers.length;)i.cursorActivityHandlers[i.cursorActivityCalled++].call(null,i.cm)}}while(n<t.length)}function An(e,t){var n=e.ownsGroup;if(n)try{Tn(n)}finally{Sn=null,t(n)}}var On=null;function Mn(e,t){var n=ge(e,t);if(n.length){var r,i=Array.prototype.slice.call(arguments,2);Sn?r=Sn.delayedCallbacks:On?r=On:(r=On=[],setTimeout(Nn,0));for(var o=function(e){r.push((function(){return n[e].apply(null,i)}))},a=0;a<n.length;++a)o(a)}}function Nn(){var e=On;On=null;for(var t=0;t<e.length;++t)e[t]()}function En(e,t,n,r){for(var i=0;i<t.changes.length;i++){var o=t.changes[i];"text"==o?jn(e,t):"gutter"==o?In(e,t,n,r):"class"==o?Bn(e,t):"widget"==o&&Wn(e,t,r)}t.changes=null}function Pn(e){return e.node==e.text&&(e.node=M("div",null,null,"position: relative"),e.text.parentNode&&e.text.parentNode.replaceChild(e.node,e.text),e.node.appendChild(e.text),a&&s<8&&(e.node.style.zIndex=2)),e.node}function Fn(e,t){var n=t.bgClass?t.bgClass+" "+(t.line.bgClass||""):t.line.bgClass;if(n&&(n+=" CodeMirror-linebackground"),t.background)n?t.background.className=n:(t.background.parentNode.removeChild(t.background),t.background=null);else if(n){var r=Pn(t);t.background=r.insertBefore(M("div",null,n),r.firstChild),e.display.input.setUneditable(t.background)}}function Dn(e,t){var n=e.display.externalMeasured;return n&&n.line==t.line?(e.display.externalMeasured=null,t.measure=n.measure,n.built):gn(e,t)}function jn(e,t){var n=t.text.className,r=Dn(e,t);t.text==t.node&&(t.node=r.pre),t.text.parentNode.replaceChild(r.pre,t.text),t.text=r.pre,r.bgClass!=t.bgClass||r.textClass!=t.textClass?(t.bgClass=r.bgClass,t.textClass=r.textClass,Bn(e,t)):n&&(t.text.className=n)}function Bn(e,t){Fn(e,t),t.line.wrapClass?Pn(t).className=t.line.wrapClass:t.node!=t.text&&(t.node.className="");var n=t.textClass?t.textClass+" "+(t.line.textClass||""):t.line.textClass;t.text.className=n||""}function In(e,t,n,r){if(t.gutter&&(t.node.removeChild(t.gutter),t.gutter=null),t.gutterBackground&&(t.node.removeChild(t.gutterBackground),t.gutterBackground=null),t.line.gutterClass){var i=Pn(t);t.gutterBackground=M("div",null,"CodeMirror-gutter-background "+t.line.gutterClass,"left: "+(e.options.fixedGutter?r.fixedPos:-r.gutterTotalWidth)+"px; width: "+r.gutterTotalWidth+"px"),e.display.input.setUneditable(t.gutterBackground),i.insertBefore(t.gutterBackground,t.text)}var o=t.line.gutterMarkers;if(e.options.lineNumbers||o){var a=Pn(t),s=t.gutter=M("div",null,"CodeMirror-gutter-wrapper","left: "+(e.options.fixedGutter?r.fixedPos:-r.gutterTotalWidth)+"px");if(s.setAttribute("aria-hidden","true"),e.display.input.setUneditable(s),a.insertBefore(s,t.text),t.line.gutterClass&&(s.className+=" "+t.line.gutterClass),!e.options.lineNumbers||o&&o["CodeMirror-linenumbers"]||(t.lineNumber=s.appendChild(M("div",it(e.options,n),"CodeMirror-linenumber CodeMirror-gutter-elt","left: "+r.gutterLeft["CodeMirror-linenumbers"]+"px; width: "+e.display.lineNumInnerWidth+"px"))),o)for(var l=0;l<e.display.gutterSpecs.length;++l){var c=e.display.gutterSpecs[l].className,u=o.hasOwnProperty(c)&&o[c];u&&s.appendChild(M("div",[u],"CodeMirror-gutter-elt","left: "+r.gutterLeft[c]+"px; width: "+r.gutterWidth[c]+"px"))}}}function Wn(e,t,n){t.alignable&&(t.alignable=null);for(var r=S("CodeMirror-linewidget"),i=t.node.firstChild,o=void 0;i;i=o)o=i.nextSibling,r.test(i.className)&&t.node.removeChild(i);Rn(e,t,n)}function Hn(e,t,n,r){var i=Dn(e,t);return t.text=t.node=i.pre,i.bgClass&&(t.bgClass=i.bgClass),i.textClass&&(t.textClass=i.textClass),Bn(e,t),In(e,t,n,r),Rn(e,t,r),t.node}function Rn(e,t,n){if(_n(e,t.line,t,n,!0),t.rest)for(var r=0;r<t.rest.length;r++)_n(e,t.rest[r],t,n,!1)}function _n(e,t,n,r,i){if(t.widgets)for(var o=Pn(n),a=0,s=t.widgets;a<s.length;++a){var l=s[a],c=M("div",[l.node],"CodeMirror-linewidget"+(l.className?" "+l.className:""));l.handleMouseEvents||c.setAttribute("cm-ignore-events","true"),zn(l,c,n,r),e.display.input.setUneditable(c),i&&l.above?o.insertBefore(c,n.gutter||n.text):o.appendChild(c),Mn(l,"redraw")}}function zn(e,t,n,r){if(e.noHScroll){(n.alignable||(n.alignable=[])).push(t);var i=r.wrapperWidth;t.style.left=r.fixedPos+"px",e.coverGutter||(i-=r.gutterTotalWidth,t.style.paddingLeft=r.gutterTotalWidth+"px"),t.style.width=i+"px"}e.coverGutter&&(t.style.zIndex=5,t.style.position="relative",e.noHScroll||(t.style.marginLeft=-r.gutterTotalWidth+"px"))}function qn(e){if(null!=e.height)return e.height;var t=e.doc.cm;if(!t)return 0;if(!E(document.body,e.node)){var n="position: relative;";e.coverGutter&&(n+="margin-left: -"+t.display.gutters.offsetWidth+"px;"),e.noHScroll&&(n+="width: "+t.display.wrapper.clientWidth+"px;"),O(t.display.measure,M("div",[e.node],null,n))}return e.height=e.node.parentNode.offsetHeight}function Un(e,t){for(var n=Te(t);n!=e.wrapper;n=n.parentNode)if(!n||1==n.nodeType&&"true"==n.getAttribute("cm-ignore-events")||n.parentNode==e.sizer&&n!=e.mover)return!0}function Gn(e){return e.lineSpace.offsetTop}function Kn(e){return e.mover.offsetHeight-e.lineSpace.offsetHeight}function Vn(e){if(e.cachedPaddingH)return e.cachedPaddingH;var t=O(e.measure,M("pre","x","CodeMirror-line-like")),n=window.getComputedStyle?window.getComputedStyle(t):t.currentStyle,r={left:parseInt(n.paddingLeft),right:parseInt(n.paddingRight)};return isNaN(r.left)||isNaN(r.right)||(e.cachedPaddingH=r),r}function $n(e){return _-e.display.nativeBarWidth}function Xn(e){return e.display.scroller.clientWidth-$n(e)-e.display.barWidth}function Yn(e){return e.display.scroller.clientHeight-$n(e)-e.display.barHeight}function Zn(e,t,n){var r=e.options.lineWrapping,i=r&&Xn(e);if(!t.measure.heights||r&&t.measure.width!=i){var o=t.measure.heights=[];if(r){t.measure.width=i;for(var a=t.text.firstChild.getClientRects(),s=0;s<a.length-1;s++){var l=a[s],c=a[s+1];Math.abs(l.bottom-c.bottom)>2&&o.push((l.bottom+c.top)/2-n.top)}}o.push(n.bottom-n.top)}}function Qn(e,t,n){if(e.line==t)return{map:e.measure.map,cache:e.measure.cache};for(var r=0;r<e.rest.length;r++)if(e.rest[r]==t)return{map:e.measure.maps[r],cache:e.measure.caches[r]};for(var i=0;i<e.rest.length;i++)if(tt(e.rest[i])>n)return{map:e.measure.maps[i],cache:e.measure.caches[i],before:!0}}function Jn(e,t){var n=tt(t=Qt(t)),r=e.display.externalMeasured=new Cn(e.doc,t,n);r.lineN=n;var i=r.built=gn(e,r);return r.text=i.pre,O(e.display.lineMeasure,i.pre),r}function er(e,t,n,r){return rr(e,nr(e,t),n,r)}function tr(e,t){if(t>=e.display.viewFrom&&t<e.display.viewTo)return e.display.view[Br(e,t)];var n=e.display.externalMeasured;return n&&t>=n.lineN&&t<n.lineN+n.size?n:void 0}function nr(e,t){var n=tt(t),r=tr(e,n);r&&!r.text?r=null:r&&r.changes&&(En(e,r,n,Er(e)),e.curOp.forceUpdate=!0),r||(r=Jn(e,t));var i=Qn(r,t,n);return{line:t,view:r,rect:null,map:i.map,cache:i.cache,before:i.before,hasHeights:!1}}function rr(e,t,n,r,i){t.before&&(n=-1);var o,a=n+(r||"");return t.cache.hasOwnProperty(a)?o=t.cache[a]:(t.rect||(t.rect=t.view.text.getBoundingClientRect()),t.hasHeights||(Zn(e,t.view,t.rect),t.hasHeights=!0),(o=lr(e,t,n,r)).bogus||(t.cache[a]=o)),{left:o.left,right:o.right,top:i?o.rtop:o.top,bottom:i?o.rbottom:o.bottom}}var ir,or={left:0,right:0,top:0,bottom:0};function ar(e,t,n){for(var r,i,o,a,s,l,c=0;c<e.length;c+=3)if(s=e[c],l=e[c+1],t<s?(i=0,o=1,a="left"):t<l?o=1+(i=t-s):(c==e.length-3||t==l&&e[c+3]>t)&&(i=(o=l-s)-1,t>=l&&(a="right")),null!=i){if(r=e[c+2],s==l&&n==(r.insertLeft?"left":"right")&&(a=n),"left"==n&&0==i)for(;c&&e[c-2]==e[c-3]&&e[c-1].insertLeft;)r=e[2+(c-=3)],a="left";if("right"==n&&i==l-s)for(;c<e.length-3&&e[c+3]==e[c+4]&&!e[c+5].insertLeft;)r=e[(c+=3)+2],a="right";break}return{node:r,start:i,end:o,collapse:a,coverStart:s,coverEnd:l}}function sr(e,t){var n=or;if("left"==t)for(var r=0;r<e.length&&(n=e[r]).left==n.right;r++);else for(var i=e.length-1;i>=0&&(n=e[i]).left==n.right;i--);return n}function lr(e,t,n,r){var i,o=ar(t.map,n,r),l=o.node,c=o.start,u=o.end,h=o.collapse;if(3==l.nodeType){for(var d=0;d<4;d++){for(;c&&oe(t.line.text.charAt(o.coverStart+c));)--c;for(;o.coverStart+u<o.coverEnd&&oe(t.line.text.charAt(o.coverStart+u));)++u;if((i=a&&s<9&&0==c&&u==o.coverEnd-o.coverStart?l.parentNode.getBoundingClientRect():sr(L(l,c,u).getClientRects(),r)).left||i.right||0==c)break;u=c,c-=1,h="right"}a&&s<11&&(i=cr(e.display.measure,i))}else{var f;c>0&&(h=r="right"),i=e.options.lineWrapping&&(f=l.getClientRects()).length>1?f["right"==r?f.length-1:0]:l.getBoundingClientRect()}if(a&&s<9&&!c&&(!i||!i.left&&!i.right)){var p=l.parentNode.getClientRects()[0];i=p?{left:p.left,right:p.left+Nr(e.display),top:p.top,bottom:p.bottom}:or}for(var g=i.top-t.rect.top,v=i.bottom-t.rect.top,m=(g+v)/2,y=t.view.measure.heights,b=0;b<y.length-1&&!(m<y[b]);b++);var w=b?y[b-1]:0,x=y[b],C={left:("right"==h?i.right:i.left)-t.rect.left,right:("left"==h?i.left:i.right)-t.rect.left,top:w,bottom:x};return i.left||i.right||(C.bogus=!0),e.options.singleCursorHeightPerLine||(C.rtop=g,C.rbottom=v),C}function cr(e,t){if(!window.screen||null==screen.logicalXDPI||screen.logicalXDPI==screen.deviceXDPI||!We(e))return t;var n=screen.logicalXDPI/screen.deviceXDPI,r=screen.logicalYDPI/screen.deviceYDPI;return{left:t.left*n,right:t.right*n,top:t.top*r,bottom:t.bottom*r}}function ur(e){if(e.measure&&(e.measure.cache={},e.measure.heights=null,e.rest))for(var t=0;t<e.rest.length;t++)e.measure.caches[t]={}}function hr(e){e.display.externalMeasure=null,A(e.display.lineMeasure);for(var t=0;t<e.display.view.length;t++)ur(e.display.view[t])}function dr(e){hr(e),e.display.cachedCharWidth=e.display.cachedTextHeight=e.display.cachedPaddingH=null,e.options.lineWrapping||(e.display.maxLineChanged=!0),e.display.lineNumChars=null}function fr(){return u&&v?-(document.body.getBoundingClientRect().left-parseInt(getComputedStyle(document.body).marginLeft)):window.pageXOffset||(document.documentElement||document.body).scrollLeft}function pr(){return u&&v?-(document.body.getBoundingClientRect().top-parseInt(getComputedStyle(document.body).marginTop)):window.pageYOffset||(document.documentElement||document.body).scrollTop}function gr(e){var t=0;if(e.widgets)for(var n=0;n<e.widgets.length;++n)e.widgets[n].above&&(t+=qn(e.widgets[n]));return t}function vr(e,t,n,r,i){if(!i){var o=gr(t);n.top+=o,n.bottom+=o}if("line"==r)return n;r||(r="local");var a=an(t);if("local"==r?a+=Gn(e.display):a-=e.display.viewOffset,"page"==r||"window"==r){var s=e.display.lineSpace.getBoundingClientRect();a+=s.top+("window"==r?0:pr());var l=s.left+("window"==r?0:fr());n.left+=l,n.right+=l}return n.top+=a,n.bottom+=a,n}function mr(e,t,n){if("div"==n)return t;var r=t.left,i=t.top;if("page"==n)r-=fr(),i-=pr();else if("local"==n||!n){var o=e.display.sizer.getBoundingClientRect();r+=o.left,i+=o.top}var a=e.display.lineSpace.getBoundingClientRect();return{left:r-a.left,top:i-a.top}}function yr(e,t,n,r,i){return r||(r=Ze(e.doc,t.line)),vr(e,r,er(e,r,t.ch,i),n)}function br(e,t,n,r,i,o){function a(t,a){var s=rr(e,i,t,a?"right":"left",o);return a?s.left=s.right:s.right=s.left,vr(e,r,s,n)}r=r||Ze(e.doc,t.line),i||(i=nr(e,r));var s=de(r,e.doc.direction),l=t.ch,c=t.sticky;if(l>=r.text.length?(l=r.text.length,c="before"):l<=0&&(l=0,c="after"),!s)return a("before"==c?l-1:l,"before"==c);function u(e,t,n){return a(n?e-1:e,1==s[t].level!=n)}var h=ue(s,l,c),d=ce,f=u(l,h,"before"==c);return null!=d&&(f.other=u(l,d,"before"!=c)),f}function wr(e,t){var n=0;t=dt(e.doc,t),e.options.lineWrapping||(n=Nr(e.display)*t.ch);var r=Ze(e.doc,t.line),i=an(r)+Gn(e.display);return{left:n,right:n,top:i,bottom:i+r.height}}function xr(e,t,n,r,i){var o=ot(e,t,n);return o.xRel=i,r&&(o.outside=r),o}function Cr(e,t,n){var r=e.doc;if((n+=e.display.viewOffset)<0)return xr(r.first,0,null,-1,-1);var i=nt(r,n),o=r.first+r.size-1;if(i>o)return xr(r.first+r.size-1,Ze(r,o).text.length,null,1,1);t<0&&(t=0);for(var a=Ze(r,i);;){var s=Tr(e,a,i,t,n),l=Yt(a,s.ch+(s.xRel>0||s.outside>0?1:0));if(!l)return s;var c=l.find(1);if(c.line==i)return c;a=Ze(r,i=c.line)}}function kr(e,t,n,r){r-=gr(t);var i=t.text.length,o=se((function(t){return rr(e,n,t-1).bottom<=r}),i,0);return{begin:o,end:i=se((function(t){return rr(e,n,t).top>r}),o,i)}}function Sr(e,t,n,r){return n||(n=nr(e,t)),kr(e,t,n,vr(e,t,rr(e,n,r),"line").top)}function Lr(e,t,n,r){return!(e.bottom<=n)&&(e.top>n||(r?e.left:e.right)>t)}function Tr(e,t,n,r,i){i-=an(t);var o=nr(e,t),a=gr(t),s=0,l=t.text.length,c=!0,u=de(t,e.doc.direction);if(u){var h=(e.options.lineWrapping?Or:Ar)(e,t,n,o,u,r,i);s=(c=1!=h.level)?h.from:h.to-1,l=c?h.to:h.from-1}var d,f,p=null,g=null,v=se((function(t){var n=rr(e,o,t);return n.top+=a,n.bottom+=a,!!Lr(n,r,i,!1)&&(n.top<=i&&n.left<=r&&(p=t,g=n),!0)}),s,l),m=!1;if(g){var y=r-g.left<g.right-r,b=y==c;v=p+(b?0:1),f=b?"after":"before",d=y?g.left:g.right}else{c||v!=l&&v!=s||v++,f=0==v?"after":v==t.text.length?"before":rr(e,o,v-(c?1:0)).bottom+a<=i==c?"after":"before";var w=br(e,ot(n,v,f),"line",t,o);d=w.left,m=i<w.top?-1:i>=w.bottom?1:0}return xr(n,v=ae(t.text,v,1),f,m,r-d)}function Ar(e,t,n,r,i,o,a){var s=se((function(s){var l=i[s],c=1!=l.level;return Lr(br(e,ot(n,c?l.to:l.from,c?"before":"after"),"line",t,r),o,a,!0)}),0,i.length-1),l=i[s];if(s>0){var c=1!=l.level,u=br(e,ot(n,c?l.from:l.to,c?"after":"before"),"line",t,r);Lr(u,o,a,!0)&&u.top>a&&(l=i[s-1])}return l}function Or(e,t,n,r,i,o,a){var s=kr(e,t,r,a),l=s.begin,c=s.end;/\s/.test(t.text.charAt(c-1))&&c--;for(var u=null,h=null,d=0;d<i.length;d++){var f=i[d];if(!(f.from>=c||f.to<=l)){var p=rr(e,r,1!=f.level?Math.min(c,f.to)-1:Math.max(l,f.from)).right,g=p<o?o-p+1e9:p-o;(!u||h>g)&&(u=f,h=g)}}return u||(u=i[i.length-1]),u.from<l&&(u={from:l,to:u.to,level:u.level}),u.to>c&&(u={from:u.from,to:c,level:u.level}),u}function Mr(e){if(null!=e.cachedTextHeight)return e.cachedTextHeight;if(null==ir){ir=M("pre",null,"CodeMirror-line-like");for(var t=0;t<49;++t)ir.appendChild(document.createTextNode("x")),ir.appendChild(M("br"));ir.appendChild(document.createTextNode("x"))}O(e.measure,ir);var n=ir.offsetHeight/50;return n>3&&(e.cachedTextHeight=n),A(e.measure),n||1}function Nr(e){if(null!=e.cachedCharWidth)return e.cachedCharWidth;var t=M("span","xxxxxxxxxx"),n=M("pre",[t],"CodeMirror-line-like");O(e.measure,n);var r=t.getBoundingClientRect(),i=(r.right-r.left)/10;return i>2&&(e.cachedCharWidth=i),i||10}function Er(e){for(var t=e.display,n={},r={},i=t.gutters.clientLeft,o=t.gutters.firstChild,a=0;o;o=o.nextSibling,++a){var s=e.display.gutterSpecs[a].className;n[s]=o.offsetLeft+o.clientLeft+i,r[s]=o.clientWidth}return{fixedPos:Pr(t),gutterTotalWidth:t.gutters.offsetWidth,gutterLeft:n,gutterWidth:r,wrapperWidth:t.wrapper.clientWidth}}function Pr(e){return e.scroller.getBoundingClientRect().left-e.sizer.getBoundingClientRect().left}function Fr(e){var t=Mr(e.display),n=e.options.lineWrapping,r=n&&Math.max(5,e.display.scroller.clientWidth/Nr(e.display)-3);return function(i){if(rn(e.doc,i))return 0;var o=0;if(i.widgets)for(var a=0;a<i.widgets.length;a++)i.widgets[a].height&&(o+=i.widgets[a].height);return n?o+(Math.ceil(i.text.length/r)||1)*t:o+t}}function Dr(e){var t=e.doc,n=Fr(e);t.iter((function(e){var t=n(e);t!=e.height&&et(e,t)}))}function jr(e,t,n,r){var i=e.display;if(!n&&"true"==Te(t).getAttribute("cm-not-content"))return null;var o,a,s=i.lineSpace.getBoundingClientRect();try{o=t.clientX-s.left,a=t.clientY-s.top}catch(e){return null}var l,c=Cr(e,o,a);if(r&&c.xRel>0&&(l=Ze(e.doc,c.line).text).length==c.ch){var u=W(l,l.length,e.options.tabSize)-l.length;c=ot(c.line,Math.max(0,Math.round((o-Vn(e.display).left)/Nr(e.display))-u))}return c}function Br(e,t){if(t>=e.display.viewTo)return null;if((t-=e.display.viewFrom)<0)return null;for(var n=e.display.view,r=0;r<n.length;r++)if((t-=n[r].size)<0)return r}function Ir(e,t,n,r){null==t&&(t=e.doc.first),null==n&&(n=e.doc.first+e.doc.size),r||(r=0);var i=e.display;if(r&&n<i.viewTo&&(null==i.updateLineNumbers||i.updateLineNumbers>t)&&(i.updateLineNumbers=t),e.curOp.viewChanged=!0,t>=i.viewTo)Nt&&tn(e.doc,t)<i.viewTo&&Hr(e);else if(n<=i.viewFrom)Nt&&nn(e.doc,n+r)>i.viewFrom?Hr(e):(i.viewFrom+=r,i.viewTo+=r);else if(t<=i.viewFrom&&n>=i.viewTo)Hr(e);else if(t<=i.viewFrom){var o=Rr(e,n,n+r,1);o?(i.view=i.view.slice(o.index),i.viewFrom=o.lineN,i.viewTo+=r):Hr(e)}else if(n>=i.viewTo){var a=Rr(e,t,t,-1);a?(i.view=i.view.slice(0,a.index),i.viewTo=a.lineN):Hr(e)}else{var s=Rr(e,t,t,-1),l=Rr(e,n,n+r,1);s&&l?(i.view=i.view.slice(0,s.index).concat(kn(e,s.lineN,l.lineN)).concat(i.view.slice(l.index)),i.viewTo+=r):Hr(e)}var c=i.externalMeasured;c&&(n<c.lineN?c.lineN+=r:t<c.lineN+c.size&&(i.externalMeasured=null))}function Wr(e,t,n){e.curOp.viewChanged=!0;var r=e.display,i=e.display.externalMeasured;if(i&&t>=i.lineN&&t<i.lineN+i.size&&(r.externalMeasured=null),!(t<r.viewFrom||t>=r.viewTo)){var o=r.view[Br(e,t)];if(null!=o.node){var a=o.changes||(o.changes=[]);-1==R(a,n)&&a.push(n)}}}function Hr(e){e.display.viewFrom=e.display.viewTo=e.doc.first,e.display.view=[],e.display.viewOffset=0}function Rr(e,t,n,r){var i,o=Br(e,t),a=e.display.view;if(!Nt||n==e.doc.first+e.doc.size)return{index:o,lineN:n};for(var s=e.display.viewFrom,l=0;l<o;l++)s+=a[l].size;if(s!=t){if(r>0){if(o==a.length-1)return null;i=s+a[o].size-t,o++}else i=s-t;t+=i,n+=i}for(;tn(e.doc,n)!=n;){if(o==(r<0?0:a.length-1))return null;n+=r*a[o-(r<0?1:0)].size,o+=r}return{index:o,lineN:n}}function _r(e,t,n){var r=e.display;0==r.view.length||t>=r.viewTo||n<=r.viewFrom?(r.view=kn(e,t,n),r.viewFrom=t):(r.viewFrom>t?r.view=kn(e,t,r.viewFrom).concat(r.view):r.viewFrom<t&&(r.view=r.view.slice(Br(e,t))),r.viewFrom=t,r.viewTo<n?r.view=r.view.concat(kn(e,r.viewTo,n)):r.viewTo>n&&(r.view=r.view.slice(0,Br(e,n)))),r.viewTo=n}function zr(e){for(var t=e.display.view,n=0,r=0;r<t.length;r++){var i=t[r];i.hidden||i.node&&!i.changes||++n}return n}function qr(e){e.display.input.showSelection(e.display.input.prepareSelection())}function Ur(e,t){void 0===t&&(t=!0);for(var n=e.doc,r={},i=r.cursors=document.createDocumentFragment(),o=r.selection=document.createDocumentFragment(),a=0;a<n.sel.ranges.length;a++)if(t||a!=n.sel.primIndex){var s=n.sel.ranges[a];if(!(s.from().line>=e.display.viewTo||s.to().line<e.display.viewFrom)){var l=s.empty();(l||e.options.showCursorWhenSelecting)&&Gr(e,s.head,i),l||Vr(e,s,o)}}return r}function Gr(e,t,n){var r=br(e,t,"div",null,null,!e.options.singleCursorHeightPerLine),i=n.appendChild(M("div"," ","CodeMirror-cursor"));if(i.style.left=r.left+"px",i.style.top=r.top+"px",i.style.height=Math.max(0,r.bottom-r.top)*e.options.cursorHeight+"px",/\bcm-fat-cursor\b/.test(e.getWrapperElement().className)){var o=yr(e,t,"div",null,null);o.right-o.left>0&&(i.style.width=o.right-o.left+"px")}if(r.other){var a=n.appendChild(M("div"," ","CodeMirror-cursor CodeMirror-secondarycursor"));a.style.display="",a.style.left=r.other.left+"px",a.style.top=r.other.top+"px",a.style.height=.85*(r.other.bottom-r.other.top)+"px"}}function Kr(e,t){return e.top-t.top||e.left-t.left}function Vr(e,t,n){var r=e.display,i=e.doc,o=document.createDocumentFragment(),a=Vn(e.display),s=a.left,l=Math.max(r.sizerWidth,Xn(e)-r.sizer.offsetLeft)-a.right,c="ltr"==i.direction;function u(e,t,n,r){t<0&&(t=0),t=Math.round(t),r=Math.round(r),o.appendChild(M("div",null,"CodeMirror-selected","position: absolute; left: "+e+"px;\n top: "+t+"px; width: "+(null==n?l-e:n)+"px;\n height: "+(r-t)+"px"))}function h(t,n,r){var o,a,h=Ze(i,t),d=h.text.length;function f(n,r){return yr(e,ot(t,n),"div",h,r)}function p(t,n,r){var i=Sr(e,h,null,t),o="ltr"==n==("after"==r)?"left":"right";return f("after"==r?i.begin:i.end-(/\s/.test(h.text.charAt(i.end-1))?2:1),o)[o]}var g=de(h,i.direction);return le(g,n||0,null==r?d:r,(function(e,t,i,h){var v="ltr"==i,m=f(e,v?"left":"right"),y=f(t-1,v?"right":"left"),b=null==n&&0==e,w=null==r&&t==d,x=0==h,C=!g||h==g.length-1;if(y.top-m.top<=3){var k=(c?w:b)&&C,S=(c?b:w)&&x?s:(v?m:y).left,L=k?l:(v?y:m).right;u(S,m.top,L-S,m.bottom)}else{var T,A,O,M;v?(T=c&&b&&x?s:m.left,A=c?l:p(e,i,"before"),O=c?s:p(t,i,"after"),M=c&&w&&C?l:y.right):(T=c?p(e,i,"before"):s,A=!c&&b&&x?l:m.right,O=!c&&w&&C?s:y.left,M=c?p(t,i,"after"):l),u(T,m.top,A-T,m.bottom),m.bottom<y.top&&u(s,m.bottom,null,y.top),u(O,y.top,M-O,y.bottom)}(!o||Kr(m,o)<0)&&(o=m),Kr(y,o)<0&&(o=y),(!a||Kr(m,a)<0)&&(a=m),Kr(y,a)<0&&(a=y)})),{start:o,end:a}}var d=t.from(),f=t.to();if(d.line==f.line)h(d.line,d.ch,f.ch);else{var p=Ze(i,d.line),g=Ze(i,f.line),v=Qt(p)==Qt(g),m=h(d.line,d.ch,v?p.text.length+1:null).end,y=h(f.line,v?0:null,f.ch).start;v&&(m.top<y.top-2?(u(m.right,m.top,null,m.bottom),u(s,y.top,y.left,y.bottom)):u(m.right,m.top,y.left-m.right,m.bottom)),m.bottom<y.top&&u(s,m.bottom,null,y.top)}n.appendChild(o)}function $r(e){if(e.state.focused){var t=e.display;clearInterval(t.blinker);var n=!0;t.cursorDiv.style.visibility="",e.options.cursorBlinkRate>0?t.blinker=setInterval((function(){e.hasFocus()||Qr(e),t.cursorDiv.style.visibility=(n=!n)?"":"hidden"}),e.options.cursorBlinkRate):e.options.cursorBlinkRate<0&&(t.cursorDiv.style.visibility="hidden")}}function Xr(e){e.hasFocus()||(e.display.input.focus(),e.state.focused||Zr(e))}function Yr(e){e.state.delayingBlurEvent=!0,setTimeout((function(){e.state.delayingBlurEvent&&(e.state.delayingBlurEvent=!1,e.state.focused&&Qr(e))}),100)}function Zr(e,t){e.state.delayingBlurEvent&&!e.state.draggingText&&(e.state.delayingBlurEvent=!1),"nocursor"!=e.options.readOnly&&(e.state.focused||(me(e,"focus",e,t),e.state.focused=!0,F(e.display.wrapper,"CodeMirror-focused"),e.curOp||e.display.selForContextMenu==e.doc.sel||(e.display.input.reset(),l&&setTimeout((function(){return e.display.input.reset(!0)}),20)),e.display.input.receivedFocus()),$r(e))}function Qr(e,t){e.state.delayingBlurEvent||(e.state.focused&&(me(e,"blur",e,t),e.state.focused=!1,T(e.display.wrapper,"CodeMirror-focused")),clearInterval(e.display.blinker),setTimeout((function(){e.state.focused||(e.display.shift=!1)}),150))}function Jr(e){for(var t=e.display,n=t.lineDiv.offsetTop,r=Math.max(0,t.scroller.getBoundingClientRect().top),i=t.lineDiv.getBoundingClientRect().top,o=0,l=0;l<t.view.length;l++){var c=t.view[l],u=e.options.lineWrapping,h=void 0,d=0;if(!c.hidden){if(i+=c.line.height,a&&s<8){var f=c.node.offsetTop+c.node.offsetHeight;h=f-n,n=f}else{var p=c.node.getBoundingClientRect();h=p.bottom-p.top,!u&&c.text.firstChild&&(d=c.text.firstChild.getBoundingClientRect().right-p.left-1)}var g=c.line.height-h;if((g>.005||g<-.005)&&(i<r&&(o-=g),et(c.line,h),ei(c.line),c.rest))for(var v=0;v<c.rest.length;v++)ei(c.rest[v]);if(d>e.display.sizerWidth){var m=Math.ceil(d/Nr(e.display));m>e.display.maxLineLength&&(e.display.maxLineLength=m,e.display.maxLine=c.line,e.display.maxLineChanged=!0)}}}Math.abs(o)>2&&(t.scroller.scrollTop+=o)}function ei(e){if(e.widgets)for(var t=0;t<e.widgets.length;++t){var n=e.widgets[t],r=n.node.parentNode;r&&(n.height=r.offsetHeight)}}function ti(e,t,n){var r=n&&null!=n.top?Math.max(0,n.top):e.scroller.scrollTop;r=Math.floor(r-Gn(e));var i=n&&null!=n.bottom?n.bottom:r+e.wrapper.clientHeight,o=nt(t,r),a=nt(t,i);if(n&&n.ensure){var s=n.ensure.from.line,l=n.ensure.to.line;s<o?(o=s,a=nt(t,an(Ze(t,s))+e.wrapper.clientHeight)):Math.min(l,t.lastLine())>=a&&(o=nt(t,an(Ze(t,l))-e.wrapper.clientHeight),a=l)}return{from:o,to:Math.max(a,o+1)}}function ni(e,t){if(!ye(e,"scrollCursorIntoView")){var n=e.display,r=n.sizer.getBoundingClientRect(),i=null;if(t.top+r.top<0?i=!0:t.bottom+r.top>(window.innerHeight||document.documentElement.clientHeight)&&(i=!1),null!=i&&!p){var o=M("div","​",null,"position: absolute;\n top: "+(t.top-n.viewOffset-Gn(e.display))+"px;\n height: "+(t.bottom-t.top+$n(e)+n.barHeight)+"px;\n left: "+t.left+"px; width: "+Math.max(2,t.right-t.left)+"px;");e.display.lineSpace.appendChild(o),o.scrollIntoView(i),e.display.lineSpace.removeChild(o)}}}function ri(e,t,n,r){var i;null==r&&(r=0),e.options.lineWrapping||t!=n||(n="before"==t.sticky?ot(t.line,t.ch+1,"before"):t,t=t.ch?ot(t.line,"before"==t.sticky?t.ch-1:t.ch,"after"):t);for(var o=0;o<5;o++){var a=!1,s=br(e,t),l=n&&n!=t?br(e,n):s,c=oi(e,i={left:Math.min(s.left,l.left),top:Math.min(s.top,l.top)-r,right:Math.max(s.left,l.left),bottom:Math.max(s.bottom,l.bottom)+r}),u=e.doc.scrollTop,h=e.doc.scrollLeft;if(null!=c.scrollTop&&(di(e,c.scrollTop),Math.abs(e.doc.scrollTop-u)>1&&(a=!0)),null!=c.scrollLeft&&(pi(e,c.scrollLeft),Math.abs(e.doc.scrollLeft-h)>1&&(a=!0)),!a)break}return i}function ii(e,t){var n=oi(e,t);null!=n.scrollTop&&di(e,n.scrollTop),null!=n.scrollLeft&&pi(e,n.scrollLeft)}function oi(e,t){var n=e.display,r=Mr(e.display);t.top<0&&(t.top=0);var i=e.curOp&&null!=e.curOp.scrollTop?e.curOp.scrollTop:n.scroller.scrollTop,o=Yn(e),a={};t.bottom-t.top>o&&(t.bottom=t.top+o);var s=e.doc.height+Kn(n),l=t.top<r,c=t.bottom>s-r;if(t.top<i)a.scrollTop=l?0:t.top;else if(t.bottom>i+o){var u=Math.min(t.top,(c?s:t.bottom)-o);u!=i&&(a.scrollTop=u)}var h=e.options.fixedGutter?0:n.gutters.offsetWidth,d=e.curOp&&null!=e.curOp.scrollLeft?e.curOp.scrollLeft:n.scroller.scrollLeft-h,f=Xn(e)-n.gutters.offsetWidth,p=t.right-t.left>f;return p&&(t.right=t.left+f),t.left<10?a.scrollLeft=0:t.left<d?a.scrollLeft=Math.max(0,t.left+h-(p?0:10)):t.right>f+d-3&&(a.scrollLeft=t.right+(p?0:10)-f),a}function ai(e,t){null!=t&&(ui(e),e.curOp.scrollTop=(null==e.curOp.scrollTop?e.doc.scrollTop:e.curOp.scrollTop)+t)}function si(e){ui(e);var t=e.getCursor();e.curOp.scrollToPos={from:t,to:t,margin:e.options.cursorScrollMargin}}function li(e,t,n){null==t&&null==n||ui(e),null!=t&&(e.curOp.scrollLeft=t),null!=n&&(e.curOp.scrollTop=n)}function ci(e,t){ui(e),e.curOp.scrollToPos=t}function ui(e){var t=e.curOp.scrollToPos;t&&(e.curOp.scrollToPos=null,hi(e,wr(e,t.from),wr(e,t.to),t.margin))}function hi(e,t,n,r){var i=oi(e,{left:Math.min(t.left,n.left),top:Math.min(t.top,n.top)-r,right:Math.max(t.right,n.right),bottom:Math.max(t.bottom,n.bottom)+r});li(e,i.scrollLeft,i.scrollTop)}function di(e,t){Math.abs(e.doc.scrollTop-t)<2||(n||qi(e,{top:t}),fi(e,t,!0),n&&qi(e),ji(e,100))}function fi(e,t,n){t=Math.max(0,Math.min(e.display.scroller.scrollHeight-e.display.scroller.clientHeight,t)),(e.display.scroller.scrollTop!=t||n)&&(e.doc.scrollTop=t,e.display.scrollbars.setScrollTop(t),e.display.scroller.scrollTop!=t&&(e.display.scroller.scrollTop=t))}function pi(e,t,n,r){t=Math.max(0,Math.min(t,e.display.scroller.scrollWidth-e.display.scroller.clientWidth)),(n?t==e.doc.scrollLeft:Math.abs(e.doc.scrollLeft-t)<2)&&!r||(e.doc.scrollLeft=t,Vi(e),e.display.scroller.scrollLeft!=t&&(e.display.scroller.scrollLeft=t),e.display.scrollbars.setScrollLeft(t))}function gi(e){var t=e.display,n=t.gutters.offsetWidth,r=Math.round(e.doc.height+Kn(e.display));return{clientHeight:t.scroller.clientHeight,viewHeight:t.wrapper.clientHeight,scrollWidth:t.scroller.scrollWidth,clientWidth:t.scroller.clientWidth,viewWidth:t.wrapper.clientWidth,barLeft:e.options.fixedGutter?n:0,docHeight:r,scrollHeight:r+$n(e)+t.barHeight,nativeBarWidth:t.nativeBarWidth,gutterWidth:n}}var vi=function(e,t,n){this.cm=n;var r=this.vert=M("div",[M("div",null,null,"min-width: 1px")],"CodeMirror-vscrollbar"),i=this.horiz=M("div",[M("div",null,null,"height: 100%; min-height: 1px")],"CodeMirror-hscrollbar");r.tabIndex=i.tabIndex=-1,e(r),e(i),pe(r,"scroll",(function(){r.clientHeight&&t(r.scrollTop,"vertical")})),pe(i,"scroll",(function(){i.clientWidth&&t(i.scrollLeft,"horizontal")})),this.checkedZeroWidth=!1,a&&s<8&&(this.horiz.style.minHeight=this.vert.style.minWidth="18px")};vi.prototype.update=function(e){var t=e.scrollWidth>e.clientWidth+1,n=e.scrollHeight>e.clientHeight+1,r=e.nativeBarWidth;if(n){this.vert.style.display="block",this.vert.style.bottom=t?r+"px":"0";var i=e.viewHeight-(t?r:0);this.vert.firstChild.style.height=Math.max(0,e.scrollHeight-e.clientHeight+i)+"px"}else this.vert.style.display="",this.vert.firstChild.style.height="0";if(t){this.horiz.style.display="block",this.horiz.style.right=n?r+"px":"0",this.horiz.style.left=e.barLeft+"px";var o=e.viewWidth-e.barLeft-(n?r:0);this.horiz.firstChild.style.width=Math.max(0,e.scrollWidth-e.clientWidth+o)+"px"}else this.horiz.style.display="",this.horiz.firstChild.style.width="0";return!this.checkedZeroWidth&&e.clientHeight>0&&(0==r&&this.zeroWidthHack(),this.checkedZeroWidth=!0),{right:n?r:0,bottom:t?r:0}},vi.prototype.setScrollLeft=function(e){this.horiz.scrollLeft!=e&&(this.horiz.scrollLeft=e),this.disableHoriz&&this.enableZeroWidthBar(this.horiz,this.disableHoriz,"horiz")},vi.prototype.setScrollTop=function(e){this.vert.scrollTop!=e&&(this.vert.scrollTop=e),this.disableVert&&this.enableZeroWidthBar(this.vert,this.disableVert,"vert")},vi.prototype.zeroWidthHack=function(){var e=y&&!f?"12px":"18px";this.horiz.style.height=this.vert.style.width=e,this.horiz.style.pointerEvents=this.vert.style.pointerEvents="none",this.disableHoriz=new H,this.disableVert=new H},vi.prototype.enableZeroWidthBar=function(e,t,n){function r(){var i=e.getBoundingClientRect();("vert"==n?document.elementFromPoint(i.right-1,(i.top+i.bottom)/2):document.elementFromPoint((i.right+i.left)/2,i.bottom-1))!=e?e.style.pointerEvents="none":t.set(1e3,r)}e.style.pointerEvents="auto",t.set(1e3,r)},vi.prototype.clear=function(){var e=this.horiz.parentNode;e.removeChild(this.horiz),e.removeChild(this.vert)};var mi=function(){};function yi(e,t){t||(t=gi(e));var n=e.display.barWidth,r=e.display.barHeight;bi(e,t);for(var i=0;i<4&&n!=e.display.barWidth||r!=e.display.barHeight;i++)n!=e.display.barWidth&&e.options.lineWrapping&&Jr(e),bi(e,gi(e)),n=e.display.barWidth,r=e.display.barHeight}function bi(e,t){var n=e.display,r=n.scrollbars.update(t);n.sizer.style.paddingRight=(n.barWidth=r.right)+"px",n.sizer.style.paddingBottom=(n.barHeight=r.bottom)+"px",n.heightForcer.style.borderBottom=r.bottom+"px solid transparent",r.right&&r.bottom?(n.scrollbarFiller.style.display="block",n.scrollbarFiller.style.height=r.bottom+"px",n.scrollbarFiller.style.width=r.right+"px"):n.scrollbarFiller.style.display="",r.bottom&&e.options.coverGutterNextToScrollbar&&e.options.fixedGutter?(n.gutterFiller.style.display="block",n.gutterFiller.style.height=r.bottom+"px",n.gutterFiller.style.width=t.gutterWidth+"px"):n.gutterFiller.style.display=""}mi.prototype.update=function(){return{bottom:0,right:0}},mi.prototype.setScrollLeft=function(){},mi.prototype.setScrollTop=function(){},mi.prototype.clear=function(){};var wi={native:vi,null:mi};function xi(e){e.display.scrollbars&&(e.display.scrollbars.clear(),e.display.scrollbars.addClass&&T(e.display.wrapper,e.display.scrollbars.addClass)),e.display.scrollbars=new wi[e.options.scrollbarStyle]((function(t){e.display.wrapper.insertBefore(t,e.display.scrollbarFiller),pe(t,"mousedown",(function(){e.state.focused&&setTimeout((function(){return e.display.input.focus()}),0)})),t.setAttribute("cm-not-content","true")}),(function(t,n){"horizontal"==n?pi(e,t):di(e,t)}),e),e.display.scrollbars.addClass&&F(e.display.wrapper,e.display.scrollbars.addClass)}var Ci=0;function ki(e){e.curOp={cm:e,viewChanged:!1,startHeight:e.doc.height,forceUpdate:!1,updateInput:0,typing:!1,changeObjs:null,cursorActivityHandlers:null,cursorActivityCalled:0,selectionChanged:!1,updateMaxLine:!1,scrollLeft:null,scrollTop:null,scrollToPos:null,focus:!1,id:++Ci,markArrays:null},Ln(e.curOp)}function Si(e){var t=e.curOp;t&&An(t,(function(e){for(var t=0;t<e.ops.length;t++)e.ops[t].cm.curOp=null;Li(e)}))}function Li(e){for(var t=e.ops,n=0;n<t.length;n++)Ti(t[n]);for(var r=0;r<t.length;r++)Ai(t[r]);for(var i=0;i<t.length;i++)Oi(t[i]);for(var o=0;o<t.length;o++)Mi(t[o]);for(var a=0;a<t.length;a++)Ni(t[a])}function Ti(e){var t=e.cm,n=t.display;Wi(t),e.updateMaxLine&&ln(t),e.mustUpdate=e.viewChanged||e.forceUpdate||null!=e.scrollTop||e.scrollToPos&&(e.scrollToPos.from.line<n.viewFrom||e.scrollToPos.to.line>=n.viewTo)||n.maxLineChanged&&t.options.lineWrapping,e.update=e.mustUpdate&&new Ii(t,e.mustUpdate&&{top:e.scrollTop,ensure:e.scrollToPos},e.forceUpdate)}function Ai(e){e.updatedDisplay=e.mustUpdate&&_i(e.cm,e.update)}function Oi(e){var t=e.cm,n=t.display;e.updatedDisplay&&Jr(t),e.barMeasure=gi(t),n.maxLineChanged&&!t.options.lineWrapping&&(e.adjustWidthTo=er(t,n.maxLine,n.maxLine.text.length).left+3,t.display.sizerWidth=e.adjustWidthTo,e.barMeasure.scrollWidth=Math.max(n.scroller.clientWidth,n.sizer.offsetLeft+e.adjustWidthTo+$n(t)+t.display.barWidth),e.maxScrollLeft=Math.max(0,n.sizer.offsetLeft+e.adjustWidthTo-Xn(t))),(e.updatedDisplay||e.selectionChanged)&&(e.preparedSelection=n.input.prepareSelection())}function Mi(e){var t=e.cm;null!=e.adjustWidthTo&&(t.display.sizer.style.minWidth=e.adjustWidthTo+"px",e.maxScrollLeft<t.doc.scrollLeft&&pi(t,Math.min(t.display.scroller.scrollLeft,e.maxScrollLeft),!0),t.display.maxLineChanged=!1);var n=e.focus&&e.focus==P();e.preparedSelection&&t.display.input.showSelection(e.preparedSelection,n),(e.updatedDisplay||e.startHeight!=t.doc.height)&&yi(t,e.barMeasure),e.updatedDisplay&&Ki(t,e.barMeasure),e.selectionChanged&&$r(t),t.state.focused&&e.updateInput&&t.display.input.reset(e.typing),n&&Xr(e.cm)}function Ni(e){var t=e.cm,n=t.display,r=t.doc;e.updatedDisplay&&zi(t,e.update),null==n.wheelStartX||null==e.scrollTop&&null==e.scrollLeft&&!e.scrollToPos||(n.wheelStartX=n.wheelStartY=null),null!=e.scrollTop&&fi(t,e.scrollTop,e.forceScroll),null!=e.scrollLeft&&pi(t,e.scrollLeft,!0,!0),e.scrollToPos&&ni(t,ri(t,dt(r,e.scrollToPos.from),dt(r,e.scrollToPos.to),e.scrollToPos.margin));var i=e.maybeHiddenMarkers,o=e.maybeUnhiddenMarkers;if(i)for(var a=0;a<i.length;++a)i[a].lines.length||me(i[a],"hide");if(o)for(var s=0;s<o.length;++s)o[s].lines.length&&me(o[s],"unhide");n.wrapper.offsetHeight&&(r.scrollTop=t.display.scroller.scrollTop),e.changeObjs&&me(t,"changes",t,e.changeObjs),e.update&&e.update.finish()}function Ei(e,t){if(e.curOp)return t();ki(e);try{return t()}finally{Si(e)}}function Pi(e,t){return function(){if(e.curOp)return t.apply(e,arguments);ki(e);try{return t.apply(e,arguments)}finally{Si(e)}}}function Fi(e){return function(){if(this.curOp)return e.apply(this,arguments);ki(this);try{return e.apply(this,arguments)}finally{Si(this)}}}function Di(e){return function(){var t=this.cm;if(!t||t.curOp)return e.apply(this,arguments);ki(t);try{return e.apply(this,arguments)}finally{Si(t)}}}function ji(e,t){e.doc.highlightFrontier<e.display.viewTo&&e.state.highlight.set(t,B(Bi,e))}function Bi(e){var t=e.doc;if(!(t.highlightFrontier>=e.display.viewTo)){var n=+new Date+e.options.workTime,r=bt(e,t.highlightFrontier),i=[];t.iter(r.line,Math.min(t.first+t.size,e.display.viewTo+500),(function(o){if(r.line>=e.display.viewFrom){var a=o.styles,s=o.text.length>e.options.maxHighlightLength?Ve(t.mode,r.state):null,l=mt(e,o,r,!0);s&&(r.state=s),o.styles=l.styles;var c=o.styleClasses,u=l.classes;u?o.styleClasses=u:c&&(o.styleClasses=null);for(var h=!a||a.length!=o.styles.length||c!=u&&(!c||!u||c.bgClass!=u.bgClass||c.textClass!=u.textClass),d=0;!h&&d<a.length;++d)h=a[d]!=o.styles[d];h&&i.push(r.line),o.stateAfter=r.save(),r.nextLine()}else o.text.length<=e.options.maxHighlightLength&&wt(e,o.text,r),o.stateAfter=r.line%5==0?r.save():null,r.nextLine();if(+new Date>n)return ji(e,e.options.workDelay),!0})),t.highlightFrontier=r.line,t.modeFrontier=Math.max(t.modeFrontier,r.line),i.length&&Ei(e,(function(){for(var t=0;t<i.length;t++)Wr(e,i[t],"text")}))}}var Ii=function(e,t,n){var r=e.display;this.viewport=t,this.visible=ti(r,e.doc,t),this.editorIsHidden=!r.wrapper.offsetWidth,this.wrapperHeight=r.wrapper.clientHeight,this.wrapperWidth=r.wrapper.clientWidth,this.oldDisplayWidth=Xn(e),this.force=n,this.dims=Er(e),this.events=[]};function Wi(e){var t=e.display;!t.scrollbarsClipped&&t.scroller.offsetWidth&&(t.nativeBarWidth=t.scroller.offsetWidth-t.scroller.clientWidth,t.heightForcer.style.height=$n(e)+"px",t.sizer.style.marginBottom=-t.nativeBarWidth+"px",t.sizer.style.borderRightWidth=$n(e)+"px",t.scrollbarsClipped=!0)}function Hi(e){if(e.hasFocus())return null;var t=P();if(!t||!E(e.display.lineDiv,t))return null;var n={activeElt:t};if(window.getSelection){var r=window.getSelection();r.anchorNode&&r.extend&&E(e.display.lineDiv,r.anchorNode)&&(n.anchorNode=r.anchorNode,n.anchorOffset=r.anchorOffset,n.focusNode=r.focusNode,n.focusOffset=r.focusOffset)}return n}function Ri(e){if(e&&e.activeElt&&e.activeElt!=P()&&(e.activeElt.focus(),!/^(INPUT|TEXTAREA)$/.test(e.activeElt.nodeName)&&e.anchorNode&&E(document.body,e.anchorNode)&&E(document.body,e.focusNode))){var t=window.getSelection(),n=document.createRange();n.setEnd(e.anchorNode,e.anchorOffset),n.collapse(!1),t.removeAllRanges(),t.addRange(n),t.extend(e.focusNode,e.focusOffset)}}function _i(e,t){var n=e.display,r=e.doc;if(t.editorIsHidden)return Hr(e),!1;if(!t.force&&t.visible.from>=n.viewFrom&&t.visible.to<=n.viewTo&&(null==n.updateLineNumbers||n.updateLineNumbers>=n.viewTo)&&n.renderedView==n.view&&0==zr(e))return!1;$i(e)&&(Hr(e),t.dims=Er(e));var i=r.first+r.size,o=Math.max(t.visible.from-e.options.viewportMargin,r.first),a=Math.min(i,t.visible.to+e.options.viewportMargin);n.viewFrom<o&&o-n.viewFrom<20&&(o=Math.max(r.first,n.viewFrom)),n.viewTo>a&&n.viewTo-a<20&&(a=Math.min(i,n.viewTo)),Nt&&(o=tn(e.doc,o),a=nn(e.doc,a));var s=o!=n.viewFrom||a!=n.viewTo||n.lastWrapHeight!=t.wrapperHeight||n.lastWrapWidth!=t.wrapperWidth;_r(e,o,a),n.viewOffset=an(Ze(e.doc,n.viewFrom)),e.display.mover.style.top=n.viewOffset+"px";var l=zr(e);if(!s&&0==l&&!t.force&&n.renderedView==n.view&&(null==n.updateLineNumbers||n.updateLineNumbers>=n.viewTo))return!1;var c=Hi(e);return l>4&&(n.lineDiv.style.display="none"),Ui(e,n.updateLineNumbers,t.dims),l>4&&(n.lineDiv.style.display=""),n.renderedView=n.view,Ri(c),A(n.cursorDiv),A(n.selectionDiv),n.gutters.style.height=n.sizer.style.minHeight=0,s&&(n.lastWrapHeight=t.wrapperHeight,n.lastWrapWidth=t.wrapperWidth,ji(e,400)),n.updateLineNumbers=null,!0}function zi(e,t){for(var n=t.viewport,r=!0;;r=!1){if(r&&e.options.lineWrapping&&t.oldDisplayWidth!=Xn(e))r&&(t.visible=ti(e.display,e.doc,n));else if(n&&null!=n.top&&(n={top:Math.min(e.doc.height+Kn(e.display)-Yn(e),n.top)}),t.visible=ti(e.display,e.doc,n),t.visible.from>=e.display.viewFrom&&t.visible.to<=e.display.viewTo)break;if(!_i(e,t))break;Jr(e);var i=gi(e);qr(e),yi(e,i),Ki(e,i),t.force=!1}t.signal(e,"update",e),e.display.viewFrom==e.display.reportedViewFrom&&e.display.viewTo==e.display.reportedViewTo||(t.signal(e,"viewportChange",e,e.display.viewFrom,e.display.viewTo),e.display.reportedViewFrom=e.display.viewFrom,e.display.reportedViewTo=e.display.viewTo)}function qi(e,t){var n=new Ii(e,t);if(_i(e,n)){Jr(e),zi(e,n);var r=gi(e);qr(e),yi(e,r),Ki(e,r),n.finish()}}function Ui(e,t,n){var r=e.display,i=e.options.lineNumbers,o=r.lineDiv,a=o.firstChild;function s(t){var n=t.nextSibling;return l&&y&&e.display.currentWheelTarget==t?t.style.display="none":t.parentNode.removeChild(t),n}for(var c=r.view,u=r.viewFrom,h=0;h<c.length;h++){var d=c[h];if(d.hidden);else if(d.node&&d.node.parentNode==o){for(;a!=d.node;)a=s(a);var f=i&&null!=t&&t<=u&&d.lineNumber;d.changes&&(R(d.changes,"gutter")>-1&&(f=!1),En(e,d,u,n)),f&&(A(d.lineNumber),d.lineNumber.appendChild(document.createTextNode(it(e.options,u)))),a=d.node.nextSibling}else{var p=Hn(e,d,u,n);o.insertBefore(p,a)}u+=d.size}for(;a;)a=s(a)}function Gi(e){var t=e.gutters.offsetWidth;e.sizer.style.marginLeft=t+"px",Mn(e,"gutterChanged",e)}function Ki(e,t){e.display.sizer.style.minHeight=t.docHeight+"px",e.display.heightForcer.style.top=t.docHeight+"px",e.display.gutters.style.height=t.docHeight+e.display.barHeight+$n(e)+"px"}function Vi(e){var t=e.display,n=t.view;if(t.alignWidgets||t.gutters.firstChild&&e.options.fixedGutter){for(var r=Pr(t)-t.scroller.scrollLeft+e.doc.scrollLeft,i=t.gutters.offsetWidth,o=r+"px",a=0;a<n.length;a++)if(!n[a].hidden){e.options.fixedGutter&&(n[a].gutter&&(n[a].gutter.style.left=o),n[a].gutterBackground&&(n[a].gutterBackground.style.left=o));var s=n[a].alignable;if(s)for(var l=0;l<s.length;l++)s[l].style.left=o}e.options.fixedGutter&&(t.gutters.style.left=r+i+"px")}}function $i(e){if(!e.options.lineNumbers)return!1;var t=e.doc,n=it(e.options,t.first+t.size-1),r=e.display;if(n.length!=r.lineNumChars){var i=r.measure.appendChild(M("div",[M("div",n)],"CodeMirror-linenumber CodeMirror-gutter-elt")),o=i.firstChild.offsetWidth,a=i.offsetWidth-o;return r.lineGutter.style.width="",r.lineNumInnerWidth=Math.max(o,r.lineGutter.offsetWidth-a)+1,r.lineNumWidth=r.lineNumInnerWidth+a,r.lineNumChars=r.lineNumInnerWidth?n.length:-1,r.lineGutter.style.width=r.lineNumWidth+"px",Gi(e.display),!0}return!1}function Xi(e,t){for(var n=[],r=!1,i=0;i<e.length;i++){var o=e[i],a=null;if("string"!=typeof o&&(a=o.style,o=o.className),"CodeMirror-linenumbers"==o){if(!t)continue;r=!0}n.push({className:o,style:a})}return t&&!r&&n.push({className:"CodeMirror-linenumbers",style:null}),n}function Yi(e){var t=e.gutters,n=e.gutterSpecs;A(t),e.lineGutter=null;for(var r=0;r<n.length;++r){var i=n[r],o=i.className,a=i.style,s=t.appendChild(M("div",null,"CodeMirror-gutter "+o));a&&(s.style.cssText=a),"CodeMirror-linenumbers"==o&&(e.lineGutter=s,s.style.width=(e.lineNumWidth||1)+"px")}t.style.display=n.length?"":"none",Gi(e)}function Zi(e){Yi(e.display),Ir(e),Vi(e)}function Qi(e,t,r,i){var o=this;this.input=r,o.scrollbarFiller=M("div",null,"CodeMirror-scrollbar-filler"),o.scrollbarFiller.setAttribute("cm-not-content","true"),o.gutterFiller=M("div",null,"CodeMirror-gutter-filler"),o.gutterFiller.setAttribute("cm-not-content","true"),o.lineDiv=N("div",null,"CodeMirror-code"),o.selectionDiv=M("div",null,null,"position: relative; z-index: 1"),o.cursorDiv=M("div",null,"CodeMirror-cursors"),o.measure=M("div",null,"CodeMirror-measure"),o.lineMeasure=M("div",null,"CodeMirror-measure"),o.lineSpace=N("div",[o.measure,o.lineMeasure,o.selectionDiv,o.cursorDiv,o.lineDiv],null,"position: relative; outline: none");var c=N("div",[o.lineSpace],"CodeMirror-lines");o.mover=M("div",[c],null,"position: relative"),o.sizer=M("div",[o.mover],"CodeMirror-sizer"),o.sizerWidth=null,o.heightForcer=M("div",null,null,"position: absolute; height: "+_+"px; width: 1px;"),o.gutters=M("div",null,"CodeMirror-gutters"),o.lineGutter=null,o.scroller=M("div",[o.sizer,o.heightForcer,o.gutters],"CodeMirror-scroll"),o.scroller.setAttribute("tabIndex","-1"),o.wrapper=M("div",[o.scrollbarFiller,o.gutterFiller,o.scroller],"CodeMirror"),o.wrapper.setAttribute("translate","no"),a&&s<8&&(o.gutters.style.zIndex=-1,o.scroller.style.paddingRight=0),l||n&&m||(o.scroller.draggable=!0),e&&(e.appendChild?e.appendChild(o.wrapper):e(o.wrapper)),o.viewFrom=o.viewTo=t.first,o.reportedViewFrom=o.reportedViewTo=t.first,o.view=[],o.renderedView=null,o.externalMeasured=null,o.viewOffset=0,o.lastWrapHeight=o.lastWrapWidth=0,o.updateLineNumbers=null,o.nativeBarWidth=o.barHeight=o.barWidth=0,o.scrollbarsClipped=!1,o.lineNumWidth=o.lineNumInnerWidth=o.lineNumChars=null,o.alignWidgets=!1,o.cachedCharWidth=o.cachedTextHeight=o.cachedPaddingH=null,o.maxLine=null,o.maxLineLength=0,o.maxLineChanged=!1,o.wheelDX=o.wheelDY=o.wheelStartX=o.wheelStartY=null,o.shift=!1,o.selForContextMenu=null,o.activeTouch=null,o.gutterSpecs=Xi(i.gutters,i.lineNumbers),Yi(o),r.init(o)}Ii.prototype.signal=function(e,t){we(e,t)&&this.events.push(arguments)},Ii.prototype.finish=function(){for(var e=0;e<this.events.length;e++)me.apply(null,this.events[e])};var Ji=0,eo=null;function to(e){var t=e.wheelDeltaX,n=e.wheelDeltaY;return null==t&&e.detail&&e.axis==e.HORIZONTAL_AXIS&&(t=e.detail),null==n&&e.detail&&e.axis==e.VERTICAL_AXIS?n=e.detail:null==n&&(n=e.wheelDelta),{x:t,y:n}}function no(e){var t=to(e);return t.x*=eo,t.y*=eo,t}function ro(e,t){var r=to(t),i=r.x,o=r.y,a=eo;0===t.deltaMode&&(i=t.deltaX,o=t.deltaY,a=1);var s=e.display,c=s.scroller,u=c.scrollWidth>c.clientWidth,d=c.scrollHeight>c.clientHeight;if(i&&u||o&&d){if(o&&y&&l)e:for(var f=t.target,p=s.view;f!=c;f=f.parentNode)for(var g=0;g<p.length;g++)if(p[g].node==f){e.display.currentWheelTarget=f;break e}if(i&&!n&&!h&&null!=a)return o&&d&&di(e,Math.max(0,c.scrollTop+o*a)),pi(e,Math.max(0,c.scrollLeft+i*a)),(!o||o&&d)&&Ce(t),void(s.wheelStartX=null);if(o&&null!=a){var v=o*a,m=e.doc.scrollTop,b=m+s.wrapper.clientHeight;v<0?m=Math.max(0,m+v-50):b=Math.min(e.doc.height,b+v+50),qi(e,{top:m,bottom:b})}Ji<20&&0!==t.deltaMode&&(null==s.wheelStartX?(s.wheelStartX=c.scrollLeft,s.wheelStartY=c.scrollTop,s.wheelDX=i,s.wheelDY=o,setTimeout((function(){if(null!=s.wheelStartX){var e=c.scrollLeft-s.wheelStartX,t=c.scrollTop-s.wheelStartY,n=t&&s.wheelDY&&t/s.wheelDY||e&&s.wheelDX&&e/s.wheelDX;s.wheelStartX=s.wheelStartY=null,n&&(eo=(eo*Ji+n)/(Ji+1),++Ji)}}),200)):(s.wheelDX+=i,s.wheelDY+=o))}}a?eo=-.53:n?eo=15:u?eo=-.7:d&&(eo=-1/3);var io=function(e,t){this.ranges=e,this.primIndex=t};io.prototype.primary=function(){return this.ranges[this.primIndex]},io.prototype.equals=function(e){if(e==this)return!0;if(e.primIndex!=this.primIndex||e.ranges.length!=this.ranges.length)return!1;for(var t=0;t<this.ranges.length;t++){var n=this.ranges[t],r=e.ranges[t];if(!st(n.anchor,r.anchor)||!st(n.head,r.head))return!1}return!0},io.prototype.deepCopy=function(){for(var e=[],t=0;t<this.ranges.length;t++)e[t]=new oo(lt(this.ranges[t].anchor),lt(this.ranges[t].head));return new io(e,this.primIndex)},io.prototype.somethingSelected=function(){for(var e=0;e<this.ranges.length;e++)if(!this.ranges[e].empty())return!0;return!1},io.prototype.contains=function(e,t){t||(t=e);for(var n=0;n<this.ranges.length;n++){var r=this.ranges[n];if(at(t,r.from())>=0&&at(e,r.to())<=0)return n}return-1};var oo=function(e,t){this.anchor=e,this.head=t};function ao(e,t,n){var r=e&&e.options.selectionsMayTouch,i=t[n];t.sort((function(e,t){return at(e.from(),t.from())})),n=R(t,i);for(var o=1;o<t.length;o++){var a=t[o],s=t[o-1],l=at(s.to(),a.from());if(r&&!a.empty()?l>0:l>=0){var c=ut(s.from(),a.from()),u=ct(s.to(),a.to()),h=s.empty()?a.from()==a.head:s.from()==s.head;o<=n&&--n,t.splice(--o,2,new oo(h?u:c,h?c:u))}}return new io(t,n)}function so(e,t){return new io([new oo(e,t||e)],0)}function lo(e){return e.text?ot(e.from.line+e.text.length-1,X(e.text).length+(1==e.text.length?e.from.ch:0)):e.to}function co(e,t){if(at(e,t.from)<0)return e;if(at(e,t.to)<=0)return lo(t);var n=e.line+t.text.length-(t.to.line-t.from.line)-1,r=e.ch;return e.line==t.to.line&&(r+=lo(t).ch-t.to.ch),ot(n,r)}function uo(e,t){for(var n=[],r=0;r<e.sel.ranges.length;r++){var i=e.sel.ranges[r];n.push(new oo(co(i.anchor,t),co(i.head,t)))}return ao(e.cm,n,e.sel.primIndex)}function ho(e,t,n){return e.line==t.line?ot(n.line,e.ch-t.ch+n.ch):ot(n.line+(e.line-t.line),e.ch)}function fo(e,t,n){for(var r=[],i=ot(e.first,0),o=i,a=0;a<t.length;a++){var s=t[a],l=ho(s.from,i,o),c=ho(lo(s),i,o);if(i=s.to,o=c,"around"==n){var u=e.sel.ranges[a],h=at(u.head,u.anchor)<0;r[a]=new oo(h?c:l,h?l:c)}else r[a]=new oo(l,l)}return new io(r,e.sel.primIndex)}function po(e){e.doc.mode=Ue(e.options,e.doc.modeOption),go(e)}function go(e){e.doc.iter((function(e){e.stateAfter&&(e.stateAfter=null),e.styles&&(e.styles=null)})),e.doc.modeFrontier=e.doc.highlightFrontier=e.doc.first,ji(e,100),e.state.modeGen++,e.curOp&&Ir(e)}function vo(e,t){return 0==t.from.ch&&0==t.to.ch&&""==X(t.text)&&(!e.cm||e.cm.options.wholeLineUpdateBefore)}function mo(e,t,n,r){function i(e){return n?n[e]:null}function o(e,n,i){un(e,n,i,r),Mn(e,"change",e,t)}function a(e,t){for(var n=[],o=e;o<t;++o)n.push(new cn(c[o],i(o),r));return n}var s=t.from,l=t.to,c=t.text,u=Ze(e,s.line),h=Ze(e,l.line),d=X(c),f=i(c.length-1),p=l.line-s.line;if(t.full)e.insert(0,a(0,c.length)),e.remove(c.length,e.size-c.length);else if(vo(e,t)){var g=a(0,c.length-1);o(h,h.text,f),p&&e.remove(s.line,p),g.length&&e.insert(s.line,g)}else if(u==h)if(1==c.length)o(u,u.text.slice(0,s.ch)+d+u.text.slice(l.ch),f);else{var v=a(1,c.length-1);v.push(new cn(d+u.text.slice(l.ch),f,r)),o(u,u.text.slice(0,s.ch)+c[0],i(0)),e.insert(s.line+1,v)}else if(1==c.length)o(u,u.text.slice(0,s.ch)+c[0]+h.text.slice(l.ch),i(0)),e.remove(s.line+1,p);else{o(u,u.text.slice(0,s.ch)+c[0],i(0)),o(h,d+h.text.slice(l.ch),f);var m=a(1,c.length-1);p>1&&e.remove(s.line+1,p-1),e.insert(s.line+1,m)}Mn(e,"change",e,t)}function yo(e,t,n){function r(e,i,o){if(e.linked)for(var a=0;a<e.linked.length;++a){var s=e.linked[a];if(s.doc!=i){var l=o&&s.sharedHist;n&&!l||(t(s.doc,l),r(s.doc,e,l))}}}r(e,null,!0)}function bo(e,t){if(t.cm)throw new Error("This document is already in use.");e.doc=t,t.cm=e,Dr(e),po(e),wo(e),e.options.direction=t.direction,e.options.lineWrapping||ln(e),e.options.mode=t.modeOption,Ir(e)}function wo(e){("rtl"==e.doc.direction?F:T)(e.display.lineDiv,"CodeMirror-rtl")}function xo(e){Ei(e,(function(){wo(e),Ir(e)}))}function Co(e){this.done=[],this.undone=[],this.undoDepth=e?e.undoDepth:1/0,this.lastModTime=this.lastSelTime=0,this.lastOp=this.lastSelOp=null,this.lastOrigin=this.lastSelOrigin=null,this.generation=this.maxGeneration=e?e.maxGeneration:1}function ko(e,t){var n={from:lt(t.from),to:lo(t),text:Qe(e,t.from,t.to)};return No(e,n,t.from.line,t.to.line+1),yo(e,(function(e){return No(e,n,t.from.line,t.to.line+1)}),!0),n}function So(e){for(;e.length&&X(e).ranges;)e.pop()}function Lo(e,t){return t?(So(e.done),X(e.done)):e.done.length&&!X(e.done).ranges?X(e.done):e.done.length>1&&!e.done[e.done.length-2].ranges?(e.done.pop(),X(e.done)):void 0}function To(e,t,n,r){var i=e.history;i.undone.length=0;var o,a,s=+new Date;if((i.lastOp==r||i.lastOrigin==t.origin&&t.origin&&("+"==t.origin.charAt(0)&&i.lastModTime>s-(e.cm?e.cm.options.historyEventDelay:500)||"*"==t.origin.charAt(0)))&&(o=Lo(i,i.lastOp==r)))a=X(o.changes),0==at(t.from,t.to)&&0==at(t.from,a.to)?a.to=lo(t):o.changes.push(ko(e,t));else{var l=X(i.done);for(l&&l.ranges||Mo(e.sel,i.done),o={changes:[ko(e,t)],generation:i.generation},i.done.push(o);i.done.length>i.undoDepth;)i.done.shift(),i.done[0].ranges||i.done.shift()}i.done.push(n),i.generation=++i.maxGeneration,i.lastModTime=i.lastSelTime=s,i.lastOp=i.lastSelOp=r,i.lastOrigin=i.lastSelOrigin=t.origin,a||me(e,"historyAdded")}function Ao(e,t,n,r){var i=t.charAt(0);return"*"==i||"+"==i&&n.ranges.length==r.ranges.length&&n.somethingSelected()==r.somethingSelected()&&new Date-e.history.lastSelTime<=(e.cm?e.cm.options.historyEventDelay:500)}function Oo(e,t,n,r){var i=e.history,o=r&&r.origin;n==i.lastSelOp||o&&i.lastSelOrigin==o&&(i.lastModTime==i.lastSelTime&&i.lastOrigin==o||Ao(e,o,X(i.done),t))?i.done[i.done.length-1]=t:Mo(t,i.done),i.lastSelTime=+new Date,i.lastSelOrigin=o,i.lastSelOp=n,r&&!1!==r.clearRedo&&So(i.undone)}function Mo(e,t){var n=X(t);n&&n.ranges&&n.equals(e)||t.push(e)}function No(e,t,n,r){var i=t["spans_"+e.id],o=0;e.iter(Math.max(e.first,n),Math.min(e.first+e.size,r),(function(n){n.markedSpans&&((i||(i=t["spans_"+e.id]={}))[o]=n.markedSpans),++o}))}function Eo(e){if(!e)return null;for(var t,n=0;n<e.length;++n)e[n].marker.explicitlyCleared?t||(t=e.slice(0,n)):t&&t.push(e[n]);return t?t.length?t:null:e}function Po(e,t){var n=t["spans_"+e.id];if(!n)return null;for(var r=[],i=0;i<t.text.length;++i)r.push(Eo(n[i]));return r}function Fo(e,t){var n=Po(e,t),r=Ht(e,t);if(!n)return r;if(!r)return n;for(var i=0;i<n.length;++i){var o=n[i],a=r[i];if(o&&a)e:for(var s=0;s<a.length;++s){for(var l=a[s],c=0;c<o.length;++c)if(o[c].marker==l.marker)continue e;o.push(l)}else a&&(n[i]=a)}return n}function Do(e,t,n){for(var r=[],i=0;i<e.length;++i){var o=e[i];if(o.ranges)r.push(n?io.prototype.deepCopy.call(o):o);else{var a=o.changes,s=[];r.push({changes:s});for(var l=0;l<a.length;++l){var c=a[l],u=void 0;if(s.push({from:c.from,to:c.to,text:c.text}),t)for(var h in c)(u=h.match(/^spans_(\d+)$/))&&R(t,Number(u[1]))>-1&&(X(s)[h]=c[h],delete c[h])}}}return r}function jo(e,t,n,r){if(r){var i=e.anchor;if(n){var o=at(t,i)<0;o!=at(n,i)<0?(i=t,t=n):o!=at(t,n)<0&&(t=n)}return new oo(i,t)}return new oo(n||t,t)}function Bo(e,t,n,r,i){null==i&&(i=e.cm&&(e.cm.display.shift||e.extend)),zo(e,new io([jo(e.sel.primary(),t,n,i)],0),r)}function Io(e,t,n){for(var r=[],i=e.cm&&(e.cm.display.shift||e.extend),o=0;o<e.sel.ranges.length;o++)r[o]=jo(e.sel.ranges[o],t[o],null,i);zo(e,ao(e.cm,r,e.sel.primIndex),n)}function Wo(e,t,n,r){var i=e.sel.ranges.slice(0);i[t]=n,zo(e,ao(e.cm,i,e.sel.primIndex),r)}function Ho(e,t,n,r){zo(e,so(t,n),r)}function Ro(e,t,n){var r={ranges:t.ranges,update:function(t){this.ranges=[];for(var n=0;n<t.length;n++)this.ranges[n]=new oo(dt(e,t[n].anchor),dt(e,t[n].head))},origin:n&&n.origin};return me(e,"beforeSelectionChange",e,r),e.cm&&me(e.cm,"beforeSelectionChange",e.cm,r),r.ranges!=t.ranges?ao(e.cm,r.ranges,r.ranges.length-1):t}function _o(e,t,n){var r=e.history.done,i=X(r);i&&i.ranges?(r[r.length-1]=t,qo(e,t,n)):zo(e,t,n)}function zo(e,t,n){qo(e,t,n),Oo(e,e.sel,e.cm?e.cm.curOp.id:NaN,n)}function qo(e,t,n){(we(e,"beforeSelectionChange")||e.cm&&we(e.cm,"beforeSelectionChange"))&&(t=Ro(e,t,n));var r=n&&n.bias||(at(t.primary().head,e.sel.primary().head)<0?-1:1);Uo(e,Ko(e,t,r,!0)),n&&!1===n.scroll||!e.cm||"nocursor"==e.cm.getOption("readOnly")||si(e.cm)}function Uo(e,t){t.equals(e.sel)||(e.sel=t,e.cm&&(e.cm.curOp.updateInput=1,e.cm.curOp.selectionChanged=!0,be(e.cm)),Mn(e,"cursorActivity",e))}function Go(e){Uo(e,Ko(e,e.sel,null,!1))}function Ko(e,t,n,r){for(var i,o=0;o<t.ranges.length;o++){var a=t.ranges[o],s=t.ranges.length==e.sel.ranges.length&&e.sel.ranges[o],l=$o(e,a.anchor,s&&s.anchor,n,r),c=$o(e,a.head,s&&s.head,n,r);(i||l!=a.anchor||c!=a.head)&&(i||(i=t.ranges.slice(0,o)),i[o]=new oo(l,c))}return i?ao(e.cm,i,t.primIndex):t}function Vo(e,t,n,r,i){var o=Ze(e,t.line);if(o.markedSpans)for(var a=0;a<o.markedSpans.length;++a){var s=o.markedSpans[a],l=s.marker,c="selectLeft"in l?!l.selectLeft:l.inclusiveLeft,u="selectRight"in l?!l.selectRight:l.inclusiveRight;if((null==s.from||(c?s.from<=t.ch:s.from<t.ch))&&(null==s.to||(u?s.to>=t.ch:s.to>t.ch))){if(i&&(me(l,"beforeCursorEnter"),l.explicitlyCleared)){if(o.markedSpans){--a;continue}break}if(!l.atomic)continue;if(n){var h=l.find(r<0?1:-1),d=void 0;if((r<0?u:c)&&(h=Xo(e,h,-r,h&&h.line==t.line?o:null)),h&&h.line==t.line&&(d=at(h,n))&&(r<0?d<0:d>0))return Vo(e,h,t,r,i)}var f=l.find(r<0?-1:1);return(r<0?c:u)&&(f=Xo(e,f,r,f.line==t.line?o:null)),f?Vo(e,f,t,r,i):null}}return t}function $o(e,t,n,r,i){var o=r||1,a=Vo(e,t,n,o,i)||!i&&Vo(e,t,n,o,!0)||Vo(e,t,n,-o,i)||!i&&Vo(e,t,n,-o,!0);return a||(e.cantEdit=!0,ot(e.first,0))}function Xo(e,t,n,r){return n<0&&0==t.ch?t.line>e.first?dt(e,ot(t.line-1)):null:n>0&&t.ch==(r||Ze(e,t.line)).text.length?t.line<e.first+e.size-1?ot(t.line+1,0):null:new ot(t.line,t.ch+n)}function Yo(e){e.setSelection(ot(e.firstLine(),0),ot(e.lastLine()),q)}function Zo(e,t,n){var r={canceled:!1,from:t.from,to:t.to,text:t.text,origin:t.origin,cancel:function(){return r.canceled=!0}};return n&&(r.update=function(t,n,i,o){t&&(r.from=dt(e,t)),n&&(r.to=dt(e,n)),i&&(r.text=i),void 0!==o&&(r.origin=o)}),me(e,"beforeChange",e,r),e.cm&&me(e.cm,"beforeChange",e.cm,r),r.canceled?(e.cm&&(e.cm.curOp.updateInput=2),null):{from:r.from,to:r.to,text:r.text,origin:r.origin}}function Qo(e,t,n){if(e.cm){if(!e.cm.curOp)return Pi(e.cm,Qo)(e,t,n);if(e.cm.state.suppressEdits)return}if(!(we(e,"beforeChange")||e.cm&&we(e.cm,"beforeChange"))||(t=Zo(e,t,!0))){var r=Mt&&!n&&_t(e,t.from,t.to);if(r)for(var i=r.length-1;i>=0;--i)Jo(e,{from:r[i].from,to:r[i].to,text:i?[""]:t.text,origin:t.origin});else Jo(e,t)}}function Jo(e,t){if(1!=t.text.length||""!=t.text[0]||0!=at(t.from,t.to)){var n=uo(e,t);To(e,t,n,e.cm?e.cm.curOp.id:NaN),na(e,t,n,Ht(e,t));var r=[];yo(e,(function(e,n){n||-1!=R(r,e.history)||(sa(e.history,t),r.push(e.history)),na(e,t,null,Ht(e,t))}))}}function ea(e,t,n){var r=e.cm&&e.cm.state.suppressEdits;if(!r||n){for(var i,o=e.history,a=e.sel,s="undo"==t?o.done:o.undone,l="undo"==t?o.undone:o.done,c=0;c<s.length&&(i=s[c],n?!i.ranges||i.equals(e.sel):i.ranges);c++);if(c!=s.length){for(o.lastOrigin=o.lastSelOrigin=null;;){if(!(i=s.pop()).ranges){if(r)return void s.push(i);break}if(Mo(i,l),n&&!i.equals(e.sel))return void zo(e,i,{clearRedo:!1});a=i}var u=[];Mo(a,l),l.push({changes:u,generation:o.generation}),o.generation=i.generation||++o.maxGeneration;for(var h=we(e,"beforeChange")||e.cm&&we(e.cm,"beforeChange"),d=function(n){var r=i.changes[n];if(r.origin=t,h&&!Zo(e,r,!1))return s.length=0,{};u.push(ko(e,r));var o=n?uo(e,r):X(s);na(e,r,o,Fo(e,r)),!n&&e.cm&&e.cm.scrollIntoView({from:r.from,to:lo(r)});var a=[];yo(e,(function(e,t){t||-1!=R(a,e.history)||(sa(e.history,r),a.push(e.history)),na(e,r,null,Fo(e,r))}))},f=i.changes.length-1;f>=0;--f){var p=d(f);if(p)return p.v}}}}function ta(e,t){if(0!=t&&(e.first+=t,e.sel=new io(Y(e.sel.ranges,(function(e){return new oo(ot(e.anchor.line+t,e.anchor.ch),ot(e.head.line+t,e.head.ch))})),e.sel.primIndex),e.cm)){Ir(e.cm,e.first,e.first-t,t);for(var n=e.cm.display,r=n.viewFrom;r<n.viewTo;r++)Wr(e.cm,r,"gutter")}}function na(e,t,n,r){if(e.cm&&!e.cm.curOp)return Pi(e.cm,na)(e,t,n,r);if(t.to.line<e.first)ta(e,t.text.length-1-(t.to.line-t.from.line));else if(!(t.from.line>e.lastLine())){if(t.from.line<e.first){var i=t.text.length-1-(e.first-t.from.line);ta(e,i),t={from:ot(e.first,0),to:ot(t.to.line+i,t.to.ch),text:[X(t.text)],origin:t.origin}}var o=e.lastLine();t.to.line>o&&(t={from:t.from,to:ot(o,Ze(e,o).text.length),text:[t.text[0]],origin:t.origin}),t.removed=Qe(e,t.from,t.to),n||(n=uo(e,t)),e.cm?ra(e.cm,t,r):mo(e,t,r),qo(e,n,q),e.cantEdit&&$o(e,ot(e.firstLine(),0))&&(e.cantEdit=!1)}}function ra(e,t,n){var r=e.doc,i=e.display,o=t.from,a=t.to,s=!1,l=o.line;e.options.lineWrapping||(l=tt(Qt(Ze(r,o.line))),r.iter(l,a.line+1,(function(e){if(e==i.maxLine)return s=!0,!0}))),r.sel.contains(t.from,t.to)>-1&&be(e),mo(r,t,n,Fr(e)),e.options.lineWrapping||(r.iter(l,o.line+t.text.length,(function(e){var t=sn(e);t>i.maxLineLength&&(i.maxLine=e,i.maxLineLength=t,i.maxLineChanged=!0,s=!1)})),s&&(e.curOp.updateMaxLine=!0)),Ot(r,o.line),ji(e,400);var c=t.text.length-(a.line-o.line)-1;t.full?Ir(e):o.line!=a.line||1!=t.text.length||vo(e.doc,t)?Ir(e,o.line,a.line+1,c):Wr(e,o.line,"text");var u=we(e,"changes"),h=we(e,"change");if(h||u){var d={from:o,to:a,text:t.text,removed:t.removed,origin:t.origin};h&&Mn(e,"change",e,d),u&&(e.curOp.changeObjs||(e.curOp.changeObjs=[])).push(d)}e.display.selForContextMenu=null}function ia(e,t,n,r,i){var o;r||(r=n),at(r,n)<0&&(n=(o=[r,n])[0],r=o[1]),"string"==typeof t&&(t=e.splitLines(t)),Qo(e,{from:n,to:r,text:t,origin:i})}function oa(e,t,n,r){n<e.line?e.line+=r:t<e.line&&(e.line=t,e.ch=0)}function aa(e,t,n,r){for(var i=0;i<e.length;++i){var o=e[i],a=!0;if(o.ranges){o.copied||((o=e[i]=o.deepCopy()).copied=!0);for(var s=0;s<o.ranges.length;s++)oa(o.ranges[s].anchor,t,n,r),oa(o.ranges[s].head,t,n,r)}else{for(var l=0;l<o.changes.length;++l){var c=o.changes[l];if(n<c.from.line)c.from=ot(c.from.line+r,c.from.ch),c.to=ot(c.to.line+r,c.to.ch);else if(t<=c.to.line){a=!1;break}}a||(e.splice(0,i+1),i=0)}}}function sa(e,t){var n=t.from.line,r=t.to.line,i=t.text.length-(r-n)-1;aa(e.done,n,r,i),aa(e.undone,n,r,i)}function la(e,t,n,r){var i=t,o=t;return"number"==typeof t?o=Ze(e,ht(e,t)):i=tt(t),null==i?null:(r(o,i)&&e.cm&&Wr(e.cm,i,n),o)}function ca(e){this.lines=e,this.parent=null;for(var t=0,n=0;n<e.length;++n)e[n].parent=this,t+=e[n].height;this.height=t}function ua(e){this.children=e;for(var t=0,n=0,r=0;r<e.length;++r){var i=e[r];t+=i.chunkSize(),n+=i.height,i.parent=this}this.size=t,this.height=n,this.parent=null}oo.prototype.from=function(){return ut(this.anchor,this.head)},oo.prototype.to=function(){return ct(this.anchor,this.head)},oo.prototype.empty=function(){return this.head.line==this.anchor.line&&this.head.ch==this.anchor.ch},ca.prototype={chunkSize:function(){return this.lines.length},removeInner:function(e,t){for(var n=e,r=e+t;n<r;++n){var i=this.lines[n];this.height-=i.height,hn(i),Mn(i,"delete")}this.lines.splice(e,t)},collapse:function(e){e.push.apply(e,this.lines)},insertInner:function(e,t,n){this.height+=n,this.lines=this.lines.slice(0,e).concat(t).concat(this.lines.slice(e));for(var r=0;r<t.length;++r)t[r].parent=this},iterN:function(e,t,n){for(var r=e+t;e<r;++e)if(n(this.lines[e]))return!0}},ua.prototype={chunkSize:function(){return this.size},removeInner:function(e,t){this.size-=t;for(var n=0;n<this.children.length;++n){var r=this.children[n],i=r.chunkSize();if(e<i){var o=Math.min(t,i-e),a=r.height;if(r.removeInner(e,o),this.height-=a-r.height,i==o&&(this.children.splice(n--,1),r.parent=null),0==(t-=o))break;e=0}else e-=i}if(this.size-t<25&&(this.children.length>1||!(this.children[0]instanceof ca))){var s=[];this.collapse(s),this.children=[new ca(s)],this.children[0].parent=this}},collapse:function(e){for(var t=0;t<this.children.length;++t)this.children[t].collapse(e)},insertInner:function(e,t,n){this.size+=t.length,this.height+=n;for(var r=0;r<this.children.length;++r){var i=this.children[r],o=i.chunkSize();if(e<=o){if(i.insertInner(e,t,n),i.lines&&i.lines.length>50){for(var a=i.lines.length%25+25,s=a;s<i.lines.length;){var l=new ca(i.lines.slice(s,s+=25));i.height-=l.height,this.children.splice(++r,0,l),l.parent=this}i.lines=i.lines.slice(0,a),this.maybeSpill()}break}e-=o}},maybeSpill:function(){if(!(this.children.length<=10)){var e=this;do{var t=new ua(e.children.splice(e.children.length-5,5));if(e.parent){e.size-=t.size,e.height-=t.height;var n=R(e.parent.children,e);e.parent.children.splice(n+1,0,t)}else{var r=new ua(e.children);r.parent=e,e.children=[r,t],e=r}t.parent=e.parent}while(e.children.length>10);e.parent.maybeSpill()}},iterN:function(e,t,n){for(var r=0;r<this.children.length;++r){var i=this.children[r],o=i.chunkSize();if(e<o){var a=Math.min(t,o-e);if(i.iterN(e,a,n))return!0;if(0==(t-=a))break;e=0}else e-=o}}};var ha=function(e,t,n){if(n)for(var r in n)n.hasOwnProperty(r)&&(this[r]=n[r]);this.doc=e,this.node=t};function da(e,t,n){an(t)<(e.curOp&&e.curOp.scrollTop||e.doc.scrollTop)&&ai(e,n)}function fa(e,t,n,r){var i=new ha(e,n,r),o=e.cm;return o&&i.noHScroll&&(o.display.alignWidgets=!0),la(e,t,"widget",(function(t){var n=t.widgets||(t.widgets=[]);if(null==i.insertAt?n.push(i):n.splice(Math.min(n.length,Math.max(0,i.insertAt)),0,i),i.line=t,o&&!rn(e,t)){var r=an(t)<e.scrollTop;et(t,t.height+qn(i)),r&&ai(o,i.height),o.curOp.forceUpdate=!0}return!0})),o&&Mn(o,"lineWidgetAdded",o,i,"number"==typeof t?t:tt(t)),i}ha.prototype.clear=function(){var e=this.doc.cm,t=this.line.widgets,n=this.line,r=tt(n);if(null!=r&&t){for(var i=0;i<t.length;++i)t[i]==this&&t.splice(i--,1);t.length||(n.widgets=null);var o=qn(this);et(n,Math.max(0,n.height-o)),e&&(Ei(e,(function(){da(e,n,-o),Wr(e,r,"widget")})),Mn(e,"lineWidgetCleared",e,this,r))}},ha.prototype.changed=function(){var e=this,t=this.height,n=this.doc.cm,r=this.line;this.height=null;var i=qn(this)-t;i&&(rn(this.doc,r)||et(r,r.height+i),n&&Ei(n,(function(){n.curOp.forceUpdate=!0,da(n,r,i),Mn(n,"lineWidgetChanged",n,e,tt(r))})))},xe(ha);var pa=0,ga=function(e,t){this.lines=[],this.type=t,this.doc=e,this.id=++pa};function va(e,t,n,r,i){if(r&&r.shared)return ya(e,t,n,r,i);if(e.cm&&!e.cm.curOp)return Pi(e.cm,va)(e,t,n,r,i);var o=new ga(e,i),a=at(t,n);if(r&&I(r,o,!1),a>0||0==a&&!1!==o.clearWhenEmpty)return o;if(o.replacedWith&&(o.collapsed=!0,o.widgetNode=N("span",[o.replacedWith],"CodeMirror-widget"),r.handleMouseEvents||o.widgetNode.setAttribute("cm-ignore-events","true"),r.insertLeft&&(o.widgetNode.insertLeft=!0)),o.collapsed){if(Zt(e,t.line,t,n,o)||t.line!=n.line&&Zt(e,n.line,t,n,o))throw new Error("Inserting collapsed marker partially overlapping an existing one");Pt()}o.addToHistory&&To(e,{from:t,to:n,origin:"markText"},e.sel,NaN);var s,l=t.line,c=e.cm;if(e.iter(l,n.line+1,(function(r){c&&o.collapsed&&!c.options.lineWrapping&&Qt(r)==c.display.maxLine&&(s=!0),o.collapsed&&l!=t.line&&et(r,0),Bt(r,new Ft(o,l==t.line?t.ch:null,l==n.line?n.ch:null),e.cm&&e.cm.curOp),++l})),o.collapsed&&e.iter(t.line,n.line+1,(function(t){rn(e,t)&&et(t,0)})),o.clearOnEnter&&pe(o,"beforeCursorEnter",(function(){return o.clear()})),o.readOnly&&(Et(),(e.history.done.length||e.history.undone.length)&&e.clearHistory()),o.collapsed&&(o.id=++pa,o.atomic=!0),c){if(s&&(c.curOp.updateMaxLine=!0),o.collapsed)Ir(c,t.line,n.line+1);else if(o.className||o.startStyle||o.endStyle||o.css||o.attributes||o.title)for(var u=t.line;u<=n.line;u++)Wr(c,u,"text");o.atomic&&Go(c.doc),Mn(c,"markerAdded",c,o)}return o}ga.prototype.clear=function(){if(!this.explicitlyCleared){var e=this.doc.cm,t=e&&!e.curOp;if(t&&ki(e),we(this,"clear")){var n=this.find();n&&Mn(this,"clear",n.from,n.to)}for(var r=null,i=null,o=0;o<this.lines.length;++o){var a=this.lines[o],s=Dt(a.markedSpans,this);e&&!this.collapsed?Wr(e,tt(a),"text"):e&&(null!=s.to&&(i=tt(a)),null!=s.from&&(r=tt(a))),a.markedSpans=jt(a.markedSpans,s),null==s.from&&this.collapsed&&!rn(this.doc,a)&&e&&et(a,Mr(e.display))}if(e&&this.collapsed&&!e.options.lineWrapping)for(var l=0;l<this.lines.length;++l){var c=Qt(this.lines[l]),u=sn(c);u>e.display.maxLineLength&&(e.display.maxLine=c,e.display.maxLineLength=u,e.display.maxLineChanged=!0)}null!=r&&e&&this.collapsed&&Ir(e,r,i+1),this.lines.length=0,this.explicitlyCleared=!0,this.atomic&&this.doc.cantEdit&&(this.doc.cantEdit=!1,e&&Go(e.doc)),e&&Mn(e,"markerCleared",e,this,r,i),t&&Si(e),this.parent&&this.parent.clear()}},ga.prototype.find=function(e,t){var n,r;null==e&&"bookmark"==this.type&&(e=1);for(var i=0;i<this.lines.length;++i){var o=this.lines[i],a=Dt(o.markedSpans,this);if(null!=a.from&&(n=ot(t?o:tt(o),a.from),-1==e))return n;if(null!=a.to&&(r=ot(t?o:tt(o),a.to),1==e))return r}return n&&{from:n,to:r}},ga.prototype.changed=function(){var e=this,t=this.find(-1,!0),n=this,r=this.doc.cm;t&&r&&Ei(r,(function(){var i=t.line,o=tt(t.line),a=tr(r,o);if(a&&(ur(a),r.curOp.selectionChanged=r.curOp.forceUpdate=!0),r.curOp.updateMaxLine=!0,!rn(n.doc,i)&&null!=n.height){var s=n.height;n.height=null;var l=qn(n)-s;l&&et(i,i.height+l)}Mn(r,"markerChanged",r,e)}))},ga.prototype.attachLine=function(e){if(!this.lines.length&&this.doc.cm){var t=this.doc.cm.curOp;t.maybeHiddenMarkers&&-1!=R(t.maybeHiddenMarkers,this)||(t.maybeUnhiddenMarkers||(t.maybeUnhiddenMarkers=[])).push(this)}this.lines.push(e)},ga.prototype.detachLine=function(e){if(this.lines.splice(R(this.lines,e),1),!this.lines.length&&this.doc.cm){var t=this.doc.cm.curOp;(t.maybeHiddenMarkers||(t.maybeHiddenMarkers=[])).push(this)}},xe(ga);var ma=function(e,t){this.markers=e,this.primary=t;for(var n=0;n<e.length;++n)e[n].parent=this};function ya(e,t,n,r,i){(r=I(r)).shared=!1;var o=[va(e,t,n,r,i)],a=o[0],s=r.widgetNode;return yo(e,(function(e){s&&(r.widgetNode=s.cloneNode(!0)),o.push(va(e,dt(e,t),dt(e,n),r,i));for(var l=0;l<e.linked.length;++l)if(e.linked[l].isParent)return;a=X(o)})),new ma(o,a)}function ba(e){return e.findMarks(ot(e.first,0),e.clipPos(ot(e.lastLine())),(function(e){return e.parent}))}function wa(e,t){for(var n=0;n<t.length;n++){var r=t[n],i=r.find(),o=e.clipPos(i.from),a=e.clipPos(i.to);if(at(o,a)){var s=va(e,o,a,r.primary,r.primary.type);r.markers.push(s),s.parent=r}}}function xa(e){for(var t=function(t){var n=e[t],r=[n.primary.doc];yo(n.primary.doc,(function(e){return r.push(e)}));for(var i=0;i<n.markers.length;i++){var o=n.markers[i];-1==R(r,o.doc)&&(o.parent=null,n.markers.splice(i--,1))}},n=0;n<e.length;n++)t(n)}ma.prototype.clear=function(){if(!this.explicitlyCleared){this.explicitlyCleared=!0;for(var e=0;e<this.markers.length;++e)this.markers[e].clear();Mn(this,"clear")}},ma.prototype.find=function(e,t){return this.primary.find(e,t)},xe(ma);var Ca=0,ka=function(e,t,n,r,i){if(!(this instanceof ka))return new ka(e,t,n,r,i);null==n&&(n=0),ua.call(this,[new ca([new cn("",null)])]),this.first=n,this.scrollTop=this.scrollLeft=0,this.cantEdit=!1,this.cleanGeneration=1,this.modeFrontier=this.highlightFrontier=n;var o=ot(n,0);this.sel=so(o),this.history=new Co(null),this.id=++Ca,this.modeOption=t,this.lineSep=r,this.direction="rtl"==i?"rtl":"ltr",this.extend=!1,"string"==typeof e&&(e=this.splitLines(e)),mo(this,{from:o,to:o,text:e}),zo(this,so(o),q)};ka.prototype=J(ua.prototype,{constructor:ka,iter:function(e,t,n){n?this.iterN(e-this.first,t-e,n):this.iterN(this.first,this.first+this.size,e)},insert:function(e,t){for(var n=0,r=0;r<t.length;++r)n+=t[r].height;this.insertInner(e-this.first,t,n)},remove:function(e,t){this.removeInner(e-this.first,t)},getValue:function(e){var t=Je(this,this.first,this.first+this.size);return!1===e?t:t.join(e||this.lineSeparator())},setValue:Di((function(e){var t=ot(this.first,0),n=this.first+this.size-1;Qo(this,{from:t,to:ot(n,Ze(this,n).text.length),text:this.splitLines(e),origin:"setValue",full:!0},!0),this.cm&&li(this.cm,0,0),zo(this,so(t),q)})),replaceRange:function(e,t,n,r){ia(this,e,t=dt(this,t),n=n?dt(this,n):t,r)},getRange:function(e,t,n){var r=Qe(this,dt(this,e),dt(this,t));return!1===n?r:""===n?r.join(""):r.join(n||this.lineSeparator())},getLine:function(e){var t=this.getLineHandle(e);return t&&t.text},getLineHandle:function(e){if(rt(this,e))return Ze(this,e)},getLineNumber:function(e){return tt(e)},getLineHandleVisualStart:function(e){return"number"==typeof e&&(e=Ze(this,e)),Qt(e)},lineCount:function(){return this.size},firstLine:function(){return this.first},lastLine:function(){return this.first+this.size-1},clipPos:function(e){return dt(this,e)},getCursor:function(e){var t=this.sel.primary();return null==e||"head"==e?t.head:"anchor"==e?t.anchor:"end"==e||"to"==e||!1===e?t.to():t.from()},listSelections:function(){return this.sel.ranges},somethingSelected:function(){return this.sel.somethingSelected()},setCursor:Di((function(e,t,n){Ho(this,dt(this,"number"==typeof e?ot(e,t||0):e),null,n)})),setSelection:Di((function(e,t,n){Ho(this,dt(this,e),dt(this,t||e),n)})),extendSelection:Di((function(e,t,n){Bo(this,dt(this,e),t&&dt(this,t),n)})),extendSelections:Di((function(e,t){Io(this,pt(this,e),t)})),extendSelectionsBy:Di((function(e,t){Io(this,pt(this,Y(this.sel.ranges,e)),t)})),setSelections:Di((function(e,t,n){if(e.length){for(var r=[],i=0;i<e.length;i++)r[i]=new oo(dt(this,e[i].anchor),dt(this,e[i].head||e[i].anchor));null==t&&(t=Math.min(e.length-1,this.sel.primIndex)),zo(this,ao(this.cm,r,t),n)}})),addSelection:Di((function(e,t,n){var r=this.sel.ranges.slice(0);r.push(new oo(dt(this,e),dt(this,t||e))),zo(this,ao(this.cm,r,r.length-1),n)})),getSelection:function(e){for(var t,n=this.sel.ranges,r=0;r<n.length;r++){var i=Qe(this,n[r].from(),n[r].to());t=t?t.concat(i):i}return!1===e?t:t.join(e||this.lineSeparator())},getSelections:function(e){for(var t=[],n=this.sel.ranges,r=0;r<n.length;r++){var i=Qe(this,n[r].from(),n[r].to());!1!==e&&(i=i.join(e||this.lineSeparator())),t[r]=i}return t},replaceSelection:function(e,t,n){for(var r=[],i=0;i<this.sel.ranges.length;i++)r[i]=e;this.replaceSelections(r,t,n||"+input")},replaceSelections:Di((function(e,t,n){for(var r=[],i=this.sel,o=0;o<i.ranges.length;o++){var a=i.ranges[o];r[o]={from:a.from(),to:a.to(),text:this.splitLines(e[o]),origin:n}}for(var s=t&&"end"!=t&&fo(this,r,t),l=r.length-1;l>=0;l--)Qo(this,r[l]);s?_o(this,s):this.cm&&si(this.cm)})),undo:Di((function(){ea(this,"undo")})),redo:Di((function(){ea(this,"redo")})),undoSelection:Di((function(){ea(this,"undo",!0)})),redoSelection:Di((function(){ea(this,"redo",!0)})),setExtending:function(e){this.extend=e},getExtending:function(){return this.extend},historySize:function(){for(var e=this.history,t=0,n=0,r=0;r<e.done.length;r++)e.done[r].ranges||++t;for(var i=0;i<e.undone.length;i++)e.undone[i].ranges||++n;return{undo:t,redo:n}},clearHistory:function(){var e=this;this.history=new Co(this.history),yo(this,(function(t){return t.history=e.history}),!0)},markClean:function(){this.cleanGeneration=this.changeGeneration(!0)},changeGeneration:function(e){return e&&(this.history.lastOp=this.history.lastSelOp=this.history.lastOrigin=null),this.history.generation},isClean:function(e){return this.history.generation==(e||this.cleanGeneration)},getHistory:function(){return{done:Do(this.history.done),undone:Do(this.history.undone)}},setHistory:function(e){var t=this.history=new Co(this.history);t.done=Do(e.done.slice(0),null,!0),t.undone=Do(e.undone.slice(0),null,!0)},setGutterMarker:Di((function(e,t,n){return la(this,e,"gutter",(function(e){var r=e.gutterMarkers||(e.gutterMarkers={});return r[t]=n,!n&&re(r)&&(e.gutterMarkers=null),!0}))})),clearGutter:Di((function(e){var t=this;this.iter((function(n){n.gutterMarkers&&n.gutterMarkers[e]&&la(t,n,"gutter",(function(){return n.gutterMarkers[e]=null,re(n.gutterMarkers)&&(n.gutterMarkers=null),!0}))}))})),lineInfo:function(e){var t;if("number"==typeof e){if(!rt(this,e))return null;if(t=e,!(e=Ze(this,e)))return null}else if(null==(t=tt(e)))return null;return{line:t,handle:e,text:e.text,gutterMarkers:e.gutterMarkers,textClass:e.textClass,bgClass:e.bgClass,wrapClass:e.wrapClass,widgets:e.widgets}},addLineClass:Di((function(e,t,n){return la(this,e,"gutter"==t?"gutter":"class",(function(e){var r="text"==t?"textClass":"background"==t?"bgClass":"gutter"==t?"gutterClass":"wrapClass";if(e[r]){if(S(n).test(e[r]))return!1;e[r]+=" "+n}else e[r]=n;return!0}))})),removeLineClass:Di((function(e,t,n){return la(this,e,"gutter"==t?"gutter":"class",(function(e){var r="text"==t?"textClass":"background"==t?"bgClass":"gutter"==t?"gutterClass":"wrapClass",i=e[r];if(!i)return!1;if(null==n)e[r]=null;else{var o=i.match(S(n));if(!o)return!1;var a=o.index+o[0].length;e[r]=i.slice(0,o.index)+(o.index&&a!=i.length?" ":"")+i.slice(a)||null}return!0}))})),addLineWidget:Di((function(e,t,n){return fa(this,e,t,n)})),removeLineWidget:function(e){e.clear()},markText:function(e,t,n){return va(this,dt(this,e),dt(this,t),n,n&&n.type||"range")},setBookmark:function(e,t){var n={replacedWith:t&&(null==t.nodeType?t.widget:t),insertLeft:t&&t.insertLeft,clearWhenEmpty:!1,shared:t&&t.shared,handleMouseEvents:t&&t.handleMouseEvents};return va(this,e=dt(this,e),e,n,"bookmark")},findMarksAt:function(e){var t=[],n=Ze(this,(e=dt(this,e)).line).markedSpans;if(n)for(var r=0;r<n.length;++r){var i=n[r];(null==i.from||i.from<=e.ch)&&(null==i.to||i.to>=e.ch)&&t.push(i.marker.parent||i.marker)}return t},findMarks:function(e,t,n){e=dt(this,e),t=dt(this,t);var r=[],i=e.line;return this.iter(e.line,t.line+1,(function(o){var a=o.markedSpans;if(a)for(var s=0;s<a.length;s++){var l=a[s];null!=l.to&&i==e.line&&e.ch>=l.to||null==l.from&&i!=e.line||null!=l.from&&i==t.line&&l.from>=t.ch||n&&!n(l.marker)||r.push(l.marker.parent||l.marker)}++i})),r},getAllMarks:function(){var e=[];return this.iter((function(t){var n=t.markedSpans;if(n)for(var r=0;r<n.length;++r)null!=n[r].from&&e.push(n[r].marker)})),e},posFromIndex:function(e){var t,n=this.first,r=this.lineSeparator().length;return this.iter((function(i){var o=i.text.length+r;if(o>e)return t=e,!0;e-=o,++n})),dt(this,ot(n,t))},indexFromPos:function(e){var t=(e=dt(this,e)).ch;if(e.line<this.first||e.ch<0)return 0;var n=this.lineSeparator().length;return this.iter(this.first,e.line,(function(e){t+=e.text.length+n})),t},copy:function(e){var t=new ka(Je(this,this.first,this.first+this.size),this.modeOption,this.first,this.lineSep,this.direction);return t.scrollTop=this.scrollTop,t.scrollLeft=this.scrollLeft,t.sel=this.sel,t.extend=!1,e&&(t.history.undoDepth=this.history.undoDepth,t.setHistory(this.getHistory())),t},linkedDoc:function(e){e||(e={});var t=this.first,n=this.first+this.size;null!=e.from&&e.from>t&&(t=e.from),null!=e.to&&e.to<n&&(n=e.to);var r=new ka(Je(this,t,n),e.mode||this.modeOption,t,this.lineSep,this.direction);return e.sharedHist&&(r.history=this.history),(this.linked||(this.linked=[])).push({doc:r,sharedHist:e.sharedHist}),r.linked=[{doc:this,isParent:!0,sharedHist:e.sharedHist}],wa(r,ba(this)),r},unlinkDoc:function(e){if(e instanceof Is&&(e=e.doc),this.linked)for(var t=0;t<this.linked.length;++t)if(this.linked[t].doc==e){this.linked.splice(t,1),e.unlinkDoc(this),xa(ba(this));break}if(e.history==this.history){var n=[e.id];yo(e,(function(e){return n.push(e.id)}),!0),e.history=new Co(null),e.history.done=Do(this.history.done,n),e.history.undone=Do(this.history.undone,n)}},iterLinkedDocs:function(e){yo(this,e)},getMode:function(){return this.mode},getEditor:function(){return this.cm},splitLines:function(e){return this.lineSep?e.split(this.lineSep):De(e)},lineSeparator:function(){return this.lineSep||"\n"},setDirection:Di((function(e){"rtl"!=e&&(e="ltr"),e!=this.direction&&(this.direction=e,this.iter((function(e){return e.order=null})),this.cm&&xo(this.cm))}))}),ka.prototype.eachLine=ka.prototype.iter;var Sa=0;function La(e){var t=this;if(Oa(t),!ye(t,e)&&!Un(t.display,e)){Ce(e),a&&(Sa=+new Date);var n=jr(t,e,!0),r=e.dataTransfer.files;if(n&&!t.isReadOnly())if(r&&r.length&&window.FileReader&&window.File)for(var i=r.length,o=Array(i),s=0,l=function(){++s==i&&Pi(t,(function(){var e={from:n=dt(t.doc,n),to:n,text:t.doc.splitLines(o.filter((function(e){return null!=e})).join(t.doc.lineSeparator())),origin:"paste"};Qo(t.doc,e),_o(t.doc,so(dt(t.doc,n),dt(t.doc,lo(e))))}))()},c=function(e,n){if(t.options.allowDropFileTypes&&-1==R(t.options.allowDropFileTypes,e.type))l();else{var r=new FileReader;r.onerror=function(){return l()},r.onload=function(){var e=r.result;/[\x00-\x08\x0e-\x1f]{2}/.test(e)||(o[n]=e),l()},r.readAsText(e)}},u=0;u<r.length;u++)c(r[u],u);else{if(t.state.draggingText&&t.doc.sel.contains(n)>-1)return t.state.draggingText(e),void setTimeout((function(){return t.display.input.focus()}),20);try{var h=e.dataTransfer.getData("Text");if(h){var d;if(t.state.draggingText&&!t.state.draggingText.copy&&(d=t.listSelections()),qo(t.doc,so(n,n)),d)for(var f=0;f<d.length;++f)ia(t.doc,"",d[f].anchor,d[f].head,"drag");t.replaceSelection(h,"around","paste"),t.display.input.focus()}}catch(e){}}}}function Ta(e,t){if(a&&(!e.state.draggingText||+new Date-Sa<100))Le(t);else if(!ye(e,t)&&!Un(e.display,t)&&(t.dataTransfer.setData("Text",e.getSelection()),t.dataTransfer.effectAllowed="copyMove",t.dataTransfer.setDragImage&&!d)){var n=M("img",null,null,"position: fixed; left: 0; top: 0;");n.src="data:image/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw==",h&&(n.width=n.height=1,e.display.wrapper.appendChild(n),n._top=n.offsetTop),t.dataTransfer.setDragImage(n,0,0),h&&n.parentNode.removeChild(n)}}function Aa(e,t){var n=jr(e,t);if(n){var r=document.createDocumentFragment();Gr(e,n,r),e.display.dragCursor||(e.display.dragCursor=M("div",null,"CodeMirror-cursors CodeMirror-dragcursors"),e.display.lineSpace.insertBefore(e.display.dragCursor,e.display.cursorDiv)),O(e.display.dragCursor,r)}}function Oa(e){e.display.dragCursor&&(e.display.lineSpace.removeChild(e.display.dragCursor),e.display.dragCursor=null)}function Ma(e){if(document.getElementsByClassName){for(var t=document.getElementsByClassName("CodeMirror"),n=[],r=0;r<t.length;r++){var i=t[r].CodeMirror;i&&n.push(i)}n.length&&n[0].operation((function(){for(var t=0;t<n.length;t++)e(n[t])}))}}var Na=!1;function Ea(){Na||(Pa(),Na=!0)}function Pa(){var e;pe(window,"resize",(function(){null==e&&(e=setTimeout((function(){e=null,Ma(Fa)}),100))})),pe(window,"blur",(function(){return Ma(Qr)}))}function Fa(e){var t=e.display;t.cachedCharWidth=t.cachedTextHeight=t.cachedPaddingH=null,t.scrollbarsClipped=!1,e.setSize()}for(var Da={3:"Pause",8:"Backspace",9:"Tab",13:"Enter",16:"Shift",17:"Ctrl",18:"Alt",19:"Pause",20:"CapsLock",27:"Esc",32:"Space",33:"PageUp",34:"PageDown",35:"End",36:"Home",37:"Left",38:"Up",39:"Right",40:"Down",44:"PrintScrn",45:"Insert",46:"Delete",59:";",61:"=",91:"Mod",92:"Mod",93:"Mod",106:"*",107:"=",109:"-",110:".",111:"/",145:"ScrollLock",173:"-",186:";",187:"=",188:",",189:"-",190:".",191:"/",192:"`",219:"[",220:"\\",221:"]",222:"'",224:"Mod",63232:"Up",63233:"Down",63234:"Left",63235:"Right",63272:"Delete",63273:"Home",63275:"End",63276:"PageUp",63277:"PageDown",63302:"Insert"},ja=0;ja<10;ja++)Da[ja+48]=Da[ja+96]=String(ja);for(var Ba=65;Ba<=90;Ba++)Da[Ba]=String.fromCharCode(Ba);for(var Ia=1;Ia<=12;Ia++)Da[Ia+111]=Da[Ia+63235]="F"+Ia;var Wa={};function Ha(e){var t,n,r,i,o=e.split(/-(?!$)/);e=o[o.length-1];for(var a=0;a<o.length-1;a++){var s=o[a];if(/^(cmd|meta|m)$/i.test(s))i=!0;else if(/^a(lt)?$/i.test(s))t=!0;else if(/^(c|ctrl|control)$/i.test(s))n=!0;else{if(!/^s(hift)?$/i.test(s))throw new Error("Unrecognized modifier name: "+s);r=!0}}return t&&(e="Alt-"+e),n&&(e="Ctrl-"+e),i&&(e="Cmd-"+e),r&&(e="Shift-"+e),e}function Ra(e){var t={};for(var n in e)if(e.hasOwnProperty(n)){var r=e[n];if(/^(name|fallthrough|(de|at)tach)$/.test(n))continue;if("..."==r){delete e[n];continue}for(var i=Y(n.split(" "),Ha),o=0;o<i.length;o++){var a=void 0,s=void 0;o==i.length-1?(s=i.join(" "),a=r):(s=i.slice(0,o+1).join(" "),a="...");var l=t[s];if(l){if(l!=a)throw new Error("Inconsistent bindings for "+s)}else t[s]=a}delete e[n]}for(var c in t)e[c]=t[c];return e}function _a(e,t,n,r){var i=(t=Ga(t)).call?t.call(e,r):t[e];if(!1===i)return"nothing";if("..."===i)return"multi";if(null!=i&&n(i))return"handled";if(t.fallthrough){if("[object Array]"!=Object.prototype.toString.call(t.fallthrough))return _a(e,t.fallthrough,n,r);for(var o=0;o<t.fallthrough.length;o++){var a=_a(e,t.fallthrough[o],n,r);if(a)return a}}}function za(e){var t="string"==typeof e?e:Da[e.keyCode];return"Ctrl"==t||"Alt"==t||"Shift"==t||"Mod"==t}function qa(e,t,n){var r=e;return t.altKey&&"Alt"!=r&&(e="Alt-"+e),(C?t.metaKey:t.ctrlKey)&&"Ctrl"!=r&&(e="Ctrl-"+e),(C?t.ctrlKey:t.metaKey)&&"Mod"!=r&&(e="Cmd-"+e),!n&&t.shiftKey&&"Shift"!=r&&(e="Shift-"+e),e}function Ua(e,t){if(h&&34==e.keyCode&&e.char)return!1;var n=Da[e.keyCode];return null!=n&&!e.altGraphKey&&(3==e.keyCode&&e.code&&(n=e.code),qa(n,e,t))}function Ga(e){return"string"==typeof e?Wa[e]:e}function Ka(e,t){for(var n=e.doc.sel.ranges,r=[],i=0;i<n.length;i++){for(var o=t(n[i]);r.length&&at(o.from,X(r).to)<=0;){var a=r.pop();if(at(a.from,o.from)<0){o.from=a.from;break}}r.push(o)}Ei(e,(function(){for(var t=r.length-1;t>=0;t--)ia(e.doc,"",r[t].from,r[t].to,"+delete");si(e)}))}function Va(e,t,n){var r=ae(e.text,t+n,n);return r<0||r>e.text.length?null:r}function $a(e,t,n){var r=Va(e,t.ch,n);return null==r?null:new ot(t.line,r,n<0?"after":"before")}function Xa(e,t,n,r,i){if(e){"rtl"==t.doc.direction&&(i=-i);var o=de(n,t.doc.direction);if(o){var a,s=i<0?X(o):o[0],l=i<0==(1==s.level)?"after":"before";if(s.level>0||"rtl"==t.doc.direction){var c=nr(t,n);a=i<0?n.text.length-1:0;var u=rr(t,c,a).top;a=se((function(e){return rr(t,c,e).top==u}),i<0==(1==s.level)?s.from:s.to-1,a),"before"==l&&(a=Va(n,a,1))}else a=i<0?s.to:s.from;return new ot(r,a,l)}}return new ot(r,i<0?n.text.length:0,i<0?"before":"after")}function Ya(e,t,n,r){var i=de(t,e.doc.direction);if(!i)return $a(t,n,r);n.ch>=t.text.length?(n.ch=t.text.length,n.sticky="before"):n.ch<=0&&(n.ch=0,n.sticky="after");var o=ue(i,n.ch,n.sticky),a=i[o];if("ltr"==e.doc.direction&&a.level%2==0&&(r>0?a.to>n.ch:a.from<n.ch))return $a(t,n,r);var s,l=function(e,n){return Va(t,e instanceof ot?e.ch:e,n)},c=function(n){return e.options.lineWrapping?(s=s||nr(e,t),Sr(e,t,s,n)):{begin:0,end:t.text.length}},u=c("before"==n.sticky?l(n,-1):n.ch);if("rtl"==e.doc.direction||1==a.level){var h=1==a.level==r<0,d=l(n,h?1:-1);if(null!=d&&(h?d<=a.to&&d<=u.end:d>=a.from&&d>=u.begin)){var f=h?"before":"after";return new ot(n.line,d,f)}}var p=function(e,t,r){for(var o=function(e,t){return t?new ot(n.line,l(e,1),"before"):new ot(n.line,e,"after")};e>=0&&e<i.length;e+=t){var a=i[e],s=t>0==(1!=a.level),c=s?r.begin:l(r.end,-1);if(a.from<=c&&c<a.to)return o(c,s);if(c=s?a.from:l(a.to,-1),r.begin<=c&&c<r.end)return o(c,s)}},g=p(o+r,r,u);if(g)return g;var v=r>0?u.end:l(u.begin,-1);return null==v||r>0&&v==t.text.length||!(g=p(r>0?0:i.length-1,r,c(v)))?null:g}Wa.basic={Left:"goCharLeft",Right:"goCharRight",Up:"goLineUp",Down:"goLineDown",End:"goLineEnd",Home:"goLineStartSmart",PageUp:"goPageUp",PageDown:"goPageDown",Delete:"delCharAfter",Backspace:"delCharBefore","Shift-Backspace":"delCharBefore",Tab:"defaultTab","Shift-Tab":"indentAuto",Enter:"newlineAndIndent",Insert:"toggleOverwrite",Esc:"singleSelection"},Wa.pcDefault={"Ctrl-A":"selectAll","Ctrl-D":"deleteLine","Ctrl-Z":"undo","Shift-Ctrl-Z":"redo","Ctrl-Y":"redo","Ctrl-Home":"goDocStart","Ctrl-End":"goDocEnd","Ctrl-Up":"goLineUp","Ctrl-Down":"goLineDown","Ctrl-Left":"goGroupLeft","Ctrl-Right":"goGroupRight","Alt-Left":"goLineStart","Alt-Right":"goLineEnd","Ctrl-Backspace":"delGroupBefore","Ctrl-Delete":"delGroupAfter","Ctrl-S":"save","Ctrl-F":"find","Ctrl-G":"findNext","Shift-Ctrl-G":"findPrev","Shift-Ctrl-F":"replace","Shift-Ctrl-R":"replaceAll","Ctrl-[":"indentLess","Ctrl-]":"indentMore","Ctrl-U":"undoSelection","Shift-Ctrl-U":"redoSelection","Alt-U":"redoSelection",fallthrough:"basic"},Wa.emacsy={"Ctrl-F":"goCharRight","Ctrl-B":"goCharLeft","Ctrl-P":"goLineUp","Ctrl-N":"goLineDown","Ctrl-A":"goLineStart","Ctrl-E":"goLineEnd","Ctrl-V":"goPageDown","Shift-Ctrl-V":"goPageUp","Ctrl-D":"delCharAfter","Ctrl-H":"delCharBefore","Alt-Backspace":"delWordBefore","Ctrl-K":"killLine","Ctrl-T":"transposeChars","Ctrl-O":"openLine"},Wa.macDefault={"Cmd-A":"selectAll","Cmd-D":"deleteLine","Cmd-Z":"undo","Shift-Cmd-Z":"redo","Cmd-Y":"redo","Cmd-Home":"goDocStart","Cmd-Up":"goDocStart","Cmd-End":"goDocEnd","Cmd-Down":"goDocEnd","Alt-Left":"goGroupLeft","Alt-Right":"goGroupRight","Cmd-Left":"goLineLeft","Cmd-Right":"goLineRight","Alt-Backspace":"delGroupBefore","Ctrl-Alt-Backspace":"delGroupAfter","Alt-Delete":"delGroupAfter","Cmd-S":"save","Cmd-F":"find","Cmd-G":"findNext","Shift-Cmd-G":"findPrev","Cmd-Alt-F":"replace","Shift-Cmd-Alt-F":"replaceAll","Cmd-[":"indentLess","Cmd-]":"indentMore","Cmd-Backspace":"delWrappedLineLeft","Cmd-Delete":"delWrappedLineRight","Cmd-U":"undoSelection","Shift-Cmd-U":"redoSelection","Ctrl-Up":"goDocStart","Ctrl-Down":"goDocEnd",fallthrough:["basic","emacsy"]},Wa.default=y?Wa.macDefault:Wa.pcDefault;var Za={selectAll:Yo,singleSelection:function(e){return e.setSelection(e.getCursor("anchor"),e.getCursor("head"),q)},killLine:function(e){return Ka(e,(function(t){if(t.empty()){var n=Ze(e.doc,t.head.line).text.length;return t.head.ch==n&&t.head.line<e.lastLine()?{from:t.head,to:ot(t.head.line+1,0)}:{from:t.head,to:ot(t.head.line,n)}}return{from:t.from(),to:t.to()}}))},deleteLine:function(e){return Ka(e,(function(t){return{from:ot(t.from().line,0),to:dt(e.doc,ot(t.to().line+1,0))}}))},delLineLeft:function(e){return Ka(e,(function(e){return{from:ot(e.from().line,0),to:e.from()}}))},delWrappedLineLeft:function(e){return Ka(e,(function(t){var n=e.charCoords(t.head,"div").top+5;return{from:e.coordsChar({left:0,top:n},"div"),to:t.from()}}))},delWrappedLineRight:function(e){return Ka(e,(function(t){var n=e.charCoords(t.head,"div").top+5,r=e.coordsChar({left:e.display.lineDiv.offsetWidth+100,top:n},"div");return{from:t.from(),to:r}}))},undo:function(e){return e.undo()},redo:function(e){return e.redo()},undoSelection:function(e){return e.undoSelection()},redoSelection:function(e){return e.redoSelection()},goDocStart:function(e){return e.extendSelection(ot(e.firstLine(),0))},goDocEnd:function(e){return e.extendSelection(ot(e.lastLine()))},goLineStart:function(e){return e.extendSelectionsBy((function(t){return Qa(e,t.head.line)}),{origin:"+move",bias:1})},goLineStartSmart:function(e){return e.extendSelectionsBy((function(t){return es(e,t.head)}),{origin:"+move",bias:1})},goLineEnd:function(e){return e.extendSelectionsBy((function(t){return Ja(e,t.head.line)}),{origin:"+move",bias:-1})},goLineRight:function(e){return e.extendSelectionsBy((function(t){var n=e.cursorCoords(t.head,"div").top+5;return e.coordsChar({left:e.display.lineDiv.offsetWidth+100,top:n},"div")}),G)},goLineLeft:function(e){return e.extendSelectionsBy((function(t){var n=e.cursorCoords(t.head,"div").top+5;return e.coordsChar({left:0,top:n},"div")}),G)},goLineLeftSmart:function(e){return e.extendSelectionsBy((function(t){var n=e.cursorCoords(t.head,"div").top+5,r=e.coordsChar({left:0,top:n},"div");return r.ch<e.getLine(r.line).search(/\S/)?es(e,t.head):r}),G)},goLineUp:function(e){return e.moveV(-1,"line")},goLineDown:function(e){return e.moveV(1,"line")},goPageUp:function(e){return e.moveV(-1,"page")},goPageDown:function(e){return e.moveV(1,"page")},goCharLeft:function(e){return e.moveH(-1,"char")},goCharRight:function(e){return e.moveH(1,"char")},goColumnLeft:function(e){return e.moveH(-1,"column")},goColumnRight:function(e){return e.moveH(1,"column")},goWordLeft:function(e){return e.moveH(-1,"word")},goGroupRight:function(e){return e.moveH(1,"group")},goGroupLeft:function(e){return e.moveH(-1,"group")},goWordRight:function(e){return e.moveH(1,"word")},delCharBefore:function(e){return e.deleteH(-1,"codepoint")},delCharAfter:function(e){return e.deleteH(1,"char")},delWordBefore:function(e){return e.deleteH(-1,"word")},delWordAfter:function(e){return e.deleteH(1,"word")},delGroupBefore:function(e){return e.deleteH(-1,"group")},delGroupAfter:function(e){return e.deleteH(1,"group")},indentAuto:function(e){return e.indentSelection("smart")},indentMore:function(e){return e.indentSelection("add")},indentLess:function(e){return e.indentSelection("subtract")},insertTab:function(e){return e.replaceSelection("\t")},insertSoftTab:function(e){for(var t=[],n=e.listSelections(),r=e.options.tabSize,i=0;i<n.length;i++){var o=n[i].from(),a=W(e.getLine(o.line),o.ch,r);t.push($(r-a%r))}e.replaceSelections(t)},defaultTab:function(e){e.somethingSelected()?e.indentSelection("add"):e.execCommand("insertTab")},transposeChars:function(e){return Ei(e,(function(){for(var t=e.listSelections(),n=[],r=0;r<t.length;r++)if(t[r].empty()){var i=t[r].head,o=Ze(e.doc,i.line).text;if(o)if(i.ch==o.length&&(i=new ot(i.line,i.ch-1)),i.ch>0)i=new ot(i.line,i.ch+1),e.replaceRange(o.charAt(i.ch-1)+o.charAt(i.ch-2),ot(i.line,i.ch-2),i,"+transpose");else if(i.line>e.doc.first){var a=Ze(e.doc,i.line-1).text;a&&(i=new ot(i.line,1),e.replaceRange(o.charAt(0)+e.doc.lineSeparator()+a.charAt(a.length-1),ot(i.line-1,a.length-1),i,"+transpose"))}n.push(new oo(i,i))}e.setSelections(n)}))},newlineAndIndent:function(e){return Ei(e,(function(){for(var t=e.listSelections(),n=t.length-1;n>=0;n--)e.replaceRange(e.doc.lineSeparator(),t[n].anchor,t[n].head,"+input");t=e.listSelections();for(var r=0;r<t.length;r++)e.indentLine(t[r].from().line,null,!0);si(e)}))},openLine:function(e){return e.replaceSelection("\n","start")},toggleOverwrite:function(e){return e.toggleOverwrite()}};function Qa(e,t){var n=Ze(e.doc,t),r=Qt(n);return r!=n&&(t=tt(r)),Xa(!0,e,r,t,1)}function Ja(e,t){var n=Ze(e.doc,t),r=Jt(n);return r!=n&&(t=tt(r)),Xa(!0,e,n,t,-1)}function es(e,t){var n=Qa(e,t.line),r=Ze(e.doc,n.line),i=de(r,e.doc.direction);if(!i||0==i[0].level){var o=Math.max(n.ch,r.text.search(/\S/)),a=t.line==n.line&&t.ch<=o&&t.ch;return ot(n.line,a?0:o,n.sticky)}return n}function ts(e,t,n){if("string"==typeof t&&!(t=Za[t]))return!1;e.display.input.ensurePolled();var r=e.display.shift,i=!1;try{e.isReadOnly()&&(e.state.suppressEdits=!0),n&&(e.display.shift=!1),i=t(e)!=z}finally{e.display.shift=r,e.state.suppressEdits=!1}return i}function ns(e,t,n){for(var r=0;r<e.state.keyMaps.length;r++){var i=_a(t,e.state.keyMaps[r],n,e);if(i)return i}return e.options.extraKeys&&_a(t,e.options.extraKeys,n,e)||_a(t,e.options.keyMap,n,e)}var rs=new H;function is(e,t,n,r){var i=e.state.keySeq;if(i){if(za(t))return"handled";if(/\'$/.test(t)?e.state.keySeq=null:rs.set(50,(function(){e.state.keySeq==i&&(e.state.keySeq=null,e.display.input.reset())})),os(e,i+" "+t,n,r))return!0}return os(e,t,n,r)}function os(e,t,n,r){var i=ns(e,t,r);return"multi"==i&&(e.state.keySeq=t),"handled"==i&&Mn(e,"keyHandled",e,t,n),"handled"!=i&&"multi"!=i||(Ce(n),$r(e)),!!i}function as(e,t){var n=Ua(t,!0);return!!n&&(t.shiftKey&&!e.state.keySeq?is(e,"Shift-"+n,t,(function(t){return ts(e,t,!0)}))||is(e,n,t,(function(t){if("string"==typeof t?/^go[A-Z]/.test(t):t.motion)return ts(e,t)})):is(e,n,t,(function(t){return ts(e,t)})))}function ss(e,t,n){return is(e,"'"+n+"'",t,(function(t){return ts(e,t,!0)}))}var ls=null;function cs(e){var t=this;if(!(e.target&&e.target!=t.display.input.getField()||(t.curOp.focus=P(),ye(t,e)))){a&&s<11&&27==e.keyCode&&(e.returnValue=!1);var r=e.keyCode;t.display.shift=16==r||e.shiftKey;var i=as(t,e);h&&(ls=i?r:null,i||88!=r||Be||!(y?e.metaKey:e.ctrlKey)||t.replaceSelection("",null,"cut")),n&&!y&&!i&&46==r&&e.shiftKey&&!e.ctrlKey&&document.execCommand&&document.execCommand("cut"),18!=r||/\bCodeMirror-crosshair\b/.test(t.display.lineDiv.className)||us(t)}}function us(e){var t=e.display.lineDiv;function n(e){18!=e.keyCode&&e.altKey||(T(t,"CodeMirror-crosshair"),ve(document,"keyup",n),ve(document,"mouseover",n))}F(t,"CodeMirror-crosshair"),pe(document,"keyup",n),pe(document,"mouseover",n)}function hs(e){16==e.keyCode&&(this.doc.sel.shift=!1),ye(this,e)}function ds(e){var t=this;if(!(e.target&&e.target!=t.display.input.getField()||Un(t.display,e)||ye(t,e)||e.ctrlKey&&!e.altKey||y&&e.metaKey)){var n=e.keyCode,r=e.charCode;if(h&&n==ls)return ls=null,void Ce(e);if(!h||e.which&&!(e.which<10)||!as(t,e)){var i=String.fromCharCode(null==r?n:r);"\b"!=i&&(ss(t,e,i)||t.display.input.onKeyPress(e))}}}var fs,ps,gs=400,vs=function(e,t,n){this.time=e,this.pos=t,this.button=n};function ms(e,t){var n=+new Date;return ps&&ps.compare(n,e,t)?(fs=ps=null,"triple"):fs&&fs.compare(n,e,t)?(ps=new vs(n,e,t),fs=null,"double"):(fs=new vs(n,e,t),ps=null,"single")}function ys(e){var t=this,n=t.display;if(!(ye(t,e)||n.activeTouch&&n.input.supportsTouch()))if(n.input.ensurePolled(),n.shift=e.shiftKey,Un(n,e))l||(n.scroller.draggable=!1,setTimeout((function(){return n.scroller.draggable=!0}),100));else if(!As(t,e)){var r=jr(t,e),i=Ae(e),o=r?ms(r,i):"single";window.focus(),1==i&&t.state.selectingText&&t.state.selectingText(e),r&&bs(t,i,r,o,e)||(1==i?r?xs(t,r,o,e):Te(e)==n.scroller&&Ce(e):2==i?(r&&Bo(t.doc,r),setTimeout((function(){return n.input.focus()}),20)):3==i&&(k?t.display.input.onContextMenu(e):Yr(t)))}}function bs(e,t,n,r,i){var o="Click";return"double"==r?o="Double"+o:"triple"==r&&(o="Triple"+o),is(e,qa(o=(1==t?"Left":2==t?"Middle":"Right")+o,i),i,(function(t){if("string"==typeof t&&(t=Za[t]),!t)return!1;var r=!1;try{e.isReadOnly()&&(e.state.suppressEdits=!0),r=t(e,n)!=z}finally{e.state.suppressEdits=!1}return r}))}function ws(e,t,n){var r=e.getOption("configureMouse"),i=r?r(e,t,n):{};if(null==i.unit){var o=b?n.shiftKey&&n.metaKey:n.altKey;i.unit=o?"rectangle":"single"==t?"char":"double"==t?"word":"line"}return(null==i.extend||e.doc.extend)&&(i.extend=e.doc.extend||n.shiftKey),null==i.addNew&&(i.addNew=y?n.metaKey:n.ctrlKey),null==i.moveOnDrag&&(i.moveOnDrag=!(y?n.altKey:n.ctrlKey)),i}function xs(e,t,n,r){a?setTimeout(B(Xr,e),0):e.curOp.focus=P();var i,o=ws(e,n,r),s=e.doc.sel;e.options.dragDrop&&Ne&&!e.isReadOnly()&&"single"==n&&(i=s.contains(t))>-1&&(at((i=s.ranges[i]).from(),t)<0||t.xRel>0)&&(at(i.to(),t)>0||t.xRel<0)?Cs(e,r,t,o):Ss(e,r,t,o)}function Cs(e,t,n,r){var i=e.display,o=!1,c=Pi(e,(function(t){l&&(i.scroller.draggable=!1),e.state.draggingText=!1,e.state.delayingBlurEvent&&(e.hasFocus()?e.state.delayingBlurEvent=!1:Yr(e)),ve(i.wrapper.ownerDocument,"mouseup",c),ve(i.wrapper.ownerDocument,"mousemove",u),ve(i.scroller,"dragstart",h),ve(i.scroller,"drop",c),o||(Ce(t),r.addNew||Bo(e.doc,n,null,null,r.extend),l&&!d||a&&9==s?setTimeout((function(){i.wrapper.ownerDocument.body.focus({preventScroll:!0}),i.input.focus()}),20):i.input.focus())})),u=function(e){o=o||Math.abs(t.clientX-e.clientX)+Math.abs(t.clientY-e.clientY)>=10},h=function(){return o=!0};l&&(i.scroller.draggable=!0),e.state.draggingText=c,c.copy=!r.moveOnDrag,pe(i.wrapper.ownerDocument,"mouseup",c),pe(i.wrapper.ownerDocument,"mousemove",u),pe(i.scroller,"dragstart",h),pe(i.scroller,"drop",c),e.state.delayingBlurEvent=!0,setTimeout((function(){return i.input.focus()}),20),i.scroller.dragDrop&&i.scroller.dragDrop()}function ks(e,t,n){if("char"==n)return new oo(t,t);if("word"==n)return e.findWordAt(t);if("line"==n)return new oo(ot(t.line,0),dt(e.doc,ot(t.line+1,0)));var r=n(e,t);return new oo(r.from,r.to)}function Ss(e,t,n,r){a&&Yr(e);var i=e.display,o=e.doc;Ce(t);var s,l,c=o.sel,u=c.ranges;if(r.addNew&&!r.extend?(l=o.sel.contains(n),s=l>-1?u[l]:new oo(n,n)):(s=o.sel.primary(),l=o.sel.primIndex),"rectangle"==r.unit)r.addNew||(s=new oo(n,n)),n=jr(e,t,!0,!0),l=-1;else{var h=ks(e,n,r.unit);s=r.extend?jo(s,h.anchor,h.head,r.extend):h}r.addNew?-1==l?(l=u.length,zo(o,ao(e,u.concat([s]),l),{scroll:!1,origin:"*mouse"})):u.length>1&&u[l].empty()&&"char"==r.unit&&!r.extend?(zo(o,ao(e,u.slice(0,l).concat(u.slice(l+1)),0),{scroll:!1,origin:"*mouse"}),c=o.sel):Wo(o,l,s,U):(l=0,zo(o,new io([s],0),U),c=o.sel);var d=n;function f(t){if(0!=at(d,t))if(d=t,"rectangle"==r.unit){for(var i=[],a=e.options.tabSize,u=W(Ze(o,n.line).text,n.ch,a),h=W(Ze(o,t.line).text,t.ch,a),f=Math.min(u,h),p=Math.max(u,h),g=Math.min(n.line,t.line),v=Math.min(e.lastLine(),Math.max(n.line,t.line));g<=v;g++){var m=Ze(o,g).text,y=K(m,f,a);f==p?i.push(new oo(ot(g,y),ot(g,y))):m.length>y&&i.push(new oo(ot(g,y),ot(g,K(m,p,a))))}i.length||i.push(new oo(n,n)),zo(o,ao(e,c.ranges.slice(0,l).concat(i),l),{origin:"*mouse",scroll:!1}),e.scrollIntoView(t)}else{var b,w=s,x=ks(e,t,r.unit),C=w.anchor;at(x.anchor,C)>0?(b=x.head,C=ut(w.from(),x.anchor)):(b=x.anchor,C=ct(w.to(),x.head));var k=c.ranges.slice(0);k[l]=Ls(e,new oo(dt(o,C),b)),zo(o,ao(e,k,l),U)}}var p=i.wrapper.getBoundingClientRect(),g=0;function v(t){var n=++g,a=jr(e,t,!0,"rectangle"==r.unit);if(a)if(0!=at(a,d)){e.curOp.focus=P(),f(a);var s=ti(i,o);(a.line>=s.to||a.line<s.from)&&setTimeout(Pi(e,(function(){g==n&&v(t)})),150)}else{var l=t.clientY<p.top?-20:t.clientY>p.bottom?20:0;l&&setTimeout(Pi(e,(function(){g==n&&(i.scroller.scrollTop+=l,v(t))})),50)}}function m(t){e.state.selectingText=!1,g=1/0,t&&(Ce(t),i.input.focus()),ve(i.wrapper.ownerDocument,"mousemove",y),ve(i.wrapper.ownerDocument,"mouseup",b),o.history.lastSelOrigin=null}var y=Pi(e,(function(e){0!==e.buttons&&Ae(e)?v(e):m(e)})),b=Pi(e,m);e.state.selectingText=b,pe(i.wrapper.ownerDocument,"mousemove",y),pe(i.wrapper.ownerDocument,"mouseup",b)}function Ls(e,t){var n=t.anchor,r=t.head,i=Ze(e.doc,n.line);if(0==at(n,r)&&n.sticky==r.sticky)return t;var o=de(i);if(!o)return t;var a=ue(o,n.ch,n.sticky),s=o[a];if(s.from!=n.ch&&s.to!=n.ch)return t;var l,c=a+(s.from==n.ch==(1!=s.level)?0:1);if(0==c||c==o.length)return t;if(r.line!=n.line)l=(r.line-n.line)*("ltr"==e.doc.direction?1:-1)>0;else{var u=ue(o,r.ch,r.sticky),h=u-a||(r.ch-n.ch)*(1==s.level?-1:1);l=u==c-1||u==c?h<0:h>0}var d=o[c+(l?-1:0)],f=l==(1==d.level),p=f?d.from:d.to,g=f?"after":"before";return n.ch==p&&n.sticky==g?t:new oo(new ot(n.line,p,g),r)}function Ts(e,t,n,r){var i,o;if(t.touches)i=t.touches[0].clientX,o=t.touches[0].clientY;else try{i=t.clientX,o=t.clientY}catch(e){return!1}if(i>=Math.floor(e.display.gutters.getBoundingClientRect().right))return!1;r&&Ce(t);var a=e.display,s=a.lineDiv.getBoundingClientRect();if(o>s.bottom||!we(e,n))return Se(t);o-=s.top-a.viewOffset;for(var l=0;l<e.display.gutterSpecs.length;++l){var c=a.gutters.childNodes[l];if(c&&c.getBoundingClientRect().right>=i)return me(e,n,e,nt(e.doc,o),e.display.gutterSpecs[l].className,t),Se(t)}}function As(e,t){return Ts(e,t,"gutterClick",!0)}function Os(e,t){Un(e.display,t)||Ms(e,t)||ye(e,t,"contextmenu")||k||e.display.input.onContextMenu(t)}function Ms(e,t){return!!we(e,"gutterContextMenu")&&Ts(e,t,"gutterContextMenu",!1)}function Ns(e){e.display.wrapper.className=e.display.wrapper.className.replace(/\s*cm-s-\S+/g,"")+e.options.theme.replace(/(^|\s)\s*/g," cm-s-"),dr(e)}vs.prototype.compare=function(e,t,n){return this.time+gs>e&&0==at(t,this.pos)&&n==this.button};var Es={toString:function(){return"CodeMirror.Init"}},Ps={},Fs={};function Ds(e){var t=e.optionHandlers;function n(n,r,i,o){e.defaults[n]=r,i&&(t[n]=o?function(e,t,n){n!=Es&&i(e,t,n)}:i)}e.defineOption=n,e.Init=Es,n("value","",(function(e,t){return e.setValue(t)}),!0),n("mode",null,(function(e,t){e.doc.modeOption=t,po(e)}),!0),n("indentUnit",2,po,!0),n("indentWithTabs",!1),n("smartIndent",!0),n("tabSize",4,(function(e){go(e),dr(e),Ir(e)}),!0),n("lineSeparator",null,(function(e,t){if(e.doc.lineSep=t,t){var n=[],r=e.doc.first;e.doc.iter((function(e){for(var i=0;;){var o=e.text.indexOf(t,i);if(-1==o)break;i=o+t.length,n.push(ot(r,o))}r++}));for(var i=n.length-1;i>=0;i--)ia(e.doc,t,n[i],ot(n[i].line,n[i].ch+t.length))}})),n("specialChars",/[\u0000-\u001f\u007f-\u009f\u00ad\u061c\u200b\u200e\u200f\u2028\u2029\ufeff\ufff9-\ufffc]/g,(function(e,t,n){e.state.specialChars=new RegExp(t.source+(t.test("\t")?"":"|\t"),"g"),n!=Es&&e.refresh()})),n("specialCharPlaceholder",vn,(function(e){return e.refresh()}),!0),n("electricChars",!0),n("inputStyle",m?"contenteditable":"textarea",(function(){throw new Error("inputStyle can not (yet) be changed in a running editor")}),!0),n("spellcheck",!1,(function(e,t){return e.getInputField().spellcheck=t}),!0),n("autocorrect",!1,(function(e,t){return e.getInputField().autocorrect=t}),!0),n("autocapitalize",!1,(function(e,t){return e.getInputField().autocapitalize=t}),!0),n("rtlMoveVisually",!w),n("wholeLineUpdateBefore",!0),n("theme","default",(function(e){Ns(e),Zi(e)}),!0),n("keyMap","default",(function(e,t,n){var r=Ga(t),i=n!=Es&&Ga(n);i&&i.detach&&i.detach(e,r),r.attach&&r.attach(e,i||null)})),n("extraKeys",null),n("configureMouse",null),n("lineWrapping",!1,Bs,!0),n("gutters",[],(function(e,t){e.display.gutterSpecs=Xi(t,e.options.lineNumbers),Zi(e)}),!0),n("fixedGutter",!0,(function(e,t){e.display.gutters.style.left=t?Pr(e.display)+"px":"0",e.refresh()}),!0),n("coverGutterNextToScrollbar",!1,(function(e){return yi(e)}),!0),n("scrollbarStyle","native",(function(e){xi(e),yi(e),e.display.scrollbars.setScrollTop(e.doc.scrollTop),e.display.scrollbars.setScrollLeft(e.doc.scrollLeft)}),!0),n("lineNumbers",!1,(function(e,t){e.display.gutterSpecs=Xi(e.options.gutters,t),Zi(e)}),!0),n("firstLineNumber",1,Zi,!0),n("lineNumberFormatter",(function(e){return e}),Zi,!0),n("showCursorWhenSelecting",!1,qr,!0),n("resetSelectionOnContextMenu",!0),n("lineWiseCopyCut",!0),n("pasteLinesPerSelection",!0),n("selectionsMayTouch",!1),n("readOnly",!1,(function(e,t){"nocursor"==t&&(Qr(e),e.display.input.blur()),e.display.input.readOnlyChanged(t)})),n("screenReaderLabel",null,(function(e,t){t=""===t?null:t,e.display.input.screenReaderLabelChanged(t)})),n("disableInput",!1,(function(e,t){t||e.display.input.reset()}),!0),n("dragDrop",!0,js),n("allowDropFileTypes",null),n("cursorBlinkRate",530),n("cursorScrollMargin",0),n("cursorHeight",1,qr,!0),n("singleCursorHeightPerLine",!0,qr,!0),n("workTime",100),n("workDelay",100),n("flattenSpans",!0,go,!0),n("addModeClass",!1,go,!0),n("pollInterval",100),n("undoDepth",200,(function(e,t){return e.doc.history.undoDepth=t})),n("historyEventDelay",1250),n("viewportMargin",10,(function(e){return e.refresh()}),!0),n("maxHighlightLength",1e4,go,!0),n("moveInputWithCursor",!0,(function(e,t){t||e.display.input.resetPosition()})),n("tabindex",null,(function(e,t){return e.display.input.getField().tabIndex=t||""})),n("autofocus",null),n("direction","ltr",(function(e,t){return e.doc.setDirection(t)}),!0),n("phrases",null)}function js(e,t,n){if(!t!=!(n&&n!=Es)){var r=e.display.dragFunctions,i=t?pe:ve;i(e.display.scroller,"dragstart",r.start),i(e.display.scroller,"dragenter",r.enter),i(e.display.scroller,"dragover",r.over),i(e.display.scroller,"dragleave",r.leave),i(e.display.scroller,"drop",r.drop)}}function Bs(e){e.options.lineWrapping?(F(e.display.wrapper,"CodeMirror-wrap"),e.display.sizer.style.minWidth="",e.display.sizerWidth=null):(T(e.display.wrapper,"CodeMirror-wrap"),ln(e)),Dr(e),Ir(e),dr(e),setTimeout((function(){return yi(e)}),100)}function Is(e,t){var n=this;if(!(this instanceof Is))return new Is(e,t);this.options=t=t?I(t):{},I(Ps,t,!1);var r=t.value;"string"==typeof r?r=new ka(r,t.mode,null,t.lineSeparator,t.direction):t.mode&&(r.modeOption=t.mode),this.doc=r;var i=new Is.inputStyles[t.inputStyle](this),o=this.display=new Qi(e,r,i,t);for(var c in o.wrapper.CodeMirror=this,Ns(this),t.lineWrapping&&(this.display.wrapper.className+=" CodeMirror-wrap"),xi(this),this.state={keyMaps:[],overlays:[],modeGen:0,overwrite:!1,delayingBlurEvent:!1,focused:!1,suppressEdits:!1,pasteIncoming:-1,cutIncoming:-1,selectingText:!1,draggingText:!1,highlight:new H,keySeq:null,specialChars:null},t.autofocus&&!m&&o.input.focus(),a&&s<11&&setTimeout((function(){return n.display.input.reset(!0)}),20),Ws(this),Ea(),ki(this),this.curOp.forceUpdate=!0,bo(this,r),t.autofocus&&!m||this.hasFocus()?setTimeout((function(){n.hasFocus()&&!n.state.focused&&Zr(n)}),20):Qr(this),Fs)Fs.hasOwnProperty(c)&&Fs[c](this,t[c],Es);$i(this),t.finishInit&&t.finishInit(this);for(var u=0;u<Hs.length;++u)Hs[u](this);Si(this),l&&t.lineWrapping&&"optimizelegibility"==getComputedStyle(o.lineDiv).textRendering&&(o.lineDiv.style.textRendering="auto")}function Ws(e){var t=e.display;pe(t.scroller,"mousedown",Pi(e,ys)),pe(t.scroller,"dblclick",a&&s<11?Pi(e,(function(t){if(!ye(e,t)){var n=jr(e,t);if(n&&!As(e,t)&&!Un(e.display,t)){Ce(t);var r=e.findWordAt(n);Bo(e.doc,r.anchor,r.head)}}})):function(t){return ye(e,t)||Ce(t)}),pe(t.scroller,"contextmenu",(function(t){return Os(e,t)})),pe(t.input.getField(),"contextmenu",(function(n){t.scroller.contains(n.target)||Os(e,n)}));var n,r={end:0};function i(){t.activeTouch&&(n=setTimeout((function(){return t.activeTouch=null}),1e3),(r=t.activeTouch).end=+new Date)}function o(e){if(1!=e.touches.length)return!1;var t=e.touches[0];return t.radiusX<=1&&t.radiusY<=1}function l(e,t){if(null==t.left)return!0;var n=t.left-e.left,r=t.top-e.top;return n*n+r*r>400}pe(t.scroller,"touchstart",(function(i){if(!ye(e,i)&&!o(i)&&!As(e,i)){t.input.ensurePolled(),clearTimeout(n);var a=+new Date;t.activeTouch={start:a,moved:!1,prev:a-r.end<=300?r:null},1==i.touches.length&&(t.activeTouch.left=i.touches[0].pageX,t.activeTouch.top=i.touches[0].pageY)}})),pe(t.scroller,"touchmove",(function(){t.activeTouch&&(t.activeTouch.moved=!0)})),pe(t.scroller,"touchend",(function(n){var r=t.activeTouch;if(r&&!Un(t,n)&&null!=r.left&&!r.moved&&new Date-r.start<300){var o,a=e.coordsChar(t.activeTouch,"page");o=!r.prev||l(r,r.prev)?new oo(a,a):!r.prev.prev||l(r,r.prev.prev)?e.findWordAt(a):new oo(ot(a.line,0),dt(e.doc,ot(a.line+1,0))),e.setSelection(o.anchor,o.head),e.focus(),Ce(n)}i()})),pe(t.scroller,"touchcancel",i),pe(t.scroller,"scroll",(function(){t.scroller.clientHeight&&(di(e,t.scroller.scrollTop),pi(e,t.scroller.scrollLeft,!0),me(e,"scroll",e))})),pe(t.scroller,"mousewheel",(function(t){return ro(e,t)})),pe(t.scroller,"DOMMouseScroll",(function(t){return ro(e,t)})),pe(t.wrapper,"scroll",(function(){return t.wrapper.scrollTop=t.wrapper.scrollLeft=0})),t.dragFunctions={enter:function(t){ye(e,t)||Le(t)},over:function(t){ye(e,t)||(Aa(e,t),Le(t))},start:function(t){return Ta(e,t)},drop:Pi(e,La),leave:function(t){ye(e,t)||Oa(e)}};var c=t.input.getField();pe(c,"keyup",(function(t){return hs.call(e,t)})),pe(c,"keydown",Pi(e,cs)),pe(c,"keypress",Pi(e,ds)),pe(c,"focus",(function(t){return Zr(e,t)})),pe(c,"blur",(function(t){return Qr(e,t)}))}Is.defaults=Ps,Is.optionHandlers=Fs;var Hs=[];function Rs(e,t,n,r){var i,o=e.doc;null==n&&(n="add"),"smart"==n&&(o.mode.indent?i=bt(e,t).state:n="prev");var a=e.options.tabSize,s=Ze(o,t),l=W(s.text,null,a);s.stateAfter&&(s.stateAfter=null);var c,u=s.text.match(/^\s*/)[0];if(r||/\S/.test(s.text)){if("smart"==n&&((c=o.mode.indent(i,s.text.slice(u.length),s.text))==z||c>150)){if(!r)return;n="prev"}}else c=0,n="not";"prev"==n?c=t>o.first?W(Ze(o,t-1).text,null,a):0:"add"==n?c=l+e.options.indentUnit:"subtract"==n?c=l-e.options.indentUnit:"number"==typeof n&&(c=l+n),c=Math.max(0,c);var h="",d=0;if(e.options.indentWithTabs)for(var f=Math.floor(c/a);f;--f)d+=a,h+="\t";if(d<c&&(h+=$(c-d)),h!=u)return ia(o,h,ot(t,0),ot(t,u.length),"+input"),s.stateAfter=null,!0;for(var p=0;p<o.sel.ranges.length;p++){var g=o.sel.ranges[p];if(g.head.line==t&&g.head.ch<u.length){var v=ot(t,u.length);Wo(o,p,new oo(v,v));break}}}Is.defineInitHook=function(e){return Hs.push(e)};var _s=null;function zs(e){_s=e}function qs(e,t,n,r,i){var o=e.doc;e.display.shift=!1,r||(r=o.sel);var a=+new Date-200,s="paste"==i||e.state.pasteIncoming>a,l=De(t),c=null;if(s&&r.ranges.length>1)if(_s&&_s.text.join("\n")==t){if(r.ranges.length%_s.text.length==0){c=[];for(var u=0;u<_s.text.length;u++)c.push(o.splitLines(_s.text[u]))}}else l.length==r.ranges.length&&e.options.pasteLinesPerSelection&&(c=Y(l,(function(e){return[e]})));for(var h=e.curOp.updateInput,d=r.ranges.length-1;d>=0;d--){var f=r.ranges[d],p=f.from(),g=f.to();f.empty()&&(n&&n>0?p=ot(p.line,p.ch-n):e.state.overwrite&&!s?g=ot(g.line,Math.min(Ze(o,g.line).text.length,g.ch+X(l).length)):s&&_s&&_s.lineWise&&_s.text.join("\n")==l.join("\n")&&(p=g=ot(p.line,0)));var v={from:p,to:g,text:c?c[d%c.length]:l,origin:i||(s?"paste":e.state.cutIncoming>a?"cut":"+input")};Qo(e.doc,v),Mn(e,"inputRead",e,v)}t&&!s&&Gs(e,t),si(e),e.curOp.updateInput<2&&(e.curOp.updateInput=h),e.curOp.typing=!0,e.state.pasteIncoming=e.state.cutIncoming=-1}function Us(e,t){var n=e.clipboardData&&e.clipboardData.getData("Text");if(n)return e.preventDefault(),t.isReadOnly()||t.options.disableInput||Ei(t,(function(){return qs(t,n,0,null,"paste")})),!0}function Gs(e,t){if(e.options.electricChars&&e.options.smartIndent)for(var n=e.doc.sel,r=n.ranges.length-1;r>=0;r--){var i=n.ranges[r];if(!(i.head.ch>100||r&&n.ranges[r-1].head.line==i.head.line)){var o=e.getModeAt(i.head),a=!1;if(o.electricChars){for(var s=0;s<o.electricChars.length;s++)if(t.indexOf(o.electricChars.charAt(s))>-1){a=Rs(e,i.head.line,"smart");break}}else o.electricInput&&o.electricInput.test(Ze(e.doc,i.head.line).text.slice(0,i.head.ch))&&(a=Rs(e,i.head.line,"smart"));a&&Mn(e,"electricInput",e,i.head.line)}}}function Ks(e){for(var t=[],n=[],r=0;r<e.doc.sel.ranges.length;r++){var i=e.doc.sel.ranges[r].head.line,o={anchor:ot(i,0),head:ot(i+1,0)};n.push(o),t.push(e.getRange(o.anchor,o.head))}return{text:t,ranges:n}}function Vs(e,t,n,r){e.setAttribute("autocorrect",n?"":"off"),e.setAttribute("autocapitalize",r?"":"off"),e.setAttribute("spellcheck",!!t)}function $s(){var e=M("textarea",null,null,"position: absolute; bottom: -1em; padding: 0; width: 1px; height: 1em; min-height: 1em; outline: none"),t=M("div",[e],null,"overflow: hidden; position: relative; width: 3px; height: 0px;");return l?e.style.width="1000px":e.setAttribute("wrap","off"),g&&(e.style.border="1px solid black"),Vs(e),t}function Xs(e){var t=e.optionHandlers,n=e.helpers={};e.prototype={constructor:e,focus:function(){window.focus(),this.display.input.focus()},setOption:function(e,n){var r=this.options,i=r[e];r[e]==n&&"mode"!=e||(r[e]=n,t.hasOwnProperty(e)&&Pi(this,t[e])(this,n,i),me(this,"optionChange",this,e))},getOption:function(e){return this.options[e]},getDoc:function(){return this.doc},addKeyMap:function(e,t){this.state.keyMaps[t?"push":"unshift"](Ga(e))},removeKeyMap:function(e){for(var t=this.state.keyMaps,n=0;n<t.length;++n)if(t[n]==e||t[n].name==e)return t.splice(n,1),!0},addOverlay:Fi((function(t,n){var r=t.token?t:e.getMode(this.options,t);if(r.startState)throw new Error("Overlays may not be stateful.");Z(this.state.overlays,{mode:r,modeSpec:t,opaque:n&&n.opaque,priority:n&&n.priority||0},(function(e){return e.priority})),this.state.modeGen++,Ir(this)})),removeOverlay:Fi((function(e){for(var t=this.state.overlays,n=0;n<t.length;++n){var r=t[n].modeSpec;if(r==e||"string"==typeof e&&r.name==e)return t.splice(n,1),this.state.modeGen++,void Ir(this)}})),indentLine:Fi((function(e,t,n){"string"!=typeof t&&"number"!=typeof t&&(t=null==t?this.options.smartIndent?"smart":"prev":t?"add":"subtract"),rt(this.doc,e)&&Rs(this,e,t,n)})),indentSelection:Fi((function(e){for(var t=this.doc.sel.ranges,n=-1,r=0;r<t.length;r++){var i=t[r];if(i.empty())i.head.line>n&&(Rs(this,i.head.line,e,!0),n=i.head.line,r==this.doc.sel.primIndex&&si(this));else{var o=i.from(),a=i.to(),s=Math.max(n,o.line);n=Math.min(this.lastLine(),a.line-(a.ch?0:1))+1;for(var l=s;l<n;++l)Rs(this,l,e);var c=this.doc.sel.ranges;0==o.ch&&t.length==c.length&&c[r].from().ch>0&&Wo(this.doc,r,new oo(o,c[r].to()),q)}}})),getTokenAt:function(e,t){return St(this,e,t)},getLineTokens:function(e,t){return St(this,ot(e),t,!0)},getTokenTypeAt:function(e){e=dt(this.doc,e);var t,n=yt(this,Ze(this.doc,e.line)),r=0,i=(n.length-1)/2,o=e.ch;if(0==o)t=n[2];else for(;;){var a=r+i>>1;if((a?n[2*a-1]:0)>=o)i=a;else{if(!(n[2*a+1]<o)){t=n[2*a+2];break}r=a+1}}var s=t?t.indexOf("overlay "):-1;return s<0?t:0==s?null:t.slice(0,s-1)},getModeAt:function(t){var n=this.doc.mode;return n.innerMode?e.innerMode(n,this.getTokenAt(t).state).mode:n},getHelper:function(e,t){return this.getHelpers(e,t)[0]},getHelpers:function(e,t){var r=[];if(!n.hasOwnProperty(t))return r;var i=n[t],o=this.getModeAt(e);if("string"==typeof o[t])i[o[t]]&&r.push(i[o[t]]);else if(o[t])for(var a=0;a<o[t].length;a++){var s=i[o[t][a]];s&&r.push(s)}else o.helperType&&i[o.helperType]?r.push(i[o.helperType]):i[o.name]&&r.push(i[o.name]);for(var l=0;l<i._global.length;l++){var c=i._global[l];c.pred(o,this)&&-1==R(r,c.val)&&r.push(c.val)}return r},getStateAfter:function(e,t){var n=this.doc;return bt(this,(e=ht(n,null==e?n.first+n.size-1:e))+1,t).state},cursorCoords:function(e,t){var n=this.doc.sel.primary();return br(this,null==e?n.head:"object"==typeof e?dt(this.doc,e):e?n.from():n.to(),t||"page")},charCoords:function(e,t){return yr(this,dt(this.doc,e),t||"page")},coordsChar:function(e,t){return Cr(this,(e=mr(this,e,t||"page")).left,e.top)},lineAtHeight:function(e,t){return e=mr(this,{top:e,left:0},t||"page").top,nt(this.doc,e+this.display.viewOffset)},heightAtLine:function(e,t,n){var r,i=!1;if("number"==typeof e){var o=this.doc.first+this.doc.size-1;e<this.doc.first?e=this.doc.first:e>o&&(e=o,i=!0),r=Ze(this.doc,e)}else r=e;return vr(this,r,{top:0,left:0},t||"page",n||i).top+(i?this.doc.height-an(r):0)},defaultTextHeight:function(){return Mr(this.display)},defaultCharWidth:function(){return Nr(this.display)},getViewport:function(){return{from:this.display.viewFrom,to:this.display.viewTo}},addWidget:function(e,t,n,r,i){var o=this.display,a=(e=br(this,dt(this.doc,e))).bottom,s=e.left;if(t.style.position="absolute",t.setAttribute("cm-ignore-events","true"),this.display.input.setUneditable(t),o.sizer.appendChild(t),"over"==r)a=e.top;else if("above"==r||"near"==r){var l=Math.max(o.wrapper.clientHeight,this.doc.height),c=Math.max(o.sizer.clientWidth,o.lineSpace.clientWidth);("above"==r||e.bottom+t.offsetHeight>l)&&e.top>t.offsetHeight?a=e.top-t.offsetHeight:e.bottom+t.offsetHeight<=l&&(a=e.bottom),s+t.offsetWidth>c&&(s=c-t.offsetWidth)}t.style.top=a+"px",t.style.left=t.style.right="","right"==i?(s=o.sizer.clientWidth-t.offsetWidth,t.style.right="0px"):("left"==i?s=0:"middle"==i&&(s=(o.sizer.clientWidth-t.offsetWidth)/2),t.style.left=s+"px"),n&&ii(this,{left:s,top:a,right:s+t.offsetWidth,bottom:a+t.offsetHeight})},triggerOnKeyDown:Fi(cs),triggerOnKeyPress:Fi(ds),triggerOnKeyUp:hs,triggerOnMouseDown:Fi(ys),execCommand:function(e){if(Za.hasOwnProperty(e))return Za[e].call(null,this)},triggerElectric:Fi((function(e){Gs(this,e)})),findPosH:function(e,t,n,r){var i=1;t<0&&(i=-1,t=-t);for(var o=dt(this.doc,e),a=0;a<t&&!(o=Ys(this.doc,o,i,n,r)).hitSide;++a);return o},moveH:Fi((function(e,t){var n=this;this.extendSelectionsBy((function(r){return n.display.shift||n.doc.extend||r.empty()?Ys(n.doc,r.head,e,t,n.options.rtlMoveVisually):e<0?r.from():r.to()}),G)})),deleteH:Fi((function(e,t){var n=this.doc.sel,r=this.doc;n.somethingSelected()?r.replaceSelection("",null,"+delete"):Ka(this,(function(n){var i=Ys(r,n.head,e,t,!1);return e<0?{from:i,to:n.head}:{from:n.head,to:i}}))})),findPosV:function(e,t,n,r){var i=1,o=r;t<0&&(i=-1,t=-t);for(var a=dt(this.doc,e),s=0;s<t;++s){var l=br(this,a,"div");if(null==o?o=l.left:l.left=o,(a=Zs(this,l,i,n)).hitSide)break}return a},moveV:Fi((function(e,t){var n=this,r=this.doc,i=[],o=!this.display.shift&&!r.extend&&r.sel.somethingSelected();if(r.extendSelectionsBy((function(a){if(o)return e<0?a.from():a.to();var s=br(n,a.head,"div");null!=a.goalColumn&&(s.left=a.goalColumn),i.push(s.left);var l=Zs(n,s,e,t);return"page"==t&&a==r.sel.primary()&&ai(n,yr(n,l,"div").top-s.top),l}),G),i.length)for(var a=0;a<r.sel.ranges.length;a++)r.sel.ranges[a].goalColumn=i[a]})),findWordAt:function(e){var t=Ze(this.doc,e.line).text,n=e.ch,r=e.ch;if(t){var i=this.getHelper(e,"wordChars");"before"!=e.sticky&&r!=t.length||!n?++r:--n;for(var o=t.charAt(n),a=ne(o,i)?function(e){return ne(e,i)}:/\s/.test(o)?function(e){return/\s/.test(e)}:function(e){return!/\s/.test(e)&&!ne(e)};n>0&&a(t.charAt(n-1));)--n;for(;r<t.length&&a(t.charAt(r));)++r}return new oo(ot(e.line,n),ot(e.line,r))},toggleOverwrite:function(e){null!=e&&e==this.state.overwrite||((this.state.overwrite=!this.state.overwrite)?F(this.display.cursorDiv,"CodeMirror-overwrite"):T(this.display.cursorDiv,"CodeMirror-overwrite"),me(this,"overwriteToggle",this,this.state.overwrite))},hasFocus:function(){return this.display.input.getField()==P()},isReadOnly:function(){return!(!this.options.readOnly&&!this.doc.cantEdit)},scrollTo:Fi((function(e,t){li(this,e,t)})),getScrollInfo:function(){var e=this.display.scroller;return{left:e.scrollLeft,top:e.scrollTop,height:e.scrollHeight-$n(this)-this.display.barHeight,width:e.scrollWidth-$n(this)-this.display.barWidth,clientHeight:Yn(this),clientWidth:Xn(this)}},scrollIntoView:Fi((function(e,t){null==e?(e={from:this.doc.sel.primary().head,to:null},null==t&&(t=this.options.cursorScrollMargin)):"number"==typeof e?e={from:ot(e,0),to:null}:null==e.from&&(e={from:e,to:null}),e.to||(e.to=e.from),e.margin=t||0,null!=e.from.line?ci(this,e):hi(this,e.from,e.to,e.margin)})),setSize:Fi((function(e,t){var n=this,r=function(e){return"number"==typeof e||/^\d+$/.test(String(e))?e+"px":e};null!=e&&(this.display.wrapper.style.width=r(e)),null!=t&&(this.display.wrapper.style.height=r(t)),this.options.lineWrapping&&hr(this);var i=this.display.viewFrom;this.doc.iter(i,this.display.viewTo,(function(e){if(e.widgets)for(var t=0;t<e.widgets.length;t++)if(e.widgets[t].noHScroll){Wr(n,i,"widget");break}++i})),this.curOp.forceUpdate=!0,me(this,"refresh",this)})),operation:function(e){return Ei(this,e)},startOperation:function(){return ki(this)},endOperation:function(){return Si(this)},refresh:Fi((function(){var e=this.display.cachedTextHeight;Ir(this),this.curOp.forceUpdate=!0,dr(this),li(this,this.doc.scrollLeft,this.doc.scrollTop),Gi(this.display),(null==e||Math.abs(e-Mr(this.display))>.5||this.options.lineWrapping)&&Dr(this),me(this,"refresh",this)})),swapDoc:Fi((function(e){var t=this.doc;return t.cm=null,this.state.selectingText&&this.state.selectingText(),bo(this,e),dr(this),this.display.input.reset(),li(this,e.scrollLeft,e.scrollTop),this.curOp.forceScroll=!0,Mn(this,"swapDoc",this,t),t})),phrase:function(e){var t=this.options.phrases;return t&&Object.prototype.hasOwnProperty.call(t,e)?t[e]:e},getInputField:function(){return this.display.input.getField()},getWrapperElement:function(){return this.display.wrapper},getScrollerElement:function(){return this.display.scroller},getGutterElement:function(){return this.display.gutters}},xe(e),e.registerHelper=function(t,r,i){n.hasOwnProperty(t)||(n[t]=e[t]={_global:[]}),n[t][r]=i},e.registerGlobalHelper=function(t,r,i,o){e.registerHelper(t,r,o),n[t]._global.push({pred:i,val:o})}}function Ys(e,t,n,r,i){var o=t,a=n,s=Ze(e,t.line),l=i&&"rtl"==e.direction?-n:n;function c(){var n=t.line+l;return!(n<e.first||n>=e.first+e.size)&&(t=new ot(n,t.ch,t.sticky),s=Ze(e,n))}function u(o){var a;if("codepoint"==r){var u=s.text.charCodeAt(t.ch+(n>0?0:-1));if(isNaN(u))a=null;else{var h=n>0?u>=55296&&u<56320:u>=56320&&u<57343;a=new ot(t.line,Math.max(0,Math.min(s.text.length,t.ch+n*(h?2:1))),-n)}}else a=i?Ya(e.cm,s,t,n):$a(s,t,n);if(null==a){if(o||!c())return!1;t=Xa(i,e.cm,s,t.line,l)}else t=a;return!0}if("char"==r||"codepoint"==r)u();else if("column"==r)u(!0);else if("word"==r||"group"==r)for(var h=null,d="group"==r,f=e.cm&&e.cm.getHelper(t,"wordChars"),p=!0;!(n<0)||u(!p);p=!1){var g=s.text.charAt(t.ch)||"\n",v=ne(g,f)?"w":d&&"\n"==g?"n":!d||/\s/.test(g)?null:"p";if(!d||p||v||(v="s"),h&&h!=v){n<0&&(n=1,u(),t.sticky="after");break}if(v&&(h=v),n>0&&!u(!p))break}var m=$o(e,t,o,a,!0);return st(o,m)&&(m.hitSide=!0),m}function Zs(e,t,n,r){var i,o,a=e.doc,s=t.left;if("page"==r){var l=Math.min(e.display.wrapper.clientHeight,window.innerHeight||document.documentElement.clientHeight),c=Math.max(l-.5*Mr(e.display),3);i=(n>0?t.bottom:t.top)+n*c}else"line"==r&&(i=n>0?t.bottom+3:t.top-3);for(;(o=Cr(e,s,i)).outside;){if(n<0?i<=0:i>=a.height){o.hitSide=!0;break}i+=5*n}return o}var Qs=function(e){this.cm=e,this.lastAnchorNode=this.lastAnchorOffset=this.lastFocusNode=this.lastFocusOffset=null,this.polling=new H,this.composing=null,this.gracePeriod=!1,this.readDOMTimeout=null};function Js(e,t){var n=tr(e,t.line);if(!n||n.hidden)return null;var r=Ze(e.doc,t.line),i=Qn(n,r,t.line),o=de(r,e.doc.direction),a="left";o&&(a=ue(o,t.ch)%2?"right":"left");var s=ar(i.map,t.ch,a);return s.offset="right"==s.collapse?s.end:s.start,s}function el(e){for(var t=e;t;t=t.parentNode)if(/CodeMirror-gutter-wrapper/.test(t.className))return!0;return!1}function tl(e,t){return t&&(e.bad=!0),e}function nl(e,t,n,r,i){var o="",a=!1,s=e.doc.lineSeparator(),l=!1;function c(e){return function(t){return t.id==e}}function u(){a&&(o+=s,l&&(o+=s),a=l=!1)}function h(e){e&&(u(),o+=e)}function d(t){if(1==t.nodeType){var n=t.getAttribute("cm-text");if(n)return void h(n);var o,f=t.getAttribute("cm-marker");if(f){var p=e.findMarks(ot(r,0),ot(i+1,0),c(+f));return void(p.length&&(o=p[0].find(0))&&h(Qe(e.doc,o.from,o.to).join(s)))}if("false"==t.getAttribute("contenteditable"))return;var g=/^(pre|div|p|li|table|br)$/i.test(t.nodeName);if(!/^br$/i.test(t.nodeName)&&0==t.textContent.length)return;g&&u();for(var v=0;v<t.childNodes.length;v++)d(t.childNodes[v]);/^(pre|p)$/i.test(t.nodeName)&&(l=!0),g&&(a=!0)}else 3==t.nodeType&&h(t.nodeValue.replace(/\u200b/g,"").replace(/\u00a0/g," "))}for(;d(t),t!=n;)t=t.nextSibling,l=!1;return o}function rl(e,t,n){var r;if(t==e.display.lineDiv){if(!(r=e.display.lineDiv.childNodes[n]))return tl(e.clipPos(ot(e.display.viewTo-1)),!0);t=null,n=0}else for(r=t;;r=r.parentNode){if(!r||r==e.display.lineDiv)return null;if(r.parentNode&&r.parentNode==e.display.lineDiv)break}for(var i=0;i<e.display.view.length;i++){var o=e.display.view[i];if(o.node==r)return il(o,t,n)}}function il(e,t,n){var r=e.text.firstChild,i=!1;if(!t||!E(r,t))return tl(ot(tt(e.line),0),!0);if(t==r&&(i=!0,t=r.childNodes[n],n=0,!t)){var o=e.rest?X(e.rest):e.line;return tl(ot(tt(o),o.text.length),i)}var a=3==t.nodeType?t:null,s=t;for(a||1!=t.childNodes.length||3!=t.firstChild.nodeType||(a=t.firstChild,n&&(n=a.nodeValue.length));s.parentNode!=r;)s=s.parentNode;var l=e.measure,c=l.maps;function u(t,n,r){for(var i=-1;i<(c?c.length:0);i++)for(var o=i<0?l.map:c[i],a=0;a<o.length;a+=3){var s=o[a+2];if(s==t||s==n){var u=tt(i<0?e.line:e.rest[i]),h=o[a]+r;return(r<0||s!=t)&&(h=o[a+(r?1:0)]),ot(u,h)}}}var h=u(a,s,n);if(h)return tl(h,i);for(var d=s.nextSibling,f=a?a.nodeValue.length-n:0;d;d=d.nextSibling){if(h=u(d,d.firstChild,0))return tl(ot(h.line,h.ch-f),i);f+=d.textContent.length}for(var p=s.previousSibling,g=n;p;p=p.previousSibling){if(h=u(p,p.firstChild,-1))return tl(ot(h.line,h.ch+g),i);g+=p.textContent.length}}Qs.prototype.init=function(e){var t=this,n=this,r=n.cm,i=n.div=e.lineDiv;function o(e){for(var t=e.target;t;t=t.parentNode){if(t==i)return!0;if(/\bCodeMirror-(?:line)?widget\b/.test(t.className))break}return!1}function a(e){if(o(e)&&!ye(r,e)){if(r.somethingSelected())zs({lineWise:!1,text:r.getSelections()}),"cut"==e.type&&r.replaceSelection("",null,"cut");else{if(!r.options.lineWiseCopyCut)return;var t=Ks(r);zs({lineWise:!0,text:t.text}),"cut"==e.type&&r.operation((function(){r.setSelections(t.ranges,0,q),r.replaceSelection("",null,"cut")}))}if(e.clipboardData){e.clipboardData.clearData();var a=_s.text.join("\n");if(e.clipboardData.setData("Text",a),e.clipboardData.getData("Text")==a)return void e.preventDefault()}var s=$s(),l=s.firstChild;r.display.lineSpace.insertBefore(s,r.display.lineSpace.firstChild),l.value=_s.text.join("\n");var c=P();j(l),setTimeout((function(){r.display.lineSpace.removeChild(s),c.focus(),c==i&&n.showPrimarySelection()}),50)}}i.contentEditable=!0,Vs(i,r.options.spellcheck,r.options.autocorrect,r.options.autocapitalize),pe(i,"paste",(function(e){!o(e)||ye(r,e)||Us(e,r)||s<=11&&setTimeout(Pi(r,(function(){return t.updateFromDOM()})),20)})),pe(i,"compositionstart",(function(e){t.composing={data:e.data,done:!1}})),pe(i,"compositionupdate",(function(e){t.composing||(t.composing={data:e.data,done:!1})})),pe(i,"compositionend",(function(e){t.composing&&(e.data!=t.composing.data&&t.readFromDOMSoon(),t.composing.done=!0)})),pe(i,"touchstart",(function(){return n.forceCompositionEnd()})),pe(i,"input",(function(){t.composing||t.readFromDOMSoon()})),pe(i,"copy",a),pe(i,"cut",a)},Qs.prototype.screenReaderLabelChanged=function(e){e?this.div.setAttribute("aria-label",e):this.div.removeAttribute("aria-label")},Qs.prototype.prepareSelection=function(){var e=Ur(this.cm,!1);return e.focus=P()==this.div,e},Qs.prototype.showSelection=function(e,t){e&&this.cm.display.view.length&&((e.focus||t)&&this.showPrimarySelection(),this.showMultipleSelections(e))},Qs.prototype.getSelection=function(){return this.cm.display.wrapper.ownerDocument.getSelection()},Qs.prototype.showPrimarySelection=function(){var e=this.getSelection(),t=this.cm,r=t.doc.sel.primary(),i=r.from(),o=r.to();if(t.display.viewTo==t.display.viewFrom||i.line>=t.display.viewTo||o.line<t.display.viewFrom)e.removeAllRanges();else{var a=rl(t,e.anchorNode,e.anchorOffset),s=rl(t,e.focusNode,e.focusOffset);if(!a||a.bad||!s||s.bad||0!=at(ut(a,s),i)||0!=at(ct(a,s),o)){var l=t.display.view,c=i.line>=t.display.viewFrom&&Js(t,i)||{node:l[0].measure.map[2],offset:0},u=o.line<t.display.viewTo&&Js(t,o);if(!u){var h=l[l.length-1].measure,d=h.maps?h.maps[h.maps.length-1]:h.map;u={node:d[d.length-1],offset:d[d.length-2]-d[d.length-3]}}if(c&&u){var f,p=e.rangeCount&&e.getRangeAt(0);try{f=L(c.node,c.offset,u.offset,u.node)}catch(e){}f&&(!n&&t.state.focused?(e.collapse(c.node,c.offset),f.collapsed||(e.removeAllRanges(),e.addRange(f))):(e.removeAllRanges(),e.addRange(f)),p&&null==e.anchorNode?e.addRange(p):n&&this.startGracePeriod()),this.rememberSelection()}else e.removeAllRanges()}}},Qs.prototype.startGracePeriod=function(){var e=this;clearTimeout(this.gracePeriod),this.gracePeriod=setTimeout((function(){e.gracePeriod=!1,e.selectionChanged()&&e.cm.operation((function(){return e.cm.curOp.selectionChanged=!0}))}),20)},Qs.prototype.showMultipleSelections=function(e){O(this.cm.display.cursorDiv,e.cursors),O(this.cm.display.selectionDiv,e.selection)},Qs.prototype.rememberSelection=function(){var e=this.getSelection();this.lastAnchorNode=e.anchorNode,this.lastAnchorOffset=e.anchorOffset,this.lastFocusNode=e.focusNode,this.lastFocusOffset=e.focusOffset},Qs.prototype.selectionInEditor=function(){var e=this.getSelection();if(!e.rangeCount)return!1;var t=e.getRangeAt(0).commonAncestorContainer;return E(this.div,t)},Qs.prototype.focus=function(){"nocursor"!=this.cm.options.readOnly&&(this.selectionInEditor()&&P()==this.div||this.showSelection(this.prepareSelection(),!0),this.div.focus())},Qs.prototype.blur=function(){this.div.blur()},Qs.prototype.getField=function(){return this.div},Qs.prototype.supportsTouch=function(){return!0},Qs.prototype.receivedFocus=function(){var e=this,t=this;function n(){t.cm.state.focused&&(t.pollSelection(),t.polling.set(t.cm.options.pollInterval,n))}this.selectionInEditor()?setTimeout((function(){return e.pollSelection()}),20):Ei(this.cm,(function(){return t.cm.curOp.selectionChanged=!0})),this.polling.set(this.cm.options.pollInterval,n)},Qs.prototype.selectionChanged=function(){var e=this.getSelection();return e.anchorNode!=this.lastAnchorNode||e.anchorOffset!=this.lastAnchorOffset||e.focusNode!=this.lastFocusNode||e.focusOffset!=this.lastFocusOffset},Qs.prototype.pollSelection=function(){if(null==this.readDOMTimeout&&!this.gracePeriod&&this.selectionChanged()){var e=this.getSelection(),t=this.cm;if(v&&u&&this.cm.display.gutterSpecs.length&&el(e.anchorNode))return this.cm.triggerOnKeyDown({type:"keydown",keyCode:8,preventDefault:Math.abs}),this.blur(),void this.focus();if(!this.composing){this.rememberSelection();var n=rl(t,e.anchorNode,e.anchorOffset),r=rl(t,e.focusNode,e.focusOffset);n&&r&&Ei(t,(function(){zo(t.doc,so(n,r),q),(n.bad||r.bad)&&(t.curOp.selectionChanged=!0)}))}}},Qs.prototype.pollContent=function(){null!=this.readDOMTimeout&&(clearTimeout(this.readDOMTimeout),this.readDOMTimeout=null);var e,t,n,r=this.cm,i=r.display,o=r.doc.sel.primary(),a=o.from(),s=o.to();if(0==a.ch&&a.line>r.firstLine()&&(a=ot(a.line-1,Ze(r.doc,a.line-1).length)),s.ch==Ze(r.doc,s.line).text.length&&s.line<r.lastLine()&&(s=ot(s.line+1,0)),a.line<i.viewFrom||s.line>i.viewTo-1)return!1;a.line==i.viewFrom||0==(e=Br(r,a.line))?(t=tt(i.view[0].line),n=i.view[0].node):(t=tt(i.view[e].line),n=i.view[e-1].node.nextSibling);var l,c,u=Br(r,s.line);if(u==i.view.length-1?(l=i.viewTo-1,c=i.lineDiv.lastChild):(l=tt(i.view[u+1].line)-1,c=i.view[u+1].node.previousSibling),!n)return!1;for(var h=r.doc.splitLines(nl(r,n,c,t,l)),d=Qe(r.doc,ot(t,0),ot(l,Ze(r.doc,l).text.length));h.length>1&&d.length>1;)if(X(h)==X(d))h.pop(),d.pop(),l--;else{if(h[0]!=d[0])break;h.shift(),d.shift(),t++}for(var f=0,p=0,g=h[0],v=d[0],m=Math.min(g.length,v.length);f<m&&g.charCodeAt(f)==v.charCodeAt(f);)++f;for(var y=X(h),b=X(d),w=Math.min(y.length-(1==h.length?f:0),b.length-(1==d.length?f:0));p<w&&y.charCodeAt(y.length-p-1)==b.charCodeAt(b.length-p-1);)++p;if(1==h.length&&1==d.length&&t==a.line)for(;f&&f>a.ch&&y.charCodeAt(y.length-p-1)==b.charCodeAt(b.length-p-1);)f--,p++;h[h.length-1]=y.slice(0,y.length-p).replace(/^\u200b+/,""),h[0]=h[0].slice(f).replace(/\u200b+$/,"");var x=ot(t,f),C=ot(l,d.length?X(d).length-p:0);return h.length>1||h[0]||at(x,C)?(ia(r.doc,h,x,C,"+input"),!0):void 0},Qs.prototype.ensurePolled=function(){this.forceCompositionEnd()},Qs.prototype.reset=function(){this.forceCompositionEnd()},Qs.prototype.forceCompositionEnd=function(){this.composing&&(clearTimeout(this.readDOMTimeout),this.composing=null,this.updateFromDOM(),this.div.blur(),this.div.focus())},Qs.prototype.readFromDOMSoon=function(){var e=this;null==this.readDOMTimeout&&(this.readDOMTimeout=setTimeout((function(){if(e.readDOMTimeout=null,e.composing){if(!e.composing.done)return;e.composing=null}e.updateFromDOM()}),80))},Qs.prototype.updateFromDOM=function(){var e=this;!this.cm.isReadOnly()&&this.pollContent()||Ei(this.cm,(function(){return Ir(e.cm)}))},Qs.prototype.setUneditable=function(e){e.contentEditable="false"},Qs.prototype.onKeyPress=function(e){0==e.charCode||this.composing||(e.preventDefault(),this.cm.isReadOnly()||Pi(this.cm,qs)(this.cm,String.fromCharCode(null==e.charCode?e.keyCode:e.charCode),0))},Qs.prototype.readOnlyChanged=function(e){this.div.contentEditable=String("nocursor"!=e)},Qs.prototype.onContextMenu=function(){},Qs.prototype.resetPosition=function(){},Qs.prototype.needsContentAttribute=!0;var ol=function(e){this.cm=e,this.prevInput="",this.pollingFast=!1,this.polling=new H,this.hasSelection=!1,this.composing=null};function al(e,t){if((t=t?I(t):{}).value=e.value,!t.tabindex&&e.tabIndex&&(t.tabindex=e.tabIndex),!t.placeholder&&e.placeholder&&(t.placeholder=e.placeholder),null==t.autofocus){var n=P();t.autofocus=n==e||null!=e.getAttribute("autofocus")&&n==document.body}function r(){e.value=s.getValue()}var i;if(e.form&&(pe(e.form,"submit",r),!t.leaveSubmitMethodAlone)){var o=e.form;i=o.submit;try{var a=o.submit=function(){r(),o.submit=i,o.submit(),o.submit=a}}catch(e){}}t.finishInit=function(n){n.save=r,n.getTextArea=function(){return e},n.toTextArea=function(){n.toTextArea=isNaN,r(),e.parentNode.removeChild(n.getWrapperElement()),e.style.display="",e.form&&(ve(e.form,"submit",r),t.leaveSubmitMethodAlone||"function"!=typeof e.form.submit||(e.form.submit=i))}},e.style.display="none";var s=Is((function(t){return e.parentNode.insertBefore(t,e.nextSibling)}),t);return s}function sl(e){e.off=ve,e.on=pe,e.wheelEventPixels=no,e.Doc=ka,e.splitLines=De,e.countColumn=W,e.findColumn=K,e.isWordChar=te,e.Pass=z,e.signal=me,e.Line=cn,e.changeEnd=lo,e.scrollbarModel=wi,e.Pos=ot,e.cmpPos=at,e.modes=He,e.mimeModes=Re,e.resolveMode=qe,e.getMode=Ue,e.modeExtensions=Ge,e.extendMode=Ke,e.copyState=Ve,e.startState=Xe,e.innerMode=$e,e.commands=Za,e.keyMap=Wa,e.keyName=Ua,e.isModifierKey=za,e.lookupKey=_a,e.normalizeKeyMap=Ra,e.StringStream=Ye,e.SharedTextMarker=ma,e.TextMarker=ga,e.LineWidget=ha,e.e_preventDefault=Ce,e.e_stopPropagation=ke,e.e_stop=Le,e.addClass=F,e.contains=E,e.rmClass=T,e.keyNames=Da}ol.prototype.init=function(e){var t=this,n=this,r=this.cm;this.createField(e);var i=this.textarea;function o(e){if(!ye(r,e)){if(r.somethingSelected())zs({lineWise:!1,text:r.getSelections()});else{if(!r.options.lineWiseCopyCut)return;var t=Ks(r);zs({lineWise:!0,text:t.text}),"cut"==e.type?r.setSelections(t.ranges,null,q):(n.prevInput="",i.value=t.text.join("\n"),j(i))}"cut"==e.type&&(r.state.cutIncoming=+new Date)}}e.wrapper.insertBefore(this.wrapper,e.wrapper.firstChild),g&&(i.style.width="0px"),pe(i,"input",(function(){a&&s>=9&&t.hasSelection&&(t.hasSelection=null),n.poll()})),pe(i,"paste",(function(e){ye(r,e)||Us(e,r)||(r.state.pasteIncoming=+new Date,n.fastPoll())})),pe(i,"cut",o),pe(i,"copy",o),pe(e.scroller,"paste",(function(t){if(!Un(e,t)&&!ye(r,t)){if(!i.dispatchEvent)return r.state.pasteIncoming=+new Date,void n.focus();var o=new Event("paste");o.clipboardData=t.clipboardData,i.dispatchEvent(o)}})),pe(e.lineSpace,"selectstart",(function(t){Un(e,t)||Ce(t)})),pe(i,"compositionstart",(function(){var e=r.getCursor("from");n.composing&&n.composing.range.clear(),n.composing={start:e,range:r.markText(e,r.getCursor("to"),{className:"CodeMirror-composing"})}})),pe(i,"compositionend",(function(){n.composing&&(n.poll(),n.composing.range.clear(),n.composing=null)}))},ol.prototype.createField=function(e){this.wrapper=$s(),this.textarea=this.wrapper.firstChild},ol.prototype.screenReaderLabelChanged=function(e){e?this.textarea.setAttribute("aria-label",e):this.textarea.removeAttribute("aria-label")},ol.prototype.prepareSelection=function(){var e=this.cm,t=e.display,n=e.doc,r=Ur(e);if(e.options.moveInputWithCursor){var i=br(e,n.sel.primary().head,"div"),o=t.wrapper.getBoundingClientRect(),a=t.lineDiv.getBoundingClientRect();r.teTop=Math.max(0,Math.min(t.wrapper.clientHeight-10,i.top+a.top-o.top)),r.teLeft=Math.max(0,Math.min(t.wrapper.clientWidth-10,i.left+a.left-o.left))}return r},ol.prototype.showSelection=function(e){var t=this.cm.display;O(t.cursorDiv,e.cursors),O(t.selectionDiv,e.selection),null!=e.teTop&&(this.wrapper.style.top=e.teTop+"px",this.wrapper.style.left=e.teLeft+"px")},ol.prototype.reset=function(e){if(!this.contextMenuPending&&!this.composing){var t=this.cm;if(t.somethingSelected()){this.prevInput="";var n=t.getSelection();this.textarea.value=n,t.state.focused&&j(this.textarea),a&&s>=9&&(this.hasSelection=n)}else e||(this.prevInput=this.textarea.value="",a&&s>=9&&(this.hasSelection=null))}},ol.prototype.getField=function(){return this.textarea},ol.prototype.supportsTouch=function(){return!1},ol.prototype.focus=function(){if("nocursor"!=this.cm.options.readOnly&&(!m||P()!=this.textarea))try{this.textarea.focus()}catch(e){}},ol.prototype.blur=function(){this.textarea.blur()},ol.prototype.resetPosition=function(){this.wrapper.style.top=this.wrapper.style.left=0},ol.prototype.receivedFocus=function(){this.slowPoll()},ol.prototype.slowPoll=function(){var e=this;this.pollingFast||this.polling.set(this.cm.options.pollInterval,(function(){e.poll(),e.cm.state.focused&&e.slowPoll()}))},ol.prototype.fastPoll=function(){var e=!1,t=this;function n(){t.poll()||e?(t.pollingFast=!1,t.slowPoll()):(e=!0,t.polling.set(60,n))}t.pollingFast=!0,t.polling.set(20,n)},ol.prototype.poll=function(){var e=this,t=this.cm,n=this.textarea,r=this.prevInput;if(this.contextMenuPending||!t.state.focused||je(n)&&!r&&!this.composing||t.isReadOnly()||t.options.disableInput||t.state.keySeq)return!1;var i=n.value;if(i==r&&!t.somethingSelected())return!1;if(a&&s>=9&&this.hasSelection===i||y&&/[\uf700-\uf7ff]/.test(i))return t.display.input.reset(),!1;if(t.doc.sel==t.display.selForContextMenu){var o=i.charCodeAt(0);if(8203!=o||r||(r="​"),8666==o)return this.reset(),this.cm.execCommand("undo")}for(var l=0,c=Math.min(r.length,i.length);l<c&&r.charCodeAt(l)==i.charCodeAt(l);)++l;return Ei(t,(function(){qs(t,i.slice(l),r.length-l,null,e.composing?"*compose":null),i.length>1e3||i.indexOf("\n")>-1?n.value=e.prevInput="":e.prevInput=i,e.composing&&(e.composing.range.clear(),e.composing.range=t.markText(e.composing.start,t.getCursor("to"),{className:"CodeMirror-composing"}))})),!0},ol.prototype.ensurePolled=function(){this.pollingFast&&this.poll()&&(this.pollingFast=!1)},ol.prototype.onKeyPress=function(){a&&s>=9&&(this.hasSelection=null),this.fastPoll()},ol.prototype.onContextMenu=function(e){var t=this,n=t.cm,r=n.display,i=t.textarea;t.contextMenuPending&&t.contextMenuPending();var o=jr(n,e),c=r.scroller.scrollTop;if(o&&!h){n.options.resetSelectionOnContextMenu&&-1==n.doc.sel.contains(o)&&Pi(n,zo)(n.doc,so(o),q);var u,d=i.style.cssText,f=t.wrapper.style.cssText,p=t.wrapper.offsetParent.getBoundingClientRect();if(t.wrapper.style.cssText="position: static",i.style.cssText="position: absolute; width: 30px; height: 30px;\n top: "+(e.clientY-p.top-5)+"px; left: "+(e.clientX-p.left-5)+"px;\n z-index: 1000; background: "+(a?"rgba(255, 255, 255, .05)":"transparent")+";\n outline: none; border-width: 0; outline: none; overflow: hidden; opacity: .05; filter: alpha(opacity=5);",l&&(u=window.scrollY),r.input.focus(),l&&window.scrollTo(null,u),r.input.reset(),n.somethingSelected()||(i.value=t.prevInput=" "),t.contextMenuPending=m,r.selForContextMenu=n.doc.sel,clearTimeout(r.detectingSelectAll),a&&s>=9&&v(),k){Le(e);var g=function(){ve(window,"mouseup",g),setTimeout(m,20)};pe(window,"mouseup",g)}else setTimeout(m,50)}function v(){if(null!=i.selectionStart){var e=n.somethingSelected(),o="​"+(e?i.value:"");i.value="⇚",i.value=o,t.prevInput=e?"":"​",i.selectionStart=1,i.selectionEnd=o.length,r.selForContextMenu=n.doc.sel}}function m(){if(t.contextMenuPending==m&&(t.contextMenuPending=!1,t.wrapper.style.cssText=f,i.style.cssText=d,a&&s<9&&r.scrollbars.setScrollTop(r.scroller.scrollTop=c),null!=i.selectionStart)){(!a||a&&s<9)&&v();var e=0,o=function(){r.selForContextMenu==n.doc.sel&&0==i.selectionStart&&i.selectionEnd>0&&"​"==t.prevInput?Pi(n,Yo)(n):e++<10?r.detectingSelectAll=setTimeout(o,500):(r.selForContextMenu=null,r.input.reset())};r.detectingSelectAll=setTimeout(o,200)}}},ol.prototype.readOnlyChanged=function(e){e||this.reset(),this.textarea.disabled="nocursor"==e,this.textarea.readOnly=!!e},ol.prototype.setUneditable=function(){},ol.prototype.needsContentAttribute=!1,Ds(Is),Xs(Is);var ll="iter insert remove copy getEditor constructor".split(" ");for(var cl in ka.prototype)ka.prototype.hasOwnProperty(cl)&&R(ll,cl)<0&&(Is.prototype[cl]=function(e){return function(){return e.apply(this.doc,arguments)}}(ka.prototype[cl]));return xe(ka),Is.inputStyles={textarea:ol,contenteditable:Qs},Is.defineMode=function(e){Is.defaults.mode||"null"==e||(Is.defaults.mode=e),_e.apply(this,arguments)},Is.defineMIME=ze,Is.defineMode("null",(function(){return{token:function(e){return e.skipToEnd()}}})),Is.defineMIME("text/plain","null"),Is.defineExtension=function(e,t){Is.prototype[e]=t},Is.defineDocExtension=function(e,t){ka.prototype[e]=t},Is.fromTextArea=al,sl(Is),Is.version="5.63.3",Is}()},20:e=>{"use strict";var t="%[a-f0-9]{2}",n=new RegExp(t,"gi"),r=new RegExp("("+t+")+","gi");function i(e,t){try{return decodeURIComponent(e.join(""))}catch(e){}if(1===e.length)return e;t=t||1;var n=e.slice(0,t),r=e.slice(t);return Array.prototype.concat.call([],i(n),i(r))}function o(e){try{return decodeURIComponent(e)}catch(o){for(var t=e.match(n),r=1;r<t.length;r++)t=(e=i(t,r).join("")).match(n);return e}}e.exports=function(e){if("string"!=typeof e)throw new TypeError("Expected `encodedURI` to be of type `string`, got `"+typeof e+"`");try{return e=e.replace(/\+/g," "),decodeURIComponent(e)}catch(t){return function(e){for(var t={"%FE%FF":"��","%FF%FE":"��"},n=r.exec(e);n;){try{t[n[0]]=decodeURIComponent(n[0])}catch(e){var i=o(n[0]);i!==n[0]&&(t[n[0]]=i)}n=r.exec(e)}t["%C2"]="�";for(var a=Object.keys(t),s=0;s<a.length;s++){var l=a[s];e=e.replace(new RegExp(l,"g"),t[l])}return e}(e)}}},806:e=>{"use strict";e.exports=function(e,t){for(var n={},r=Object.keys(e),i=Array.isArray(t),o=0;o<r.length;o++){var a=r[o],s=e[a];(i?-1!==t.indexOf(a):t(a,s,e))&&(n[a]=s)}return n}},563:(e,t,n)=>{"use strict";const r=n(610),i=n(20),o=n(500),a=n(806),s=Symbol("encodeFragmentIdentifier");function l(e){if("string"!=typeof e||1!==e.length)throw new TypeError("arrayFormatSeparator must be single character string")}function c(e,t){return t.encode?t.strict?r(e):encodeURIComponent(e):e}function u(e,t){return t.decode?i(e):e}function h(e){return Array.isArray(e)?e.sort():"object"==typeof e?h(Object.keys(e)).sort(((e,t)=>Number(e)-Number(t))).map((t=>e[t])):e}function d(e){const t=e.indexOf("#");return-1!==t&&(e=e.slice(0,t)),e}function f(e){const t=(e=d(e)).indexOf("?");return-1===t?"":e.slice(t+1)}function p(e,t){return t.parseNumbers&&!Number.isNaN(Number(e))&&"string"==typeof e&&""!==e.trim()?e=Number(e):!t.parseBooleans||null===e||"true"!==e.toLowerCase()&&"false"!==e.toLowerCase()||(e="true"===e.toLowerCase()),e}function g(e,t){l((t=Object.assign({decode:!0,sort:!0,arrayFormat:"none",arrayFormatSeparator:",",parseNumbers:!1,parseBooleans:!1},t)).arrayFormatSeparator);const n=function(e){let t;switch(e.arrayFormat){case"index":return(e,n,r)=>{t=/\[(\d*)\]$/.exec(e),e=e.replace(/\[\d*\]$/,""),t?(void 0===r[e]&&(r[e]={}),r[e][t[1]]=n):r[e]=n};case"bracket":return(e,n,r)=>{t=/(\[\])$/.exec(e),e=e.replace(/\[\]$/,""),t?void 0!==r[e]?r[e]=[].concat(r[e],n):r[e]=[n]:r[e]=n};case"comma":case"separator":return(t,n,r)=>{const i="string"==typeof n&&n.includes(e.arrayFormatSeparator),o="string"==typeof n&&!i&&u(n,e).includes(e.arrayFormatSeparator);n=o?u(n,e):n;const a=i||o?n.split(e.arrayFormatSeparator).map((t=>u(t,e))):null===n?n:u(n,e);r[t]=a};case"bracket-separator":return(t,n,r)=>{const i=/(\[\])$/.test(t);if(t=t.replace(/\[\]$/,""),!i)return void(r[t]=n?u(n,e):n);const o=null===n?[]:n.split(e.arrayFormatSeparator).map((t=>u(t,e)));void 0!==r[t]?r[t]=[].concat(r[t],o):r[t]=o};default:return(e,t,n)=>{void 0!==n[e]?n[e]=[].concat(n[e],t):n[e]=t}}}(t),r=Object.create(null);if("string"!=typeof e)return r;if(!(e=e.trim().replace(/^[?#&]/,"")))return r;for(const i of e.split("&")){if(""===i)continue;let[e,a]=o(t.decode?i.replace(/\+/g," "):i,"=");a=void 0===a?null:["comma","separator","bracket-separator"].includes(t.arrayFormat)?a:u(a,t),n(u(e,t),a,r)}for(const e of Object.keys(r)){const n=r[e];if("object"==typeof n&&null!==n)for(const e of Object.keys(n))n[e]=p(n[e],t);else r[e]=p(n,t)}return!1===t.sort?r:(!0===t.sort?Object.keys(r).sort():Object.keys(r).sort(t.sort)).reduce(((e,t)=>{const n=r[t];return Boolean(n)&&"object"==typeof n&&!Array.isArray(n)?e[t]=h(n):e[t]=n,e}),Object.create(null))}t.extract=f,t.parse=g,t.stringify=(e,t)=>{if(!e)return"";l((t=Object.assign({encode:!0,strict:!0,arrayFormat:"none",arrayFormatSeparator:","},t)).arrayFormatSeparator);const n=n=>t.skipNull&&null==e[n]||t.skipEmptyString&&""===e[n],r=function(e){switch(e.arrayFormat){case"index":return t=>(n,r)=>{const i=n.length;return void 0===r||e.skipNull&&null===r||e.skipEmptyString&&""===r?n:null===r?[...n,[c(t,e),"[",i,"]"].join("")]:[...n,[c(t,e),"[",c(i,e),"]=",c(r,e)].join("")]};case"bracket":return t=>(n,r)=>void 0===r||e.skipNull&&null===r||e.skipEmptyString&&""===r?n:null===r?[...n,[c(t,e),"[]"].join("")]:[...n,[c(t,e),"[]=",c(r,e)].join("")];case"comma":case"separator":case"bracket-separator":{const t="bracket-separator"===e.arrayFormat?"[]=":"=";return n=>(r,i)=>void 0===i||e.skipNull&&null===i||e.skipEmptyString&&""===i?r:(i=null===i?"":i,0===r.length?[[c(n,e),t,c(i,e)].join("")]:[[r,c(i,e)].join(e.arrayFormatSeparator)])}default:return t=>(n,r)=>void 0===r||e.skipNull&&null===r||e.skipEmptyString&&""===r?n:null===r?[...n,c(t,e)]:[...n,[c(t,e),"=",c(r,e)].join("")]}}(t),i={};for(const t of Object.keys(e))n(t)||(i[t]=e[t]);const o=Object.keys(i);return!1!==t.sort&&o.sort(t.sort),o.map((n=>{const i=e[n];return void 0===i?"":null===i?c(n,t):Array.isArray(i)?0===i.length&&"bracket-separator"===t.arrayFormat?c(n,t)+"[]":i.reduce(r(n),[]).join("&"):c(n,t)+"="+c(i,t)})).filter((e=>e.length>0)).join("&")},t.parseUrl=(e,t)=>{t=Object.assign({decode:!0},t);const[n,r]=o(e,"#");return Object.assign({url:n.split("?")[0]||"",query:g(f(e),t)},t&&t.parseFragmentIdentifier&&r?{fragmentIdentifier:u(r,t)}:{})},t.stringifyUrl=(e,n)=>{n=Object.assign({encode:!0,strict:!0,[s]:!0},n);const r=d(e.url).split("?")[0]||"",i=t.extract(e.url),o=t.parse(i,{sort:!1}),a=Object.assign(o,e.query);let l=t.stringify(a,n);l&&(l=`?${l}`);let u=function(e){let t="";const n=e.indexOf("#");return-1!==n&&(t=e.slice(n)),t}(e.url);return e.fragmentIdentifier&&(u=`#${n[s]?c(e.fragmentIdentifier,n):e.fragmentIdentifier}`),`${r}${l}${u}`},t.pick=(e,n,r)=>{r=Object.assign({parseFragmentIdentifier:!0,[s]:!1},r);const{url:i,query:o,fragmentIdentifier:l}=t.parseUrl(e,r);return t.stringifyUrl({url:i,query:a(o,n),fragmentIdentifier:l},r)},t.exclude=(e,n,r)=>{const i=Array.isArray(n)?e=>!n.includes(e):(e,t)=>!n(e,t);return t.pick(e,i,r)}},666:e=>{var t=function(e){"use strict";var t,n=Object.prototype,r=n.hasOwnProperty,i="function"==typeof Symbol?Symbol:{},o=i.iterator||"@@iterator",a=i.asyncIterator||"@@asyncIterator",s=i.toStringTag||"@@toStringTag";function l(e,t,n){return Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{l({},"")}catch(e){l=function(e,t,n){return e[t]=n}}function c(e,t,n,r){var i=t&&t.prototype instanceof v?t:v,o=Object.create(i.prototype),a=new O(r||[]);return o._invoke=function(e,t,n){var r=h;return function(i,o){if(r===f)throw new Error("Generator is already running");if(r===p){if("throw"===i)throw o;return N()}for(n.method=i,n.arg=o;;){var a=n.delegate;if(a){var s=L(a,n);if(s){if(s===g)continue;return s}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(r===h)throw r=p,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);r=f;var l=u(e,t,n);if("normal"===l.type){if(r=n.done?p:d,l.arg===g)continue;return{value:l.arg,done:n.done}}"throw"===l.type&&(r=p,n.method="throw",n.arg=l.arg)}}}(e,n,a),o}function u(e,t,n){try{return{type:"normal",arg:e.call(t,n)}}catch(e){return{type:"throw",arg:e}}}e.wrap=c;var h="suspendedStart",d="suspendedYield",f="executing",p="completed",g={};function v(){}function m(){}function y(){}var b={};l(b,o,(function(){return this}));var w=Object.getPrototypeOf,x=w&&w(w(M([])));x&&x!==n&&r.call(x,o)&&(b=x);var C=y.prototype=v.prototype=Object.create(b);function k(e){["next","throw","return"].forEach((function(t){l(e,t,(function(e){return this._invoke(t,e)}))}))}function S(e,t){function n(i,o,a,s){var l=u(e[i],e,o);if("throw"!==l.type){var c=l.arg,h=c.value;return h&&"object"==typeof h&&r.call(h,"__await")?t.resolve(h.__await).then((function(e){n("next",e,a,s)}),(function(e){n("throw",e,a,s)})):t.resolve(h).then((function(e){c.value=e,a(c)}),(function(e){return n("throw",e,a,s)}))}s(l.arg)}var i;this._invoke=function(e,r){function o(){return new t((function(t,i){n(e,r,t,i)}))}return i=i?i.then(o,o):o()}}function L(e,n){var r=e.iterator[n.method];if(r===t){if(n.delegate=null,"throw"===n.method){if(e.iterator.return&&(n.method="return",n.arg=t,L(e,n),"throw"===n.method))return g;n.method="throw",n.arg=new TypeError("The iterator does not provide a 'throw' method")}return g}var i=u(r,e.iterator,n.arg);if("throw"===i.type)return n.method="throw",n.arg=i.arg,n.delegate=null,g;var o=i.arg;return o?o.done?(n[e.resultName]=o.value,n.next=e.nextLoc,"return"!==n.method&&(n.method="next",n.arg=t),n.delegate=null,g):o:(n.method="throw",n.arg=new TypeError("iterator result is not an object"),n.delegate=null,g)}function T(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function A(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function O(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(T,this),this.reset(!0)}function M(e){if(e){var n=e[o];if(n)return n.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var i=-1,a=function n(){for(;++i<e.length;)if(r.call(e,i))return n.value=e[i],n.done=!1,n;return n.value=t,n.done=!0,n};return a.next=a}}return{next:N}}function N(){return{value:t,done:!0}}return m.prototype=y,l(C,"constructor",y),l(y,"constructor",m),m.displayName=l(y,s,"GeneratorFunction"),e.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===m||"GeneratorFunction"===(t.displayName||t.name))},e.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,y):(e.__proto__=y,l(e,s,"GeneratorFunction")),e.prototype=Object.create(C),e},e.awrap=function(e){return{__await:e}},k(S.prototype),l(S.prototype,a,(function(){return this})),e.AsyncIterator=S,e.async=function(t,n,r,i,o){void 0===o&&(o=Promise);var a=new S(c(t,n,r,i),o);return e.isGeneratorFunction(n)?a:a.next().then((function(e){return e.done?e.value:a.next()}))},k(C),l(C,s,"Generator"),l(C,o,(function(){return this})),l(C,"toString",(function(){return"[object Generator]"})),e.keys=function(e){var t=[];for(var n in e)t.push(n);return t.reverse(),function n(){for(;t.length;){var r=t.pop();if(r in e)return n.value=r,n.done=!1,n}return n.done=!0,n}},e.values=M,O.prototype={constructor:O,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=t,this.done=!1,this.delegate=null,this.method="next",this.arg=t,this.tryEntries.forEach(A),!e)for(var n in this)"t"===n.charAt(0)&&r.call(this,n)&&!isNaN(+n.slice(1))&&(this[n]=t)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(e){if(this.done)throw e;var n=this;function i(r,i){return s.type="throw",s.arg=e,n.next=r,i&&(n.method="next",n.arg=t),!!i}for(var o=this.tryEntries.length-1;o>=0;--o){var a=this.tryEntries[o],s=a.completion;if("root"===a.tryLoc)return i("end");if(a.tryLoc<=this.prev){var l=r.call(a,"catchLoc"),c=r.call(a,"finallyLoc");if(l&&c){if(this.prev<a.catchLoc)return i(a.catchLoc,!0);if(this.prev<a.finallyLoc)return i(a.finallyLoc)}else if(l){if(this.prev<a.catchLoc)return i(a.catchLoc,!0)}else{if(!c)throw new Error("try statement without catch or finally");if(this.prev<a.finallyLoc)return i(a.finallyLoc)}}}},abrupt:function(e,t){for(var n=this.tryEntries.length-1;n>=0;--n){var i=this.tryEntries[n];if(i.tryLoc<=this.prev&&r.call(i,"finallyLoc")&&this.prev<i.finallyLoc){var o=i;break}}o&&("break"===e||"continue"===e)&&o.tryLoc<=t&&t<=o.finallyLoc&&(o=null);var a=o?o.completion:{};return a.type=e,a.arg=t,o?(this.method="next",this.next=o.finallyLoc,g):this.complete(a)},complete:function(e,t){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&&t&&(this.next=t),g},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.finallyLoc===e)return this.complete(n.completion,n.afterLoc),A(n),g}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.tryLoc===e){var r=n.completion;if("throw"===r.type){var i=r.arg;A(n)}return i}}throw new Error("illegal catch attempt")},delegateYield:function(e,n,r){return this.delegate={iterator:M(e),resultName:n,nextLoc:r},"next"===this.method&&(this.arg=t),g}},e}(e.exports);try{regeneratorRuntime=t}catch(e){"object"==typeof globalThis?globalThis.regeneratorRuntime=t:Function("r","regeneratorRuntime = r")(t)}},500:e=>{"use strict";e.exports=(e,t)=>{if("string"!=typeof e||"string"!=typeof t)throw new TypeError("Expected the arguments to be of type `string`");if(""===t)return[e];const n=e.indexOf(t);return-1===n?[e]:[e.slice(0,n),e.slice(n+t.length)]}},610:e=>{"use strict";e.exports=e=>encodeURIComponent(e).replace(/[!'()*]/g,(e=>`%${e.charCodeAt(0).toString(16).toUpperCase()}`))}},t={};function n(r){var i=t[r];if(void 0!==i)return i.exports;var o=t[r]={exports:{}};return e[r].call(o.exports,o,o.exports,n),o.exports}n.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return n.d(t,{a:t}),t},n.d=(e,t)=>{for(var r in t)n.o(t,r)&&!n.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})},n.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),(()=>{"use strict";n(666);var e=n(563);function t(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function r(e){for(var n=1;n<arguments.length;n++){var r=null!=arguments[n]?arguments[n]:{};n%2?t(Object(r),!0).forEach((function(t){i(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):t(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function i(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function o(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=s(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0,i=function(){};return{s:i,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:i}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var o,a=!0,l=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return a=e.done,e},e:function(e){l=!0,o=e},f:function(){try{a||null==n.return||n.return()}finally{if(l)throw o}}}}function a(e){return function(e){if(Array.isArray(e))return l(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||s(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function s(e,t){if(e){if("string"==typeof e)return l(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?l(e,t):void 0}}function l(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}var c=function(t,n){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"POST",o=e.stringify(r({},n),{arrayFormat:"index"}),a={method:i,credentials:"same-origin",headers:new Headers({"Content-Type":"application/x-www-form-urlencoded; charset=utf-8"})};return"GET"===i?t+="?"+o:a.body=o,fetch(t,a)},u=function(e){return{data:JSON.stringify(r({},e))}},h=function(e){var t=document.createElement("template");return t.innerHTML=e.trim(),t.content.firstChild};function d(e){return function(e){if(Array.isArray(e))return f(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,t){if(!e)return;if("string"==typeof e)return f(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return f(e,t)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function f(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}var p="data-animation",g=function(e){e.setAttribute("".concat(p,"-appearing"),""),setTimeout((function(){e.removeAttribute("".concat(p)),e.removeAttribute("".concat(p,"-appearing")),e.setAttribute("".concat(p,"-complete"),"")}),function(e){var t=getComputedStyle(e);return 1e3*(parseFloat(t.animationDuration)+parseFloat(t.animationDelay))}(e))};const v=function(){if("IntersectionObserver"in window)!function(e,t){var n=new IntersectionObserver((function(e){a(e).forEach((function(e){var r=e.isIntersecting,i=(e._,e.target);r&&(t(i),n.unobserve(i))}))}),{threshold:arguments.length>2&&void 0!==arguments[2]?arguments[2]:[0]});if(e&&t){var r,i=o([].concat(e));try{for(i.s();!(r=i.n()).done;)for(var s=r.value,l=0,c=a(document.querySelectorAll(s));l<c.length;l++){var u=c[l];n.observe(u)}}catch(e){i.e(e)}finally{i.f()}}}("[".concat(p,"]"),(function(e){g(e)}),[0]);else for(var e=0,t=d(document.querySelectorAll("[".concat(p,"]")));e<t.length;e++){var n=t[e];g(n)}};function m(e,t,n,r,i,o,a){try{var s=e[o](a),l=s.value}catch(e){return void n(e)}s.done?t(l):Promise.resolve(l).then(r,i)}function y(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}var b=function(){function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.setProperties(),this.init()}var t,n,r,i,o;return t=e,n=[{key:"setProperties",value:function(){this.prefix=wpgdprcAdmin.pluginPrefix,this.ajaxUrl=wpgdprcAdmin.ajaxUrl,this.ajaxNonce=wpgdprcAdmin.ajaxNonce,this.ajaxArg=wpgdprcAdmin.ajaxArg,this.messages=document.querySelectorAll(".wpgdprc-message"),this.isLoading=!1,this.isLoadingClassName="is-loading",this.fadeOutClassName="fade-out"}},{key:"init",value:function(){this.handleButtonClose()}},{key:"handleButtonClose",value:function(){var e=this;this.messages&&this.messages.forEach((function(t){var n=t.querySelector(".wpgdprc-message__button--close");n&&(n.addEventListener("click",(function(n){n.preventDefault(),e.removeMessage(t)})),n.addEventListener("keydown",(function(e){13===e.keyCode&&n.click()})))}))}},{key:"setIsLoading",value:function(){var e=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];this.isLoading=e,e?document.body.classList.add(this.isLoadingClassName):document.body.classList.remove(this.isLoadingClassName)}},{key:"removeMessage",value:(i=regeneratorRuntime.mark((function e(t){var n=this;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return this.setIsLoading(),t.classList.add(this.fadeOutClassName),e.prev=2,e.next=5,c(this.ajaxUrl,(r={action:this.prefix+"_hide_welcome"},i=this.ajaxArg,o=this.ajaxNonce,i in r?Object.defineProperty(r,i,{value:o,enumerable:!0,configurable:!0,writable:!0}):r[i]=o,r),"POST").then((function(e){return e.json()})).then((function(){n.setIsLoading(!1),setTimeout((function(){t.parentNode&&t.parentNode.removeChild(t)}),250)}));case 5:e.next=11;break;case 7:e.prev=7,e.t0=e.catch(2),console.error(e.t0),this.setIsLoading(!1);case 11:case"end":return e.stop()}var r,i,o}),e,this,[[2,7]])})),o=function(){var e=this,t=arguments;return new Promise((function(n,r){var o=i.apply(e,t);function a(e){m(o,n,r,a,s,"next",e)}function s(e){m(o,n,r,a,s,"throw",e)}a(void 0)}))},function(e){return o.apply(this,arguments)})}],n&&y(t.prototype,n),r&&y(t,r),e}();function w(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}var x=function(){function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.setProperties(),this.init()}var t,n,r;return t=e,(n=[{key:"init",value:function(){this.createTabs()}},{key:"setProperties",value:function(){this.tabs=document.querySelectorAll("[data-tabs]"),this.hash=window.location.hash,this.tabFocus=0}},{key:"closeTabs",value:function(e){e.forEach((function(e){"true"===e.getAttribute("aria-selected")&&e.setAttribute("aria-selected","false")}))}},{key:"setActiveTab",value:function(e){e.setAttribute("aria-selected","true")}},{key:"closeTabPanels",value:function(e){e.forEach((function(e){e.setAttribute("aria-hidden","true")}))}},{key:"setActiveTabPanel",value:function(e){e.setAttribute("aria-hidden","false")}},{key:"setHash",value:function(e){history.pushState?history.pushState(null,null,"#".concat(e)):location.hash="#".concat(e)}},{key:"handleActiveTabOnLoad",value:function(e){if(this.hash&&e){var t=e.querySelectorAll('[role="tab"]'),n=e.querySelectorAll('[role="tabpanel"]'),r=e.querySelector('a[href="'.concat(this.hash,'"][role="tab"]')),i=e.querySelector("".concat(this.hash,'[role="tabpanel"]'));t&&n&&r&&i&&(this.closeTabs(t),this.setActiveTab(r),this.closeTabPanels(n),this.setActiveTabPanel(i))}}},{key:"handleKeyCodeInput",value:function(e,t){this.tabFocus||(this.tabFocus=0),39!==t.keyCode&&37!==t.keyCode||(39===t.keyCode?(this.tabFocus++,this.tabFocus>=e.length&&(this.tabFocus=0)):37===t.keyCode&&(this.tabFocus--,this.tabFocus<0&&(this.tabFocus=e.length-1)),e[this.tabFocus].focus())}},{key:"createTabs",value:function(){var e=this;this.tabs&&this.tabs.forEach((function(t){var n=t.querySelectorAll('[role="tab"]'),r=t.querySelectorAll('[role="tabpanel"]'),i=t.querySelector('[role="tablist"]');n&&r&&i&&(n.forEach((function(i,o){i.addEventListener("click",(function(a){a.preventDefault();var s=i.getAttribute("aria-controls"),l=t.querySelector("#".concat(s,'[role="tabpanel"]'));e.tabFocus=o,e.closeTabs(n),e.setActiveTab(i),e.setHash(s),e.closeTabPanels(r),e.setActiveTabPanel(l)}))})),i.addEventListener("keydown",(function(t){return e.handleKeyCodeInput(n,t)})),e.handleActiveTabOnLoad(t))}))}}])&&w(t.prototype,n),r&&w(t,r),e}();function C(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}var k=function(){function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.setProperties(),this.init()}var t,n,r;return t=e,(n=[{key:"setProperties",value:function(){this.expands=document.querySelectorAll("[data-expand]"),this.isExpandedClassName="is-expanded"}},{key:"init",value:function(){this.createExpand()}},{key:"setHeightExpand",value:function(e,t){"true"===t&&(e.style.maxHeight=e.scrollHeight+"px")}},{key:"createExpand",value:function(){var e=this;this.expands&&this.expands.forEach((function(t){var n=t.querySelectorAll("[aria-controls]");n.forEach((function(t){var r=t?t.getAttribute("aria-controls"):"",i=r?document.querySelector("#".concat(r)):"",o=t?t.getAttribute("aria-expanded"):"";t&&i&&(window.addEventListener("resize",(function(){"true"===o&&e.setHeightExpand(i,"true")})),t.addEventListener("click",(function(r){r.preventDefault();var o,a,s=t.getAttribute("aria-expanded"),l="false";"false"===s&&(l="true"),o=i,"true"===(a=l)&&(o.style.maxHeight?o.style.maxHeight=null:o.style.maxHeight=o.scrollHeight+"px"),"false"===a&&(o.style.maxHeight=null),n.forEach((function(e){e.setAttribute("aria-expanded",l)})),"true"===l?i.classList.add(e.isExpandedClassName):i.classList.remove(e.isExpandedClassName)})))}))}))}}])&&C(t.prototype,n),r&&C(t,r),e}(),S=n(631),L=n.n(S);function T(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}var A=function(){function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.setProperties(),this.init()}var t,n,r;return t=e,(n=[{key:"init",value:function(){this.createCodeMirror()}},{key:"setProperties",value:function(){this.fields=document.querySelectorAll(".wpgdprc-codemirror"),this.mirrors=[]}},{key:"createCodeMirror",value:function(){var e=this;this.fields&&this.fields.forEach((function(t){e.mirrors.push(L().fromTextArea(t,{mode:"text/html",lineNumbers:!0,matchBrackets:!0,tabSize:2,indentUnit:2}))}))}},{key:"refreshMirrors",value:function(){this.mirrors.length<1||this.mirrors.forEach((function(e){return e.refresh()}))}},{key:"saveMirrors",value:function(){this.mirrors.length<1||this.mirrors.forEach((function(e){return e.save()}))}}])&&T(t.prototype,n),r&&T(t,r),e}();function O(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}var M=function(){function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.setProperties(),this.init()}var t,n,r;return t=e,(n=[{key:"setProperties",value:function(){this.bannerItems=document.querySelectorAll(".wpgdprc-banner-item"),this.willDelete="will-delete"}},{key:"init",value:function(){this.handleContent()}},{key:"handleContent",value:function(){var e=this;this.bannerItems&&this.bannerItems.forEach((function(t){var n=t.querySelector(".wpgdprc-banner-item__content--default"),r=t.querySelector(".wpgdprc-banner-item__content--delete"),i=t.querySelector(".wpgdprc-banner-item__content--default button[data-delete]"),o=t.querySelector(".wpgdprc-banner-item__content--delete button[data-cancel]");i&&o&&(i.addEventListener("click",(function(i){i.preventDefault(),t.classList.add(e.willDelete),n.setAttribute("aria-hidden","true"),r.setAttribute("aria-hidden","false")})),o.addEventListener("click",(function(i){i.preventDefault(),t.classList.remove(e.willDelete),n.setAttribute("aria-hidden","false"),r.setAttribute("aria-hidden","true")})))}))}}])&&O(t.prototype,n),r&&O(t,r),e}();function N(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function E(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?N(Object(n),!0).forEach((function(t){P(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):N(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function P(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function F(e,t,n,r,i,o,a){try{var s=e[o](a),l=s.value}catch(e){return void n(e)}s.done?t(l):Promise.resolve(l).then(r,i)}function D(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}var j=function(){function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.setProperties(),this.init()}var t,n,r,i,o;return t=e,n=[{key:"setProperties",value:function(){this.prefix=wpgdprcAdmin.pluginPrefix,this.ajaxUrl=wpgdprcAdmin.ajaxUrl,this.ajaxNonce=wpgdprcAdmin.ajaxNonce,this.ajaxArg=wpgdprcAdmin.ajaxArg,this.locale=wpgdprcAdmin.locale,this.formAction=this.prefix+"_update_plugin_mode",this.toggleTile=document.querySelector(".wpgdprc-tile--consent-bar"),this.colorPickers=document.querySelectorAll(".wpgdprc-form__field--colorpicker"),this.bar=document.querySelector(".wpgdprc-consent-bar__inner"),this.barContent=document.querySelector(".wpgdprc-consent-bar__content"),this.barText=document.querySelector(".wpgdprc-consent-bar__notice p"),this.buttonAccept=document.querySelector(".wpgdprc-consent-bar .wpgdprc-button--accept"),this.buttonSettings=document.querySelector(".wpgdprc-consent-bar .wpgdprc-button--settings"),this.inputBarText=document.querySelector(".wpgdprc-form__field.wpgdprc-form__field--explaintext input"),this.inputButtonAccept=document.querySelector(".wpgdprc-form__field.wpgdprc-form__field--buttontext input"),this.inputButtonSettings=document.querySelector(".wpgdprc-form__field.wpgdprc-form__field--moretext input"),this.selectFont=document.querySelector(".wpgdprc-form__field.wpgdprc-form__field--font select"),this.consentBar=document.querySelector(".wpgdprc-consent-bar"),this.barFont="",this.barFontDefault="'Sofia Pro', 'Helvetica Neue', Helvetica, Roboto, Arial, sans-serif",this.barTextColor="",this.barBackgroundColor="",this.buttonTextColor="",this.buttonBackgroundColor="",this.googleFontsClassName="#wpgdprc-google-font-css",this.googleFontsLink=document.querySelector(this.googleFontsClassName),this.isLoading=!1,this.isLoadingClassName="is-loading",this.pageWrap=document.querySelector(".wrap.wpgdprc"),this.header=this.pageWrap?this.pageWrap.querySelector(".wpgdprc-header"):void 0}},{key:"init",value:function(){this.initBar(),this.handleColorPicker(),this.handleInputBarContentText(),this.handleInputButtonAcceptText(),this.handleInputButtonSettingsText(),this.handleSelectBarFont(),this.handleStatusToggle()}},{key:"initBar",value:function(){this.consentBar&&(this.consentBar.style.display="block")}},{key:"setIsLoading",value:function(){var e=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];this.isLoading=e,e?document.body.classList.add(this.isLoadingClassName):document.body.classList.remove(this.isLoadingClassName)}},{key:"setBarFont",value:function(e){this.barFont=e}},{key:"getBarFont",value:function(){return this.barFont}},{key:"setBarTextColor",value:function(e){this.barTextColor=e}},{key:"getBarTextColor",value:function(){return this.barTextColor}},{key:"setBarBackgroundColor",value:function(e){this.barBackgroundColor=e}},{key:"getBarBackgroundColor",value:function(){return this.barBackgroundColor}},{key:"setButtonTextColor",value:function(e){this.buttonTextColor=e}},{key:"getButtonTextColor",value:function(){return this.buttonTextColor}},{key:"setButtonBackgroundColor",value:function(e){this.buttonBackgroundColor=e}},{key:"getButtonBackgroundColor",value:function(){return this.buttonBackgroundColor}},{key:"setGoogleFontsLink",value:function(e){e&&(this.googleFontsLink?this.googleFontsLink.href=this.getGoogleFontUrl(e):(this.createGoogleFontLink(e),this.googleFontsLink=document.querySelector(this.googleFontsClassName)))}},{key:"getGoogleFontsLink",value:function(){return this.googleFontsLink}},{key:"getGoogleFontUrl",value:function(e){return"https://fonts.googleapis.com/css?family=".concat(e.replace(" ","+"),"&display=swap")}},{key:"createGoogleFontLink",value:function(e){var t=document.createElement("link");t.id=this.googleFontsClassName,t.rel="stylesheet",t.href=this.getGoogleFontUrl(e),document.getElementsByTagName("head")[0].appendChild(t)}},{key:"applyColor",value:function(e,t){e&&t&&(e.style.color=t)}},{key:"applyBackgroundColor",value:function(e,t){e&&t&&(e.style.backgroundColor=t)}},{key:"applyBorderColor",value:function(e,t){e&&t&&(e.style.borderColor=t)}},{key:"applyFont",value:function(e,t){e&&this.barFontDefault&&(t?(e.style.fontFamily='"'+t+'", sans-serif',this.setGoogleFontsLink(t)):e.style.fontFamily=this.barFontDefault)}},{key:"applyBarFont",value:function(){this.applyFont(this.bar,this.getBarFont())}},{key:"applyBarTextColor",value:function(){this.applyColor(this.barContent,this.getBarTextColor()),this.applyColor(this.buttonSettings,this.getBarTextColor())}},{key:"applyBarBackgroundColor",value:function(){this.applyBackgroundColor(this.bar,this.getBarBackgroundColor())}},{key:"applyButtonTextColor",value:function(){this.applyColor(this.buttonAccept,this.getButtonTextColor())}},{key:"applyButtonBackgroundColor",value:function(){this.applyBackgroundColor(this.buttonAccept,this.getButtonBackgroundColor())}},{key:"applyButtonBorderColor",value:function(){this.applyBorderColor(this.buttonAccept,this.getButtonBackgroundColor())}},{key:"controlColorsByInput",value:function(e,t,n){e&&t&&n&&(e!==this.prefix+"_settings_consents_bar_color"&&t!==this.prefix+"_settings_consents_bar_color_text"||(this.setBarBackgroundColor(n),this.applyBarBackgroundColor()),e!==this.prefix+"_settings_consents_bar_text_color"&&t!==this.prefix+"_settings_consents_bar_text_color_text"||(this.setBarTextColor(n),this.applyBarTextColor()),e!==this.prefix+"_settings_consents_bar_button_color_primary"&&t!==this.prefix+"_settings_consents_bar_button_color_primary_text"||(this.setButtonBackgroundColor(n),this.applyButtonBackgroundColor(),this.applyButtonBorderColor()),e!==this.prefix+"_settings_consents_bar_button_color_secondary"&&t!==this.prefix+"_settings_consents_bar_button_color_secondary_text"||(this.setButtonTextColor(n),this.applyButtonTextColor()))}},{key:"handleColorPicker",value:function(){var e=this;this.colorPickers&&this.colorPickers.forEach((function(t){var n=t.querySelector('input[type="color"]'),r=t.querySelector('input[type="text"]');n&&r&&(n.addEventListener("change",(function(t){var i=t.target.value;e.controlColorsByInput(n.name,r.name,i),r.value=i})),r.addEventListener("change",(function(t){var i=t.target.value;e.controlColorsByInput(n.name,r.name,i),n.value=i})))}))}},{key:"handleSelectBarFont",value:function(){var e=this;this.selectFont&&this.selectFont.addEventListener("change",(function(t){e.setBarFont(t.target.value),e.applyBarFont()}))}},{key:"handleInputBarContentText",value:function(){var e=this;this.inputBarText&&this.barText&&this.inputBarText.addEventListener("keyup",(function(t){e.barText.innerHTML=t.target.value}))}},{key:"handleInputButtonAcceptText",value:function(){var e=this;this.inputButtonAccept&&this.buttonAccept&&this.inputButtonAccept.addEventListener("keyup",(function(t){e.buttonAccept.innerHTML=t.target.value}))}},{key:"handleInputButtonSettingsText",value:function(){var e=this;this.inputButtonSettings&&this.buttonSettings&&this.inputButtonSettings.addEventListener("keyup",(function(t){e.buttonSettings.innerHTML=t.target.value}))}},{key:"handleStatusToggle",value:function(){var e=this;this.toggleTile&&this.toggleTile.querySelector('[type="checkbox"]').addEventListener("change",(function(t){e.updateStatus(t.target.checked)}))}},{key:"updateStatus",value:(i=regeneratorRuntime.mark((function e(t){var n,r=this;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return this.setIsLoading(),e.prev=1,e.next=4,c(this.ajaxUrl,E((n={action:this.formAction},P(n,this.ajaxArg,this.ajaxNonce),P(n,"locale",this.locale),n),u({value:t})),"POST").then((function(e){return e.json()})).then((function(e){if(r.setIsLoading(!1),void 0!==e.success&&e.success){r.toggleTile.querySelector(".wpgdprc-tile__check").classList.add("hide"),r.toggleTile.querySelector(".wpgdprc-tile__footer").innerHTML=e.tile.footer,r.toggleTile.querySelector(".wpgdprc-tile__text").outerHTML=e.tile.text,r.toggleTile.classList.remove("wpgdprc-tile--green-light");var t=void 0!==e.header?e.header:"";t&&t.length&&(r.header.innerHTML=t),location.reload(),console.dir(e)}else console.dir(e)}));case 4:e.next=10;break;case 6:e.prev=6,e.t0=e.catch(1),console.error(e.t0),this.setIsLoading(!1);case 10:case"end":return e.stop()}}),e,this,[[1,6]])})),o=function(){var e=this,t=arguments;return new Promise((function(n,r){var o=i.apply(e,t);function a(e){F(o,n,r,a,s,"next",e)}function s(e){F(o,n,r,a,s,"throw",e)}a(void 0)}))},function(e){return o.apply(this,arguments)})}],n&&D(t.prototype,n),r&&D(t,r),e}();function B(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function I(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?B(Object(n),!0).forEach((function(t){W(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):B(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function W(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function H(e,t,n,r,i,o,a){try{var s=e[o](a),l=s.value}catch(e){return void n(e)}s.done?t(l):Promise.resolve(l).then(r,i)}function R(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}var _=function(){function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.setProperties(),this.init()}var t,n,r,i,o;return t=e,n=[{key:"setProperties",value:function(){this.prefix=wpgdprcAdmin.pluginPrefix,this.ajaxUrl=wpgdprcAdmin.ajaxUrl,this.ajaxNonce=wpgdprcAdmin.ajaxNonce,this.ajaxArg=wpgdprcAdmin.ajaxArg,this.locale=wpgdprcAdmin.locale,this.formAction=this.prefix+"_update_integration",this.wrapper=document.querySelector(".wpgdprc-integrations"),this.isHiddenClassName="is-hidden"}},{key:"init",value:function(){this.handleUpdate()}},{key:"handleUpdate",value:function(){var e=this;this.wrapper&&(this.wrapper.querySelectorAll('input[type="text"], input[type="checkbox"]').forEach((function(t){t.addEventListener("change",(function(n){var r,i;n.target.disabled=!0;var o=t.getAttribute("type"),a="checkbox"!==o?n.target.value:n.target.checked;e.updateIntegration(a,n.target.getAttribute("name"),o,null==n||null===(r=n.target)||void 0===r||null===(i=r.dataset)||void 0===i?void 0:i.integration).then((function(){n.target.disabled=!1}))}))})),this.wrapper.querySelectorAll('input[type="submit"]').forEach((function(t){var n=t.getAttribute("data-type"),r=e.wrapper.querySelector(".wpgdprc-integration-item--"+n),i=r.querySelectorAll('.wpgdprc-label, [data-action="manage"]'),o=r.querySelector('[data-action="manage"]'),a=r.querySelector('[data-enable="1"]');t.addEventListener("click",(function(t){var n,r;t.preventDefault(),t.target.disabled=!0;var s="1"===t.target.getAttribute("data-enable");e.updateIntegration(s,t.target.getAttribute("name"),"button",null==t||null===(n=t.target)||void 0===n||null===(r=n.dataset)||void 0===r?void 0:r.type).then((function(){t.target.disabled=!1})),s?(a.classList.add(e.isHiddenClassName),i.forEach((function(t){t.classList.remove(e.isHiddenClassName)})),o.click()):(a.classList.remove(e.isHiddenClassName),i.forEach((function(t){t.classList.add(e.isHiddenClassName)})))}))})))}},{key:"updateIntegration",value:(i=regeneratorRuntime.mark((function e(t,n,r,i){var o;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,c(this.ajaxUrl,I((o={action:this.formAction},W(o,this.ajaxArg,this.ajaxNonce),W(o,"locale",this.locale),o),u({value:t,name:n,type:r,integration:i})),"POST").then((function(e){return e.json()})).then((function(e){void 0!==e.success&&e.success,console.dir(e)}));case 3:e.next=8;break;case 5:e.prev=5,e.t0=e.catch(0),console.error(e.t0);case 8:case"end":return e.stop()}}),e,this,[[0,5]])})),o=function(){var e=this,t=arguments;return new Promise((function(n,r){var o=i.apply(e,t);function a(e){H(o,n,r,a,s,"next",e)}function s(e){H(o,n,r,a,s,"throw",e)}a(void 0)}))},function(e,t,n,r){return o.apply(this,arguments)})}],n&&R(t.prototype,n),r&&R(t,r),e}();function z(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function q(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?z(Object(n),!0).forEach((function(t){U(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):z(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function U(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function G(e,t,n,r,i,o,a){try{var s=e[o](a),l=s.value}catch(e){return void n(e)}s.done?t(l):Promise.resolve(l).then(r,i)}function K(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}var V=function(){function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.setProperties(),this.init()}var t,n,r,i,o;return t=e,n=[{key:"setProperties",value:function(){this.prefix=wpgdprcAdmin.pluginPrefix,this.ajaxUrl=wpgdprcAdmin.ajaxUrl,this.ajaxNonce=wpgdprcAdmin.ajaxNonce,this.ajaxArg=wpgdprcAdmin.ajaxArg,this.locale=wpgdprcAdmin.locale,this.formAction=this.prefix+"_update_premium",this.pageWrap=document.querySelector(".wrap.wpgdprc"),this.header=this.pageWrap?this.pageWrap.querySelector(".wpgdprc-header"):void 0,this.switchMode=document.querySelector(".wpgdprc-form__field--pluginmode input"),this.isLoading=!1,this.isLoadingClassName="is-loading"}},{key:"init",value:function(){this.handlePluginMode()}},{key:"setIsLoading",value:function(){var e=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];this.isLoading=e,e?document.body.classList.add(this.isLoadingClassName):document.body.classList.remove(this.isLoadingClassName)}},{key:"handlePluginMode",value:function(){var e=this;this.switchMode&&this.switchMode.addEventListener("change",(function(t){e.isLoading||e.updatePremium(t.target.checked)}))}},{key:"updatePremium",value:(i=regeneratorRuntime.mark((function e(){var t,n,r,i=this,o=arguments;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return t=o.length>0&&void 0!==o[0]&&o[0],n=o.length>1&&void 0!==o[1]?o[1]:null,this.setIsLoading(),e.prev=3,e.next=6,c(this.ajaxUrl,q((r={action:this.formAction},U(r,this.ajaxArg,this.ajaxNonce),U(r,"locale",this.locale),r),u({checked:t,userType:n})),"POST").then((function(e){return e.json()})).then((function(e){if(i.setIsLoading(!1),void 0!==e.success&&e.success){var t=void 0!==e.premium&&e.premium;i.pageWrap.setAttribute("data-mode",t?"premium":"free"),i.switchMode&&(i.switchMode.checked=t);var n=void 0!==e.header?e.header:"";n&&n.length&&(i.header.innerHTML=n)}else console.dir(e)}));case 6:e.next=12;break;case 8:e.prev=8,e.t0=e.catch(3),console.error(e.t0),this.setIsLoading(!1);case 12:case"end":return e.stop()}}),e,this,[[3,8]])})),o=function(){var e=this,t=arguments;return new Promise((function(n,r){var o=i.apply(e,t);function a(e){G(o,n,r,a,s,"next",e)}function s(e){G(o,n,r,a,s,"throw",e)}a(void 0)}))},function(){return o.apply(this,arguments)})}],n&&K(t.prototype,n),r&&K(t,r),e}();function $(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}var X=function(){function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.setProperties(),this.init()}var t,n,r;return t=e,(n=[{key:"setProperties",value:function(){this.prefix=wpgdprcAdmin.pluginPrefix,this.switchField=document.querySelector('[name="'+this.prefix+'_settings_enable_privacy_policy_extern"]'),this.pagePicker=document.querySelector("fieldset#external_no"),this.urlInput=document.querySelector("fieldset#external_yes")}},{key:"init",value:function(){this.handleSwitch()}},{key:"handleSwitch",value:function(){var e=this;this.switchField&&(this.toggleFields(this.switchField.checked),this.switchField.addEventListener("change",(function(t){e.toggleFields(t.target.checked)})))}},{key:"toggleFields",value:function(e){if(this.pagePicker&&this.urlInput){var t="hidden";if(e)return this.pagePicker.classList.contains(t)||this.pagePicker.classList.add(t),void this.urlInput.classList.remove(t);this.urlInput.classList.contains(t)||this.urlInput.classList.add(t),this.pagePicker.classList.remove(t)}}}])&&$(t.prototype,n),r&&$(t,r),e}();function Y(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}var Z=function(){function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.setProperties(),this.init()}var t,n,r;return t=e,(n=[{key:"setProperties",value:function(){this.overview=document.querySelector(".wpgdprc-tabs--requests"),this.tabTitle=document.querySelector(".wpgdprc-tabs--requests .wpgdprc-tabs__title"),this.activeLink=document.querySelector('.wpgdprc-tabs--requests [aria-controls="active-requests"]'),this.expiredLink=document.querySelector('.wpgdprc-tabs--requests [aria-controls="expired-requests"]')}},{key:"init",value:function(){this.handleTabSwitch()}},{key:"handleTabSwitch",value:function(){var e=this;this.overview&&this.tabTitle&&this.activeLink&&this.expiredLink&&(this.resetTabindex(this.activeLink),this.resetTabindex(this.expiredLink),"true"===this.expiredLink.getAttribute("aria-selected")&&(this.tabTitle.innerText=this.expiredLink.innerText),this.activeLink.addEventListener("click",(function(t){e.tabTitle.innerText=t.target.innerText,e.resetTabindex(e.expiredLink)})),this.expiredLink.addEventListener("click",(function(t){e.tabTitle.innerText=t.target.innerText,e.resetTabindex(e.activeLink)})))}},{key:"resetTabindex",value:function(e){e&&e.setAttribute("tabindex","0")}}])&&Y(t.prototype,n),r&&Y(t,r),e}();function Q(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}var J=function(){function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.setProperties(),this.init()}var t,n,r;return t=e,(n=[{key:"setProperties",value:function(){this.hideClass="hidden",this.switchField=document.querySelector('[name="wpgdprc_settings_enable_access_request"]'),this.otherFieldWrappers=document.querySelectorAll(".activate_yes")}},{key:"init",value:function(){var e=this;this.switchField&&(this.toggleFields(this.switchField.checked),this.switchField.addEventListener("change",(function(t){e.toggleFields(t.target.checked)})))}},{key:"toggleFields",value:function(e){var t=this;this.otherFieldWrappers&&(e?this.otherFieldWrappers.forEach((function(e){e.classList.remove(t.hideClass)})):this.otherFieldWrappers.forEach((function(e){e.classList.contains(t.hideClass)||e.classList.add(t.hideClass)})))}}])&&Q(t.prototype,n),r&&Q(t,r),e}();function ee(e,t,n,r,i,o,a){try{var s=e[o](a),l=s.value}catch(e){return void n(e)}s.done?t(l):Promise.resolve(l).then(r,i)}function te(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}var ne=function(){function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.setProperties(),this.init()}var t,n,r,i,o;return t=e,n=[{key:"setProperties",value:function(){this.prefix=wpgdprcAdmin.pluginPrefix,this.ajaxUrl=wpgdprcAdmin.ajaxUrl,this.ajaxNonce=wpgdprcAdmin.ajaxNonce,this.ajaxArg=wpgdprcAdmin.ajaxArg,this.button=document.querySelector('[data-action="reset-consent"]'),this.tileTextClassName="wpgdprc-tile__text",this.tileTextSuccessClassName="wpgdprc-tile__text--success",this.tileTextWarningClassName="wpgdprc-tile__text--warning",this.isLoading=!1,this.isLoadingClassName="is-loading"}},{key:"init",value:function(){this.handleClickResetButton()}},{key:"handleClickResetButton",value:function(){var e=this;this.button&&this.button.addEventListener("click",(function(t){t.preventDefault(),e.isLoading||e.resetConsent()}))}},{key:"setIsLoading",value:function(){var e=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];this.isLoading=e,e?document.body.classList.add(this.isLoadingClassName):document.body.classList.remove(this.isLoadingClassName)}},{key:"resetConsent",value:(i=regeneratorRuntime.mark((function e(){var t=this;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return this.setIsLoading(),e.prev=1,e.next=4,c(this.ajaxUrl,(n={action:this.prefix+"_reset_consent"},r=this.ajaxArg,i=this.ajaxNonce,r in n?Object.defineProperty(n,r,{value:i,enumerable:!0,configurable:!0,writable:!0}):n[r]=i,n),"POST").then((function(e){return e.json()})).then((function(e){t.setIsLoading(!1);var n=void 0!==e.success&&e.success?t.tileTextSuccessClassName:t.tileTextWarningClassName,r=document.createElement("p");r.setAttribute("class",t.tileTextClassName+" "+n),r.innerHTML=e.message,t.button.outerHTML=r.outerHTML}));case 4:e.next=10;break;case 6:e.prev=6,e.t0=e.catch(1),console.error(e.t0),this.setIsLoading(!1);case 10:case"end":return e.stop()}var n,r,i}),e,this,[[1,6]])})),o=function(){var e=this,t=arguments;return new Promise((function(n,r){var o=i.apply(e,t);function a(e){ee(o,n,r,a,s,"next",e)}function s(e){ee(o,n,r,a,s,"throw",e)}a(void 0)}))},function(){return o.apply(this,arguments)})}],n&&te(t.prototype,n),r&&te(t,r),e}();function re(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function ie(e,t,n,r,i,o,a){try{var s=e[o](a),l=s.value}catch(e){return void n(e)}s.done?t(l):Promise.resolve(l).then(r,i)}function oe(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}var ae=function(){function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.setProperties(),this.init()}var t,n,r,i,o;return t=e,n=[{key:"setProperties",value:function(){this.prefix=wpgdprcAdmin.pluginPrefix,this.ajaxUrl=wpgdprcAdmin.ajaxUrl,this.ajaxNonce=wpgdprcAdmin.ajaxNonce,this.ajaxArg=wpgdprcAdmin.ajaxArg,this.settingTabs=document.querySelector(".wpgdprc-tabs__list"),this.pageSelects=document.querySelectorAll(".page-selector"),this.isHiddenClassName="is-hidden",this.isLoading=!1,this.isLoadingClassName="is-loading"}},{key:"init",value:function(){this.updateWindowHistory(),this.toggleEditLinks()}},{key:"updateWindowHistory",value:function(){this.settingTabs&&this.settingTabs.querySelectorAll('a[role="tab"]').forEach((function(e){e.addEventListener("click",(function(e){var t=new URL(e.target.getAttribute("href"));t.searchParams.delete("settings-updated"),window.history.replaceState({},document.title,t.toString())}))}))}},{key:"toggleEditLinks",value:function(){var e=this;this.pageSelects&&this.pageSelects.forEach((function(t){var n=t.parentNode.querySelector(".wpgdprc-link--edit");n&&t.addEventListener("change",(function(t){e.setPostEditLink(n,Number(t.target.value))}))}))}},{key:"setIsLoading",value:function(){var e=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];this.isLoading=e,e?document.body.classList.add(this.isLoadingClassName):document.body.classList.remove(this.isLoadingClassName)}},{key:"setPostEditLink",value:(i=regeneratorRuntime.mark((function e(t){var n,r,i=this,o=arguments;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(n=o.length>1&&void 0!==o[1]?o[1]:0,this.setIsLoading(),0!==n){e.next=5;break}return t.classList.add(this.isHiddenClassName),e.abrupt("return");case 5:return e.prev=5,e.next=8,c(this.ajaxUrl,(r={action:this.prefix+"_post_edit_link"},re(r,this.ajaxArg,this.ajaxNonce),re(r,"post",n),r),"POST").then((function(e){return e.json()})).then((function(e){if(i.setIsLoading(!1),void 0!==e.success&&e.success){var n=void 0!==e.message?new URL(e.message).toString():"";t.setAttribute("href",n),n.length?t.classList.remove(i.isHiddenClassName):t.classList.add(i.isHiddenClassName)}else console.dir(e)}));case 8:e.next=14;break;case 10:e.prev=10,e.t0=e.catch(5),console.error(e.t0),this.setIsLoading(!1);case 14:case"end":return e.stop()}}),e,this,[[5,10]])})),o=function(){var e=this,t=arguments;return new Promise((function(n,r){var o=i.apply(e,t);function a(e){ie(o,n,r,a,s,"next",e)}function s(e){ie(o,n,r,a,s,"throw",e)}a(void 0)}))},function(e){return o.apply(this,arguments)})}],n&&oe(t.prototype,n),r&&oe(t,r),e}();function se(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function le(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?se(Object(n),!0).forEach((function(t){ce(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):se(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function ce(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function ue(e,t,n,r,i,o,a){try{var s=e[o](a),l=s.value}catch(e){return void n(e)}s.done?t(l):Promise.resolve(l).then(r,i)}function he(e){return function(){var t=this,n=arguments;return new Promise((function(r,i){var o=e.apply(t,n);function a(e){ue(o,r,i,a,s,"next",e)}function s(e){ue(o,r,i,a,s,"throw",e)}a(void 0)}))}}function de(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}var fe=function(){function e(t){var n=this;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.setProperties(),this.codeMirror=t;var r=this;window.addEventListener("load",(function(){r.init(),n.PrivacyPolicyForm=new X}))}var t,n,r,i,o;return t=e,n=[{key:"setProperties",value:function(){this.activeClass="active",this.hideClass="hide",this.root=document.querySelector("#wp-gdpr-fts"),this.stepContainer=document.querySelector("#step-container"),this.buttonConatiner=document.querySelector("#step-to-buttons"),this.nextButtons=document.querySelectorAll('button[data-step="next"]'),this.prevButtons=document.querySelectorAll('button[data-step="prev"]'),this.doneButtons=document.querySelectorAll('a[data-step="done"]'),this.userTypeRadios=document.querySelectorAll('input[type="radio"]'),this.signup=document.querySelector("#signup"),this.signUpLink=document.querySelector("#signuplink"),this.forType=document.querySelectorAll('[data-for="personal"], [data-for="business"]'),this.stepButtons=[],this.activeStep=0,this.numberOfsteps=0,this.activeStepElement=null}},{key:"init",value:function(){var e=this;this.root&&(window.wpgdprcAdmin?(this.ajaxUrl=wpgdprcAdmin.ajaxUrl,this.ajaxNonce=wpgdprcAdmin.ajaxNonce,this.ajaxArg=wpgdprcAdmin.ajaxArg,this.locale=wpgdprcAdmin.locale,this.initSteps(),this.initStepButtons(),this.initNext(),this.initPrev(),this.checkHash(),this.userType(),window.addEventListener("popstate",(function(){e.checkHash()}))):console.dir("Stopped because localization data was not found."))}},{key:"initSteps",value:function(){var e=this,t=this.stepContainer.querySelectorAll(".step");this.numberOfsteps=t.length-1,t.forEach((function(t,n){t.dataset.stepId=n,e.buttonConatiner.appendChild(h('\n <button class="btn" data-step-to="'.concat(n,'">\n ').concat(t.dataset.title||"","\n </button>\n ")))})),this.stepButtons=document.querySelectorAll("button[data-step-to]")}},{key:"initStepButtons",value:function(){var e=this;this.stepButtons.forEach((function(t){t.addEventListener("click",(function(t){t.preventDefault();var n=t.currentTarget.dataset.stepTo;Number.isInteger(parseInt(n,10))?e.stepTo(n):console.dir("Could not go to step ".concat(n," because that is not a valid id."))}))}))}},{key:"initNext",value:function(){var e=this,t=this;t.nextButtons.forEach((function(n){n.addEventListener("click",function(){var n=he(regeneratorRuntime.mark((function n(r){var i;return regeneratorRuntime.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return r.preventDefault(),n.next=3,e.handleForms();case 3:if(n.sent){n.next=6;break}return n.abrupt("return");case 6:if(!((i=parseInt(t.activeStep,10)+1)>t.numberOfsteps)){n.next=10;break}return console.dir("Could not go to id ".concat(i," there are only ").concat(t.numberOfsteps," steps")),n.abrupt("return");case 10:t.stepTo(i);case 11:case"end":return n.stop()}}),n)})));return function(e){return n.apply(this,arguments)}}())}))}},{key:"initPrev",value:function(){var e=this;this.prevButtons.forEach((function(t){t.addEventListener("click",(function(t){t.preventDefault();var n=parseInt(e.activeStep,10)-1;n<0?console.dir("Could not goto step ".concat(n," because here are not that many pages.")):e.stepTo(n)}))}))}},{key:"userType",value:function(){var e=this;this.userTypeRadios.forEach((function(t){t.addEventListener("change",(function(){e.signup.classList.remove("hide"),e.setNextButtonDisabled("personal"!==t.value),e.forType.forEach((function(e){t.value===e.dataset.for?e.classList.remove("hide"):e.classList.add("hide")}))}))})),this.signUpLink.addEventListener("click",(function(){e.setNextButtonDisabled(!1)}))}},{key:"handleForms",value:(o=he(regeneratorRuntime.mark((function e(){var t,n,r;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(t=this.getActiveStepElement().querySelector("form"),n=this.getActiveStepElement().querySelector(".step__form-wrapper"),t&&n){e.next=4;break}return e.abrupt("return",!0);case 4:if(r=n.dataset.action){e.next=7;break}return e.abrupt("return",!0);case 7:if(t.reportValidity()){e.next=9;break}return e.abrupt("return",!1);case 9:return this.codeMirror.saveMirrors(),e.next=12,this.submitForm(t,r);case 12:return e.abrupt("return",e.sent);case 13:case"end":return e.stop()}}),e,this)}))),function(){return o.apply(this,arguments)})},{key:"submitForm",value:(i=he(regeneratorRuntime.mark((function e(t,n){var r,i,o=this;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return i=jQuery(t).serializeArray().reduce((function(e,t){return e[t.name]=t.value,e}),{}),this.setLoading(!0),e.next=4,c(this.ajaxUrl,le((r={},ce(r,this.ajaxArg,this.ajaxNonce),ce(r,"locale",this.locale),ce(r,"action",n),r),i),"POST").then((function(e){return e.json()})).then((function(e){if(o.setLoading(!1),void 0===e.success||!e.success)throw new Error;return o.setActiveFormContent(e.form),o.resetElements(),!0})).catch((function(e){return console.error(e),alert("Something went wrong please try again later."),o.setLoading(!1),!1}));case 4:return e.abrupt("return",e.sent);case 5:case"end":return e.stop()}}),e,this)}))),function(e,t){return i.apply(this,arguments)})},{key:"setActiveFormContent",value:function(e){var t=this.getActiveStepElement().querySelector(".step__form-wrapper");t.textContent="",t.appendChild(h(e))}},{key:"resetElements",value:function(){this.codeMirror=new A,this.PrivacyPolicyForm=new X}},{key:"setLoading",value:function(e){var t=this;if(Array.from(this.nextButtons).map((function(e){return e.querySelector(".spinner")})).forEach((function(n){var r,i;r=n,i=t.hideClass,e?r.classList.remove(i):r.classList.add(i)})),!1===e)return this.updateButtons();[].concat(this.nextButtons,this.prevButtons,this.stepButtons).forEach((function(t){t.disabled=e}))}},{key:"getActiveStepElement",value:function(){return this.activeStepElement}},{key:"checkHash",value:function(){if(window.location.hash){var e=window.location.hash;e=e.replace("#",""),e=parseInt(e,10),Number.isInteger(e)||(e=0),this.stepTo(e,!0)}else this.stepTo(0)}},{key:"stepTo",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=document.querySelector("[data-step-id='".concat(e,"']"));n?(this.setActiveStep(n),this.updateButtons(parseInt(e,10)),this.stepToAction(n),this.codeMirror.refreshMirrors(),t||window.history.pushState({id:e},"","#"+e),this.activeStep=e):console.dir("Step ".concat(e," does not exist."))}},{key:"stepToAction",value:function(e){"disable"===e.dataset.action&&this.setNextButtonDisabled(!0)}},{key:"setNextButtonDisabled",value:function(e){this.nextButtons.forEach((function(t){t.disabled=e}))}},{key:"setActiveStep",value:function(e){var t=this;document.querySelectorAll("[data-step-id].".concat(this.activeClass)).forEach((function(e){e.classList.remove(t.activeClass)})),e.classList.add(this.activeClass),this.activeStepElement=e}},{key:"updateButtons",value:function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:-1;-1===t&&(t=this.activeStep);var n=document.querySelectorAll("button[data-step-id][disabled],button[data-step][disabled],button[data-step].hide,button[data-step-to][disabled]");n.forEach((function(t){t.disabled=!1,t.classList.remove(e.hideClass)}));var r=document.querySelectorAll("button[data-step-to].".concat(this.activeClass));r.forEach((function(t){t.classList.remove(e.activeClass)})),this.doneButtons.forEach((function(t){t.classList.add(e.hideClass)})),0===t&&this.prevButtons.forEach((function(e){e.disabled=!0})),t===this.numberOfsteps&&(this.nextButtons.forEach((function(t){t.classList.add(e.hideClass)})),this.doneButtons.forEach((function(t){t.classList.remove(e.hideClass)})));var i=document.querySelectorAll('button[data-step-to="'.concat(t,'"]'));i.forEach((function(t){t.classList.add(e.activeClass)}));var o=document.querySelectorAll("button.active[data-step-to] ~ button[data-step-to]");o.forEach((function(e){e.disabled=!0}))}}],n&&de(t.prototype,n),r&&de(t,r),e}();function pe(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function ge(e){return function(e){if(Array.isArray(e))return ve(e)}(e)||function(e){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(e))return Array.from(e)}(e)||function(e,t){if(!e)return;if("string"==typeof e)return ve(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(n);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return ve(e,t)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function ve(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}var me,ye,be,we,xe,Ce=(me=["a[href]","area[href]",'input:not([disabled]):not([type="hidden"]):not([aria-hidden])',"select:not([disabled]):not([aria-hidden])","textarea:not([disabled]):not([aria-hidden])","button:not([disabled]):not([aria-hidden])","iframe","object","embed","[contenteditable]",'[tabindex]:not([tabindex^="-"])'],ye=function(){function e(t){var n=t.targetModal,r=t.triggers,i=void 0===r?[]:r,o=t.onShow,a=void 0===o?function(){}:o,s=t.onClose,l=void 0===s?function(){}:s,c=t.openTrigger,u=void 0===c?"data-micromodal-trigger":c,h=t.closeTrigger,d=void 0===h?"data-micromodal-close":h,f=t.openClass,p=void 0===f?"is-open":f,g=t.disableScroll,v=void 0!==g&&g,m=t.disableFocus,y=void 0!==m&&m,b=t.awaitCloseAnimation,w=void 0!==b&&b,x=t.awaitOpenAnimation,C=void 0!==x&&x,k=t.debugMode,S=void 0!==k&&k;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.modal=document.getElementById(n),this.config={debugMode:S,disableScroll:v,openTrigger:u,closeTrigger:d,openClass:p,onShow:a,onClose:l,awaitCloseAnimation:w,awaitOpenAnimation:C,disableFocus:y},i.length>0&&this.registerTriggers.apply(this,ge(i)),this.onClick=this.onClick.bind(this),this.onKeydown=this.onKeydown.bind(this)}var t,n,r;return t=e,n=[{key:"registerTriggers",value:function(){for(var e=this,t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];n.filter(Boolean).forEach((function(t){t.addEventListener("click",(function(t){return e.showModal(t)}))}))}},{key:"showModal",value:function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null;if(this.activeElement=document.activeElement,this.modal.setAttribute("aria-hidden","false"),this.modal.classList.add(this.config.openClass),this.scrollBehaviour("disable"),this.addEventListeners(),this.config.awaitOpenAnimation){var n=function t(){e.modal.removeEventListener("animationend",t,!1),e.setFocusToFirstNode()};this.modal.addEventListener("animationend",n,!1)}else this.setFocusToFirstNode();this.config.onShow(this.modal,this.activeElement,t)}},{key:"closeModal",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,t=this.modal;if(this.modal.setAttribute("aria-hidden","true"),this.removeEventListeners(),this.scrollBehaviour("enable"),this.activeElement&&this.activeElement.focus&&this.activeElement.focus(),this.config.onClose(this.modal,this.activeElement,e),this.config.awaitCloseAnimation){var n=this.config.openClass;this.modal.addEventListener("animationend",(function e(){t.classList.remove(n),t.removeEventListener("animationend",e,!1)}),!1)}else t.classList.remove(this.config.openClass)}},{key:"closeModalById",value:function(e){this.modal=document.getElementById(e),this.modal&&this.closeModal()}},{key:"scrollBehaviour",value:function(e){if(this.config.disableScroll){var t=document.querySelector("body");switch(e){case"enable":Object.assign(t.style,{overflow:""});break;case"disable":Object.assign(t.style,{overflow:"hidden"})}}}},{key:"addEventListeners",value:function(){this.modal.addEventListener("touchstart",this.onClick),this.modal.addEventListener("click",this.onClick),document.addEventListener("keydown",this.onKeydown)}},{key:"removeEventListeners",value:function(){this.modal.removeEventListener("touchstart",this.onClick),this.modal.removeEventListener("click",this.onClick),document.removeEventListener("keydown",this.onKeydown)}},{key:"onClick",value:function(e){e.target.hasAttribute(this.config.closeTrigger)&&this.closeModal(e)}},{key:"onKeydown",value:function(e){27===e.keyCode&&this.closeModal(e),9===e.keyCode&&this.retainFocus(e)}},{key:"getFocusableNodes",value:function(){var e=this.modal.querySelectorAll(me);return Array.apply(void 0,ge(e))}},{key:"setFocusToFirstNode",value:function(){var e=this;if(!this.config.disableFocus){var t=this.getFocusableNodes();if(0!==t.length){var n=t.filter((function(t){return!t.hasAttribute(e.config.closeTrigger)}));n.length>0&&n[0].focus(),0===n.length&&t[0].focus()}}}},{key:"retainFocus",value:function(e){var t=this.getFocusableNodes();if(0!==t.length)if(t=t.filter((function(e){return null!==e.offsetParent})),this.modal.contains(document.activeElement)){var n=t.indexOf(document.activeElement);e.shiftKey&&0===n&&(t[t.length-1].focus(),e.preventDefault()),!e.shiftKey&&t.length>0&&n===t.length-1&&(t[0].focus(),e.preventDefault())}else t[0].focus()}}],n&&pe(t.prototype,n),r&&pe(t,r),e}(),be=null,we=function(e){if(!document.getElementById(e))return console.warn("MicroModal: ❗Seems like you have missed %c'".concat(e,"'"),"background-color: #f8f9fa;color: #50596c;font-weight: bold;","ID somewhere in your code. Refer example below to resolve it."),console.warn("%cExample:","background-color: #f8f9fa;color: #50596c;font-weight: bold;",'<div class="modal" id="'.concat(e,'"></div>')),!1},xe=function(e,t){if(function(e){e.length<=0&&(console.warn("MicroModal: ❗Please specify at least one %c'micromodal-trigger'","background-color: #f8f9fa;color: #50596c;font-weight: bold;","data attribute."),console.warn("%cExample:","background-color: #f8f9fa;color: #50596c;font-weight: bold;",'<a href="#" data-micromodal-trigger="my-modal"></a>'))}(e),!t)return!0;for(var n in t)we(n);return!0},{init:function(e){var t=Object.assign({},{openTrigger:"data-micromodal-trigger"},e),n=ge(document.querySelectorAll("[".concat(t.openTrigger,"]"))),r=function(e,t){var n=[];return e.forEach((function(e){var r=e.attributes[t].value;void 0===n[r]&&(n[r]=[]),n[r].push(e)})),n}(n,t.openTrigger);if(!0!==t.debugMode||!1!==xe(n,r))for(var i in r){var o=r[i];t.targetModal=i,t.triggers=ge(o),be=new ye(t)}},show:function(e,t){var n=t||{};n.targetModal=e,!0===n.debugMode&&!1===we(e)||(be&&be.removeEventListeners(),(be=new ye(n)).showModal())},close:function(e){e?be.closeModalById(e):be.closeModal()}});window.MicroModal=Ce;const ke=Ce;function Se(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}var Le,Te=function(){function e(t){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.setProperties(t),this.init()}var t,n,r;return t=e,(n=[{key:"setProperties",value:function(e){this.premiumForm=e,this.modalId="wpgdprc-sign-up-modal",this.options={openClass:"is-open",disableScroll:!0,disableFocus:!0,openTrigger:"data-signup-open",closeTrigger:"data-signup-close",onShow:function(){document.body.style.overflowY="hidden"},onClose:function(){document.body.style.overflowY="auto"}},this.privateButton=document.querySelector("button[data-signup-private]"),this.businessButton=document.querySelector("button[data-signup-business]"),this.chosseTypePage=document.querySelector(".wpgdprc-sign-up-modal__choose-type"),this.signUpPage=document.querySelector(".wpgdprc-sign-up-modal__sign-up"),this.backButton=document.querySelector(".wpgdprc-sign-up-modal__back"),this.prefix=wpgdprcAdmin.pluginPrefix,this.ajaxUrl=wpgdprcAdmin.ajaxUrl,this.ajaxNonce=wpgdprcAdmin.ajaxNonce,this.ajaxArg=wpgdprcAdmin.ajaxArg,this.locale=wpgdprcAdmin.locale,this.showModal=wpgdprcAdmin.showModal}},{key:"init",value:function(){document.querySelector("#".concat(this.modalId))&&(ke.init(this.options),this.handleButtonActions(),this.showModal&&ke.show(this.modalId,this.options))}},{key:"gotoSignUpPage",value:function(){this.chosseTypePage.style.display="none",this.signUpPage.style.display="block",this.backButton.style.display="block"}},{key:"gotoChoseTypePage",value:function(){this.chosseTypePage.style.display="block",this.signUpPage.style.display="none",this.backButton.style.display="none"}},{key:"handleButtonActions",value:function(){var e=this;this.privateButton.addEventListener("click",(function(){ke.close(e.modalId,e.options),e.updatePremium("private")})),this.businessButton.addEventListener("click",(function(){e.gotoSignUpPage(),e.updatePremium("business")})),this.backButton.addEventListener("click",(function(){e.gotoChoseTypePage()}))}},{key:"updatePremium",value:function(e){this.premiumForm.updatePremium(!1,e)}}])&&Se(t.prototype,n),r&&Se(t,r),e}();Le=function(){v();var e=new A,t=new V;new b,new x,new M,new k,new j,new _,new X,new J,new Z,new ne,new ae,new Te(t),new fe(e)},document.addEventListener("DOMContentLoaded",(function(){Le()}))})()})();
1
+ (()=>{var e={631:function(e){e.exports=function(){"use strict";var e=navigator.userAgent,t=navigator.platform,n=/gecko\/\d/i.test(e),r=/MSIE \d/.test(e),i=/Trident\/(?:[7-9]|\d{2,})\..*rv:(\d+)/.exec(e),o=/Edge\/(\d+)/.exec(e),a=r||i||o,s=a&&(r?document.documentMode||6:+(o||i)[1]),l=!o&&/WebKit\//.test(e),c=l&&/Qt\/\d+\.\d+/.test(e),u=!o&&/Chrome\//.test(e),h=/Opera\//.test(e),d=/Apple Computer/.test(navigator.vendor),f=/Mac OS X 1\d\D([8-9]|\d\d)\D/.test(e),p=/PhantomJS/.test(e),g=d&&(/Mobile\/\w+/.test(e)||navigator.maxTouchPoints>2),v=/Android/.test(e),m=g||v||/webOS|BlackBerry|Opera Mini|Opera Mobi|IEMobile/i.test(e),y=g||/Mac/.test(t),b=/\bCrOS\b/.test(e),w=/win/i.test(t),x=h&&e.match(/Version\/(\d*\.\d*)/);x&&(x=Number(x[1])),x&&x>=15&&(h=!1,l=!0);var C=y&&(c||h&&(null==x||x<12.11)),k=n||a&&s>=9;function S(e){return new RegExp("(^|\\s)"+e+"(?:$|\\s)\\s*")}var L,T=function(e,t){var n=e.className,r=S(t).exec(n);if(r){var i=n.slice(r.index+r[0].length);e.className=n.slice(0,r.index)+(i?r[1]+i:"")}};function A(e){for(var t=e.childNodes.length;t>0;--t)e.removeChild(e.firstChild);return e}function O(e,t){return A(e).appendChild(t)}function M(e,t,n,r){var i=document.createElement(e);if(n&&(i.className=n),r&&(i.style.cssText=r),"string"==typeof t)i.appendChild(document.createTextNode(t));else if(t)for(var o=0;o<t.length;++o)i.appendChild(t[o]);return i}function N(e,t,n,r){var i=M(e,t,n,r);return i.setAttribute("role","presentation"),i}function E(e,t){if(3==t.nodeType&&(t=t.parentNode),e.contains)return e.contains(t);do{if(11==t.nodeType&&(t=t.host),t==e)return!0}while(t=t.parentNode)}function P(){var e;try{e=document.activeElement}catch(t){e=document.body||null}for(;e&&e.shadowRoot&&e.shadowRoot.activeElement;)e=e.shadowRoot.activeElement;return e}function F(e,t){var n=e.className;S(t).test(n)||(e.className+=(n?" ":"")+t)}function D(e,t){for(var n=e.split(" "),r=0;r<n.length;r++)n[r]&&!S(n[r]).test(t)&&(t+=" "+n[r]);return t}L=document.createRange?function(e,t,n,r){var i=document.createRange();return i.setEnd(r||e,n),i.setStart(e,t),i}:function(e,t,n){var r=document.body.createTextRange();try{r.moveToElementText(e.parentNode)}catch(e){return r}return r.collapse(!0),r.moveEnd("character",n),r.moveStart("character",t),r};var B=function(e){e.select()};function j(e){var t=Array.prototype.slice.call(arguments,1);return function(){return e.apply(null,t)}}function I(e,t,n){for(var r in t||(t={}),e)!e.hasOwnProperty(r)||!1===n&&t.hasOwnProperty(r)||(t[r]=e[r]);return t}function W(e,t,n,r,i){null==t&&-1==(t=e.search(/[^\s\u00a0]/))&&(t=e.length);for(var o=r||0,a=i||0;;){var s=e.indexOf("\t",o);if(s<0||s>=t)return a+(t-o);a+=s-o,a+=n-a%n,o=s+1}}g?B=function(e){e.selectionStart=0,e.selectionEnd=e.value.length}:a&&(B=function(e){try{e.select()}catch(e){}});var H=function(){this.id=null,this.f=null,this.time=0,this.handler=j(this.onTimeout,this)};function R(e,t){for(var n=0;n<e.length;++n)if(e[n]==t)return n;return-1}H.prototype.onTimeout=function(e){e.id=0,e.time<=+new Date?e.f():setTimeout(e.handler,e.time-+new Date)},H.prototype.set=function(e,t){this.f=t;var n=+new Date+e;(!this.id||n<this.time)&&(clearTimeout(this.id),this.id=setTimeout(this.handler,e),this.time=n)};var _=50,z={toString:function(){return"CodeMirror.Pass"}},q={scroll:!1},U={origin:"*mouse"},G={origin:"+move"};function K(e,t,n){for(var r=0,i=0;;){var o=e.indexOf("\t",r);-1==o&&(o=e.length);var a=o-r;if(o==e.length||i+a>=t)return r+Math.min(a,t-i);if(i+=o-r,r=o+1,(i+=n-i%n)>=t)return r}}var V=[""];function $(e){for(;V.length<=e;)V.push(X(V)+" ");return V[e]}function X(e){return e[e.length-1]}function Y(e,t){for(var n=[],r=0;r<e.length;r++)n[r]=t(e[r],r);return n}function Z(e,t,n){for(var r=0,i=n(t);r<e.length&&n(e[r])<=i;)r++;e.splice(r,0,t)}function Q(){}function J(e,t){var n;return Object.create?n=Object.create(e):(Q.prototype=e,n=new Q),t&&I(t,n),n}var ee=/[\u00df\u0587\u0590-\u05f4\u0600-\u06ff\u3040-\u309f\u30a0-\u30ff\u3400-\u4db5\u4e00-\u9fcc\uac00-\ud7af]/;function te(e){return/\w/.test(e)||e>"€"&&(e.toUpperCase()!=e.toLowerCase()||ee.test(e))}function ne(e,t){return t?!!(t.source.indexOf("\\w")>-1&&te(e))||t.test(e):te(e)}function re(e){for(var t in e)if(e.hasOwnProperty(t)&&e[t])return!1;return!0}var ie=/[\u0300-\u036f\u0483-\u0489\u0591-\u05bd\u05bf\u05c1\u05c2\u05c4\u05c5\u05c7\u0610-\u061a\u064b-\u065e\u0670\u06d6-\u06dc\u06de-\u06e4\u06e7\u06e8\u06ea-\u06ed\u0711\u0730-\u074a\u07a6-\u07b0\u07eb-\u07f3\u0816-\u0819\u081b-\u0823\u0825-\u0827\u0829-\u082d\u0900-\u0902\u093c\u0941-\u0948\u094d\u0951-\u0955\u0962\u0963\u0981\u09bc\u09be\u09c1-\u09c4\u09cd\u09d7\u09e2\u09e3\u0a01\u0a02\u0a3c\u0a41\u0a42\u0a47\u0a48\u0a4b-\u0a4d\u0a51\u0a70\u0a71\u0a75\u0a81\u0a82\u0abc\u0ac1-\u0ac5\u0ac7\u0ac8\u0acd\u0ae2\u0ae3\u0b01\u0b3c\u0b3e\u0b3f\u0b41-\u0b44\u0b4d\u0b56\u0b57\u0b62\u0b63\u0b82\u0bbe\u0bc0\u0bcd\u0bd7\u0c3e-\u0c40\u0c46-\u0c48\u0c4a-\u0c4d\u0c55\u0c56\u0c62\u0c63\u0cbc\u0cbf\u0cc2\u0cc6\u0ccc\u0ccd\u0cd5\u0cd6\u0ce2\u0ce3\u0d3e\u0d41-\u0d44\u0d4d\u0d57\u0d62\u0d63\u0dca\u0dcf\u0dd2-\u0dd4\u0dd6\u0ddf\u0e31\u0e34-\u0e3a\u0e47-\u0e4e\u0eb1\u0eb4-\u0eb9\u0ebb\u0ebc\u0ec8-\u0ecd\u0f18\u0f19\u0f35\u0f37\u0f39\u0f71-\u0f7e\u0f80-\u0f84\u0f86\u0f87\u0f90-\u0f97\u0f99-\u0fbc\u0fc6\u102d-\u1030\u1032-\u1037\u1039\u103a\u103d\u103e\u1058\u1059\u105e-\u1060\u1071-\u1074\u1082\u1085\u1086\u108d\u109d\u135f\u1712-\u1714\u1732-\u1734\u1752\u1753\u1772\u1773\u17b7-\u17bd\u17c6\u17c9-\u17d3\u17dd\u180b-\u180d\u18a9\u1920-\u1922\u1927\u1928\u1932\u1939-\u193b\u1a17\u1a18\u1a56\u1a58-\u1a5e\u1a60\u1a62\u1a65-\u1a6c\u1a73-\u1a7c\u1a7f\u1b00-\u1b03\u1b34\u1b36-\u1b3a\u1b3c\u1b42\u1b6b-\u1b73\u1b80\u1b81\u1ba2-\u1ba5\u1ba8\u1ba9\u1c2c-\u1c33\u1c36\u1c37\u1cd0-\u1cd2\u1cd4-\u1ce0\u1ce2-\u1ce8\u1ced\u1dc0-\u1de6\u1dfd-\u1dff\u200c\u200d\u20d0-\u20f0\u2cef-\u2cf1\u2de0-\u2dff\u302a-\u302f\u3099\u309a\ua66f-\ua672\ua67c\ua67d\ua6f0\ua6f1\ua802\ua806\ua80b\ua825\ua826\ua8c4\ua8e0-\ua8f1\ua926-\ua92d\ua947-\ua951\ua980-\ua982\ua9b3\ua9b6-\ua9b9\ua9bc\uaa29-\uaa2e\uaa31\uaa32\uaa35\uaa36\uaa43\uaa4c\uaab0\uaab2-\uaab4\uaab7\uaab8\uaabe\uaabf\uaac1\uabe5\uabe8\uabed\udc00-\udfff\ufb1e\ufe00-\ufe0f\ufe20-\ufe26\uff9e\uff9f]/;function oe(e){return e.charCodeAt(0)>=768&&ie.test(e)}function ae(e,t,n){for(;(n<0?t>0:t<e.length)&&oe(e.charAt(t));)t+=n;return t}function se(e,t,n){for(var r=t>n?-1:1;;){if(t==n)return t;var i=(t+n)/2,o=r<0?Math.ceil(i):Math.floor(i);if(o==t)return e(o)?t:n;e(o)?n=o:t=o+r}}function le(e,t,n,r){if(!e)return r(t,n,"ltr",0);for(var i=!1,o=0;o<e.length;++o){var a=e[o];(a.from<n&&a.to>t||t==n&&a.to==t)&&(r(Math.max(a.from,t),Math.min(a.to,n),1==a.level?"rtl":"ltr",o),i=!0)}i||r(t,n,"ltr")}var ce=null;function ue(e,t,n){var r;ce=null;for(var i=0;i<e.length;++i){var o=e[i];if(o.from<t&&o.to>t)return i;o.to==t&&(o.from!=o.to&&"before"==n?r=i:ce=i),o.from==t&&(o.from!=o.to&&"before"!=n?r=i:ce=i)}return null!=r?r:ce}var he=function(){var e="bbbbbbbbbtstwsbbbbbbbbbbbbbbssstwNN%%%NNNNNN,N,N1111111111NNNNNNNLLLLLLLLLLLLLLLLLLLLLLLLLLNNNNNNLLLLLLLLLLLLLLLLLLLLLLLLLLNNNNbbbbbbsbbbbbbbbbbbbbbbbbbbbbbbbbb,N%%%%NNNNLNNNNN%%11NLNNN1LNNNNNLLLLLLLLLLLLLLLLLLLLLLLNLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLN",t="nnnnnnNNr%%r,rNNmmmmmmmmmmmrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrmmmmmmmmmmmmmmmmmmmmmnnnnnnnnnn%nnrrrmrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrmmmmmmmnNmmmmmmrrmmNmmmmrr1111111111";function n(n){return n<=247?e.charAt(n):1424<=n&&n<=1524?"R":1536<=n&&n<=1785?t.charAt(n-1536):1774<=n&&n<=2220?"r":8192<=n&&n<=8203?"w":8204==n?"b":"L"}var r=/[\u0590-\u05f4\u0600-\u06ff\u0700-\u08ac]/,i=/[stwN]/,o=/[LRr]/,a=/[Lb1n]/,s=/[1n]/;function l(e,t,n){this.level=e,this.from=t,this.to=n}return function(e,t){var c="ltr"==t?"L":"R";if(0==e.length||"ltr"==t&&!r.test(e))return!1;for(var u=e.length,h=[],d=0;d<u;++d)h.push(n(e.charCodeAt(d)));for(var f=0,p=c;f<u;++f){var g=h[f];"m"==g?h[f]=p:p=g}for(var v=0,m=c;v<u;++v){var y=h[v];"1"==y&&"r"==m?h[v]="n":o.test(y)&&(m=y,"r"==y&&(h[v]="R"))}for(var b=1,w=h[0];b<u-1;++b){var x=h[b];"+"==x&&"1"==w&&"1"==h[b+1]?h[b]="1":","!=x||w!=h[b+1]||"1"!=w&&"n"!=w||(h[b]=w),w=x}for(var C=0;C<u;++C){var k=h[C];if(","==k)h[C]="N";else if("%"==k){var S=void 0;for(S=C+1;S<u&&"%"==h[S];++S);for(var L=C&&"!"==h[C-1]||S<u&&"1"==h[S]?"1":"N",T=C;T<S;++T)h[T]=L;C=S-1}}for(var A=0,O=c;A<u;++A){var M=h[A];"L"==O&&"1"==M?h[A]="L":o.test(M)&&(O=M)}for(var N=0;N<u;++N)if(i.test(h[N])){var E=void 0;for(E=N+1;E<u&&i.test(h[E]);++E);for(var P="L"==(N?h[N-1]:c),F=P==("L"==(E<u?h[E]:c))?P?"L":"R":c,D=N;D<E;++D)h[D]=F;N=E-1}for(var B,j=[],I=0;I<u;)if(a.test(h[I])){var W=I;for(++I;I<u&&a.test(h[I]);++I);j.push(new l(0,W,I))}else{var H=I,R=j.length,_="rtl"==t?1:0;for(++I;I<u&&"L"!=h[I];++I);for(var z=H;z<I;)if(s.test(h[z])){H<z&&(j.splice(R,0,new l(1,H,z)),R+=_);var q=z;for(++z;z<I&&s.test(h[z]);++z);j.splice(R,0,new l(2,q,z)),R+=_,H=z}else++z;H<I&&j.splice(R,0,new l(1,H,I))}return"ltr"==t&&(1==j[0].level&&(B=e.match(/^\s+/))&&(j[0].from=B[0].length,j.unshift(new l(0,0,B[0].length))),1==X(j).level&&(B=e.match(/\s+$/))&&(X(j).to-=B[0].length,j.push(new l(0,u-B[0].length,u)))),"rtl"==t?j.reverse():j}}();function de(e,t){var n=e.order;return null==n&&(n=e.order=he(e.text,t)),n}var fe=[],pe=function(e,t,n){if(e.addEventListener)e.addEventListener(t,n,!1);else if(e.attachEvent)e.attachEvent("on"+t,n);else{var r=e._handlers||(e._handlers={});r[t]=(r[t]||fe).concat(n)}};function ge(e,t){return e._handlers&&e._handlers[t]||fe}function ve(e,t,n){if(e.removeEventListener)e.removeEventListener(t,n,!1);else if(e.detachEvent)e.detachEvent("on"+t,n);else{var r=e._handlers,i=r&&r[t];if(i){var o=R(i,n);o>-1&&(r[t]=i.slice(0,o).concat(i.slice(o+1)))}}}function me(e,t){var n=ge(e,t);if(n.length)for(var r=Array.prototype.slice.call(arguments,2),i=0;i<n.length;++i)n[i].apply(null,r)}function ye(e,t,n){return"string"==typeof t&&(t={type:t,preventDefault:function(){this.defaultPrevented=!0}}),me(e,n||t.type,e,t),Se(t)||t.codemirrorIgnore}function be(e){var t=e._handlers&&e._handlers.cursorActivity;if(t)for(var n=e.curOp.cursorActivityHandlers||(e.curOp.cursorActivityHandlers=[]),r=0;r<t.length;++r)-1==R(n,t[r])&&n.push(t[r])}function we(e,t){return ge(e,t).length>0}function xe(e){e.prototype.on=function(e,t){pe(this,e,t)},e.prototype.off=function(e,t){ve(this,e,t)}}function Ce(e){e.preventDefault?e.preventDefault():e.returnValue=!1}function ke(e){e.stopPropagation?e.stopPropagation():e.cancelBubble=!0}function Se(e){return null!=e.defaultPrevented?e.defaultPrevented:0==e.returnValue}function Le(e){Ce(e),ke(e)}function Te(e){return e.target||e.srcElement}function Ae(e){var t=e.which;return null==t&&(1&e.button?t=1:2&e.button?t=3:4&e.button&&(t=2)),y&&e.ctrlKey&&1==t&&(t=3),t}var Oe,Me,Ne=function(){if(a&&s<9)return!1;var e=M("div");return"draggable"in e||"dragDrop"in e}();function Ee(e){if(null==Oe){var t=M("span","​");O(e,M("span",[t,document.createTextNode("x")])),0!=e.firstChild.offsetHeight&&(Oe=t.offsetWidth<=1&&t.offsetHeight>2&&!(a&&s<8))}var n=Oe?M("span","​"):M("span"," ",null,"display: inline-block; width: 1px; margin-right: -1px");return n.setAttribute("cm-text",""),n}function Pe(e){if(null!=Me)return Me;var t=O(e,document.createTextNode("AخA")),n=L(t,0,1).getBoundingClientRect(),r=L(t,1,2).getBoundingClientRect();return A(e),!(!n||n.left==n.right)&&(Me=r.right-n.right<3)}var Fe,De=3!="\n\nb".split(/\n/).length?function(e){for(var t=0,n=[],r=e.length;t<=r;){var i=e.indexOf("\n",t);-1==i&&(i=e.length);var o=e.slice(t,"\r"==e.charAt(i-1)?i-1:i),a=o.indexOf("\r");-1!=a?(n.push(o.slice(0,a)),t+=a+1):(n.push(o),t=i+1)}return n}:function(e){return e.split(/\r\n?|\n/)},Be=window.getSelection?function(e){try{return e.selectionStart!=e.selectionEnd}catch(e){return!1}}:function(e){var t;try{t=e.ownerDocument.selection.createRange()}catch(e){}return!(!t||t.parentElement()!=e)&&0!=t.compareEndPoints("StartToEnd",t)},je="oncopy"in(Fe=M("div"))||(Fe.setAttribute("oncopy","return;"),"function"==typeof Fe.oncopy),Ie=null;function We(e){if(null!=Ie)return Ie;var t=O(e,M("span","x")),n=t.getBoundingClientRect(),r=L(t,0,1).getBoundingClientRect();return Ie=Math.abs(n.left-r.left)>1}var He={},Re={};function _e(e,t){arguments.length>2&&(t.dependencies=Array.prototype.slice.call(arguments,2)),He[e]=t}function ze(e,t){Re[e]=t}function qe(e){if("string"==typeof e&&Re.hasOwnProperty(e))e=Re[e];else if(e&&"string"==typeof e.name&&Re.hasOwnProperty(e.name)){var t=Re[e.name];"string"==typeof t&&(t={name:t}),(e=J(t,e)).name=t.name}else{if("string"==typeof e&&/^[\w\-]+\/[\w\-]+\+xml$/.test(e))return qe("application/xml");if("string"==typeof e&&/^[\w\-]+\/[\w\-]+\+json$/.test(e))return qe("application/json")}return"string"==typeof e?{name:e}:e||{name:"null"}}function Ue(e,t){t=qe(t);var n=He[t.name];if(!n)return Ue(e,"text/plain");var r=n(e,t);if(Ge.hasOwnProperty(t.name)){var i=Ge[t.name];for(var o in i)i.hasOwnProperty(o)&&(r.hasOwnProperty(o)&&(r["_"+o]=r[o]),r[o]=i[o])}if(r.name=t.name,t.helperType&&(r.helperType=t.helperType),t.modeProps)for(var a in t.modeProps)r[a]=t.modeProps[a];return r}var Ge={};function Ke(e,t){I(t,Ge.hasOwnProperty(e)?Ge[e]:Ge[e]={})}function Ve(e,t){if(!0===t)return t;if(e.copyState)return e.copyState(t);var n={};for(var r in t){var i=t[r];i instanceof Array&&(i=i.concat([])),n[r]=i}return n}function $e(e,t){for(var n;e.innerMode&&(n=e.innerMode(t))&&n.mode!=e;)t=n.state,e=n.mode;return n||{mode:e,state:t}}function Xe(e,t,n){return!e.startState||e.startState(t,n)}var Ye=function(e,t,n){this.pos=this.start=0,this.string=e,this.tabSize=t||8,this.lastColumnPos=this.lastColumnValue=0,this.lineStart=0,this.lineOracle=n};function Ze(e,t){if((t-=e.first)<0||t>=e.size)throw new Error("There is no line "+(t+e.first)+" in the document.");for(var n=e;!n.lines;)for(var r=0;;++r){var i=n.children[r],o=i.chunkSize();if(t<o){n=i;break}t-=o}return n.lines[t]}function Qe(e,t,n){var r=[],i=t.line;return e.iter(t.line,n.line+1,(function(e){var o=e.text;i==n.line&&(o=o.slice(0,n.ch)),i==t.line&&(o=o.slice(t.ch)),r.push(o),++i})),r}function Je(e,t,n){var r=[];return e.iter(t,n,(function(e){r.push(e.text)})),r}function et(e,t){var n=t-e.height;if(n)for(var r=e;r;r=r.parent)r.height+=n}function tt(e){if(null==e.parent)return null;for(var t=e.parent,n=R(t.lines,e),r=t.parent;r;t=r,r=r.parent)for(var i=0;r.children[i]!=t;++i)n+=r.children[i].chunkSize();return n+t.first}function nt(e,t){var n=e.first;e:do{for(var r=0;r<e.children.length;++r){var i=e.children[r],o=i.height;if(t<o){e=i;continue e}t-=o,n+=i.chunkSize()}return n}while(!e.lines);for(var a=0;a<e.lines.length;++a){var s=e.lines[a].height;if(t<s)break;t-=s}return n+a}function rt(e,t){return t>=e.first&&t<e.first+e.size}function it(e,t){return String(e.lineNumberFormatter(t+e.firstLineNumber))}function ot(e,t,n){if(void 0===n&&(n=null),!(this instanceof ot))return new ot(e,t,n);this.line=e,this.ch=t,this.sticky=n}function at(e,t){return e.line-t.line||e.ch-t.ch}function st(e,t){return e.sticky==t.sticky&&0==at(e,t)}function lt(e){return ot(e.line,e.ch)}function ct(e,t){return at(e,t)<0?t:e}function ut(e,t){return at(e,t)<0?e:t}function ht(e,t){return Math.max(e.first,Math.min(t,e.first+e.size-1))}function dt(e,t){if(t.line<e.first)return ot(e.first,0);var n=e.first+e.size-1;return t.line>n?ot(n,Ze(e,n).text.length):ft(t,Ze(e,t.line).text.length)}function ft(e,t){var n=e.ch;return null==n||n>t?ot(e.line,t):n<0?ot(e.line,0):e}function pt(e,t){for(var n=[],r=0;r<t.length;r++)n[r]=dt(e,t[r]);return n}Ye.prototype.eol=function(){return this.pos>=this.string.length},Ye.prototype.sol=function(){return this.pos==this.lineStart},Ye.prototype.peek=function(){return this.string.charAt(this.pos)||void 0},Ye.prototype.next=function(){if(this.pos<this.string.length)return this.string.charAt(this.pos++)},Ye.prototype.eat=function(e){var t=this.string.charAt(this.pos);if("string"==typeof e?t==e:t&&(e.test?e.test(t):e(t)))return++this.pos,t},Ye.prototype.eatWhile=function(e){for(var t=this.pos;this.eat(e););return this.pos>t},Ye.prototype.eatSpace=function(){for(var e=this.pos;/[\s\u00a0]/.test(this.string.charAt(this.pos));)++this.pos;return this.pos>e},Ye.prototype.skipToEnd=function(){this.pos=this.string.length},Ye.prototype.skipTo=function(e){var t=this.string.indexOf(e,this.pos);if(t>-1)return this.pos=t,!0},Ye.prototype.backUp=function(e){this.pos-=e},Ye.prototype.column=function(){return this.lastColumnPos<this.start&&(this.lastColumnValue=W(this.string,this.start,this.tabSize,this.lastColumnPos,this.lastColumnValue),this.lastColumnPos=this.start),this.lastColumnValue-(this.lineStart?W(this.string,this.lineStart,this.tabSize):0)},Ye.prototype.indentation=function(){return W(this.string,null,this.tabSize)-(this.lineStart?W(this.string,this.lineStart,this.tabSize):0)},Ye.prototype.match=function(e,t,n){if("string"!=typeof e){var r=this.string.slice(this.pos).match(e);return r&&r.index>0?null:(r&&!1!==t&&(this.pos+=r[0].length),r)}var i=function(e){return n?e.toLowerCase():e};if(i(this.string.substr(this.pos,e.length))==i(e))return!1!==t&&(this.pos+=e.length),!0},Ye.prototype.current=function(){return this.string.slice(this.start,this.pos)},Ye.prototype.hideFirstChars=function(e,t){this.lineStart+=e;try{return t()}finally{this.lineStart-=e}},Ye.prototype.lookAhead=function(e){var t=this.lineOracle;return t&&t.lookAhead(e)},Ye.prototype.baseToken=function(){var e=this.lineOracle;return e&&e.baseToken(this.pos)};var gt=function(e,t){this.state=e,this.lookAhead=t},vt=function(e,t,n,r){this.state=t,this.doc=e,this.line=n,this.maxLookAhead=r||0,this.baseTokens=null,this.baseTokenPos=1};function mt(e,t,n,r){var i=[e.state.modeGen],o={};Tt(e,t.text,e.doc.mode,n,(function(e,t){return i.push(e,t)}),o,r);for(var a=n.state,s=function(r){n.baseTokens=i;var s=e.state.overlays[r],l=1,c=0;n.state=!0,Tt(e,t.text,s.mode,n,(function(e,t){for(var n=l;c<e;){var r=i[l];r>e&&i.splice(l,1,e,i[l+1],r),l+=2,c=Math.min(e,r)}if(t)if(s.opaque)i.splice(n,l-n,e,"overlay "+t),l=n+2;else for(;n<l;n+=2){var o=i[n+1];i[n+1]=(o?o+" ":"")+"overlay "+t}}),o),n.state=a,n.baseTokens=null,n.baseTokenPos=1},l=0;l<e.state.overlays.length;++l)s(l);return{styles:i,classes:o.bgClass||o.textClass?o:null}}function yt(e,t,n){if(!t.styles||t.styles[0]!=e.state.modeGen){var r=bt(e,tt(t)),i=t.text.length>e.options.maxHighlightLength&&Ve(e.doc.mode,r.state),o=mt(e,t,r);i&&(r.state=i),t.stateAfter=r.save(!i),t.styles=o.styles,o.classes?t.styleClasses=o.classes:t.styleClasses&&(t.styleClasses=null),n===e.doc.highlightFrontier&&(e.doc.modeFrontier=Math.max(e.doc.modeFrontier,++e.doc.highlightFrontier))}return t.styles}function bt(e,t,n){var r=e.doc,i=e.display;if(!r.mode.startState)return new vt(r,!0,t);var o=At(e,t,n),a=o>r.first&&Ze(r,o-1).stateAfter,s=a?vt.fromSaved(r,a,o):new vt(r,Xe(r.mode),o);return r.iter(o,t,(function(n){wt(e,n.text,s);var r=s.line;n.stateAfter=r==t-1||r%5==0||r>=i.viewFrom&&r<i.viewTo?s.save():null,s.nextLine()})),n&&(r.modeFrontier=s.line),s}function wt(e,t,n,r){var i=e.doc.mode,o=new Ye(t,e.options.tabSize,n);for(o.start=o.pos=r||0,""==t&&xt(i,n.state);!o.eol();)Ct(i,o,n.state),o.start=o.pos}function xt(e,t){if(e.blankLine)return e.blankLine(t);if(e.innerMode){var n=$e(e,t);return n.mode.blankLine?n.mode.blankLine(n.state):void 0}}function Ct(e,t,n,r){for(var i=0;i<10;i++){r&&(r[0]=$e(e,n).mode);var o=e.token(t,n);if(t.pos>t.start)return o}throw new Error("Mode "+e.name+" failed to advance stream.")}vt.prototype.lookAhead=function(e){var t=this.doc.getLine(this.line+e);return null!=t&&e>this.maxLookAhead&&(this.maxLookAhead=e),t},vt.prototype.baseToken=function(e){if(!this.baseTokens)return null;for(;this.baseTokens[this.baseTokenPos]<=e;)this.baseTokenPos+=2;var t=this.baseTokens[this.baseTokenPos+1];return{type:t&&t.replace(/( |^)overlay .*/,""),size:this.baseTokens[this.baseTokenPos]-e}},vt.prototype.nextLine=function(){this.line++,this.maxLookAhead>0&&this.maxLookAhead--},vt.fromSaved=function(e,t,n){return t instanceof gt?new vt(e,Ve(e.mode,t.state),n,t.lookAhead):new vt(e,Ve(e.mode,t),n)},vt.prototype.save=function(e){var t=!1!==e?Ve(this.doc.mode,this.state):this.state;return this.maxLookAhead>0?new gt(t,this.maxLookAhead):t};var kt=function(e,t,n){this.start=e.start,this.end=e.pos,this.string=e.current(),this.type=t||null,this.state=n};function St(e,t,n,r){var i,o,a=e.doc,s=a.mode,l=Ze(a,(t=dt(a,t)).line),c=bt(e,t.line,n),u=new Ye(l.text,e.options.tabSize,c);for(r&&(o=[]);(r||u.pos<t.ch)&&!u.eol();)u.start=u.pos,i=Ct(s,u,c.state),r&&o.push(new kt(u,i,Ve(a.mode,c.state)));return r?o:new kt(u,i,c.state)}function Lt(e,t){if(e)for(;;){var n=e.match(/(?:^|\s+)line-(background-)?(\S+)/);if(!n)break;e=e.slice(0,n.index)+e.slice(n.index+n[0].length);var r=n[1]?"bgClass":"textClass";null==t[r]?t[r]=n[2]:new RegExp("(?:^|\\s)"+n[2]+"(?:$|\\s)").test(t[r])||(t[r]+=" "+n[2])}return e}function Tt(e,t,n,r,i,o,a){var s=n.flattenSpans;null==s&&(s=e.options.flattenSpans);var l,c=0,u=null,h=new Ye(t,e.options.tabSize,r),d=e.options.addModeClass&&[null];for(""==t&&Lt(xt(n,r.state),o);!h.eol();){if(h.pos>e.options.maxHighlightLength?(s=!1,a&&wt(e,t,r,h.pos),h.pos=t.length,l=null):l=Lt(Ct(n,h,r.state,d),o),d){var f=d[0].name;f&&(l="m-"+(l?f+" "+l:f))}if(!s||u!=l){for(;c<h.start;)i(c=Math.min(h.start,c+5e3),u);u=l}h.start=h.pos}for(;c<h.pos;){var p=Math.min(h.pos,c+5e3);i(p,u),c=p}}function At(e,t,n){for(var r,i,o=e.doc,a=n?-1:t-(e.doc.mode.innerMode?1e3:100),s=t;s>a;--s){if(s<=o.first)return o.first;var l=Ze(o,s-1),c=l.stateAfter;if(c&&(!n||s+(c instanceof gt?c.lookAhead:0)<=o.modeFrontier))return s;var u=W(l.text,null,e.options.tabSize);(null==i||r>u)&&(i=s-1,r=u)}return i}function Ot(e,t){if(e.modeFrontier=Math.min(e.modeFrontier,t),!(e.highlightFrontier<t-10)){for(var n=e.first,r=t-1;r>n;r--){var i=Ze(e,r).stateAfter;if(i&&(!(i instanceof gt)||r+i.lookAhead<t)){n=r+1;break}}e.highlightFrontier=Math.min(e.highlightFrontier,n)}}var Mt=!1,Nt=!1;function Et(){Mt=!0}function Pt(){Nt=!0}function Ft(e,t,n){this.marker=e,this.from=t,this.to=n}function Dt(e,t){if(e)for(var n=0;n<e.length;++n){var r=e[n];if(r.marker==t)return r}}function Bt(e,t){for(var n,r=0;r<e.length;++r)e[r]!=t&&(n||(n=[])).push(e[r]);return n}function jt(e,t,n){var r=n&&window.WeakSet&&(n.markedSpans||(n.markedSpans=new WeakSet));r&&r.has(e.markedSpans)?e.markedSpans.push(t):(e.markedSpans=e.markedSpans?e.markedSpans.concat([t]):[t],r&&r.add(e.markedSpans)),t.marker.attachLine(e)}function It(e,t,n){var r;if(e)for(var i=0;i<e.length;++i){var o=e[i],a=o.marker;if(null==o.from||(a.inclusiveLeft?o.from<=t:o.from<t)||o.from==t&&"bookmark"==a.type&&(!n||!o.marker.insertLeft)){var s=null==o.to||(a.inclusiveRight?o.to>=t:o.to>t);(r||(r=[])).push(new Ft(a,o.from,s?null:o.to))}}return r}function Wt(e,t,n){var r;if(e)for(var i=0;i<e.length;++i){var o=e[i],a=o.marker;if(null==o.to||(a.inclusiveRight?o.to>=t:o.to>t)||o.from==t&&"bookmark"==a.type&&(!n||o.marker.insertLeft)){var s=null==o.from||(a.inclusiveLeft?o.from<=t:o.from<t);(r||(r=[])).push(new Ft(a,s?null:o.from-t,null==o.to?null:o.to-t))}}return r}function Ht(e,t){if(t.full)return null;var n=rt(e,t.from.line)&&Ze(e,t.from.line).markedSpans,r=rt(e,t.to.line)&&Ze(e,t.to.line).markedSpans;if(!n&&!r)return null;var i=t.from.ch,o=t.to.ch,a=0==at(t.from,t.to),s=It(n,i,a),l=Wt(r,o,a),c=1==t.text.length,u=X(t.text).length+(c?i:0);if(s)for(var h=0;h<s.length;++h){var d=s[h];if(null==d.to){var f=Dt(l,d.marker);f?c&&(d.to=null==f.to?null:f.to+u):d.to=i}}if(l)for(var p=0;p<l.length;++p){var g=l[p];null!=g.to&&(g.to+=u),null==g.from?Dt(s,g.marker)||(g.from=u,c&&(s||(s=[])).push(g)):(g.from+=u,c&&(s||(s=[])).push(g))}s&&(s=Rt(s)),l&&l!=s&&(l=Rt(l));var v=[s];if(!c){var m,y=t.text.length-2;if(y>0&&s)for(var b=0;b<s.length;++b)null==s[b].to&&(m||(m=[])).push(new Ft(s[b].marker,null,null));for(var w=0;w<y;++w)v.push(m);v.push(l)}return v}function Rt(e){for(var t=0;t<e.length;++t){var n=e[t];null!=n.from&&n.from==n.to&&!1!==n.marker.clearWhenEmpty&&e.splice(t--,1)}return e.length?e:null}function _t(e,t,n){var r=null;if(e.iter(t.line,n.line+1,(function(e){if(e.markedSpans)for(var t=0;t<e.markedSpans.length;++t){var n=e.markedSpans[t].marker;!n.readOnly||r&&-1!=R(r,n)||(r||(r=[])).push(n)}})),!r)return null;for(var i=[{from:t,to:n}],o=0;o<r.length;++o)for(var a=r[o],s=a.find(0),l=0;l<i.length;++l){var c=i[l];if(!(at(c.to,s.from)<0||at(c.from,s.to)>0)){var u=[l,1],h=at(c.from,s.from),d=at(c.to,s.to);(h<0||!a.inclusiveLeft&&!h)&&u.push({from:c.from,to:s.from}),(d>0||!a.inclusiveRight&&!d)&&u.push({from:s.to,to:c.to}),i.splice.apply(i,u),l+=u.length-3}}return i}function zt(e){var t=e.markedSpans;if(t){for(var n=0;n<t.length;++n)t[n].marker.detachLine(e);e.markedSpans=null}}function qt(e,t){if(t){for(var n=0;n<t.length;++n)t[n].marker.attachLine(e);e.markedSpans=t}}function Ut(e){return e.inclusiveLeft?-1:0}function Gt(e){return e.inclusiveRight?1:0}function Kt(e,t){var n=e.lines.length-t.lines.length;if(0!=n)return n;var r=e.find(),i=t.find(),o=at(r.from,i.from)||Ut(e)-Ut(t);if(o)return-o;var a=at(r.to,i.to)||Gt(e)-Gt(t);return a||t.id-e.id}function Vt(e,t){var n,r=Nt&&e.markedSpans;if(r)for(var i=void 0,o=0;o<r.length;++o)(i=r[o]).marker.collapsed&&null==(t?i.from:i.to)&&(!n||Kt(n,i.marker)<0)&&(n=i.marker);return n}function $t(e){return Vt(e,!0)}function Xt(e){return Vt(e,!1)}function Yt(e,t){var n,r=Nt&&e.markedSpans;if(r)for(var i=0;i<r.length;++i){var o=r[i];o.marker.collapsed&&(null==o.from||o.from<t)&&(null==o.to||o.to>t)&&(!n||Kt(n,o.marker)<0)&&(n=o.marker)}return n}function Zt(e,t,n,r,i){var o=Ze(e,t),a=Nt&&o.markedSpans;if(a)for(var s=0;s<a.length;++s){var l=a[s];if(l.marker.collapsed){var c=l.marker.find(0),u=at(c.from,n)||Ut(l.marker)-Ut(i),h=at(c.to,r)||Gt(l.marker)-Gt(i);if(!(u>=0&&h<=0||u<=0&&h>=0)&&(u<=0&&(l.marker.inclusiveRight&&i.inclusiveLeft?at(c.to,n)>=0:at(c.to,n)>0)||u>=0&&(l.marker.inclusiveRight&&i.inclusiveLeft?at(c.from,r)<=0:at(c.from,r)<0)))return!0}}}function Qt(e){for(var t;t=$t(e);)e=t.find(-1,!0).line;return e}function Jt(e){for(var t;t=Xt(e);)e=t.find(1,!0).line;return e}function en(e){for(var t,n;t=Xt(e);)e=t.find(1,!0).line,(n||(n=[])).push(e);return n}function tn(e,t){var n=Ze(e,t),r=Qt(n);return n==r?t:tt(r)}function nn(e,t){if(t>e.lastLine())return t;var n,r=Ze(e,t);if(!rn(e,r))return t;for(;n=Xt(r);)r=n.find(1,!0).line;return tt(r)+1}function rn(e,t){var n=Nt&&t.markedSpans;if(n)for(var r=void 0,i=0;i<n.length;++i)if((r=n[i]).marker.collapsed){if(null==r.from)return!0;if(!r.marker.widgetNode&&0==r.from&&r.marker.inclusiveLeft&&on(e,t,r))return!0}}function on(e,t,n){if(null==n.to){var r=n.marker.find(1,!0);return on(e,r.line,Dt(r.line.markedSpans,n.marker))}if(n.marker.inclusiveRight&&n.to==t.text.length)return!0;for(var i=void 0,o=0;o<t.markedSpans.length;++o)if((i=t.markedSpans[o]).marker.collapsed&&!i.marker.widgetNode&&i.from==n.to&&(null==i.to||i.to!=n.from)&&(i.marker.inclusiveLeft||n.marker.inclusiveRight)&&on(e,t,i))return!0}function an(e){for(var t=0,n=(e=Qt(e)).parent,r=0;r<n.lines.length;++r){var i=n.lines[r];if(i==e)break;t+=i.height}for(var o=n.parent;o;o=(n=o).parent)for(var a=0;a<o.children.length;++a){var s=o.children[a];if(s==n)break;t+=s.height}return t}function sn(e){if(0==e.height)return 0;for(var t,n=e.text.length,r=e;t=$t(r);){var i=t.find(0,!0);r=i.from.line,n+=i.from.ch-i.to.ch}for(r=e;t=Xt(r);){var o=t.find(0,!0);n-=r.text.length-o.from.ch,n+=(r=o.to.line).text.length-o.to.ch}return n}function ln(e){var t=e.display,n=e.doc;t.maxLine=Ze(n,n.first),t.maxLineLength=sn(t.maxLine),t.maxLineChanged=!0,n.iter((function(e){var n=sn(e);n>t.maxLineLength&&(t.maxLineLength=n,t.maxLine=e)}))}var cn=function(e,t,n){this.text=e,qt(this,t),this.height=n?n(this):1};function un(e,t,n,r){e.text=t,e.stateAfter&&(e.stateAfter=null),e.styles&&(e.styles=null),null!=e.order&&(e.order=null),zt(e),qt(e,n);var i=r?r(e):1;i!=e.height&&et(e,i)}function hn(e){e.parent=null,zt(e)}cn.prototype.lineNo=function(){return tt(this)},xe(cn);var dn={},fn={};function pn(e,t){if(!e||/^\s*$/.test(e))return null;var n=t.addModeClass?fn:dn;return n[e]||(n[e]=e.replace(/\S+/g,"cm-$&"))}function gn(e,t){var n=N("span",null,null,l?"padding-right: .1px":null),r={pre:N("pre",[n],"CodeMirror-line"),content:n,col:0,pos:0,cm:e,trailingSpace:!1,splitSpaces:e.getOption("lineWrapping")};t.measure={};for(var i=0;i<=(t.rest?t.rest.length:0);i++){var o=i?t.rest[i-1]:t.line,a=void 0;r.pos=0,r.addToken=mn,Pe(e.display.measure)&&(a=de(o,e.doc.direction))&&(r.addToken=bn(r.addToken,a)),r.map=[],xn(o,r,yt(e,o,t!=e.display.externalMeasured&&tt(o))),o.styleClasses&&(o.styleClasses.bgClass&&(r.bgClass=D(o.styleClasses.bgClass,r.bgClass||"")),o.styleClasses.textClass&&(r.textClass=D(o.styleClasses.textClass,r.textClass||""))),0==r.map.length&&r.map.push(0,0,r.content.appendChild(Ee(e.display.measure))),0==i?(t.measure.map=r.map,t.measure.cache={}):((t.measure.maps||(t.measure.maps=[])).push(r.map),(t.measure.caches||(t.measure.caches=[])).push({}))}if(l){var s=r.content.lastChild;(/\bcm-tab\b/.test(s.className)||s.querySelector&&s.querySelector(".cm-tab"))&&(r.content.className="cm-tab-wrap-hack")}return me(e,"renderLine",e,t.line,r.pre),r.pre.className&&(r.textClass=D(r.pre.className,r.textClass||"")),r}function vn(e){var t=M("span","•","cm-invalidchar");return t.title="\\u"+e.charCodeAt(0).toString(16),t.setAttribute("aria-label",t.title),t}function mn(e,t,n,r,i,o,l){if(t){var c,u=e.splitSpaces?yn(t,e.trailingSpace):t,h=e.cm.state.specialChars,d=!1;if(h.test(t)){c=document.createDocumentFragment();for(var f=0;;){h.lastIndex=f;var p=h.exec(t),g=p?p.index-f:t.length-f;if(g){var v=document.createTextNode(u.slice(f,f+g));a&&s<9?c.appendChild(M("span",[v])):c.appendChild(v),e.map.push(e.pos,e.pos+g,v),e.col+=g,e.pos+=g}if(!p)break;f+=g+1;var m=void 0;if("\t"==p[0]){var y=e.cm.options.tabSize,b=y-e.col%y;(m=c.appendChild(M("span",$(b),"cm-tab"))).setAttribute("role","presentation"),m.setAttribute("cm-text","\t"),e.col+=b}else"\r"==p[0]||"\n"==p[0]?((m=c.appendChild(M("span","\r"==p[0]?"␍":"␤","cm-invalidchar"))).setAttribute("cm-text",p[0]),e.col+=1):((m=e.cm.options.specialCharPlaceholder(p[0])).setAttribute("cm-text",p[0]),a&&s<9?c.appendChild(M("span",[m])):c.appendChild(m),e.col+=1);e.map.push(e.pos,e.pos+1,m),e.pos++}}else e.col+=t.length,c=document.createTextNode(u),e.map.push(e.pos,e.pos+t.length,c),a&&s<9&&(d=!0),e.pos+=t.length;if(e.trailingSpace=32==u.charCodeAt(t.length-1),n||r||i||d||o||l){var w=n||"";r&&(w+=r),i&&(w+=i);var x=M("span",[c],w,o);if(l)for(var C in l)l.hasOwnProperty(C)&&"style"!=C&&"class"!=C&&x.setAttribute(C,l[C]);return e.content.appendChild(x)}e.content.appendChild(c)}}function yn(e,t){if(e.length>1&&!/ /.test(e))return e;for(var n=t,r="",i=0;i<e.length;i++){var o=e.charAt(i);" "!=o||!n||i!=e.length-1&&32!=e.charCodeAt(i+1)||(o=" "),r+=o,n=" "==o}return r}function bn(e,t){return function(n,r,i,o,a,s,l){i=i?i+" cm-force-border":"cm-force-border";for(var c=n.pos,u=c+r.length;;){for(var h=void 0,d=0;d<t.length&&!((h=t[d]).to>c&&h.from<=c);d++);if(h.to>=u)return e(n,r,i,o,a,s,l);e(n,r.slice(0,h.to-c),i,o,null,s,l),o=null,r=r.slice(h.to-c),c=h.to}}}function wn(e,t,n,r){var i=!r&&n.widgetNode;i&&e.map.push(e.pos,e.pos+t,i),!r&&e.cm.display.input.needsContentAttribute&&(i||(i=e.content.appendChild(document.createElement("span"))),i.setAttribute("cm-marker",n.id)),i&&(e.cm.display.input.setUneditable(i),e.content.appendChild(i)),e.pos+=t,e.trailingSpace=!1}function xn(e,t,n){var r=e.markedSpans,i=e.text,o=0;if(r)for(var a,s,l,c,u,h,d,f=i.length,p=0,g=1,v="",m=0;;){if(m==p){l=c=u=s="",d=null,h=null,m=1/0;for(var y=[],b=void 0,w=0;w<r.length;++w){var x=r[w],C=x.marker;if("bookmark"==C.type&&x.from==p&&C.widgetNode)y.push(C);else if(x.from<=p&&(null==x.to||x.to>p||C.collapsed&&x.to==p&&x.from==p)){if(null!=x.to&&x.to!=p&&m>x.to&&(m=x.to,c=""),C.className&&(l+=" "+C.className),C.css&&(s=(s?s+";":"")+C.css),C.startStyle&&x.from==p&&(u+=" "+C.startStyle),C.endStyle&&x.to==m&&(b||(b=[])).push(C.endStyle,x.to),C.title&&((d||(d={})).title=C.title),C.attributes)for(var k in C.attributes)(d||(d={}))[k]=C.attributes[k];C.collapsed&&(!h||Kt(h.marker,C)<0)&&(h=x)}else x.from>p&&m>x.from&&(m=x.from)}if(b)for(var S=0;S<b.length;S+=2)b[S+1]==m&&(c+=" "+b[S]);if(!h||h.from==p)for(var L=0;L<y.length;++L)wn(t,0,y[L]);if(h&&(h.from||0)==p){if(wn(t,(null==h.to?f+1:h.to)-p,h.marker,null==h.from),null==h.to)return;h.to==p&&(h=!1)}}if(p>=f)break;for(var T=Math.min(f,m);;){if(v){var A=p+v.length;if(!h){var O=A>T?v.slice(0,T-p):v;t.addToken(t,O,a?a+l:l,u,p+O.length==m?c:"",s,d)}if(A>=T){v=v.slice(T-p),p=T;break}p=A,u=""}v=i.slice(o,o=n[g++]),a=pn(n[g++],t.cm.options)}}else for(var M=1;M<n.length;M+=2)t.addToken(t,i.slice(o,o=n[M]),pn(n[M+1],t.cm.options))}function Cn(e,t,n){this.line=t,this.rest=en(t),this.size=this.rest?tt(X(this.rest))-n+1:1,this.node=this.text=null,this.hidden=rn(e,t)}function kn(e,t,n){for(var r,i=[],o=t;o<n;o=r){var a=new Cn(e.doc,Ze(e.doc,o),o);r=o+a.size,i.push(a)}return i}var Sn=null;function Ln(e){Sn?Sn.ops.push(e):e.ownsGroup=Sn={ops:[e],delayedCallbacks:[]}}function Tn(e){var t=e.delayedCallbacks,n=0;do{for(;n<t.length;n++)t[n].call(null);for(var r=0;r<e.ops.length;r++){var i=e.ops[r];if(i.cursorActivityHandlers)for(;i.cursorActivityCalled<i.cursorActivityHandlers.length;)i.cursorActivityHandlers[i.cursorActivityCalled++].call(null,i.cm)}}while(n<t.length)}function An(e,t){var n=e.ownsGroup;if(n)try{Tn(n)}finally{Sn=null,t(n)}}var On=null;function Mn(e,t){var n=ge(e,t);if(n.length){var r,i=Array.prototype.slice.call(arguments,2);Sn?r=Sn.delayedCallbacks:On?r=On:(r=On=[],setTimeout(Nn,0));for(var o=function(e){r.push((function(){return n[e].apply(null,i)}))},a=0;a<n.length;++a)o(a)}}function Nn(){var e=On;On=null;for(var t=0;t<e.length;++t)e[t]()}function En(e,t,n,r){for(var i=0;i<t.changes.length;i++){var o=t.changes[i];"text"==o?Bn(e,t):"gutter"==o?In(e,t,n,r):"class"==o?jn(e,t):"widget"==o&&Wn(e,t,r)}t.changes=null}function Pn(e){return e.node==e.text&&(e.node=M("div",null,null,"position: relative"),e.text.parentNode&&e.text.parentNode.replaceChild(e.node,e.text),e.node.appendChild(e.text),a&&s<8&&(e.node.style.zIndex=2)),e.node}function Fn(e,t){var n=t.bgClass?t.bgClass+" "+(t.line.bgClass||""):t.line.bgClass;if(n&&(n+=" CodeMirror-linebackground"),t.background)n?t.background.className=n:(t.background.parentNode.removeChild(t.background),t.background=null);else if(n){var r=Pn(t);t.background=r.insertBefore(M("div",null,n),r.firstChild),e.display.input.setUneditable(t.background)}}function Dn(e,t){var n=e.display.externalMeasured;return n&&n.line==t.line?(e.display.externalMeasured=null,t.measure=n.measure,n.built):gn(e,t)}function Bn(e,t){var n=t.text.className,r=Dn(e,t);t.text==t.node&&(t.node=r.pre),t.text.parentNode.replaceChild(r.pre,t.text),t.text=r.pre,r.bgClass!=t.bgClass||r.textClass!=t.textClass?(t.bgClass=r.bgClass,t.textClass=r.textClass,jn(e,t)):n&&(t.text.className=n)}function jn(e,t){Fn(e,t),t.line.wrapClass?Pn(t).className=t.line.wrapClass:t.node!=t.text&&(t.node.className="");var n=t.textClass?t.textClass+" "+(t.line.textClass||""):t.line.textClass;t.text.className=n||""}function In(e,t,n,r){if(t.gutter&&(t.node.removeChild(t.gutter),t.gutter=null),t.gutterBackground&&(t.node.removeChild(t.gutterBackground),t.gutterBackground=null),t.line.gutterClass){var i=Pn(t);t.gutterBackground=M("div",null,"CodeMirror-gutter-background "+t.line.gutterClass,"left: "+(e.options.fixedGutter?r.fixedPos:-r.gutterTotalWidth)+"px; width: "+r.gutterTotalWidth+"px"),e.display.input.setUneditable(t.gutterBackground),i.insertBefore(t.gutterBackground,t.text)}var o=t.line.gutterMarkers;if(e.options.lineNumbers||o){var a=Pn(t),s=t.gutter=M("div",null,"CodeMirror-gutter-wrapper","left: "+(e.options.fixedGutter?r.fixedPos:-r.gutterTotalWidth)+"px");if(s.setAttribute("aria-hidden","true"),e.display.input.setUneditable(s),a.insertBefore(s,t.text),t.line.gutterClass&&(s.className+=" "+t.line.gutterClass),!e.options.lineNumbers||o&&o["CodeMirror-linenumbers"]||(t.lineNumber=s.appendChild(M("div",it(e.options,n),"CodeMirror-linenumber CodeMirror-gutter-elt","left: "+r.gutterLeft["CodeMirror-linenumbers"]+"px; width: "+e.display.lineNumInnerWidth+"px"))),o)for(var l=0;l<e.display.gutterSpecs.length;++l){var c=e.display.gutterSpecs[l].className,u=o.hasOwnProperty(c)&&o[c];u&&s.appendChild(M("div",[u],"CodeMirror-gutter-elt","left: "+r.gutterLeft[c]+"px; width: "+r.gutterWidth[c]+"px"))}}}function Wn(e,t,n){t.alignable&&(t.alignable=null);for(var r=S("CodeMirror-linewidget"),i=t.node.firstChild,o=void 0;i;i=o)o=i.nextSibling,r.test(i.className)&&t.node.removeChild(i);Rn(e,t,n)}function Hn(e,t,n,r){var i=Dn(e,t);return t.text=t.node=i.pre,i.bgClass&&(t.bgClass=i.bgClass),i.textClass&&(t.textClass=i.textClass),jn(e,t),In(e,t,n,r),Rn(e,t,r),t.node}function Rn(e,t,n){if(_n(e,t.line,t,n,!0),t.rest)for(var r=0;r<t.rest.length;r++)_n(e,t.rest[r],t,n,!1)}function _n(e,t,n,r,i){if(t.widgets)for(var o=Pn(n),a=0,s=t.widgets;a<s.length;++a){var l=s[a],c=M("div",[l.node],"CodeMirror-linewidget"+(l.className?" "+l.className:""));l.handleMouseEvents||c.setAttribute("cm-ignore-events","true"),zn(l,c,n,r),e.display.input.setUneditable(c),i&&l.above?o.insertBefore(c,n.gutter||n.text):o.appendChild(c),Mn(l,"redraw")}}function zn(e,t,n,r){if(e.noHScroll){(n.alignable||(n.alignable=[])).push(t);var i=r.wrapperWidth;t.style.left=r.fixedPos+"px",e.coverGutter||(i-=r.gutterTotalWidth,t.style.paddingLeft=r.gutterTotalWidth+"px"),t.style.width=i+"px"}e.coverGutter&&(t.style.zIndex=5,t.style.position="relative",e.noHScroll||(t.style.marginLeft=-r.gutterTotalWidth+"px"))}function qn(e){if(null!=e.height)return e.height;var t=e.doc.cm;if(!t)return 0;if(!E(document.body,e.node)){var n="position: relative;";e.coverGutter&&(n+="margin-left: -"+t.display.gutters.offsetWidth+"px;"),e.noHScroll&&(n+="width: "+t.display.wrapper.clientWidth+"px;"),O(t.display.measure,M("div",[e.node],null,n))}return e.height=e.node.parentNode.offsetHeight}function Un(e,t){for(var n=Te(t);n!=e.wrapper;n=n.parentNode)if(!n||1==n.nodeType&&"true"==n.getAttribute("cm-ignore-events")||n.parentNode==e.sizer&&n!=e.mover)return!0}function Gn(e){return e.lineSpace.offsetTop}function Kn(e){return e.mover.offsetHeight-e.lineSpace.offsetHeight}function Vn(e){if(e.cachedPaddingH)return e.cachedPaddingH;var t=O(e.measure,M("pre","x","CodeMirror-line-like")),n=window.getComputedStyle?window.getComputedStyle(t):t.currentStyle,r={left:parseInt(n.paddingLeft),right:parseInt(n.paddingRight)};return isNaN(r.left)||isNaN(r.right)||(e.cachedPaddingH=r),r}function $n(e){return _-e.display.nativeBarWidth}function Xn(e){return e.display.scroller.clientWidth-$n(e)-e.display.barWidth}function Yn(e){return e.display.scroller.clientHeight-$n(e)-e.display.barHeight}function Zn(e,t,n){var r=e.options.lineWrapping,i=r&&Xn(e);if(!t.measure.heights||r&&t.measure.width!=i){var o=t.measure.heights=[];if(r){t.measure.width=i;for(var a=t.text.firstChild.getClientRects(),s=0;s<a.length-1;s++){var l=a[s],c=a[s+1];Math.abs(l.bottom-c.bottom)>2&&o.push((l.bottom+c.top)/2-n.top)}}o.push(n.bottom-n.top)}}function Qn(e,t,n){if(e.line==t)return{map:e.measure.map,cache:e.measure.cache};for(var r=0;r<e.rest.length;r++)if(e.rest[r]==t)return{map:e.measure.maps[r],cache:e.measure.caches[r]};for(var i=0;i<e.rest.length;i++)if(tt(e.rest[i])>n)return{map:e.measure.maps[i],cache:e.measure.caches[i],before:!0}}function Jn(e,t){var n=tt(t=Qt(t)),r=e.display.externalMeasured=new Cn(e.doc,t,n);r.lineN=n;var i=r.built=gn(e,r);return r.text=i.pre,O(e.display.lineMeasure,i.pre),r}function er(e,t,n,r){return rr(e,nr(e,t),n,r)}function tr(e,t){if(t>=e.display.viewFrom&&t<e.display.viewTo)return e.display.view[jr(e,t)];var n=e.display.externalMeasured;return n&&t>=n.lineN&&t<n.lineN+n.size?n:void 0}function nr(e,t){var n=tt(t),r=tr(e,n);r&&!r.text?r=null:r&&r.changes&&(En(e,r,n,Er(e)),e.curOp.forceUpdate=!0),r||(r=Jn(e,t));var i=Qn(r,t,n);return{line:t,view:r,rect:null,map:i.map,cache:i.cache,before:i.before,hasHeights:!1}}function rr(e,t,n,r,i){t.before&&(n=-1);var o,a=n+(r||"");return t.cache.hasOwnProperty(a)?o=t.cache[a]:(t.rect||(t.rect=t.view.text.getBoundingClientRect()),t.hasHeights||(Zn(e,t.view,t.rect),t.hasHeights=!0),(o=lr(e,t,n,r)).bogus||(t.cache[a]=o)),{left:o.left,right:o.right,top:i?o.rtop:o.top,bottom:i?o.rbottom:o.bottom}}var ir,or={left:0,right:0,top:0,bottom:0};function ar(e,t,n){for(var r,i,o,a,s,l,c=0;c<e.length;c+=3)if(s=e[c],l=e[c+1],t<s?(i=0,o=1,a="left"):t<l?o=1+(i=t-s):(c==e.length-3||t==l&&e[c+3]>t)&&(i=(o=l-s)-1,t>=l&&(a="right")),null!=i){if(r=e[c+2],s==l&&n==(r.insertLeft?"left":"right")&&(a=n),"left"==n&&0==i)for(;c&&e[c-2]==e[c-3]&&e[c-1].insertLeft;)r=e[2+(c-=3)],a="left";if("right"==n&&i==l-s)for(;c<e.length-3&&e[c+3]==e[c+4]&&!e[c+5].insertLeft;)r=e[(c+=3)+2],a="right";break}return{node:r,start:i,end:o,collapse:a,coverStart:s,coverEnd:l}}function sr(e,t){var n=or;if("left"==t)for(var r=0;r<e.length&&(n=e[r]).left==n.right;r++);else for(var i=e.length-1;i>=0&&(n=e[i]).left==n.right;i--);return n}function lr(e,t,n,r){var i,o=ar(t.map,n,r),l=o.node,c=o.start,u=o.end,h=o.collapse;if(3==l.nodeType){for(var d=0;d<4;d++){for(;c&&oe(t.line.text.charAt(o.coverStart+c));)--c;for(;o.coverStart+u<o.coverEnd&&oe(t.line.text.charAt(o.coverStart+u));)++u;if((i=a&&s<9&&0==c&&u==o.coverEnd-o.coverStart?l.parentNode.getBoundingClientRect():sr(L(l,c,u).getClientRects(),r)).left||i.right||0==c)break;u=c,c-=1,h="right"}a&&s<11&&(i=cr(e.display.measure,i))}else{var f;c>0&&(h=r="right"),i=e.options.lineWrapping&&(f=l.getClientRects()).length>1?f["right"==r?f.length-1:0]:l.getBoundingClientRect()}if(a&&s<9&&!c&&(!i||!i.left&&!i.right)){var p=l.parentNode.getClientRects()[0];i=p?{left:p.left,right:p.left+Nr(e.display),top:p.top,bottom:p.bottom}:or}for(var g=i.top-t.rect.top,v=i.bottom-t.rect.top,m=(g+v)/2,y=t.view.measure.heights,b=0;b<y.length-1&&!(m<y[b]);b++);var w=b?y[b-1]:0,x=y[b],C={left:("right"==h?i.right:i.left)-t.rect.left,right:("left"==h?i.left:i.right)-t.rect.left,top:w,bottom:x};return i.left||i.right||(C.bogus=!0),e.options.singleCursorHeightPerLine||(C.rtop=g,C.rbottom=v),C}function cr(e,t){if(!window.screen||null==screen.logicalXDPI||screen.logicalXDPI==screen.deviceXDPI||!We(e))return t;var n=screen.logicalXDPI/screen.deviceXDPI,r=screen.logicalYDPI/screen.deviceYDPI;return{left:t.left*n,right:t.right*n,top:t.top*r,bottom:t.bottom*r}}function ur(e){if(e.measure&&(e.measure.cache={},e.measure.heights=null,e.rest))for(var t=0;t<e.rest.length;t++)e.measure.caches[t]={}}function hr(e){e.display.externalMeasure=null,A(e.display.lineMeasure);for(var t=0;t<e.display.view.length;t++)ur(e.display.view[t])}function dr(e){hr(e),e.display.cachedCharWidth=e.display.cachedTextHeight=e.display.cachedPaddingH=null,e.options.lineWrapping||(e.display.maxLineChanged=!0),e.display.lineNumChars=null}function fr(){return u&&v?-(document.body.getBoundingClientRect().left-parseInt(getComputedStyle(document.body).marginLeft)):window.pageXOffset||(document.documentElement||document.body).scrollLeft}function pr(){return u&&v?-(document.body.getBoundingClientRect().top-parseInt(getComputedStyle(document.body).marginTop)):window.pageYOffset||(document.documentElement||document.body).scrollTop}function gr(e){var t=0;if(e.widgets)for(var n=0;n<e.widgets.length;++n)e.widgets[n].above&&(t+=qn(e.widgets[n]));return t}function vr(e,t,n,r,i){if(!i){var o=gr(t);n.top+=o,n.bottom+=o}if("line"==r)return n;r||(r="local");var a=an(t);if("local"==r?a+=Gn(e.display):a-=e.display.viewOffset,"page"==r||"window"==r){var s=e.display.lineSpace.getBoundingClientRect();a+=s.top+("window"==r?0:pr());var l=s.left+("window"==r?0:fr());n.left+=l,n.right+=l}return n.top+=a,n.bottom+=a,n}function mr(e,t,n){if("div"==n)return t;var r=t.left,i=t.top;if("page"==n)r-=fr(),i-=pr();else if("local"==n||!n){var o=e.display.sizer.getBoundingClientRect();r+=o.left,i+=o.top}var a=e.display.lineSpace.getBoundingClientRect();return{left:r-a.left,top:i-a.top}}function yr(e,t,n,r,i){return r||(r=Ze(e.doc,t.line)),vr(e,r,er(e,r,t.ch,i),n)}function br(e,t,n,r,i,o){function a(t,a){var s=rr(e,i,t,a?"right":"left",o);return a?s.left=s.right:s.right=s.left,vr(e,r,s,n)}r=r||Ze(e.doc,t.line),i||(i=nr(e,r));var s=de(r,e.doc.direction),l=t.ch,c=t.sticky;if(l>=r.text.length?(l=r.text.length,c="before"):l<=0&&(l=0,c="after"),!s)return a("before"==c?l-1:l,"before"==c);function u(e,t,n){return a(n?e-1:e,1==s[t].level!=n)}var h=ue(s,l,c),d=ce,f=u(l,h,"before"==c);return null!=d&&(f.other=u(l,d,"before"!=c)),f}function wr(e,t){var n=0;t=dt(e.doc,t),e.options.lineWrapping||(n=Nr(e.display)*t.ch);var r=Ze(e.doc,t.line),i=an(r)+Gn(e.display);return{left:n,right:n,top:i,bottom:i+r.height}}function xr(e,t,n,r,i){var o=ot(e,t,n);return o.xRel=i,r&&(o.outside=r),o}function Cr(e,t,n){var r=e.doc;if((n+=e.display.viewOffset)<0)return xr(r.first,0,null,-1,-1);var i=nt(r,n),o=r.first+r.size-1;if(i>o)return xr(r.first+r.size-1,Ze(r,o).text.length,null,1,1);t<0&&(t=0);for(var a=Ze(r,i);;){var s=Tr(e,a,i,t,n),l=Yt(a,s.ch+(s.xRel>0||s.outside>0?1:0));if(!l)return s;var c=l.find(1);if(c.line==i)return c;a=Ze(r,i=c.line)}}function kr(e,t,n,r){r-=gr(t);var i=t.text.length,o=se((function(t){return rr(e,n,t-1).bottom<=r}),i,0);return{begin:o,end:i=se((function(t){return rr(e,n,t).top>r}),o,i)}}function Sr(e,t,n,r){return n||(n=nr(e,t)),kr(e,t,n,vr(e,t,rr(e,n,r),"line").top)}function Lr(e,t,n,r){return!(e.bottom<=n)&&(e.top>n||(r?e.left:e.right)>t)}function Tr(e,t,n,r,i){i-=an(t);var o=nr(e,t),a=gr(t),s=0,l=t.text.length,c=!0,u=de(t,e.doc.direction);if(u){var h=(e.options.lineWrapping?Or:Ar)(e,t,n,o,u,r,i);s=(c=1!=h.level)?h.from:h.to-1,l=c?h.to:h.from-1}var d,f,p=null,g=null,v=se((function(t){var n=rr(e,o,t);return n.top+=a,n.bottom+=a,!!Lr(n,r,i,!1)&&(n.top<=i&&n.left<=r&&(p=t,g=n),!0)}),s,l),m=!1;if(g){var y=r-g.left<g.right-r,b=y==c;v=p+(b?0:1),f=b?"after":"before",d=y?g.left:g.right}else{c||v!=l&&v!=s||v++,f=0==v?"after":v==t.text.length?"before":rr(e,o,v-(c?1:0)).bottom+a<=i==c?"after":"before";var w=br(e,ot(n,v,f),"line",t,o);d=w.left,m=i<w.top?-1:i>=w.bottom?1:0}return xr(n,v=ae(t.text,v,1),f,m,r-d)}function Ar(e,t,n,r,i,o,a){var s=se((function(s){var l=i[s],c=1!=l.level;return Lr(br(e,ot(n,c?l.to:l.from,c?"before":"after"),"line",t,r),o,a,!0)}),0,i.length-1),l=i[s];if(s>0){var c=1!=l.level,u=br(e,ot(n,c?l.from:l.to,c?"after":"before"),"line",t,r);Lr(u,o,a,!0)&&u.top>a&&(l=i[s-1])}return l}function Or(e,t,n,r,i,o,a){var s=kr(e,t,r,a),l=s.begin,c=s.end;/\s/.test(t.text.charAt(c-1))&&c--;for(var u=null,h=null,d=0;d<i.length;d++){var f=i[d];if(!(f.from>=c||f.to<=l)){var p=rr(e,r,1!=f.level?Math.min(c,f.to)-1:Math.max(l,f.from)).right,g=p<o?o-p+1e9:p-o;(!u||h>g)&&(u=f,h=g)}}return u||(u=i[i.length-1]),u.from<l&&(u={from:l,to:u.to,level:u.level}),u.to>c&&(u={from:u.from,to:c,level:u.level}),u}function Mr(e){if(null!=e.cachedTextHeight)return e.cachedTextHeight;if(null==ir){ir=M("pre",null,"CodeMirror-line-like");for(var t=0;t<49;++t)ir.appendChild(document.createTextNode("x")),ir.appendChild(M("br"));ir.appendChild(document.createTextNode("x"))}O(e.measure,ir);var n=ir.offsetHeight/50;return n>3&&(e.cachedTextHeight=n),A(e.measure),n||1}function Nr(e){if(null!=e.cachedCharWidth)return e.cachedCharWidth;var t=M("span","xxxxxxxxxx"),n=M("pre",[t],"CodeMirror-line-like");O(e.measure,n);var r=t.getBoundingClientRect(),i=(r.right-r.left)/10;return i>2&&(e.cachedCharWidth=i),i||10}function Er(e){for(var t=e.display,n={},r={},i=t.gutters.clientLeft,o=t.gutters.firstChild,a=0;o;o=o.nextSibling,++a){var s=e.display.gutterSpecs[a].className;n[s]=o.offsetLeft+o.clientLeft+i,r[s]=o.clientWidth}return{fixedPos:Pr(t),gutterTotalWidth:t.gutters.offsetWidth,gutterLeft:n,gutterWidth:r,wrapperWidth:t.wrapper.clientWidth}}function Pr(e){return e.scroller.getBoundingClientRect().left-e.sizer.getBoundingClientRect().left}function Fr(e){var t=Mr(e.display),n=e.options.lineWrapping,r=n&&Math.max(5,e.display.scroller.clientWidth/Nr(e.display)-3);return function(i){if(rn(e.doc,i))return 0;var o=0;if(i.widgets)for(var a=0;a<i.widgets.length;a++)i.widgets[a].height&&(o+=i.widgets[a].height);return n?o+(Math.ceil(i.text.length/r)||1)*t:o+t}}function Dr(e){var t=e.doc,n=Fr(e);t.iter((function(e){var t=n(e);t!=e.height&&et(e,t)}))}function Br(e,t,n,r){var i=e.display;if(!n&&"true"==Te(t).getAttribute("cm-not-content"))return null;var o,a,s=i.lineSpace.getBoundingClientRect();try{o=t.clientX-s.left,a=t.clientY-s.top}catch(e){return null}var l,c=Cr(e,o,a);if(r&&c.xRel>0&&(l=Ze(e.doc,c.line).text).length==c.ch){var u=W(l,l.length,e.options.tabSize)-l.length;c=ot(c.line,Math.max(0,Math.round((o-Vn(e.display).left)/Nr(e.display))-u))}return c}function jr(e,t){if(t>=e.display.viewTo)return null;if((t-=e.display.viewFrom)<0)return null;for(var n=e.display.view,r=0;r<n.length;r++)if((t-=n[r].size)<0)return r}function Ir(e,t,n,r){null==t&&(t=e.doc.first),null==n&&(n=e.doc.first+e.doc.size),r||(r=0);var i=e.display;if(r&&n<i.viewTo&&(null==i.updateLineNumbers||i.updateLineNumbers>t)&&(i.updateLineNumbers=t),e.curOp.viewChanged=!0,t>=i.viewTo)Nt&&tn(e.doc,t)<i.viewTo&&Hr(e);else if(n<=i.viewFrom)Nt&&nn(e.doc,n+r)>i.viewFrom?Hr(e):(i.viewFrom+=r,i.viewTo+=r);else if(t<=i.viewFrom&&n>=i.viewTo)Hr(e);else if(t<=i.viewFrom){var o=Rr(e,n,n+r,1);o?(i.view=i.view.slice(o.index),i.viewFrom=o.lineN,i.viewTo+=r):Hr(e)}else if(n>=i.viewTo){var a=Rr(e,t,t,-1);a?(i.view=i.view.slice(0,a.index),i.viewTo=a.lineN):Hr(e)}else{var s=Rr(e,t,t,-1),l=Rr(e,n,n+r,1);s&&l?(i.view=i.view.slice(0,s.index).concat(kn(e,s.lineN,l.lineN)).concat(i.view.slice(l.index)),i.viewTo+=r):Hr(e)}var c=i.externalMeasured;c&&(n<c.lineN?c.lineN+=r:t<c.lineN+c.size&&(i.externalMeasured=null))}function Wr(e,t,n){e.curOp.viewChanged=!0;var r=e.display,i=e.display.externalMeasured;if(i&&t>=i.lineN&&t<i.lineN+i.size&&(r.externalMeasured=null),!(t<r.viewFrom||t>=r.viewTo)){var o=r.view[jr(e,t)];if(null!=o.node){var a=o.changes||(o.changes=[]);-1==R(a,n)&&a.push(n)}}}function Hr(e){e.display.viewFrom=e.display.viewTo=e.doc.first,e.display.view=[],e.display.viewOffset=0}function Rr(e,t,n,r){var i,o=jr(e,t),a=e.display.view;if(!Nt||n==e.doc.first+e.doc.size)return{index:o,lineN:n};for(var s=e.display.viewFrom,l=0;l<o;l++)s+=a[l].size;if(s!=t){if(r>0){if(o==a.length-1)return null;i=s+a[o].size-t,o++}else i=s-t;t+=i,n+=i}for(;tn(e.doc,n)!=n;){if(o==(r<0?0:a.length-1))return null;n+=r*a[o-(r<0?1:0)].size,o+=r}return{index:o,lineN:n}}function _r(e,t,n){var r=e.display;0==r.view.length||t>=r.viewTo||n<=r.viewFrom?(r.view=kn(e,t,n),r.viewFrom=t):(r.viewFrom>t?r.view=kn(e,t,r.viewFrom).concat(r.view):r.viewFrom<t&&(r.view=r.view.slice(jr(e,t))),r.viewFrom=t,r.viewTo<n?r.view=r.view.concat(kn(e,r.viewTo,n)):r.viewTo>n&&(r.view=r.view.slice(0,jr(e,n)))),r.viewTo=n}function zr(e){for(var t=e.display.view,n=0,r=0;r<t.length;r++){var i=t[r];i.hidden||i.node&&!i.changes||++n}return n}function qr(e){e.display.input.showSelection(e.display.input.prepareSelection())}function Ur(e,t){void 0===t&&(t=!0);for(var n=e.doc,r={},i=r.cursors=document.createDocumentFragment(),o=r.selection=document.createDocumentFragment(),a=0;a<n.sel.ranges.length;a++)if(t||a!=n.sel.primIndex){var s=n.sel.ranges[a];if(!(s.from().line>=e.display.viewTo||s.to().line<e.display.viewFrom)){var l=s.empty();(l||e.options.showCursorWhenSelecting)&&Gr(e,s.head,i),l||Vr(e,s,o)}}return r}function Gr(e,t,n){var r=br(e,t,"div",null,null,!e.options.singleCursorHeightPerLine),i=n.appendChild(M("div"," ","CodeMirror-cursor"));if(i.style.left=r.left+"px",i.style.top=r.top+"px",i.style.height=Math.max(0,r.bottom-r.top)*e.options.cursorHeight+"px",/\bcm-fat-cursor\b/.test(e.getWrapperElement().className)){var o=yr(e,t,"div",null,null);o.right-o.left>0&&(i.style.width=o.right-o.left+"px")}if(r.other){var a=n.appendChild(M("div"," ","CodeMirror-cursor CodeMirror-secondarycursor"));a.style.display="",a.style.left=r.other.left+"px",a.style.top=r.other.top+"px",a.style.height=.85*(r.other.bottom-r.other.top)+"px"}}function Kr(e,t){return e.top-t.top||e.left-t.left}function Vr(e,t,n){var r=e.display,i=e.doc,o=document.createDocumentFragment(),a=Vn(e.display),s=a.left,l=Math.max(r.sizerWidth,Xn(e)-r.sizer.offsetLeft)-a.right,c="ltr"==i.direction;function u(e,t,n,r){t<0&&(t=0),t=Math.round(t),r=Math.round(r),o.appendChild(M("div",null,"CodeMirror-selected","position: absolute; left: "+e+"px;\n top: "+t+"px; width: "+(null==n?l-e:n)+"px;\n height: "+(r-t)+"px"))}function h(t,n,r){var o,a,h=Ze(i,t),d=h.text.length;function f(n,r){return yr(e,ot(t,n),"div",h,r)}function p(t,n,r){var i=Sr(e,h,null,t),o="ltr"==n==("after"==r)?"left":"right";return f("after"==r?i.begin:i.end-(/\s/.test(h.text.charAt(i.end-1))?2:1),o)[o]}var g=de(h,i.direction);return le(g,n||0,null==r?d:r,(function(e,t,i,h){var v="ltr"==i,m=f(e,v?"left":"right"),y=f(t-1,v?"right":"left"),b=null==n&&0==e,w=null==r&&t==d,x=0==h,C=!g||h==g.length-1;if(y.top-m.top<=3){var k=(c?w:b)&&C,S=(c?b:w)&&x?s:(v?m:y).left,L=k?l:(v?y:m).right;u(S,m.top,L-S,m.bottom)}else{var T,A,O,M;v?(T=c&&b&&x?s:m.left,A=c?l:p(e,i,"before"),O=c?s:p(t,i,"after"),M=c&&w&&C?l:y.right):(T=c?p(e,i,"before"):s,A=!c&&b&&x?l:m.right,O=!c&&w&&C?s:y.left,M=c?p(t,i,"after"):l),u(T,m.top,A-T,m.bottom),m.bottom<y.top&&u(s,m.bottom,null,y.top),u(O,y.top,M-O,y.bottom)}(!o||Kr(m,o)<0)&&(o=m),Kr(y,o)<0&&(o=y),(!a||Kr(m,a)<0)&&(a=m),Kr(y,a)<0&&(a=y)})),{start:o,end:a}}var d=t.from(),f=t.to();if(d.line==f.line)h(d.line,d.ch,f.ch);else{var p=Ze(i,d.line),g=Ze(i,f.line),v=Qt(p)==Qt(g),m=h(d.line,d.ch,v?p.text.length+1:null).end,y=h(f.line,v?0:null,f.ch).start;v&&(m.top<y.top-2?(u(m.right,m.top,null,m.bottom),u(s,y.top,y.left,y.bottom)):u(m.right,m.top,y.left-m.right,m.bottom)),m.bottom<y.top&&u(s,m.bottom,null,y.top)}n.appendChild(o)}function $r(e){if(e.state.focused){var t=e.display;clearInterval(t.blinker);var n=!0;t.cursorDiv.style.visibility="",e.options.cursorBlinkRate>0?t.blinker=setInterval((function(){e.hasFocus()||Qr(e),t.cursorDiv.style.visibility=(n=!n)?"":"hidden"}),e.options.cursorBlinkRate):e.options.cursorBlinkRate<0&&(t.cursorDiv.style.visibility="hidden")}}function Xr(e){e.hasFocus()||(e.display.input.focus(),e.state.focused||Zr(e))}function Yr(e){e.state.delayingBlurEvent=!0,setTimeout((function(){e.state.delayingBlurEvent&&(e.state.delayingBlurEvent=!1,e.state.focused&&Qr(e))}),100)}function Zr(e,t){e.state.delayingBlurEvent&&!e.state.draggingText&&(e.state.delayingBlurEvent=!1),"nocursor"!=e.options.readOnly&&(e.state.focused||(me(e,"focus",e,t),e.state.focused=!0,F(e.display.wrapper,"CodeMirror-focused"),e.curOp||e.display.selForContextMenu==e.doc.sel||(e.display.input.reset(),l&&setTimeout((function(){return e.display.input.reset(!0)}),20)),e.display.input.receivedFocus()),$r(e))}function Qr(e,t){e.state.delayingBlurEvent||(e.state.focused&&(me(e,"blur",e,t),e.state.focused=!1,T(e.display.wrapper,"CodeMirror-focused")),clearInterval(e.display.blinker),setTimeout((function(){e.state.focused||(e.display.shift=!1)}),150))}function Jr(e){for(var t=e.display,n=t.lineDiv.offsetTop,r=Math.max(0,t.scroller.getBoundingClientRect().top),i=t.lineDiv.getBoundingClientRect().top,o=0,l=0;l<t.view.length;l++){var c=t.view[l],u=e.options.lineWrapping,h=void 0,d=0;if(!c.hidden){if(i+=c.line.height,a&&s<8){var f=c.node.offsetTop+c.node.offsetHeight;h=f-n,n=f}else{var p=c.node.getBoundingClientRect();h=p.bottom-p.top,!u&&c.text.firstChild&&(d=c.text.firstChild.getBoundingClientRect().right-p.left-1)}var g=c.line.height-h;if((g>.005||g<-.005)&&(i<r&&(o-=g),et(c.line,h),ei(c.line),c.rest))for(var v=0;v<c.rest.length;v++)ei(c.rest[v]);if(d>e.display.sizerWidth){var m=Math.ceil(d/Nr(e.display));m>e.display.maxLineLength&&(e.display.maxLineLength=m,e.display.maxLine=c.line,e.display.maxLineChanged=!0)}}}Math.abs(o)>2&&(t.scroller.scrollTop+=o)}function ei(e){if(e.widgets)for(var t=0;t<e.widgets.length;++t){var n=e.widgets[t],r=n.node.parentNode;r&&(n.height=r.offsetHeight)}}function ti(e,t,n){var r=n&&null!=n.top?Math.max(0,n.top):e.scroller.scrollTop;r=Math.floor(r-Gn(e));var i=n&&null!=n.bottom?n.bottom:r+e.wrapper.clientHeight,o=nt(t,r),a=nt(t,i);if(n&&n.ensure){var s=n.ensure.from.line,l=n.ensure.to.line;s<o?(o=s,a=nt(t,an(Ze(t,s))+e.wrapper.clientHeight)):Math.min(l,t.lastLine())>=a&&(o=nt(t,an(Ze(t,l))-e.wrapper.clientHeight),a=l)}return{from:o,to:Math.max(a,o+1)}}function ni(e,t){if(!ye(e,"scrollCursorIntoView")){var n=e.display,r=n.sizer.getBoundingClientRect(),i=null;if(t.top+r.top<0?i=!0:t.bottom+r.top>(window.innerHeight||document.documentElement.clientHeight)&&(i=!1),null!=i&&!p){var o=M("div","​",null,"position: absolute;\n top: "+(t.top-n.viewOffset-Gn(e.display))+"px;\n height: "+(t.bottom-t.top+$n(e)+n.barHeight)+"px;\n left: "+t.left+"px; width: "+Math.max(2,t.right-t.left)+"px;");e.display.lineSpace.appendChild(o),o.scrollIntoView(i),e.display.lineSpace.removeChild(o)}}}function ri(e,t,n,r){var i;null==r&&(r=0),e.options.lineWrapping||t!=n||(n="before"==t.sticky?ot(t.line,t.ch+1,"before"):t,t=t.ch?ot(t.line,"before"==t.sticky?t.ch-1:t.ch,"after"):t);for(var o=0;o<5;o++){var a=!1,s=br(e,t),l=n&&n!=t?br(e,n):s,c=oi(e,i={left:Math.min(s.left,l.left),top:Math.min(s.top,l.top)-r,right:Math.max(s.left,l.left),bottom:Math.max(s.bottom,l.bottom)+r}),u=e.doc.scrollTop,h=e.doc.scrollLeft;if(null!=c.scrollTop&&(di(e,c.scrollTop),Math.abs(e.doc.scrollTop-u)>1&&(a=!0)),null!=c.scrollLeft&&(pi(e,c.scrollLeft),Math.abs(e.doc.scrollLeft-h)>1&&(a=!0)),!a)break}return i}function ii(e,t){var n=oi(e,t);null!=n.scrollTop&&di(e,n.scrollTop),null!=n.scrollLeft&&pi(e,n.scrollLeft)}function oi(e,t){var n=e.display,r=Mr(e.display);t.top<0&&(t.top=0);var i=e.curOp&&null!=e.curOp.scrollTop?e.curOp.scrollTop:n.scroller.scrollTop,o=Yn(e),a={};t.bottom-t.top>o&&(t.bottom=t.top+o);var s=e.doc.height+Kn(n),l=t.top<r,c=t.bottom>s-r;if(t.top<i)a.scrollTop=l?0:t.top;else if(t.bottom>i+o){var u=Math.min(t.top,(c?s:t.bottom)-o);u!=i&&(a.scrollTop=u)}var h=e.options.fixedGutter?0:n.gutters.offsetWidth,d=e.curOp&&null!=e.curOp.scrollLeft?e.curOp.scrollLeft:n.scroller.scrollLeft-h,f=Xn(e)-n.gutters.offsetWidth,p=t.right-t.left>f;return p&&(t.right=t.left+f),t.left<10?a.scrollLeft=0:t.left<d?a.scrollLeft=Math.max(0,t.left+h-(p?0:10)):t.right>f+d-3&&(a.scrollLeft=t.right+(p?0:10)-f),a}function ai(e,t){null!=t&&(ui(e),e.curOp.scrollTop=(null==e.curOp.scrollTop?e.doc.scrollTop:e.curOp.scrollTop)+t)}function si(e){ui(e);var t=e.getCursor();e.curOp.scrollToPos={from:t,to:t,margin:e.options.cursorScrollMargin}}function li(e,t,n){null==t&&null==n||ui(e),null!=t&&(e.curOp.scrollLeft=t),null!=n&&(e.curOp.scrollTop=n)}function ci(e,t){ui(e),e.curOp.scrollToPos=t}function ui(e){var t=e.curOp.scrollToPos;t&&(e.curOp.scrollToPos=null,hi(e,wr(e,t.from),wr(e,t.to),t.margin))}function hi(e,t,n,r){var i=oi(e,{left:Math.min(t.left,n.left),top:Math.min(t.top,n.top)-r,right:Math.max(t.right,n.right),bottom:Math.max(t.bottom,n.bottom)+r});li(e,i.scrollLeft,i.scrollTop)}function di(e,t){Math.abs(e.doc.scrollTop-t)<2||(n||qi(e,{top:t}),fi(e,t,!0),n&&qi(e),Bi(e,100))}function fi(e,t,n){t=Math.max(0,Math.min(e.display.scroller.scrollHeight-e.display.scroller.clientHeight,t)),(e.display.scroller.scrollTop!=t||n)&&(e.doc.scrollTop=t,e.display.scrollbars.setScrollTop(t),e.display.scroller.scrollTop!=t&&(e.display.scroller.scrollTop=t))}function pi(e,t,n,r){t=Math.max(0,Math.min(t,e.display.scroller.scrollWidth-e.display.scroller.clientWidth)),(n?t==e.doc.scrollLeft:Math.abs(e.doc.scrollLeft-t)<2)&&!r||(e.doc.scrollLeft=t,Vi(e),e.display.scroller.scrollLeft!=t&&(e.display.scroller.scrollLeft=t),e.display.scrollbars.setScrollLeft(t))}function gi(e){var t=e.display,n=t.gutters.offsetWidth,r=Math.round(e.doc.height+Kn(e.display));return{clientHeight:t.scroller.clientHeight,viewHeight:t.wrapper.clientHeight,scrollWidth:t.scroller.scrollWidth,clientWidth:t.scroller.clientWidth,viewWidth:t.wrapper.clientWidth,barLeft:e.options.fixedGutter?n:0,docHeight:r,scrollHeight:r+$n(e)+t.barHeight,nativeBarWidth:t.nativeBarWidth,gutterWidth:n}}var vi=function(e,t,n){this.cm=n;var r=this.vert=M("div",[M("div",null,null,"min-width: 1px")],"CodeMirror-vscrollbar"),i=this.horiz=M("div",[M("div",null,null,"height: 100%; min-height: 1px")],"CodeMirror-hscrollbar");r.tabIndex=i.tabIndex=-1,e(r),e(i),pe(r,"scroll",(function(){r.clientHeight&&t(r.scrollTop,"vertical")})),pe(i,"scroll",(function(){i.clientWidth&&t(i.scrollLeft,"horizontal")})),this.checkedZeroWidth=!1,a&&s<8&&(this.horiz.style.minHeight=this.vert.style.minWidth="18px")};vi.prototype.update=function(e){var t=e.scrollWidth>e.clientWidth+1,n=e.scrollHeight>e.clientHeight+1,r=e.nativeBarWidth;if(n){this.vert.style.display="block",this.vert.style.bottom=t?r+"px":"0";var i=e.viewHeight-(t?r:0);this.vert.firstChild.style.height=Math.max(0,e.scrollHeight-e.clientHeight+i)+"px"}else this.vert.style.display="",this.vert.firstChild.style.height="0";if(t){this.horiz.style.display="block",this.horiz.style.right=n?r+"px":"0",this.horiz.style.left=e.barLeft+"px";var o=e.viewWidth-e.barLeft-(n?r:0);this.horiz.firstChild.style.width=Math.max(0,e.scrollWidth-e.clientWidth+o)+"px"}else this.horiz.style.display="",this.horiz.firstChild.style.width="0";return!this.checkedZeroWidth&&e.clientHeight>0&&(0==r&&this.zeroWidthHack(),this.checkedZeroWidth=!0),{right:n?r:0,bottom:t?r:0}},vi.prototype.setScrollLeft=function(e){this.horiz.scrollLeft!=e&&(this.horiz.scrollLeft=e),this.disableHoriz&&this.enableZeroWidthBar(this.horiz,this.disableHoriz,"horiz")},vi.prototype.setScrollTop=function(e){this.vert.scrollTop!=e&&(this.vert.scrollTop=e),this.disableVert&&this.enableZeroWidthBar(this.vert,this.disableVert,"vert")},vi.prototype.zeroWidthHack=function(){var e=y&&!f?"12px":"18px";this.horiz.style.height=this.vert.style.width=e,this.horiz.style.pointerEvents=this.vert.style.pointerEvents="none",this.disableHoriz=new H,this.disableVert=new H},vi.prototype.enableZeroWidthBar=function(e,t,n){function r(){var i=e.getBoundingClientRect();("vert"==n?document.elementFromPoint(i.right-1,(i.top+i.bottom)/2):document.elementFromPoint((i.right+i.left)/2,i.bottom-1))!=e?e.style.pointerEvents="none":t.set(1e3,r)}e.style.pointerEvents="auto",t.set(1e3,r)},vi.prototype.clear=function(){var e=this.horiz.parentNode;e.removeChild(this.horiz),e.removeChild(this.vert)};var mi=function(){};function yi(e,t){t||(t=gi(e));var n=e.display.barWidth,r=e.display.barHeight;bi(e,t);for(var i=0;i<4&&n!=e.display.barWidth||r!=e.display.barHeight;i++)n!=e.display.barWidth&&e.options.lineWrapping&&Jr(e),bi(e,gi(e)),n=e.display.barWidth,r=e.display.barHeight}function bi(e,t){var n=e.display,r=n.scrollbars.update(t);n.sizer.style.paddingRight=(n.barWidth=r.right)+"px",n.sizer.style.paddingBottom=(n.barHeight=r.bottom)+"px",n.heightForcer.style.borderBottom=r.bottom+"px solid transparent",r.right&&r.bottom?(n.scrollbarFiller.style.display="block",n.scrollbarFiller.style.height=r.bottom+"px",n.scrollbarFiller.style.width=r.right+"px"):n.scrollbarFiller.style.display="",r.bottom&&e.options.coverGutterNextToScrollbar&&e.options.fixedGutter?(n.gutterFiller.style.display="block",n.gutterFiller.style.height=r.bottom+"px",n.gutterFiller.style.width=t.gutterWidth+"px"):n.gutterFiller.style.display=""}mi.prototype.update=function(){return{bottom:0,right:0}},mi.prototype.setScrollLeft=function(){},mi.prototype.setScrollTop=function(){},mi.prototype.clear=function(){};var wi={native:vi,null:mi};function xi(e){e.display.scrollbars&&(e.display.scrollbars.clear(),e.display.scrollbars.addClass&&T(e.display.wrapper,e.display.scrollbars.addClass)),e.display.scrollbars=new wi[e.options.scrollbarStyle]((function(t){e.display.wrapper.insertBefore(t,e.display.scrollbarFiller),pe(t,"mousedown",(function(){e.state.focused&&setTimeout((function(){return e.display.input.focus()}),0)})),t.setAttribute("cm-not-content","true")}),(function(t,n){"horizontal"==n?pi(e,t):di(e,t)}),e),e.display.scrollbars.addClass&&F(e.display.wrapper,e.display.scrollbars.addClass)}var Ci=0;function ki(e){e.curOp={cm:e,viewChanged:!1,startHeight:e.doc.height,forceUpdate:!1,updateInput:0,typing:!1,changeObjs:null,cursorActivityHandlers:null,cursorActivityCalled:0,selectionChanged:!1,updateMaxLine:!1,scrollLeft:null,scrollTop:null,scrollToPos:null,focus:!1,id:++Ci,markArrays:null},Ln(e.curOp)}function Si(e){var t=e.curOp;t&&An(t,(function(e){for(var t=0;t<e.ops.length;t++)e.ops[t].cm.curOp=null;Li(e)}))}function Li(e){for(var t=e.ops,n=0;n<t.length;n++)Ti(t[n]);for(var r=0;r<t.length;r++)Ai(t[r]);for(var i=0;i<t.length;i++)Oi(t[i]);for(var o=0;o<t.length;o++)Mi(t[o]);for(var a=0;a<t.length;a++)Ni(t[a])}function Ti(e){var t=e.cm,n=t.display;Wi(t),e.updateMaxLine&&ln(t),e.mustUpdate=e.viewChanged||e.forceUpdate||null!=e.scrollTop||e.scrollToPos&&(e.scrollToPos.from.line<n.viewFrom||e.scrollToPos.to.line>=n.viewTo)||n.maxLineChanged&&t.options.lineWrapping,e.update=e.mustUpdate&&new Ii(t,e.mustUpdate&&{top:e.scrollTop,ensure:e.scrollToPos},e.forceUpdate)}function Ai(e){e.updatedDisplay=e.mustUpdate&&_i(e.cm,e.update)}function Oi(e){var t=e.cm,n=t.display;e.updatedDisplay&&Jr(t),e.barMeasure=gi(t),n.maxLineChanged&&!t.options.lineWrapping&&(e.adjustWidthTo=er(t,n.maxLine,n.maxLine.text.length).left+3,t.display.sizerWidth=e.adjustWidthTo,e.barMeasure.scrollWidth=Math.max(n.scroller.clientWidth,n.sizer.offsetLeft+e.adjustWidthTo+$n(t)+t.display.barWidth),e.maxScrollLeft=Math.max(0,n.sizer.offsetLeft+e.adjustWidthTo-Xn(t))),(e.updatedDisplay||e.selectionChanged)&&(e.preparedSelection=n.input.prepareSelection())}function Mi(e){var t=e.cm;null!=e.adjustWidthTo&&(t.display.sizer.style.minWidth=e.adjustWidthTo+"px",e.maxScrollLeft<t.doc.scrollLeft&&pi(t,Math.min(t.display.scroller.scrollLeft,e.maxScrollLeft),!0),t.display.maxLineChanged=!1);var n=e.focus&&e.focus==P();e.preparedSelection&&t.display.input.showSelection(e.preparedSelection,n),(e.updatedDisplay||e.startHeight!=t.doc.height)&&yi(t,e.barMeasure),e.updatedDisplay&&Ki(t,e.barMeasure),e.selectionChanged&&$r(t),t.state.focused&&e.updateInput&&t.display.input.reset(e.typing),n&&Xr(e.cm)}function Ni(e){var t=e.cm,n=t.display,r=t.doc;e.updatedDisplay&&zi(t,e.update),null==n.wheelStartX||null==e.scrollTop&&null==e.scrollLeft&&!e.scrollToPos||(n.wheelStartX=n.wheelStartY=null),null!=e.scrollTop&&fi(t,e.scrollTop,e.forceScroll),null!=e.scrollLeft&&pi(t,e.scrollLeft,!0,!0),e.scrollToPos&&ni(t,ri(t,dt(r,e.scrollToPos.from),dt(r,e.scrollToPos.to),e.scrollToPos.margin));var i=e.maybeHiddenMarkers,o=e.maybeUnhiddenMarkers;if(i)for(var a=0;a<i.length;++a)i[a].lines.length||me(i[a],"hide");if(o)for(var s=0;s<o.length;++s)o[s].lines.length&&me(o[s],"unhide");n.wrapper.offsetHeight&&(r.scrollTop=t.display.scroller.scrollTop),e.changeObjs&&me(t,"changes",t,e.changeObjs),e.update&&e.update.finish()}function Ei(e,t){if(e.curOp)return t();ki(e);try{return t()}finally{Si(e)}}function Pi(e,t){return function(){if(e.curOp)return t.apply(e,arguments);ki(e);try{return t.apply(e,arguments)}finally{Si(e)}}}function Fi(e){return function(){if(this.curOp)return e.apply(this,arguments);ki(this);try{return e.apply(this,arguments)}finally{Si(this)}}}function Di(e){return function(){var t=this.cm;if(!t||t.curOp)return e.apply(this,arguments);ki(t);try{return e.apply(this,arguments)}finally{Si(t)}}}function Bi(e,t){e.doc.highlightFrontier<e.display.viewTo&&e.state.highlight.set(t,j(ji,e))}function ji(e){var t=e.doc;if(!(t.highlightFrontier>=e.display.viewTo)){var n=+new Date+e.options.workTime,r=bt(e,t.highlightFrontier),i=[];t.iter(r.line,Math.min(t.first+t.size,e.display.viewTo+500),(function(o){if(r.line>=e.display.viewFrom){var a=o.styles,s=o.text.length>e.options.maxHighlightLength?Ve(t.mode,r.state):null,l=mt(e,o,r,!0);s&&(r.state=s),o.styles=l.styles;var c=o.styleClasses,u=l.classes;u?o.styleClasses=u:c&&(o.styleClasses=null);for(var h=!a||a.length!=o.styles.length||c!=u&&(!c||!u||c.bgClass!=u.bgClass||c.textClass!=u.textClass),d=0;!h&&d<a.length;++d)h=a[d]!=o.styles[d];h&&i.push(r.line),o.stateAfter=r.save(),r.nextLine()}else o.text.length<=e.options.maxHighlightLength&&wt(e,o.text,r),o.stateAfter=r.line%5==0?r.save():null,r.nextLine();if(+new Date>n)return Bi(e,e.options.workDelay),!0})),t.highlightFrontier=r.line,t.modeFrontier=Math.max(t.modeFrontier,r.line),i.length&&Ei(e,(function(){for(var t=0;t<i.length;t++)Wr(e,i[t],"text")}))}}var Ii=function(e,t,n){var r=e.display;this.viewport=t,this.visible=ti(r,e.doc,t),this.editorIsHidden=!r.wrapper.offsetWidth,this.wrapperHeight=r.wrapper.clientHeight,this.wrapperWidth=r.wrapper.clientWidth,this.oldDisplayWidth=Xn(e),this.force=n,this.dims=Er(e),this.events=[]};function Wi(e){var t=e.display;!t.scrollbarsClipped&&t.scroller.offsetWidth&&(t.nativeBarWidth=t.scroller.offsetWidth-t.scroller.clientWidth,t.heightForcer.style.height=$n(e)+"px",t.sizer.style.marginBottom=-t.nativeBarWidth+"px",t.sizer.style.borderRightWidth=$n(e)+"px",t.scrollbarsClipped=!0)}function Hi(e){if(e.hasFocus())return null;var t=P();if(!t||!E(e.display.lineDiv,t))return null;var n={activeElt:t};if(window.getSelection){var r=window.getSelection();r.anchorNode&&r.extend&&E(e.display.lineDiv,r.anchorNode)&&(n.anchorNode=r.anchorNode,n.anchorOffset=r.anchorOffset,n.focusNode=r.focusNode,n.focusOffset=r.focusOffset)}return n}function Ri(e){if(e&&e.activeElt&&e.activeElt!=P()&&(e.activeElt.focus(),!/^(INPUT|TEXTAREA)$/.test(e.activeElt.nodeName)&&e.anchorNode&&E(document.body,e.anchorNode)&&E(document.body,e.focusNode))){var t=window.getSelection(),n=document.createRange();n.setEnd(e.anchorNode,e.anchorOffset),n.collapse(!1),t.removeAllRanges(),t.addRange(n),t.extend(e.focusNode,e.focusOffset)}}function _i(e,t){var n=e.display,r=e.doc;if(t.editorIsHidden)return Hr(e),!1;if(!t.force&&t.visible.from>=n.viewFrom&&t.visible.to<=n.viewTo&&(null==n.updateLineNumbers||n.updateLineNumbers>=n.viewTo)&&n.renderedView==n.view&&0==zr(e))return!1;$i(e)&&(Hr(e),t.dims=Er(e));var i=r.first+r.size,o=Math.max(t.visible.from-e.options.viewportMargin,r.first),a=Math.min(i,t.visible.to+e.options.viewportMargin);n.viewFrom<o&&o-n.viewFrom<20&&(o=Math.max(r.first,n.viewFrom)),n.viewTo>a&&n.viewTo-a<20&&(a=Math.min(i,n.viewTo)),Nt&&(o=tn(e.doc,o),a=nn(e.doc,a));var s=o!=n.viewFrom||a!=n.viewTo||n.lastWrapHeight!=t.wrapperHeight||n.lastWrapWidth!=t.wrapperWidth;_r(e,o,a),n.viewOffset=an(Ze(e.doc,n.viewFrom)),e.display.mover.style.top=n.viewOffset+"px";var l=zr(e);if(!s&&0==l&&!t.force&&n.renderedView==n.view&&(null==n.updateLineNumbers||n.updateLineNumbers>=n.viewTo))return!1;var c=Hi(e);return l>4&&(n.lineDiv.style.display="none"),Ui(e,n.updateLineNumbers,t.dims),l>4&&(n.lineDiv.style.display=""),n.renderedView=n.view,Ri(c),A(n.cursorDiv),A(n.selectionDiv),n.gutters.style.height=n.sizer.style.minHeight=0,s&&(n.lastWrapHeight=t.wrapperHeight,n.lastWrapWidth=t.wrapperWidth,Bi(e,400)),n.updateLineNumbers=null,!0}function zi(e,t){for(var n=t.viewport,r=!0;;r=!1){if(r&&e.options.lineWrapping&&t.oldDisplayWidth!=Xn(e))r&&(t.visible=ti(e.display,e.doc,n));else if(n&&null!=n.top&&(n={top:Math.min(e.doc.height+Kn(e.display)-Yn(e),n.top)}),t.visible=ti(e.display,e.doc,n),t.visible.from>=e.display.viewFrom&&t.visible.to<=e.display.viewTo)break;if(!_i(e,t))break;Jr(e);var i=gi(e);qr(e),yi(e,i),Ki(e,i),t.force=!1}t.signal(e,"update",e),e.display.viewFrom==e.display.reportedViewFrom&&e.display.viewTo==e.display.reportedViewTo||(t.signal(e,"viewportChange",e,e.display.viewFrom,e.display.viewTo),e.display.reportedViewFrom=e.display.viewFrom,e.display.reportedViewTo=e.display.viewTo)}function qi(e,t){var n=new Ii(e,t);if(_i(e,n)){Jr(e),zi(e,n);var r=gi(e);qr(e),yi(e,r),Ki(e,r),n.finish()}}function Ui(e,t,n){var r=e.display,i=e.options.lineNumbers,o=r.lineDiv,a=o.firstChild;function s(t){var n=t.nextSibling;return l&&y&&e.display.currentWheelTarget==t?t.style.display="none":t.parentNode.removeChild(t),n}for(var c=r.view,u=r.viewFrom,h=0;h<c.length;h++){var d=c[h];if(d.hidden);else if(d.node&&d.node.parentNode==o){for(;a!=d.node;)a=s(a);var f=i&&null!=t&&t<=u&&d.lineNumber;d.changes&&(R(d.changes,"gutter")>-1&&(f=!1),En(e,d,u,n)),f&&(A(d.lineNumber),d.lineNumber.appendChild(document.createTextNode(it(e.options,u)))),a=d.node.nextSibling}else{var p=Hn(e,d,u,n);o.insertBefore(p,a)}u+=d.size}for(;a;)a=s(a)}function Gi(e){var t=e.gutters.offsetWidth;e.sizer.style.marginLeft=t+"px",Mn(e,"gutterChanged",e)}function Ki(e,t){e.display.sizer.style.minHeight=t.docHeight+"px",e.display.heightForcer.style.top=t.docHeight+"px",e.display.gutters.style.height=t.docHeight+e.display.barHeight+$n(e)+"px"}function Vi(e){var t=e.display,n=t.view;if(t.alignWidgets||t.gutters.firstChild&&e.options.fixedGutter){for(var r=Pr(t)-t.scroller.scrollLeft+e.doc.scrollLeft,i=t.gutters.offsetWidth,o=r+"px",a=0;a<n.length;a++)if(!n[a].hidden){e.options.fixedGutter&&(n[a].gutter&&(n[a].gutter.style.left=o),n[a].gutterBackground&&(n[a].gutterBackground.style.left=o));var s=n[a].alignable;if(s)for(var l=0;l<s.length;l++)s[l].style.left=o}e.options.fixedGutter&&(t.gutters.style.left=r+i+"px")}}function $i(e){if(!e.options.lineNumbers)return!1;var t=e.doc,n=it(e.options,t.first+t.size-1),r=e.display;if(n.length!=r.lineNumChars){var i=r.measure.appendChild(M("div",[M("div",n)],"CodeMirror-linenumber CodeMirror-gutter-elt")),o=i.firstChild.offsetWidth,a=i.offsetWidth-o;return r.lineGutter.style.width="",r.lineNumInnerWidth=Math.max(o,r.lineGutter.offsetWidth-a)+1,r.lineNumWidth=r.lineNumInnerWidth+a,r.lineNumChars=r.lineNumInnerWidth?n.length:-1,r.lineGutter.style.width=r.lineNumWidth+"px",Gi(e.display),!0}return!1}function Xi(e,t){for(var n=[],r=!1,i=0;i<e.length;i++){var o=e[i],a=null;if("string"!=typeof o&&(a=o.style,o=o.className),"CodeMirror-linenumbers"==o){if(!t)continue;r=!0}n.push({className:o,style:a})}return t&&!r&&n.push({className:"CodeMirror-linenumbers",style:null}),n}function Yi(e){var t=e.gutters,n=e.gutterSpecs;A(t),e.lineGutter=null;for(var r=0;r<n.length;++r){var i=n[r],o=i.className,a=i.style,s=t.appendChild(M("div",null,"CodeMirror-gutter "+o));a&&(s.style.cssText=a),"CodeMirror-linenumbers"==o&&(e.lineGutter=s,s.style.width=(e.lineNumWidth||1)+"px")}t.style.display=n.length?"":"none",Gi(e)}function Zi(e){Yi(e.display),Ir(e),Vi(e)}function Qi(e,t,r,i){var o=this;this.input=r,o.scrollbarFiller=M("div",null,"CodeMirror-scrollbar-filler"),o.scrollbarFiller.setAttribute("cm-not-content","true"),o.gutterFiller=M("div",null,"CodeMirror-gutter-filler"),o.gutterFiller.setAttribute("cm-not-content","true"),o.lineDiv=N("div",null,"CodeMirror-code"),o.selectionDiv=M("div",null,null,"position: relative; z-index: 1"),o.cursorDiv=M("div",null,"CodeMirror-cursors"),o.measure=M("div",null,"CodeMirror-measure"),o.lineMeasure=M("div",null,"CodeMirror-measure"),o.lineSpace=N("div",[o.measure,o.lineMeasure,o.selectionDiv,o.cursorDiv,o.lineDiv],null,"position: relative; outline: none");var c=N("div",[o.lineSpace],"CodeMirror-lines");o.mover=M("div",[c],null,"position: relative"),o.sizer=M("div",[o.mover],"CodeMirror-sizer"),o.sizerWidth=null,o.heightForcer=M("div",null,null,"position: absolute; height: "+_+"px; width: 1px;"),o.gutters=M("div",null,"CodeMirror-gutters"),o.lineGutter=null,o.scroller=M("div",[o.sizer,o.heightForcer,o.gutters],"CodeMirror-scroll"),o.scroller.setAttribute("tabIndex","-1"),o.wrapper=M("div",[o.scrollbarFiller,o.gutterFiller,o.scroller],"CodeMirror"),o.wrapper.setAttribute("translate","no"),a&&s<8&&(o.gutters.style.zIndex=-1,o.scroller.style.paddingRight=0),l||n&&m||(o.scroller.draggable=!0),e&&(e.appendChild?e.appendChild(o.wrapper):e(o.wrapper)),o.viewFrom=o.viewTo=t.first,o.reportedViewFrom=o.reportedViewTo=t.first,o.view=[],o.renderedView=null,o.externalMeasured=null,o.viewOffset=0,o.lastWrapHeight=o.lastWrapWidth=0,o.updateLineNumbers=null,o.nativeBarWidth=o.barHeight=o.barWidth=0,o.scrollbarsClipped=!1,o.lineNumWidth=o.lineNumInnerWidth=o.lineNumChars=null,o.alignWidgets=!1,o.cachedCharWidth=o.cachedTextHeight=o.cachedPaddingH=null,o.maxLine=null,o.maxLineLength=0,o.maxLineChanged=!1,o.wheelDX=o.wheelDY=o.wheelStartX=o.wheelStartY=null,o.shift=!1,o.selForContextMenu=null,o.activeTouch=null,o.gutterSpecs=Xi(i.gutters,i.lineNumbers),Yi(o),r.init(o)}Ii.prototype.signal=function(e,t){we(e,t)&&this.events.push(arguments)},Ii.prototype.finish=function(){for(var e=0;e<this.events.length;e++)me.apply(null,this.events[e])};var Ji=0,eo=null;function to(e){var t=e.wheelDeltaX,n=e.wheelDeltaY;return null==t&&e.detail&&e.axis==e.HORIZONTAL_AXIS&&(t=e.detail),null==n&&e.detail&&e.axis==e.VERTICAL_AXIS?n=e.detail:null==n&&(n=e.wheelDelta),{x:t,y:n}}function no(e){var t=to(e);return t.x*=eo,t.y*=eo,t}function ro(e,t){var r=to(t),i=r.x,o=r.y,a=eo;0===t.deltaMode&&(i=t.deltaX,o=t.deltaY,a=1);var s=e.display,c=s.scroller,u=c.scrollWidth>c.clientWidth,d=c.scrollHeight>c.clientHeight;if(i&&u||o&&d){if(o&&y&&l)e:for(var f=t.target,p=s.view;f!=c;f=f.parentNode)for(var g=0;g<p.length;g++)if(p[g].node==f){e.display.currentWheelTarget=f;break e}if(i&&!n&&!h&&null!=a)return o&&d&&di(e,Math.max(0,c.scrollTop+o*a)),pi(e,Math.max(0,c.scrollLeft+i*a)),(!o||o&&d)&&Ce(t),void(s.wheelStartX=null);if(o&&null!=a){var v=o*a,m=e.doc.scrollTop,b=m+s.wrapper.clientHeight;v<0?m=Math.max(0,m+v-50):b=Math.min(e.doc.height,b+v+50),qi(e,{top:m,bottom:b})}Ji<20&&0!==t.deltaMode&&(null==s.wheelStartX?(s.wheelStartX=c.scrollLeft,s.wheelStartY=c.scrollTop,s.wheelDX=i,s.wheelDY=o,setTimeout((function(){if(null!=s.wheelStartX){var e=c.scrollLeft-s.wheelStartX,t=c.scrollTop-s.wheelStartY,n=t&&s.wheelDY&&t/s.wheelDY||e&&s.wheelDX&&e/s.wheelDX;s.wheelStartX=s.wheelStartY=null,n&&(eo=(eo*Ji+n)/(Ji+1),++Ji)}}),200)):(s.wheelDX+=i,s.wheelDY+=o))}}a?eo=-.53:n?eo=15:u?eo=-.7:d&&(eo=-1/3);var io=function(e,t){this.ranges=e,this.primIndex=t};io.prototype.primary=function(){return this.ranges[this.primIndex]},io.prototype.equals=function(e){if(e==this)return!0;if(e.primIndex!=this.primIndex||e.ranges.length!=this.ranges.length)return!1;for(var t=0;t<this.ranges.length;t++){var n=this.ranges[t],r=e.ranges[t];if(!st(n.anchor,r.anchor)||!st(n.head,r.head))return!1}return!0},io.prototype.deepCopy=function(){for(var e=[],t=0;t<this.ranges.length;t++)e[t]=new oo(lt(this.ranges[t].anchor),lt(this.ranges[t].head));return new io(e,this.primIndex)},io.prototype.somethingSelected=function(){for(var e=0;e<this.ranges.length;e++)if(!this.ranges[e].empty())return!0;return!1},io.prototype.contains=function(e,t){t||(t=e);for(var n=0;n<this.ranges.length;n++){var r=this.ranges[n];if(at(t,r.from())>=0&&at(e,r.to())<=0)return n}return-1};var oo=function(e,t){this.anchor=e,this.head=t};function ao(e,t,n){var r=e&&e.options.selectionsMayTouch,i=t[n];t.sort((function(e,t){return at(e.from(),t.from())})),n=R(t,i);for(var o=1;o<t.length;o++){var a=t[o],s=t[o-1],l=at(s.to(),a.from());if(r&&!a.empty()?l>0:l>=0){var c=ut(s.from(),a.from()),u=ct(s.to(),a.to()),h=s.empty()?a.from()==a.head:s.from()==s.head;o<=n&&--n,t.splice(--o,2,new oo(h?u:c,h?c:u))}}return new io(t,n)}function so(e,t){return new io([new oo(e,t||e)],0)}function lo(e){return e.text?ot(e.from.line+e.text.length-1,X(e.text).length+(1==e.text.length?e.from.ch:0)):e.to}function co(e,t){if(at(e,t.from)<0)return e;if(at(e,t.to)<=0)return lo(t);var n=e.line+t.text.length-(t.to.line-t.from.line)-1,r=e.ch;return e.line==t.to.line&&(r+=lo(t).ch-t.to.ch),ot(n,r)}function uo(e,t){for(var n=[],r=0;r<e.sel.ranges.length;r++){var i=e.sel.ranges[r];n.push(new oo(co(i.anchor,t),co(i.head,t)))}return ao(e.cm,n,e.sel.primIndex)}function ho(e,t,n){return e.line==t.line?ot(n.line,e.ch-t.ch+n.ch):ot(n.line+(e.line-t.line),e.ch)}function fo(e,t,n){for(var r=[],i=ot(e.first,0),o=i,a=0;a<t.length;a++){var s=t[a],l=ho(s.from,i,o),c=ho(lo(s),i,o);if(i=s.to,o=c,"around"==n){var u=e.sel.ranges[a],h=at(u.head,u.anchor)<0;r[a]=new oo(h?c:l,h?l:c)}else r[a]=new oo(l,l)}return new io(r,e.sel.primIndex)}function po(e){e.doc.mode=Ue(e.options,e.doc.modeOption),go(e)}function go(e){e.doc.iter((function(e){e.stateAfter&&(e.stateAfter=null),e.styles&&(e.styles=null)})),e.doc.modeFrontier=e.doc.highlightFrontier=e.doc.first,Bi(e,100),e.state.modeGen++,e.curOp&&Ir(e)}function vo(e,t){return 0==t.from.ch&&0==t.to.ch&&""==X(t.text)&&(!e.cm||e.cm.options.wholeLineUpdateBefore)}function mo(e,t,n,r){function i(e){return n?n[e]:null}function o(e,n,i){un(e,n,i,r),Mn(e,"change",e,t)}function a(e,t){for(var n=[],o=e;o<t;++o)n.push(new cn(c[o],i(o),r));return n}var s=t.from,l=t.to,c=t.text,u=Ze(e,s.line),h=Ze(e,l.line),d=X(c),f=i(c.length-1),p=l.line-s.line;if(t.full)e.insert(0,a(0,c.length)),e.remove(c.length,e.size-c.length);else if(vo(e,t)){var g=a(0,c.length-1);o(h,h.text,f),p&&e.remove(s.line,p),g.length&&e.insert(s.line,g)}else if(u==h)if(1==c.length)o(u,u.text.slice(0,s.ch)+d+u.text.slice(l.ch),f);else{var v=a(1,c.length-1);v.push(new cn(d+u.text.slice(l.ch),f,r)),o(u,u.text.slice(0,s.ch)+c[0],i(0)),e.insert(s.line+1,v)}else if(1==c.length)o(u,u.text.slice(0,s.ch)+c[0]+h.text.slice(l.ch),i(0)),e.remove(s.line+1,p);else{o(u,u.text.slice(0,s.ch)+c[0],i(0)),o(h,d+h.text.slice(l.ch),f);var m=a(1,c.length-1);p>1&&e.remove(s.line+1,p-1),e.insert(s.line+1,m)}Mn(e,"change",e,t)}function yo(e,t,n){function r(e,i,o){if(e.linked)for(var a=0;a<e.linked.length;++a){var s=e.linked[a];if(s.doc!=i){var l=o&&s.sharedHist;n&&!l||(t(s.doc,l),r(s.doc,e,l))}}}r(e,null,!0)}function bo(e,t){if(t.cm)throw new Error("This document is already in use.");e.doc=t,t.cm=e,Dr(e),po(e),wo(e),e.options.direction=t.direction,e.options.lineWrapping||ln(e),e.options.mode=t.modeOption,Ir(e)}function wo(e){("rtl"==e.doc.direction?F:T)(e.display.lineDiv,"CodeMirror-rtl")}function xo(e){Ei(e,(function(){wo(e),Ir(e)}))}function Co(e){this.done=[],this.undone=[],this.undoDepth=e?e.undoDepth:1/0,this.lastModTime=this.lastSelTime=0,this.lastOp=this.lastSelOp=null,this.lastOrigin=this.lastSelOrigin=null,this.generation=this.maxGeneration=e?e.maxGeneration:1}function ko(e,t){var n={from:lt(t.from),to:lo(t),text:Qe(e,t.from,t.to)};return No(e,n,t.from.line,t.to.line+1),yo(e,(function(e){return No(e,n,t.from.line,t.to.line+1)}),!0),n}function So(e){for(;e.length&&X(e).ranges;)e.pop()}function Lo(e,t){return t?(So(e.done),X(e.done)):e.done.length&&!X(e.done).ranges?X(e.done):e.done.length>1&&!e.done[e.done.length-2].ranges?(e.done.pop(),X(e.done)):void 0}function To(e,t,n,r){var i=e.history;i.undone.length=0;var o,a,s=+new Date;if((i.lastOp==r||i.lastOrigin==t.origin&&t.origin&&("+"==t.origin.charAt(0)&&i.lastModTime>s-(e.cm?e.cm.options.historyEventDelay:500)||"*"==t.origin.charAt(0)))&&(o=Lo(i,i.lastOp==r)))a=X(o.changes),0==at(t.from,t.to)&&0==at(t.from,a.to)?a.to=lo(t):o.changes.push(ko(e,t));else{var l=X(i.done);for(l&&l.ranges||Mo(e.sel,i.done),o={changes:[ko(e,t)],generation:i.generation},i.done.push(o);i.done.length>i.undoDepth;)i.done.shift(),i.done[0].ranges||i.done.shift()}i.done.push(n),i.generation=++i.maxGeneration,i.lastModTime=i.lastSelTime=s,i.lastOp=i.lastSelOp=r,i.lastOrigin=i.lastSelOrigin=t.origin,a||me(e,"historyAdded")}function Ao(e,t,n,r){var i=t.charAt(0);return"*"==i||"+"==i&&n.ranges.length==r.ranges.length&&n.somethingSelected()==r.somethingSelected()&&new Date-e.history.lastSelTime<=(e.cm?e.cm.options.historyEventDelay:500)}function Oo(e,t,n,r){var i=e.history,o=r&&r.origin;n==i.lastSelOp||o&&i.lastSelOrigin==o&&(i.lastModTime==i.lastSelTime&&i.lastOrigin==o||Ao(e,o,X(i.done),t))?i.done[i.done.length-1]=t:Mo(t,i.done),i.lastSelTime=+new Date,i.lastSelOrigin=o,i.lastSelOp=n,r&&!1!==r.clearRedo&&So(i.undone)}function Mo(e,t){var n=X(t);n&&n.ranges&&n.equals(e)||t.push(e)}function No(e,t,n,r){var i=t["spans_"+e.id],o=0;e.iter(Math.max(e.first,n),Math.min(e.first+e.size,r),(function(n){n.markedSpans&&((i||(i=t["spans_"+e.id]={}))[o]=n.markedSpans),++o}))}function Eo(e){if(!e)return null;for(var t,n=0;n<e.length;++n)e[n].marker.explicitlyCleared?t||(t=e.slice(0,n)):t&&t.push(e[n]);return t?t.length?t:null:e}function Po(e,t){var n=t["spans_"+e.id];if(!n)return null;for(var r=[],i=0;i<t.text.length;++i)r.push(Eo(n[i]));return r}function Fo(e,t){var n=Po(e,t),r=Ht(e,t);if(!n)return r;if(!r)return n;for(var i=0;i<n.length;++i){var o=n[i],a=r[i];if(o&&a)e:for(var s=0;s<a.length;++s){for(var l=a[s],c=0;c<o.length;++c)if(o[c].marker==l.marker)continue e;o.push(l)}else a&&(n[i]=a)}return n}function Do(e,t,n){for(var r=[],i=0;i<e.length;++i){var o=e[i];if(o.ranges)r.push(n?io.prototype.deepCopy.call(o):o);else{var a=o.changes,s=[];r.push({changes:s});for(var l=0;l<a.length;++l){var c=a[l],u=void 0;if(s.push({from:c.from,to:c.to,text:c.text}),t)for(var h in c)(u=h.match(/^spans_(\d+)$/))&&R(t,Number(u[1]))>-1&&(X(s)[h]=c[h],delete c[h])}}}return r}function Bo(e,t,n,r){if(r){var i=e.anchor;if(n){var o=at(t,i)<0;o!=at(n,i)<0?(i=t,t=n):o!=at(t,n)<0&&(t=n)}return new oo(i,t)}return new oo(n||t,t)}function jo(e,t,n,r,i){null==i&&(i=e.cm&&(e.cm.display.shift||e.extend)),zo(e,new io([Bo(e.sel.primary(),t,n,i)],0),r)}function Io(e,t,n){for(var r=[],i=e.cm&&(e.cm.display.shift||e.extend),o=0;o<e.sel.ranges.length;o++)r[o]=Bo(e.sel.ranges[o],t[o],null,i);zo(e,ao(e.cm,r,e.sel.primIndex),n)}function Wo(e,t,n,r){var i=e.sel.ranges.slice(0);i[t]=n,zo(e,ao(e.cm,i,e.sel.primIndex),r)}function Ho(e,t,n,r){zo(e,so(t,n),r)}function Ro(e,t,n){var r={ranges:t.ranges,update:function(t){this.ranges=[];for(var n=0;n<t.length;n++)this.ranges[n]=new oo(dt(e,t[n].anchor),dt(e,t[n].head))},origin:n&&n.origin};return me(e,"beforeSelectionChange",e,r),e.cm&&me(e.cm,"beforeSelectionChange",e.cm,r),r.ranges!=t.ranges?ao(e.cm,r.ranges,r.ranges.length-1):t}function _o(e,t,n){var r=e.history.done,i=X(r);i&&i.ranges?(r[r.length-1]=t,qo(e,t,n)):zo(e,t,n)}function zo(e,t,n){qo(e,t,n),Oo(e,e.sel,e.cm?e.cm.curOp.id:NaN,n)}function qo(e,t,n){(we(e,"beforeSelectionChange")||e.cm&&we(e.cm,"beforeSelectionChange"))&&(t=Ro(e,t,n));var r=n&&n.bias||(at(t.primary().head,e.sel.primary().head)<0?-1:1);Uo(e,Ko(e,t,r,!0)),n&&!1===n.scroll||!e.cm||"nocursor"==e.cm.getOption("readOnly")||si(e.cm)}function Uo(e,t){t.equals(e.sel)||(e.sel=t,e.cm&&(e.cm.curOp.updateInput=1,e.cm.curOp.selectionChanged=!0,be(e.cm)),Mn(e,"cursorActivity",e))}function Go(e){Uo(e,Ko(e,e.sel,null,!1))}function Ko(e,t,n,r){for(var i,o=0;o<t.ranges.length;o++){var a=t.ranges[o],s=t.ranges.length==e.sel.ranges.length&&e.sel.ranges[o],l=$o(e,a.anchor,s&&s.anchor,n,r),c=$o(e,a.head,s&&s.head,n,r);(i||l!=a.anchor||c!=a.head)&&(i||(i=t.ranges.slice(0,o)),i[o]=new oo(l,c))}return i?ao(e.cm,i,t.primIndex):t}function Vo(e,t,n,r,i){var o=Ze(e,t.line);if(o.markedSpans)for(var a=0;a<o.markedSpans.length;++a){var s=o.markedSpans[a],l=s.marker,c="selectLeft"in l?!l.selectLeft:l.inclusiveLeft,u="selectRight"in l?!l.selectRight:l.inclusiveRight;if((null==s.from||(c?s.from<=t.ch:s.from<t.ch))&&(null==s.to||(u?s.to>=t.ch:s.to>t.ch))){if(i&&(me(l,"beforeCursorEnter"),l.explicitlyCleared)){if(o.markedSpans){--a;continue}break}if(!l.atomic)continue;if(n){var h=l.find(r<0?1:-1),d=void 0;if((r<0?u:c)&&(h=Xo(e,h,-r,h&&h.line==t.line?o:null)),h&&h.line==t.line&&(d=at(h,n))&&(r<0?d<0:d>0))return Vo(e,h,t,r,i)}var f=l.find(r<0?-1:1);return(r<0?c:u)&&(f=Xo(e,f,r,f.line==t.line?o:null)),f?Vo(e,f,t,r,i):null}}return t}function $o(e,t,n,r,i){var o=r||1,a=Vo(e,t,n,o,i)||!i&&Vo(e,t,n,o,!0)||Vo(e,t,n,-o,i)||!i&&Vo(e,t,n,-o,!0);return a||(e.cantEdit=!0,ot(e.first,0))}function Xo(e,t,n,r){return n<0&&0==t.ch?t.line>e.first?dt(e,ot(t.line-1)):null:n>0&&t.ch==(r||Ze(e,t.line)).text.length?t.line<e.first+e.size-1?ot(t.line+1,0):null:new ot(t.line,t.ch+n)}function Yo(e){e.setSelection(ot(e.firstLine(),0),ot(e.lastLine()),q)}function Zo(e,t,n){var r={canceled:!1,from:t.from,to:t.to,text:t.text,origin:t.origin,cancel:function(){return r.canceled=!0}};return n&&(r.update=function(t,n,i,o){t&&(r.from=dt(e,t)),n&&(r.to=dt(e,n)),i&&(r.text=i),void 0!==o&&(r.origin=o)}),me(e,"beforeChange",e,r),e.cm&&me(e.cm,"beforeChange",e.cm,r),r.canceled?(e.cm&&(e.cm.curOp.updateInput=2),null):{from:r.from,to:r.to,text:r.text,origin:r.origin}}function Qo(e,t,n){if(e.cm){if(!e.cm.curOp)return Pi(e.cm,Qo)(e,t,n);if(e.cm.state.suppressEdits)return}if(!(we(e,"beforeChange")||e.cm&&we(e.cm,"beforeChange"))||(t=Zo(e,t,!0))){var r=Mt&&!n&&_t(e,t.from,t.to);if(r)for(var i=r.length-1;i>=0;--i)Jo(e,{from:r[i].from,to:r[i].to,text:i?[""]:t.text,origin:t.origin});else Jo(e,t)}}function Jo(e,t){if(1!=t.text.length||""!=t.text[0]||0!=at(t.from,t.to)){var n=uo(e,t);To(e,t,n,e.cm?e.cm.curOp.id:NaN),na(e,t,n,Ht(e,t));var r=[];yo(e,(function(e,n){n||-1!=R(r,e.history)||(sa(e.history,t),r.push(e.history)),na(e,t,null,Ht(e,t))}))}}function ea(e,t,n){var r=e.cm&&e.cm.state.suppressEdits;if(!r||n){for(var i,o=e.history,a=e.sel,s="undo"==t?o.done:o.undone,l="undo"==t?o.undone:o.done,c=0;c<s.length&&(i=s[c],n?!i.ranges||i.equals(e.sel):i.ranges);c++);if(c!=s.length){for(o.lastOrigin=o.lastSelOrigin=null;;){if(!(i=s.pop()).ranges){if(r)return void s.push(i);break}if(Mo(i,l),n&&!i.equals(e.sel))return void zo(e,i,{clearRedo:!1});a=i}var u=[];Mo(a,l),l.push({changes:u,generation:o.generation}),o.generation=i.generation||++o.maxGeneration;for(var h=we(e,"beforeChange")||e.cm&&we(e.cm,"beforeChange"),d=function(n){var r=i.changes[n];if(r.origin=t,h&&!Zo(e,r,!1))return s.length=0,{};u.push(ko(e,r));var o=n?uo(e,r):X(s);na(e,r,o,Fo(e,r)),!n&&e.cm&&e.cm.scrollIntoView({from:r.from,to:lo(r)});var a=[];yo(e,(function(e,t){t||-1!=R(a,e.history)||(sa(e.history,r),a.push(e.history)),na(e,r,null,Fo(e,r))}))},f=i.changes.length-1;f>=0;--f){var p=d(f);if(p)return p.v}}}}function ta(e,t){if(0!=t&&(e.first+=t,e.sel=new io(Y(e.sel.ranges,(function(e){return new oo(ot(e.anchor.line+t,e.anchor.ch),ot(e.head.line+t,e.head.ch))})),e.sel.primIndex),e.cm)){Ir(e.cm,e.first,e.first-t,t);for(var n=e.cm.display,r=n.viewFrom;r<n.viewTo;r++)Wr(e.cm,r,"gutter")}}function na(e,t,n,r){if(e.cm&&!e.cm.curOp)return Pi(e.cm,na)(e,t,n,r);if(t.to.line<e.first)ta(e,t.text.length-1-(t.to.line-t.from.line));else if(!(t.from.line>e.lastLine())){if(t.from.line<e.first){var i=t.text.length-1-(e.first-t.from.line);ta(e,i),t={from:ot(e.first,0),to:ot(t.to.line+i,t.to.ch),text:[X(t.text)],origin:t.origin}}var o=e.lastLine();t.to.line>o&&(t={from:t.from,to:ot(o,Ze(e,o).text.length),text:[t.text[0]],origin:t.origin}),t.removed=Qe(e,t.from,t.to),n||(n=uo(e,t)),e.cm?ra(e.cm,t,r):mo(e,t,r),qo(e,n,q),e.cantEdit&&$o(e,ot(e.firstLine(),0))&&(e.cantEdit=!1)}}function ra(e,t,n){var r=e.doc,i=e.display,o=t.from,a=t.to,s=!1,l=o.line;e.options.lineWrapping||(l=tt(Qt(Ze(r,o.line))),r.iter(l,a.line+1,(function(e){if(e==i.maxLine)return s=!0,!0}))),r.sel.contains(t.from,t.to)>-1&&be(e),mo(r,t,n,Fr(e)),e.options.lineWrapping||(r.iter(l,o.line+t.text.length,(function(e){var t=sn(e);t>i.maxLineLength&&(i.maxLine=e,i.maxLineLength=t,i.maxLineChanged=!0,s=!1)})),s&&(e.curOp.updateMaxLine=!0)),Ot(r,o.line),Bi(e,400);var c=t.text.length-(a.line-o.line)-1;t.full?Ir(e):o.line!=a.line||1!=t.text.length||vo(e.doc,t)?Ir(e,o.line,a.line+1,c):Wr(e,o.line,"text");var u=we(e,"changes"),h=we(e,"change");if(h||u){var d={from:o,to:a,text:t.text,removed:t.removed,origin:t.origin};h&&Mn(e,"change",e,d),u&&(e.curOp.changeObjs||(e.curOp.changeObjs=[])).push(d)}e.display.selForContextMenu=null}function ia(e,t,n,r,i){var o;r||(r=n),at(r,n)<0&&(n=(o=[r,n])[0],r=o[1]),"string"==typeof t&&(t=e.splitLines(t)),Qo(e,{from:n,to:r,text:t,origin:i})}function oa(e,t,n,r){n<e.line?e.line+=r:t<e.line&&(e.line=t,e.ch=0)}function aa(e,t,n,r){for(var i=0;i<e.length;++i){var o=e[i],a=!0;if(o.ranges){o.copied||((o=e[i]=o.deepCopy()).copied=!0);for(var s=0;s<o.ranges.length;s++)oa(o.ranges[s].anchor,t,n,r),oa(o.ranges[s].head,t,n,r)}else{for(var l=0;l<o.changes.length;++l){var c=o.changes[l];if(n<c.from.line)c.from=ot(c.from.line+r,c.from.ch),c.to=ot(c.to.line+r,c.to.ch);else if(t<=c.to.line){a=!1;break}}a||(e.splice(0,i+1),i=0)}}}function sa(e,t){var n=t.from.line,r=t.to.line,i=t.text.length-(r-n)-1;aa(e.done,n,r,i),aa(e.undone,n,r,i)}function la(e,t,n,r){var i=t,o=t;return"number"==typeof t?o=Ze(e,ht(e,t)):i=tt(t),null==i?null:(r(o,i)&&e.cm&&Wr(e.cm,i,n),o)}function ca(e){this.lines=e,this.parent=null;for(var t=0,n=0;n<e.length;++n)e[n].parent=this,t+=e[n].height;this.height=t}function ua(e){this.children=e;for(var t=0,n=0,r=0;r<e.length;++r){var i=e[r];t+=i.chunkSize(),n+=i.height,i.parent=this}this.size=t,this.height=n,this.parent=null}oo.prototype.from=function(){return ut(this.anchor,this.head)},oo.prototype.to=function(){return ct(this.anchor,this.head)},oo.prototype.empty=function(){return this.head.line==this.anchor.line&&this.head.ch==this.anchor.ch},ca.prototype={chunkSize:function(){return this.lines.length},removeInner:function(e,t){for(var n=e,r=e+t;n<r;++n){var i=this.lines[n];this.height-=i.height,hn(i),Mn(i,"delete")}this.lines.splice(e,t)},collapse:function(e){e.push.apply(e,this.lines)},insertInner:function(e,t,n){this.height+=n,this.lines=this.lines.slice(0,e).concat(t).concat(this.lines.slice(e));for(var r=0;r<t.length;++r)t[r].parent=this},iterN:function(e,t,n){for(var r=e+t;e<r;++e)if(n(this.lines[e]))return!0}},ua.prototype={chunkSize:function(){return this.size},removeInner:function(e,t){this.size-=t;for(var n=0;n<this.children.length;++n){var r=this.children[n],i=r.chunkSize();if(e<i){var o=Math.min(t,i-e),a=r.height;if(r.removeInner(e,o),this.height-=a-r.height,i==o&&(this.children.splice(n--,1),r.parent=null),0==(t-=o))break;e=0}else e-=i}if(this.size-t<25&&(this.children.length>1||!(this.children[0]instanceof ca))){var s=[];this.collapse(s),this.children=[new ca(s)],this.children[0].parent=this}},collapse:function(e){for(var t=0;t<this.children.length;++t)this.children[t].collapse(e)},insertInner:function(e,t,n){this.size+=t.length,this.height+=n;for(var r=0;r<this.children.length;++r){var i=this.children[r],o=i.chunkSize();if(e<=o){if(i.insertInner(e,t,n),i.lines&&i.lines.length>50){for(var a=i.lines.length%25+25,s=a;s<i.lines.length;){var l=new ca(i.lines.slice(s,s+=25));i.height-=l.height,this.children.splice(++r,0,l),l.parent=this}i.lines=i.lines.slice(0,a),this.maybeSpill()}break}e-=o}},maybeSpill:function(){if(!(this.children.length<=10)){var e=this;do{var t=new ua(e.children.splice(e.children.length-5,5));if(e.parent){e.size-=t.size,e.height-=t.height;var n=R(e.parent.children,e);e.parent.children.splice(n+1,0,t)}else{var r=new ua(e.children);r.parent=e,e.children=[r,t],e=r}t.parent=e.parent}while(e.children.length>10);e.parent.maybeSpill()}},iterN:function(e,t,n){for(var r=0;r<this.children.length;++r){var i=this.children[r],o=i.chunkSize();if(e<o){var a=Math.min(t,o-e);if(i.iterN(e,a,n))return!0;if(0==(t-=a))break;e=0}else e-=o}}};var ha=function(e,t,n){if(n)for(var r in n)n.hasOwnProperty(r)&&(this[r]=n[r]);this.doc=e,this.node=t};function da(e,t,n){an(t)<(e.curOp&&e.curOp.scrollTop||e.doc.scrollTop)&&ai(e,n)}function fa(e,t,n,r){var i=new ha(e,n,r),o=e.cm;return o&&i.noHScroll&&(o.display.alignWidgets=!0),la(e,t,"widget",(function(t){var n=t.widgets||(t.widgets=[]);if(null==i.insertAt?n.push(i):n.splice(Math.min(n.length,Math.max(0,i.insertAt)),0,i),i.line=t,o&&!rn(e,t)){var r=an(t)<e.scrollTop;et(t,t.height+qn(i)),r&&ai(o,i.height),o.curOp.forceUpdate=!0}return!0})),o&&Mn(o,"lineWidgetAdded",o,i,"number"==typeof t?t:tt(t)),i}ha.prototype.clear=function(){var e=this.doc.cm,t=this.line.widgets,n=this.line,r=tt(n);if(null!=r&&t){for(var i=0;i<t.length;++i)t[i]==this&&t.splice(i--,1);t.length||(n.widgets=null);var o=qn(this);et(n,Math.max(0,n.height-o)),e&&(Ei(e,(function(){da(e,n,-o),Wr(e,r,"widget")})),Mn(e,"lineWidgetCleared",e,this,r))}},ha.prototype.changed=function(){var e=this,t=this.height,n=this.doc.cm,r=this.line;this.height=null;var i=qn(this)-t;i&&(rn(this.doc,r)||et(r,r.height+i),n&&Ei(n,(function(){n.curOp.forceUpdate=!0,da(n,r,i),Mn(n,"lineWidgetChanged",n,e,tt(r))})))},xe(ha);var pa=0,ga=function(e,t){this.lines=[],this.type=t,this.doc=e,this.id=++pa};function va(e,t,n,r,i){if(r&&r.shared)return ya(e,t,n,r,i);if(e.cm&&!e.cm.curOp)return Pi(e.cm,va)(e,t,n,r,i);var o=new ga(e,i),a=at(t,n);if(r&&I(r,o,!1),a>0||0==a&&!1!==o.clearWhenEmpty)return o;if(o.replacedWith&&(o.collapsed=!0,o.widgetNode=N("span",[o.replacedWith],"CodeMirror-widget"),r.handleMouseEvents||o.widgetNode.setAttribute("cm-ignore-events","true"),r.insertLeft&&(o.widgetNode.insertLeft=!0)),o.collapsed){if(Zt(e,t.line,t,n,o)||t.line!=n.line&&Zt(e,n.line,t,n,o))throw new Error("Inserting collapsed marker partially overlapping an existing one");Pt()}o.addToHistory&&To(e,{from:t,to:n,origin:"markText"},e.sel,NaN);var s,l=t.line,c=e.cm;if(e.iter(l,n.line+1,(function(r){c&&o.collapsed&&!c.options.lineWrapping&&Qt(r)==c.display.maxLine&&(s=!0),o.collapsed&&l!=t.line&&et(r,0),jt(r,new Ft(o,l==t.line?t.ch:null,l==n.line?n.ch:null),e.cm&&e.cm.curOp),++l})),o.collapsed&&e.iter(t.line,n.line+1,(function(t){rn(e,t)&&et(t,0)})),o.clearOnEnter&&pe(o,"beforeCursorEnter",(function(){return o.clear()})),o.readOnly&&(Et(),(e.history.done.length||e.history.undone.length)&&e.clearHistory()),o.collapsed&&(o.id=++pa,o.atomic=!0),c){if(s&&(c.curOp.updateMaxLine=!0),o.collapsed)Ir(c,t.line,n.line+1);else if(o.className||o.startStyle||o.endStyle||o.css||o.attributes||o.title)for(var u=t.line;u<=n.line;u++)Wr(c,u,"text");o.atomic&&Go(c.doc),Mn(c,"markerAdded",c,o)}return o}ga.prototype.clear=function(){if(!this.explicitlyCleared){var e=this.doc.cm,t=e&&!e.curOp;if(t&&ki(e),we(this,"clear")){var n=this.find();n&&Mn(this,"clear",n.from,n.to)}for(var r=null,i=null,o=0;o<this.lines.length;++o){var a=this.lines[o],s=Dt(a.markedSpans,this);e&&!this.collapsed?Wr(e,tt(a),"text"):e&&(null!=s.to&&(i=tt(a)),null!=s.from&&(r=tt(a))),a.markedSpans=Bt(a.markedSpans,s),null==s.from&&this.collapsed&&!rn(this.doc,a)&&e&&et(a,Mr(e.display))}if(e&&this.collapsed&&!e.options.lineWrapping)for(var l=0;l<this.lines.length;++l){var c=Qt(this.lines[l]),u=sn(c);u>e.display.maxLineLength&&(e.display.maxLine=c,e.display.maxLineLength=u,e.display.maxLineChanged=!0)}null!=r&&e&&this.collapsed&&Ir(e,r,i+1),this.lines.length=0,this.explicitlyCleared=!0,this.atomic&&this.doc.cantEdit&&(this.doc.cantEdit=!1,e&&Go(e.doc)),e&&Mn(e,"markerCleared",e,this,r,i),t&&Si(e),this.parent&&this.parent.clear()}},ga.prototype.find=function(e,t){var n,r;null==e&&"bookmark"==this.type&&(e=1);for(var i=0;i<this.lines.length;++i){var o=this.lines[i],a=Dt(o.markedSpans,this);if(null!=a.from&&(n=ot(t?o:tt(o),a.from),-1==e))return n;if(null!=a.to&&(r=ot(t?o:tt(o),a.to),1==e))return r}return n&&{from:n,to:r}},ga.prototype.changed=function(){var e=this,t=this.find(-1,!0),n=this,r=this.doc.cm;t&&r&&Ei(r,(function(){var i=t.line,o=tt(t.line),a=tr(r,o);if(a&&(ur(a),r.curOp.selectionChanged=r.curOp.forceUpdate=!0),r.curOp.updateMaxLine=!0,!rn(n.doc,i)&&null!=n.height){var s=n.height;n.height=null;var l=qn(n)-s;l&&et(i,i.height+l)}Mn(r,"markerChanged",r,e)}))},ga.prototype.attachLine=function(e){if(!this.lines.length&&this.doc.cm){var t=this.doc.cm.curOp;t.maybeHiddenMarkers&&-1!=R(t.maybeHiddenMarkers,this)||(t.maybeUnhiddenMarkers||(t.maybeUnhiddenMarkers=[])).push(this)}this.lines.push(e)},ga.prototype.detachLine=function(e){if(this.lines.splice(R(this.lines,e),1),!this.lines.length&&this.doc.cm){var t=this.doc.cm.curOp;(t.maybeHiddenMarkers||(t.maybeHiddenMarkers=[])).push(this)}},xe(ga);var ma=function(e,t){this.markers=e,this.primary=t;for(var n=0;n<e.length;++n)e[n].parent=this};function ya(e,t,n,r,i){(r=I(r)).shared=!1;var o=[va(e,t,n,r,i)],a=o[0],s=r.widgetNode;return yo(e,(function(e){s&&(r.widgetNode=s.cloneNode(!0)),o.push(va(e,dt(e,t),dt(e,n),r,i));for(var l=0;l<e.linked.length;++l)if(e.linked[l].isParent)return;a=X(o)})),new ma(o,a)}function ba(e){return e.findMarks(ot(e.first,0),e.clipPos(ot(e.lastLine())),(function(e){return e.parent}))}function wa(e,t){for(var n=0;n<t.length;n++){var r=t[n],i=r.find(),o=e.clipPos(i.from),a=e.clipPos(i.to);if(at(o,a)){var s=va(e,o,a,r.primary,r.primary.type);r.markers.push(s),s.parent=r}}}function xa(e){for(var t=function(t){var n=e[t],r=[n.primary.doc];yo(n.primary.doc,(function(e){return r.push(e)}));for(var i=0;i<n.markers.length;i++){var o=n.markers[i];-1==R(r,o.doc)&&(o.parent=null,n.markers.splice(i--,1))}},n=0;n<e.length;n++)t(n)}ma.prototype.clear=function(){if(!this.explicitlyCleared){this.explicitlyCleared=!0;for(var e=0;e<this.markers.length;++e)this.markers[e].clear();Mn(this,"clear")}},ma.prototype.find=function(e,t){return this.primary.find(e,t)},xe(ma);var Ca=0,ka=function(e,t,n,r,i){if(!(this instanceof ka))return new ka(e,t,n,r,i);null==n&&(n=0),ua.call(this,[new ca([new cn("",null)])]),this.first=n,this.scrollTop=this.scrollLeft=0,this.cantEdit=!1,this.cleanGeneration=1,this.modeFrontier=this.highlightFrontier=n;var o=ot(n,0);this.sel=so(o),this.history=new Co(null),this.id=++Ca,this.modeOption=t,this.lineSep=r,this.direction="rtl"==i?"rtl":"ltr",this.extend=!1,"string"==typeof e&&(e=this.splitLines(e)),mo(this,{from:o,to:o,text:e}),zo(this,so(o),q)};ka.prototype=J(ua.prototype,{constructor:ka,iter:function(e,t,n){n?this.iterN(e-this.first,t-e,n):this.iterN(this.first,this.first+this.size,e)},insert:function(e,t){for(var n=0,r=0;r<t.length;++r)n+=t[r].height;this.insertInner(e-this.first,t,n)},remove:function(e,t){this.removeInner(e-this.first,t)},getValue:function(e){var t=Je(this,this.first,this.first+this.size);return!1===e?t:t.join(e||this.lineSeparator())},setValue:Di((function(e){var t=ot(this.first,0),n=this.first+this.size-1;Qo(this,{from:t,to:ot(n,Ze(this,n).text.length),text:this.splitLines(e),origin:"setValue",full:!0},!0),this.cm&&li(this.cm,0,0),zo(this,so(t),q)})),replaceRange:function(e,t,n,r){ia(this,e,t=dt(this,t),n=n?dt(this,n):t,r)},getRange:function(e,t,n){var r=Qe(this,dt(this,e),dt(this,t));return!1===n?r:""===n?r.join(""):r.join(n||this.lineSeparator())},getLine:function(e){var t=this.getLineHandle(e);return t&&t.text},getLineHandle:function(e){if(rt(this,e))return Ze(this,e)},getLineNumber:function(e){return tt(e)},getLineHandleVisualStart:function(e){return"number"==typeof e&&(e=Ze(this,e)),Qt(e)},lineCount:function(){return this.size},firstLine:function(){return this.first},lastLine:function(){return this.first+this.size-1},clipPos:function(e){return dt(this,e)},getCursor:function(e){var t=this.sel.primary();return null==e||"head"==e?t.head:"anchor"==e?t.anchor:"end"==e||"to"==e||!1===e?t.to():t.from()},listSelections:function(){return this.sel.ranges},somethingSelected:function(){return this.sel.somethingSelected()},setCursor:Di((function(e,t,n){Ho(this,dt(this,"number"==typeof e?ot(e,t||0):e),null,n)})),setSelection:Di((function(e,t,n){Ho(this,dt(this,e),dt(this,t||e),n)})),extendSelection:Di((function(e,t,n){jo(this,dt(this,e),t&&dt(this,t),n)})),extendSelections:Di((function(e,t){Io(this,pt(this,e),t)})),extendSelectionsBy:Di((function(e,t){Io(this,pt(this,Y(this.sel.ranges,e)),t)})),setSelections:Di((function(e,t,n){if(e.length){for(var r=[],i=0;i<e.length;i++)r[i]=new oo(dt(this,e[i].anchor),dt(this,e[i].head||e[i].anchor));null==t&&(t=Math.min(e.length-1,this.sel.primIndex)),zo(this,ao(this.cm,r,t),n)}})),addSelection:Di((function(e,t,n){var r=this.sel.ranges.slice(0);r.push(new oo(dt(this,e),dt(this,t||e))),zo(this,ao(this.cm,r,r.length-1),n)})),getSelection:function(e){for(var t,n=this.sel.ranges,r=0;r<n.length;r++){var i=Qe(this,n[r].from(),n[r].to());t=t?t.concat(i):i}return!1===e?t:t.join(e||this.lineSeparator())},getSelections:function(e){for(var t=[],n=this.sel.ranges,r=0;r<n.length;r++){var i=Qe(this,n[r].from(),n[r].to());!1!==e&&(i=i.join(e||this.lineSeparator())),t[r]=i}return t},replaceSelection:function(e,t,n){for(var r=[],i=0;i<this.sel.ranges.length;i++)r[i]=e;this.replaceSelections(r,t,n||"+input")},replaceSelections:Di((function(e,t,n){for(var r=[],i=this.sel,o=0;o<i.ranges.length;o++){var a=i.ranges[o];r[o]={from:a.from(),to:a.to(),text:this.splitLines(e[o]),origin:n}}for(var s=t&&"end"!=t&&fo(this,r,t),l=r.length-1;l>=0;l--)Qo(this,r[l]);s?_o(this,s):this.cm&&si(this.cm)})),undo:Di((function(){ea(this,"undo")})),redo:Di((function(){ea(this,"redo")})),undoSelection:Di((function(){ea(this,"undo",!0)})),redoSelection:Di((function(){ea(this,"redo",!0)})),setExtending:function(e){this.extend=e},getExtending:function(){return this.extend},historySize:function(){for(var e=this.history,t=0,n=0,r=0;r<e.done.length;r++)e.done[r].ranges||++t;for(var i=0;i<e.undone.length;i++)e.undone[i].ranges||++n;return{undo:t,redo:n}},clearHistory:function(){var e=this;this.history=new Co(this.history),yo(this,(function(t){return t.history=e.history}),!0)},markClean:function(){this.cleanGeneration=this.changeGeneration(!0)},changeGeneration:function(e){return e&&(this.history.lastOp=this.history.lastSelOp=this.history.lastOrigin=null),this.history.generation},isClean:function(e){return this.history.generation==(e||this.cleanGeneration)},getHistory:function(){return{done:Do(this.history.done),undone:Do(this.history.undone)}},setHistory:function(e){var t=this.history=new Co(this.history);t.done=Do(e.done.slice(0),null,!0),t.undone=Do(e.undone.slice(0),null,!0)},setGutterMarker:Di((function(e,t,n){return la(this,e,"gutter",(function(e){var r=e.gutterMarkers||(e.gutterMarkers={});return r[t]=n,!n&&re(r)&&(e.gutterMarkers=null),!0}))})),clearGutter:Di((function(e){var t=this;this.iter((function(n){n.gutterMarkers&&n.gutterMarkers[e]&&la(t,n,"gutter",(function(){return n.gutterMarkers[e]=null,re(n.gutterMarkers)&&(n.gutterMarkers=null),!0}))}))})),lineInfo:function(e){var t;if("number"==typeof e){if(!rt(this,e))return null;if(t=e,!(e=Ze(this,e)))return null}else if(null==(t=tt(e)))return null;return{line:t,handle:e,text:e.text,gutterMarkers:e.gutterMarkers,textClass:e.textClass,bgClass:e.bgClass,wrapClass:e.wrapClass,widgets:e.widgets}},addLineClass:Di((function(e,t,n){return la(this,e,"gutter"==t?"gutter":"class",(function(e){var r="text"==t?"textClass":"background"==t?"bgClass":"gutter"==t?"gutterClass":"wrapClass";if(e[r]){if(S(n).test(e[r]))return!1;e[r]+=" "+n}else e[r]=n;return!0}))})),removeLineClass:Di((function(e,t,n){return la(this,e,"gutter"==t?"gutter":"class",(function(e){var r="text"==t?"textClass":"background"==t?"bgClass":"gutter"==t?"gutterClass":"wrapClass",i=e[r];if(!i)return!1;if(null==n)e[r]=null;else{var o=i.match(S(n));if(!o)return!1;var a=o.index+o[0].length;e[r]=i.slice(0,o.index)+(o.index&&a!=i.length?" ":"")+i.slice(a)||null}return!0}))})),addLineWidget:Di((function(e,t,n){return fa(this,e,t,n)})),removeLineWidget:function(e){e.clear()},markText:function(e,t,n){return va(this,dt(this,e),dt(this,t),n,n&&n.type||"range")},setBookmark:function(e,t){var n={replacedWith:t&&(null==t.nodeType?t.widget:t),insertLeft:t&&t.insertLeft,clearWhenEmpty:!1,shared:t&&t.shared,handleMouseEvents:t&&t.handleMouseEvents};return va(this,e=dt(this,e),e,n,"bookmark")},findMarksAt:function(e){var t=[],n=Ze(this,(e=dt(this,e)).line).markedSpans;if(n)for(var r=0;r<n.length;++r){var i=n[r];(null==i.from||i.from<=e.ch)&&(null==i.to||i.to>=e.ch)&&t.push(i.marker.parent||i.marker)}return t},findMarks:function(e,t,n){e=dt(this,e),t=dt(this,t);var r=[],i=e.line;return this.iter(e.line,t.line+1,(function(o){var a=o.markedSpans;if(a)for(var s=0;s<a.length;s++){var l=a[s];null!=l.to&&i==e.line&&e.ch>=l.to||null==l.from&&i!=e.line||null!=l.from&&i==t.line&&l.from>=t.ch||n&&!n(l.marker)||r.push(l.marker.parent||l.marker)}++i})),r},getAllMarks:function(){var e=[];return this.iter((function(t){var n=t.markedSpans;if(n)for(var r=0;r<n.length;++r)null!=n[r].from&&e.push(n[r].marker)})),e},posFromIndex:function(e){var t,n=this.first,r=this.lineSeparator().length;return this.iter((function(i){var o=i.text.length+r;if(o>e)return t=e,!0;e-=o,++n})),dt(this,ot(n,t))},indexFromPos:function(e){var t=(e=dt(this,e)).ch;if(e.line<this.first||e.ch<0)return 0;var n=this.lineSeparator().length;return this.iter(this.first,e.line,(function(e){t+=e.text.length+n})),t},copy:function(e){var t=new ka(Je(this,this.first,this.first+this.size),this.modeOption,this.first,this.lineSep,this.direction);return t.scrollTop=this.scrollTop,t.scrollLeft=this.scrollLeft,t.sel=this.sel,t.extend=!1,e&&(t.history.undoDepth=this.history.undoDepth,t.setHistory(this.getHistory())),t},linkedDoc:function(e){e||(e={});var t=this.first,n=this.first+this.size;null!=e.from&&e.from>t&&(t=e.from),null!=e.to&&e.to<n&&(n=e.to);var r=new ka(Je(this,t,n),e.mode||this.modeOption,t,this.lineSep,this.direction);return e.sharedHist&&(r.history=this.history),(this.linked||(this.linked=[])).push({doc:r,sharedHist:e.sharedHist}),r.linked=[{doc:this,isParent:!0,sharedHist:e.sharedHist}],wa(r,ba(this)),r},unlinkDoc:function(e){if(e instanceof Is&&(e=e.doc),this.linked)for(var t=0;t<this.linked.length;++t)if(this.linked[t].doc==e){this.linked.splice(t,1),e.unlinkDoc(this),xa(ba(this));break}if(e.history==this.history){var n=[e.id];yo(e,(function(e){return n.push(e.id)}),!0),e.history=new Co(null),e.history.done=Do(this.history.done,n),e.history.undone=Do(this.history.undone,n)}},iterLinkedDocs:function(e){yo(this,e)},getMode:function(){return this.mode},getEditor:function(){return this.cm},splitLines:function(e){return this.lineSep?e.split(this.lineSep):De(e)},lineSeparator:function(){return this.lineSep||"\n"},setDirection:Di((function(e){"rtl"!=e&&(e="ltr"),e!=this.direction&&(this.direction=e,this.iter((function(e){return e.order=null})),this.cm&&xo(this.cm))}))}),ka.prototype.eachLine=ka.prototype.iter;var Sa=0;function La(e){var t=this;if(Oa(t),!ye(t,e)&&!Un(t.display,e)){Ce(e),a&&(Sa=+new Date);var n=Br(t,e,!0),r=e.dataTransfer.files;if(n&&!t.isReadOnly())if(r&&r.length&&window.FileReader&&window.File)for(var i=r.length,o=Array(i),s=0,l=function(){++s==i&&Pi(t,(function(){var e={from:n=dt(t.doc,n),to:n,text:t.doc.splitLines(o.filter((function(e){return null!=e})).join(t.doc.lineSeparator())),origin:"paste"};Qo(t.doc,e),_o(t.doc,so(dt(t.doc,n),dt(t.doc,lo(e))))}))()},c=function(e,n){if(t.options.allowDropFileTypes&&-1==R(t.options.allowDropFileTypes,e.type))l();else{var r=new FileReader;r.onerror=function(){return l()},r.onload=function(){var e=r.result;/[\x00-\x08\x0e-\x1f]{2}/.test(e)||(o[n]=e),l()},r.readAsText(e)}},u=0;u<r.length;u++)c(r[u],u);else{if(t.state.draggingText&&t.doc.sel.contains(n)>-1)return t.state.draggingText(e),void setTimeout((function(){return t.display.input.focus()}),20);try{var h=e.dataTransfer.getData("Text");if(h){var d;if(t.state.draggingText&&!t.state.draggingText.copy&&(d=t.listSelections()),qo(t.doc,so(n,n)),d)for(var f=0;f<d.length;++f)ia(t.doc,"",d[f].anchor,d[f].head,"drag");t.replaceSelection(h,"around","paste"),t.display.input.focus()}}catch(e){}}}}function Ta(e,t){if(a&&(!e.state.draggingText||+new Date-Sa<100))Le(t);else if(!ye(e,t)&&!Un(e.display,t)&&(t.dataTransfer.setData("Text",e.getSelection()),t.dataTransfer.effectAllowed="copyMove",t.dataTransfer.setDragImage&&!d)){var n=M("img",null,null,"position: fixed; left: 0; top: 0;");n.src="data:image/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw==",h&&(n.width=n.height=1,e.display.wrapper.appendChild(n),n._top=n.offsetTop),t.dataTransfer.setDragImage(n,0,0),h&&n.parentNode.removeChild(n)}}function Aa(e,t){var n=Br(e,t);if(n){var r=document.createDocumentFragment();Gr(e,n,r),e.display.dragCursor||(e.display.dragCursor=M("div",null,"CodeMirror-cursors CodeMirror-dragcursors"),e.display.lineSpace.insertBefore(e.display.dragCursor,e.display.cursorDiv)),O(e.display.dragCursor,r)}}function Oa(e){e.display.dragCursor&&(e.display.lineSpace.removeChild(e.display.dragCursor),e.display.dragCursor=null)}function Ma(e){if(document.getElementsByClassName){for(var t=document.getElementsByClassName("CodeMirror"),n=[],r=0;r<t.length;r++){var i=t[r].CodeMirror;i&&n.push(i)}n.length&&n[0].operation((function(){for(var t=0;t<n.length;t++)e(n[t])}))}}var Na=!1;function Ea(){Na||(Pa(),Na=!0)}function Pa(){var e;pe(window,"resize",(function(){null==e&&(e=setTimeout((function(){e=null,Ma(Fa)}),100))})),pe(window,"blur",(function(){return Ma(Qr)}))}function Fa(e){var t=e.display;t.cachedCharWidth=t.cachedTextHeight=t.cachedPaddingH=null,t.scrollbarsClipped=!1,e.setSize()}for(var Da={3:"Pause",8:"Backspace",9:"Tab",13:"Enter",16:"Shift",17:"Ctrl",18:"Alt",19:"Pause",20:"CapsLock",27:"Esc",32:"Space",33:"PageUp",34:"PageDown",35:"End",36:"Home",37:"Left",38:"Up",39:"Right",40:"Down",44:"PrintScrn",45:"Insert",46:"Delete",59:";",61:"=",91:"Mod",92:"Mod",93:"Mod",106:"*",107:"=",109:"-",110:".",111:"/",145:"ScrollLock",173:"-",186:";",187:"=",188:",",189:"-",190:".",191:"/",192:"`",219:"[",220:"\\",221:"]",222:"'",224:"Mod",63232:"Up",63233:"Down",63234:"Left",63235:"Right",63272:"Delete",63273:"Home",63275:"End",63276:"PageUp",63277:"PageDown",63302:"Insert"},Ba=0;Ba<10;Ba++)Da[Ba+48]=Da[Ba+96]=String(Ba);for(var ja=65;ja<=90;ja++)Da[ja]=String.fromCharCode(ja);for(var Ia=1;Ia<=12;Ia++)Da[Ia+111]=Da[Ia+63235]="F"+Ia;var Wa={};function Ha(e){var t,n,r,i,o=e.split(/-(?!$)/);e=o[o.length-1];for(var a=0;a<o.length-1;a++){var s=o[a];if(/^(cmd|meta|m)$/i.test(s))i=!0;else if(/^a(lt)?$/i.test(s))t=!0;else if(/^(c|ctrl|control)$/i.test(s))n=!0;else{if(!/^s(hift)?$/i.test(s))throw new Error("Unrecognized modifier name: "+s);r=!0}}return t&&(e="Alt-"+e),n&&(e="Ctrl-"+e),i&&(e="Cmd-"+e),r&&(e="Shift-"+e),e}function Ra(e){var t={};for(var n in e)if(e.hasOwnProperty(n)){var r=e[n];if(/^(name|fallthrough|(de|at)tach)$/.test(n))continue;if("..."==r){delete e[n];continue}for(var i=Y(n.split(" "),Ha),o=0;o<i.length;o++){var a=void 0,s=void 0;o==i.length-1?(s=i.join(" "),a=r):(s=i.slice(0,o+1).join(" "),a="...");var l=t[s];if(l){if(l!=a)throw new Error("Inconsistent bindings for "+s)}else t[s]=a}delete e[n]}for(var c in t)e[c]=t[c];return e}function _a(e,t,n,r){var i=(t=Ga(t)).call?t.call(e,r):t[e];if(!1===i)return"nothing";if("..."===i)return"multi";if(null!=i&&n(i))return"handled";if(t.fallthrough){if("[object Array]"!=Object.prototype.toString.call(t.fallthrough))return _a(e,t.fallthrough,n,r);for(var o=0;o<t.fallthrough.length;o++){var a=_a(e,t.fallthrough[o],n,r);if(a)return a}}}function za(e){var t="string"==typeof e?e:Da[e.keyCode];return"Ctrl"==t||"Alt"==t||"Shift"==t||"Mod"==t}function qa(e,t,n){var r=e;return t.altKey&&"Alt"!=r&&(e="Alt-"+e),(C?t.metaKey:t.ctrlKey)&&"Ctrl"!=r&&(e="Ctrl-"+e),(C?t.ctrlKey:t.metaKey)&&"Mod"!=r&&(e="Cmd-"+e),!n&&t.shiftKey&&"Shift"!=r&&(e="Shift-"+e),e}function Ua(e,t){if(h&&34==e.keyCode&&e.char)return!1;var n=Da[e.keyCode];return null!=n&&!e.altGraphKey&&(3==e.keyCode&&e.code&&(n=e.code),qa(n,e,t))}function Ga(e){return"string"==typeof e?Wa[e]:e}function Ka(e,t){for(var n=e.doc.sel.ranges,r=[],i=0;i<n.length;i++){for(var o=t(n[i]);r.length&&at(o.from,X(r).to)<=0;){var a=r.pop();if(at(a.from,o.from)<0){o.from=a.from;break}}r.push(o)}Ei(e,(function(){for(var t=r.length-1;t>=0;t--)ia(e.doc,"",r[t].from,r[t].to,"+delete");si(e)}))}function Va(e,t,n){var r=ae(e.text,t+n,n);return r<0||r>e.text.length?null:r}function $a(e,t,n){var r=Va(e,t.ch,n);return null==r?null:new ot(t.line,r,n<0?"after":"before")}function Xa(e,t,n,r,i){if(e){"rtl"==t.doc.direction&&(i=-i);var o=de(n,t.doc.direction);if(o){var a,s=i<0?X(o):o[0],l=i<0==(1==s.level)?"after":"before";if(s.level>0||"rtl"==t.doc.direction){var c=nr(t,n);a=i<0?n.text.length-1:0;var u=rr(t,c,a).top;a=se((function(e){return rr(t,c,e).top==u}),i<0==(1==s.level)?s.from:s.to-1,a),"before"==l&&(a=Va(n,a,1))}else a=i<0?s.to:s.from;return new ot(r,a,l)}}return new ot(r,i<0?n.text.length:0,i<0?"before":"after")}function Ya(e,t,n,r){var i=de(t,e.doc.direction);if(!i)return $a(t,n,r);n.ch>=t.text.length?(n.ch=t.text.length,n.sticky="before"):n.ch<=0&&(n.ch=0,n.sticky="after");var o=ue(i,n.ch,n.sticky),a=i[o];if("ltr"==e.doc.direction&&a.level%2==0&&(r>0?a.to>n.ch:a.from<n.ch))return $a(t,n,r);var s,l=function(e,n){return Va(t,e instanceof ot?e.ch:e,n)},c=function(n){return e.options.lineWrapping?(s=s||nr(e,t),Sr(e,t,s,n)):{begin:0,end:t.text.length}},u=c("before"==n.sticky?l(n,-1):n.ch);if("rtl"==e.doc.direction||1==a.level){var h=1==a.level==r<0,d=l(n,h?1:-1);if(null!=d&&(h?d<=a.to&&d<=u.end:d>=a.from&&d>=u.begin)){var f=h?"before":"after";return new ot(n.line,d,f)}}var p=function(e,t,r){for(var o=function(e,t){return t?new ot(n.line,l(e,1),"before"):new ot(n.line,e,"after")};e>=0&&e<i.length;e+=t){var a=i[e],s=t>0==(1!=a.level),c=s?r.begin:l(r.end,-1);if(a.from<=c&&c<a.to)return o(c,s);if(c=s?a.from:l(a.to,-1),r.begin<=c&&c<r.end)return o(c,s)}},g=p(o+r,r,u);if(g)return g;var v=r>0?u.end:l(u.begin,-1);return null==v||r>0&&v==t.text.length||!(g=p(r>0?0:i.length-1,r,c(v)))?null:g}Wa.basic={Left:"goCharLeft",Right:"goCharRight",Up:"goLineUp",Down:"goLineDown",End:"goLineEnd",Home:"goLineStartSmart",PageUp:"goPageUp",PageDown:"goPageDown",Delete:"delCharAfter",Backspace:"delCharBefore","Shift-Backspace":"delCharBefore",Tab:"defaultTab","Shift-Tab":"indentAuto",Enter:"newlineAndIndent",Insert:"toggleOverwrite",Esc:"singleSelection"},Wa.pcDefault={"Ctrl-A":"selectAll","Ctrl-D":"deleteLine","Ctrl-Z":"undo","Shift-Ctrl-Z":"redo","Ctrl-Y":"redo","Ctrl-Home":"goDocStart","Ctrl-End":"goDocEnd","Ctrl-Up":"goLineUp","Ctrl-Down":"goLineDown","Ctrl-Left":"goGroupLeft","Ctrl-Right":"goGroupRight","Alt-Left":"goLineStart","Alt-Right":"goLineEnd","Ctrl-Backspace":"delGroupBefore","Ctrl-Delete":"delGroupAfter","Ctrl-S":"save","Ctrl-F":"find","Ctrl-G":"findNext","Shift-Ctrl-G":"findPrev","Shift-Ctrl-F":"replace","Shift-Ctrl-R":"replaceAll","Ctrl-[":"indentLess","Ctrl-]":"indentMore","Ctrl-U":"undoSelection","Shift-Ctrl-U":"redoSelection","Alt-U":"redoSelection",fallthrough:"basic"},Wa.emacsy={"Ctrl-F":"goCharRight","Ctrl-B":"goCharLeft","Ctrl-P":"goLineUp","Ctrl-N":"goLineDown","Ctrl-A":"goLineStart","Ctrl-E":"goLineEnd","Ctrl-V":"goPageDown","Shift-Ctrl-V":"goPageUp","Ctrl-D":"delCharAfter","Ctrl-H":"delCharBefore","Alt-Backspace":"delWordBefore","Ctrl-K":"killLine","Ctrl-T":"transposeChars","Ctrl-O":"openLine"},Wa.macDefault={"Cmd-A":"selectAll","Cmd-D":"deleteLine","Cmd-Z":"undo","Shift-Cmd-Z":"redo","Cmd-Y":"redo","Cmd-Home":"goDocStart","Cmd-Up":"goDocStart","Cmd-End":"goDocEnd","Cmd-Down":"goDocEnd","Alt-Left":"goGroupLeft","Alt-Right":"goGroupRight","Cmd-Left":"goLineLeft","Cmd-Right":"goLineRight","Alt-Backspace":"delGroupBefore","Ctrl-Alt-Backspace":"delGroupAfter","Alt-Delete":"delGroupAfter","Cmd-S":"save","Cmd-F":"find","Cmd-G":"findNext","Shift-Cmd-G":"findPrev","Cmd-Alt-F":"replace","Shift-Cmd-Alt-F":"replaceAll","Cmd-[":"indentLess","Cmd-]":"indentMore","Cmd-Backspace":"delWrappedLineLeft","Cmd-Delete":"delWrappedLineRight","Cmd-U":"undoSelection","Shift-Cmd-U":"redoSelection","Ctrl-Up":"goDocStart","Ctrl-Down":"goDocEnd",fallthrough:["basic","emacsy"]},Wa.default=y?Wa.macDefault:Wa.pcDefault;var Za={selectAll:Yo,singleSelection:function(e){return e.setSelection(e.getCursor("anchor"),e.getCursor("head"),q)},killLine:function(e){return Ka(e,(function(t){if(t.empty()){var n=Ze(e.doc,t.head.line).text.length;return t.head.ch==n&&t.head.line<e.lastLine()?{from:t.head,to:ot(t.head.line+1,0)}:{from:t.head,to:ot(t.head.line,n)}}return{from:t.from(),to:t.to()}}))},deleteLine:function(e){return Ka(e,(function(t){return{from:ot(t.from().line,0),to:dt(e.doc,ot(t.to().line+1,0))}}))},delLineLeft:function(e){return Ka(e,(function(e){return{from:ot(e.from().line,0),to:e.from()}}))},delWrappedLineLeft:function(e){return Ka(e,(function(t){var n=e.charCoords(t.head,"div").top+5;return{from:e.coordsChar({left:0,top:n},"div"),to:t.from()}}))},delWrappedLineRight:function(e){return Ka(e,(function(t){var n=e.charCoords(t.head,"div").top+5,r=e.coordsChar({left:e.display.lineDiv.offsetWidth+100,top:n},"div");return{from:t.from(),to:r}}))},undo:function(e){return e.undo()},redo:function(e){return e.redo()},undoSelection:function(e){return e.undoSelection()},redoSelection:function(e){return e.redoSelection()},goDocStart:function(e){return e.extendSelection(ot(e.firstLine(),0))},goDocEnd:function(e){return e.extendSelection(ot(e.lastLine()))},goLineStart:function(e){return e.extendSelectionsBy((function(t){return Qa(e,t.head.line)}),{origin:"+move",bias:1})},goLineStartSmart:function(e){return e.extendSelectionsBy((function(t){return es(e,t.head)}),{origin:"+move",bias:1})},goLineEnd:function(e){return e.extendSelectionsBy((function(t){return Ja(e,t.head.line)}),{origin:"+move",bias:-1})},goLineRight:function(e){return e.extendSelectionsBy((function(t){var n=e.cursorCoords(t.head,"div").top+5;return e.coordsChar({left:e.display.lineDiv.offsetWidth+100,top:n},"div")}),G)},goLineLeft:function(e){return e.extendSelectionsBy((function(t){var n=e.cursorCoords(t.head,"div").top+5;return e.coordsChar({left:0,top:n},"div")}),G)},goLineLeftSmart:function(e){return e.extendSelectionsBy((function(t){var n=e.cursorCoords(t.head,"div").top+5,r=e.coordsChar({left:0,top:n},"div");return r.ch<e.getLine(r.line).search(/\S/)?es(e,t.head):r}),G)},goLineUp:function(e){return e.moveV(-1,"line")},goLineDown:function(e){return e.moveV(1,"line")},goPageUp:function(e){return e.moveV(-1,"page")},goPageDown:function(e){return e.moveV(1,"page")},goCharLeft:function(e){return e.moveH(-1,"char")},goCharRight:function(e){return e.moveH(1,"char")},goColumnLeft:function(e){return e.moveH(-1,"column")},goColumnRight:function(e){return e.moveH(1,"column")},goWordLeft:function(e){return e.moveH(-1,"word")},goGroupRight:function(e){return e.moveH(1,"group")},goGroupLeft:function(e){return e.moveH(-1,"group")},goWordRight:function(e){return e.moveH(1,"word")},delCharBefore:function(e){return e.deleteH(-1,"codepoint")},delCharAfter:function(e){return e.deleteH(1,"char")},delWordBefore:function(e){return e.deleteH(-1,"word")},delWordAfter:function(e){return e.deleteH(1,"word")},delGroupBefore:function(e){return e.deleteH(-1,"group")},delGroupAfter:function(e){return e.deleteH(1,"group")},indentAuto:function(e){return e.indentSelection("smart")},indentMore:function(e){return e.indentSelection("add")},indentLess:function(e){return e.indentSelection("subtract")},insertTab:function(e){return e.replaceSelection("\t")},insertSoftTab:function(e){for(var t=[],n=e.listSelections(),r=e.options.tabSize,i=0;i<n.length;i++){var o=n[i].from(),a=W(e.getLine(o.line),o.ch,r);t.push($(r-a%r))}e.replaceSelections(t)},defaultTab:function(e){e.somethingSelected()?e.indentSelection("add"):e.execCommand("insertTab")},transposeChars:function(e){return Ei(e,(function(){for(var t=e.listSelections(),n=[],r=0;r<t.length;r++)if(t[r].empty()){var i=t[r].head,o=Ze(e.doc,i.line).text;if(o)if(i.ch==o.length&&(i=new ot(i.line,i.ch-1)),i.ch>0)i=new ot(i.line,i.ch+1),e.replaceRange(o.charAt(i.ch-1)+o.charAt(i.ch-2),ot(i.line,i.ch-2),i,"+transpose");else if(i.line>e.doc.first){var a=Ze(e.doc,i.line-1).text;a&&(i=new ot(i.line,1),e.replaceRange(o.charAt(0)+e.doc.lineSeparator()+a.charAt(a.length-1),ot(i.line-1,a.length-1),i,"+transpose"))}n.push(new oo(i,i))}e.setSelections(n)}))},newlineAndIndent:function(e){return Ei(e,(function(){for(var t=e.listSelections(),n=t.length-1;n>=0;n--)e.replaceRange(e.doc.lineSeparator(),t[n].anchor,t[n].head,"+input");t=e.listSelections();for(var r=0;r<t.length;r++)e.indentLine(t[r].from().line,null,!0);si(e)}))},openLine:function(e){return e.replaceSelection("\n","start")},toggleOverwrite:function(e){return e.toggleOverwrite()}};function Qa(e,t){var n=Ze(e.doc,t),r=Qt(n);return r!=n&&(t=tt(r)),Xa(!0,e,r,t,1)}function Ja(e,t){var n=Ze(e.doc,t),r=Jt(n);return r!=n&&(t=tt(r)),Xa(!0,e,n,t,-1)}function es(e,t){var n=Qa(e,t.line),r=Ze(e.doc,n.line),i=de(r,e.doc.direction);if(!i||0==i[0].level){var o=Math.max(n.ch,r.text.search(/\S/)),a=t.line==n.line&&t.ch<=o&&t.ch;return ot(n.line,a?0:o,n.sticky)}return n}function ts(e,t,n){if("string"==typeof t&&!(t=Za[t]))return!1;e.display.input.ensurePolled();var r=e.display.shift,i=!1;try{e.isReadOnly()&&(e.state.suppressEdits=!0),n&&(e.display.shift=!1),i=t(e)!=z}finally{e.display.shift=r,e.state.suppressEdits=!1}return i}function ns(e,t,n){for(var r=0;r<e.state.keyMaps.length;r++){var i=_a(t,e.state.keyMaps[r],n,e);if(i)return i}return e.options.extraKeys&&_a(t,e.options.extraKeys,n,e)||_a(t,e.options.keyMap,n,e)}var rs=new H;function is(e,t,n,r){var i=e.state.keySeq;if(i){if(za(t))return"handled";if(/\'$/.test(t)?e.state.keySeq=null:rs.set(50,(function(){e.state.keySeq==i&&(e.state.keySeq=null,e.display.input.reset())})),os(e,i+" "+t,n,r))return!0}return os(e,t,n,r)}function os(e,t,n,r){var i=ns(e,t,r);return"multi"==i&&(e.state.keySeq=t),"handled"==i&&Mn(e,"keyHandled",e,t,n),"handled"!=i&&"multi"!=i||(Ce(n),$r(e)),!!i}function as(e,t){var n=Ua(t,!0);return!!n&&(t.shiftKey&&!e.state.keySeq?is(e,"Shift-"+n,t,(function(t){return ts(e,t,!0)}))||is(e,n,t,(function(t){if("string"==typeof t?/^go[A-Z]/.test(t):t.motion)return ts(e,t)})):is(e,n,t,(function(t){return ts(e,t)})))}function ss(e,t,n){return is(e,"'"+n+"'",t,(function(t){return ts(e,t,!0)}))}var ls=null;function cs(e){var t=this;if(!(e.target&&e.target!=t.display.input.getField()||(t.curOp.focus=P(),ye(t,e)))){a&&s<11&&27==e.keyCode&&(e.returnValue=!1);var r=e.keyCode;t.display.shift=16==r||e.shiftKey;var i=as(t,e);h&&(ls=i?r:null,i||88!=r||je||!(y?e.metaKey:e.ctrlKey)||t.replaceSelection("",null,"cut")),n&&!y&&!i&&46==r&&e.shiftKey&&!e.ctrlKey&&document.execCommand&&document.execCommand("cut"),18!=r||/\bCodeMirror-crosshair\b/.test(t.display.lineDiv.className)||us(t)}}function us(e){var t=e.display.lineDiv;function n(e){18!=e.keyCode&&e.altKey||(T(t,"CodeMirror-crosshair"),ve(document,"keyup",n),ve(document,"mouseover",n))}F(t,"CodeMirror-crosshair"),pe(document,"keyup",n),pe(document,"mouseover",n)}function hs(e){16==e.keyCode&&(this.doc.sel.shift=!1),ye(this,e)}function ds(e){var t=this;if(!(e.target&&e.target!=t.display.input.getField()||Un(t.display,e)||ye(t,e)||e.ctrlKey&&!e.altKey||y&&e.metaKey)){var n=e.keyCode,r=e.charCode;if(h&&n==ls)return ls=null,void Ce(e);if(!h||e.which&&!(e.which<10)||!as(t,e)){var i=String.fromCharCode(null==r?n:r);"\b"!=i&&(ss(t,e,i)||t.display.input.onKeyPress(e))}}}var fs,ps,gs=400,vs=function(e,t,n){this.time=e,this.pos=t,this.button=n};function ms(e,t){var n=+new Date;return ps&&ps.compare(n,e,t)?(fs=ps=null,"triple"):fs&&fs.compare(n,e,t)?(ps=new vs(n,e,t),fs=null,"double"):(fs=new vs(n,e,t),ps=null,"single")}function ys(e){var t=this,n=t.display;if(!(ye(t,e)||n.activeTouch&&n.input.supportsTouch()))if(n.input.ensurePolled(),n.shift=e.shiftKey,Un(n,e))l||(n.scroller.draggable=!1,setTimeout((function(){return n.scroller.draggable=!0}),100));else if(!As(t,e)){var r=Br(t,e),i=Ae(e),o=r?ms(r,i):"single";window.focus(),1==i&&t.state.selectingText&&t.state.selectingText(e),r&&bs(t,i,r,o,e)||(1==i?r?xs(t,r,o,e):Te(e)==n.scroller&&Ce(e):2==i?(r&&jo(t.doc,r),setTimeout((function(){return n.input.focus()}),20)):3==i&&(k?t.display.input.onContextMenu(e):Yr(t)))}}function bs(e,t,n,r,i){var o="Click";return"double"==r?o="Double"+o:"triple"==r&&(o="Triple"+o),is(e,qa(o=(1==t?"Left":2==t?"Middle":"Right")+o,i),i,(function(t){if("string"==typeof t&&(t=Za[t]),!t)return!1;var r=!1;try{e.isReadOnly()&&(e.state.suppressEdits=!0),r=t(e,n)!=z}finally{e.state.suppressEdits=!1}return r}))}function ws(e,t,n){var r=e.getOption("configureMouse"),i=r?r(e,t,n):{};if(null==i.unit){var o=b?n.shiftKey&&n.metaKey:n.altKey;i.unit=o?"rectangle":"single"==t?"char":"double"==t?"word":"line"}return(null==i.extend||e.doc.extend)&&(i.extend=e.doc.extend||n.shiftKey),null==i.addNew&&(i.addNew=y?n.metaKey:n.ctrlKey),null==i.moveOnDrag&&(i.moveOnDrag=!(y?n.altKey:n.ctrlKey)),i}function xs(e,t,n,r){a?setTimeout(j(Xr,e),0):e.curOp.focus=P();var i,o=ws(e,n,r),s=e.doc.sel;e.options.dragDrop&&Ne&&!e.isReadOnly()&&"single"==n&&(i=s.contains(t))>-1&&(at((i=s.ranges[i]).from(),t)<0||t.xRel>0)&&(at(i.to(),t)>0||t.xRel<0)?Cs(e,r,t,o):Ss(e,r,t,o)}function Cs(e,t,n,r){var i=e.display,o=!1,c=Pi(e,(function(t){l&&(i.scroller.draggable=!1),e.state.draggingText=!1,e.state.delayingBlurEvent&&(e.hasFocus()?e.state.delayingBlurEvent=!1:Yr(e)),ve(i.wrapper.ownerDocument,"mouseup",c),ve(i.wrapper.ownerDocument,"mousemove",u),ve(i.scroller,"dragstart",h),ve(i.scroller,"drop",c),o||(Ce(t),r.addNew||jo(e.doc,n,null,null,r.extend),l&&!d||a&&9==s?setTimeout((function(){i.wrapper.ownerDocument.body.focus({preventScroll:!0}),i.input.focus()}),20):i.input.focus())})),u=function(e){o=o||Math.abs(t.clientX-e.clientX)+Math.abs(t.clientY-e.clientY)>=10},h=function(){return o=!0};l&&(i.scroller.draggable=!0),e.state.draggingText=c,c.copy=!r.moveOnDrag,pe(i.wrapper.ownerDocument,"mouseup",c),pe(i.wrapper.ownerDocument,"mousemove",u),pe(i.scroller,"dragstart",h),pe(i.scroller,"drop",c),e.state.delayingBlurEvent=!0,setTimeout((function(){return i.input.focus()}),20),i.scroller.dragDrop&&i.scroller.dragDrop()}function ks(e,t,n){if("char"==n)return new oo(t,t);if("word"==n)return e.findWordAt(t);if("line"==n)return new oo(ot(t.line,0),dt(e.doc,ot(t.line+1,0)));var r=n(e,t);return new oo(r.from,r.to)}function Ss(e,t,n,r){a&&Yr(e);var i=e.display,o=e.doc;Ce(t);var s,l,c=o.sel,u=c.ranges;if(r.addNew&&!r.extend?(l=o.sel.contains(n),s=l>-1?u[l]:new oo(n,n)):(s=o.sel.primary(),l=o.sel.primIndex),"rectangle"==r.unit)r.addNew||(s=new oo(n,n)),n=Br(e,t,!0,!0),l=-1;else{var h=ks(e,n,r.unit);s=r.extend?Bo(s,h.anchor,h.head,r.extend):h}r.addNew?-1==l?(l=u.length,zo(o,ao(e,u.concat([s]),l),{scroll:!1,origin:"*mouse"})):u.length>1&&u[l].empty()&&"char"==r.unit&&!r.extend?(zo(o,ao(e,u.slice(0,l).concat(u.slice(l+1)),0),{scroll:!1,origin:"*mouse"}),c=o.sel):Wo(o,l,s,U):(l=0,zo(o,new io([s],0),U),c=o.sel);var d=n;function f(t){if(0!=at(d,t))if(d=t,"rectangle"==r.unit){for(var i=[],a=e.options.tabSize,u=W(Ze(o,n.line).text,n.ch,a),h=W(Ze(o,t.line).text,t.ch,a),f=Math.min(u,h),p=Math.max(u,h),g=Math.min(n.line,t.line),v=Math.min(e.lastLine(),Math.max(n.line,t.line));g<=v;g++){var m=Ze(o,g).text,y=K(m,f,a);f==p?i.push(new oo(ot(g,y),ot(g,y))):m.length>y&&i.push(new oo(ot(g,y),ot(g,K(m,p,a))))}i.length||i.push(new oo(n,n)),zo(o,ao(e,c.ranges.slice(0,l).concat(i),l),{origin:"*mouse",scroll:!1}),e.scrollIntoView(t)}else{var b,w=s,x=ks(e,t,r.unit),C=w.anchor;at(x.anchor,C)>0?(b=x.head,C=ut(w.from(),x.anchor)):(b=x.anchor,C=ct(w.to(),x.head));var k=c.ranges.slice(0);k[l]=Ls(e,new oo(dt(o,C),b)),zo(o,ao(e,k,l),U)}}var p=i.wrapper.getBoundingClientRect(),g=0;function v(t){var n=++g,a=Br(e,t,!0,"rectangle"==r.unit);if(a)if(0!=at(a,d)){e.curOp.focus=P(),f(a);var s=ti(i,o);(a.line>=s.to||a.line<s.from)&&setTimeout(Pi(e,(function(){g==n&&v(t)})),150)}else{var l=t.clientY<p.top?-20:t.clientY>p.bottom?20:0;l&&setTimeout(Pi(e,(function(){g==n&&(i.scroller.scrollTop+=l,v(t))})),50)}}function m(t){e.state.selectingText=!1,g=1/0,t&&(Ce(t),i.input.focus()),ve(i.wrapper.ownerDocument,"mousemove",y),ve(i.wrapper.ownerDocument,"mouseup",b),o.history.lastSelOrigin=null}var y=Pi(e,(function(e){0!==e.buttons&&Ae(e)?v(e):m(e)})),b=Pi(e,m);e.state.selectingText=b,pe(i.wrapper.ownerDocument,"mousemove",y),pe(i.wrapper.ownerDocument,"mouseup",b)}function Ls(e,t){var n=t.anchor,r=t.head,i=Ze(e.doc,n.line);if(0==at(n,r)&&n.sticky==r.sticky)return t;var o=de(i);if(!o)return t;var a=ue(o,n.ch,n.sticky),s=o[a];if(s.from!=n.ch&&s.to!=n.ch)return t;var l,c=a+(s.from==n.ch==(1!=s.level)?0:1);if(0==c||c==o.length)return t;if(r.line!=n.line)l=(r.line-n.line)*("ltr"==e.doc.direction?1:-1)>0;else{var u=ue(o,r.ch,r.sticky),h=u-a||(r.ch-n.ch)*(1==s.level?-1:1);l=u==c-1||u==c?h<0:h>0}var d=o[c+(l?-1:0)],f=l==(1==d.level),p=f?d.from:d.to,g=f?"after":"before";return n.ch==p&&n.sticky==g?t:new oo(new ot(n.line,p,g),r)}function Ts(e,t,n,r){var i,o;if(t.touches)i=t.touches[0].clientX,o=t.touches[0].clientY;else try{i=t.clientX,o=t.clientY}catch(e){return!1}if(i>=Math.floor(e.display.gutters.getBoundingClientRect().right))return!1;r&&Ce(t);var a=e.display,s=a.lineDiv.getBoundingClientRect();if(o>s.bottom||!we(e,n))return Se(t);o-=s.top-a.viewOffset;for(var l=0;l<e.display.gutterSpecs.length;++l){var c=a.gutters.childNodes[l];if(c&&c.getBoundingClientRect().right>=i)return me(e,n,e,nt(e.doc,o),e.display.gutterSpecs[l].className,t),Se(t)}}function As(e,t){return Ts(e,t,"gutterClick",!0)}function Os(e,t){Un(e.display,t)||Ms(e,t)||ye(e,t,"contextmenu")||k||e.display.input.onContextMenu(t)}function Ms(e,t){return!!we(e,"gutterContextMenu")&&Ts(e,t,"gutterContextMenu",!1)}function Ns(e){e.display.wrapper.className=e.display.wrapper.className.replace(/\s*cm-s-\S+/g,"")+e.options.theme.replace(/(^|\s)\s*/g," cm-s-"),dr(e)}vs.prototype.compare=function(e,t,n){return this.time+gs>e&&0==at(t,this.pos)&&n==this.button};var Es={toString:function(){return"CodeMirror.Init"}},Ps={},Fs={};function Ds(e){var t=e.optionHandlers;function n(n,r,i,o){e.defaults[n]=r,i&&(t[n]=o?function(e,t,n){n!=Es&&i(e,t,n)}:i)}e.defineOption=n,e.Init=Es,n("value","",(function(e,t){return e.setValue(t)}),!0),n("mode",null,(function(e,t){e.doc.modeOption=t,po(e)}),!0),n("indentUnit",2,po,!0),n("indentWithTabs",!1),n("smartIndent",!0),n("tabSize",4,(function(e){go(e),dr(e),Ir(e)}),!0),n("lineSeparator",null,(function(e,t){if(e.doc.lineSep=t,t){var n=[],r=e.doc.first;e.doc.iter((function(e){for(var i=0;;){var o=e.text.indexOf(t,i);if(-1==o)break;i=o+t.length,n.push(ot(r,o))}r++}));for(var i=n.length-1;i>=0;i--)ia(e.doc,t,n[i],ot(n[i].line,n[i].ch+t.length))}})),n("specialChars",/[\u0000-\u001f\u007f-\u009f\u00ad\u061c\u200b\u200e\u200f\u2028\u2029\ufeff\ufff9-\ufffc]/g,(function(e,t,n){e.state.specialChars=new RegExp(t.source+(t.test("\t")?"":"|\t"),"g"),n!=Es&&e.refresh()})),n("specialCharPlaceholder",vn,(function(e){return e.refresh()}),!0),n("electricChars",!0),n("inputStyle",m?"contenteditable":"textarea",(function(){throw new Error("inputStyle can not (yet) be changed in a running editor")}),!0),n("spellcheck",!1,(function(e,t){return e.getInputField().spellcheck=t}),!0),n("autocorrect",!1,(function(e,t){return e.getInputField().autocorrect=t}),!0),n("autocapitalize",!1,(function(e,t){return e.getInputField().autocapitalize=t}),!0),n("rtlMoveVisually",!w),n("wholeLineUpdateBefore",!0),n("theme","default",(function(e){Ns(e),Zi(e)}),!0),n("keyMap","default",(function(e,t,n){var r=Ga(t),i=n!=Es&&Ga(n);i&&i.detach&&i.detach(e,r),r.attach&&r.attach(e,i||null)})),n("extraKeys",null),n("configureMouse",null),n("lineWrapping",!1,js,!0),n("gutters",[],(function(e,t){e.display.gutterSpecs=Xi(t,e.options.lineNumbers),Zi(e)}),!0),n("fixedGutter",!0,(function(e,t){e.display.gutters.style.left=t?Pr(e.display)+"px":"0",e.refresh()}),!0),n("coverGutterNextToScrollbar",!1,(function(e){return yi(e)}),!0),n("scrollbarStyle","native",(function(e){xi(e),yi(e),e.display.scrollbars.setScrollTop(e.doc.scrollTop),e.display.scrollbars.setScrollLeft(e.doc.scrollLeft)}),!0),n("lineNumbers",!1,(function(e,t){e.display.gutterSpecs=Xi(e.options.gutters,t),Zi(e)}),!0),n("firstLineNumber",1,Zi,!0),n("lineNumberFormatter",(function(e){return e}),Zi,!0),n("showCursorWhenSelecting",!1,qr,!0),n("resetSelectionOnContextMenu",!0),n("lineWiseCopyCut",!0),n("pasteLinesPerSelection",!0),n("selectionsMayTouch",!1),n("readOnly",!1,(function(e,t){"nocursor"==t&&(Qr(e),e.display.input.blur()),e.display.input.readOnlyChanged(t)})),n("screenReaderLabel",null,(function(e,t){t=""===t?null:t,e.display.input.screenReaderLabelChanged(t)})),n("disableInput",!1,(function(e,t){t||e.display.input.reset()}),!0),n("dragDrop",!0,Bs),n("allowDropFileTypes",null),n("cursorBlinkRate",530),n("cursorScrollMargin",0),n("cursorHeight",1,qr,!0),n("singleCursorHeightPerLine",!0,qr,!0),n("workTime",100),n("workDelay",100),n("flattenSpans",!0,go,!0),n("addModeClass",!1,go,!0),n("pollInterval",100),n("undoDepth",200,(function(e,t){return e.doc.history.undoDepth=t})),n("historyEventDelay",1250),n("viewportMargin",10,(function(e){return e.refresh()}),!0),n("maxHighlightLength",1e4,go,!0),n("moveInputWithCursor",!0,(function(e,t){t||e.display.input.resetPosition()})),n("tabindex",null,(function(e,t){return e.display.input.getField().tabIndex=t||""})),n("autofocus",null),n("direction","ltr",(function(e,t){return e.doc.setDirection(t)}),!0),n("phrases",null)}function Bs(e,t,n){if(!t!=!(n&&n!=Es)){var r=e.display.dragFunctions,i=t?pe:ve;i(e.display.scroller,"dragstart",r.start),i(e.display.scroller,"dragenter",r.enter),i(e.display.scroller,"dragover",r.over),i(e.display.scroller,"dragleave",r.leave),i(e.display.scroller,"drop",r.drop)}}function js(e){e.options.lineWrapping?(F(e.display.wrapper,"CodeMirror-wrap"),e.display.sizer.style.minWidth="",e.display.sizerWidth=null):(T(e.display.wrapper,"CodeMirror-wrap"),ln(e)),Dr(e),Ir(e),dr(e),setTimeout((function(){return yi(e)}),100)}function Is(e,t){var n=this;if(!(this instanceof Is))return new Is(e,t);this.options=t=t?I(t):{},I(Ps,t,!1);var r=t.value;"string"==typeof r?r=new ka(r,t.mode,null,t.lineSeparator,t.direction):t.mode&&(r.modeOption=t.mode),this.doc=r;var i=new Is.inputStyles[t.inputStyle](this),o=this.display=new Qi(e,r,i,t);for(var c in o.wrapper.CodeMirror=this,Ns(this),t.lineWrapping&&(this.display.wrapper.className+=" CodeMirror-wrap"),xi(this),this.state={keyMaps:[],overlays:[],modeGen:0,overwrite:!1,delayingBlurEvent:!1,focused:!1,suppressEdits:!1,pasteIncoming:-1,cutIncoming:-1,selectingText:!1,draggingText:!1,highlight:new H,keySeq:null,specialChars:null},t.autofocus&&!m&&o.input.focus(),a&&s<11&&setTimeout((function(){return n.display.input.reset(!0)}),20),Ws(this),Ea(),ki(this),this.curOp.forceUpdate=!0,bo(this,r),t.autofocus&&!m||this.hasFocus()?setTimeout((function(){n.hasFocus()&&!n.state.focused&&Zr(n)}),20):Qr(this),Fs)Fs.hasOwnProperty(c)&&Fs[c](this,t[c],Es);$i(this),t.finishInit&&t.finishInit(this);for(var u=0;u<Hs.length;++u)Hs[u](this);Si(this),l&&t.lineWrapping&&"optimizelegibility"==getComputedStyle(o.lineDiv).textRendering&&(o.lineDiv.style.textRendering="auto")}function Ws(e){var t=e.display;pe(t.scroller,"mousedown",Pi(e,ys)),pe(t.scroller,"dblclick",a&&s<11?Pi(e,(function(t){if(!ye(e,t)){var n=Br(e,t);if(n&&!As(e,t)&&!Un(e.display,t)){Ce(t);var r=e.findWordAt(n);jo(e.doc,r.anchor,r.head)}}})):function(t){return ye(e,t)||Ce(t)}),pe(t.scroller,"contextmenu",(function(t){return Os(e,t)})),pe(t.input.getField(),"contextmenu",(function(n){t.scroller.contains(n.target)||Os(e,n)}));var n,r={end:0};function i(){t.activeTouch&&(n=setTimeout((function(){return t.activeTouch=null}),1e3),(r=t.activeTouch).end=+new Date)}function o(e){if(1!=e.touches.length)return!1;var t=e.touches[0];return t.radiusX<=1&&t.radiusY<=1}function l(e,t){if(null==t.left)return!0;var n=t.left-e.left,r=t.top-e.top;return n*n+r*r>400}pe(t.scroller,"touchstart",(function(i){if(!ye(e,i)&&!o(i)&&!As(e,i)){t.input.ensurePolled(),clearTimeout(n);var a=+new Date;t.activeTouch={start:a,moved:!1,prev:a-r.end<=300?r:null},1==i.touches.length&&(t.activeTouch.left=i.touches[0].pageX,t.activeTouch.top=i.touches[0].pageY)}})),pe(t.scroller,"touchmove",(function(){t.activeTouch&&(t.activeTouch.moved=!0)})),pe(t.scroller,"touchend",(function(n){var r=t.activeTouch;if(r&&!Un(t,n)&&null!=r.left&&!r.moved&&new Date-r.start<300){var o,a=e.coordsChar(t.activeTouch,"page");o=!r.prev||l(r,r.prev)?new oo(a,a):!r.prev.prev||l(r,r.prev.prev)?e.findWordAt(a):new oo(ot(a.line,0),dt(e.doc,ot(a.line+1,0))),e.setSelection(o.anchor,o.head),e.focus(),Ce(n)}i()})),pe(t.scroller,"touchcancel",i),pe(t.scroller,"scroll",(function(){t.scroller.clientHeight&&(di(e,t.scroller.scrollTop),pi(e,t.scroller.scrollLeft,!0),me(e,"scroll",e))})),pe(t.scroller,"mousewheel",(function(t){return ro(e,t)})),pe(t.scroller,"DOMMouseScroll",(function(t){return ro(e,t)})),pe(t.wrapper,"scroll",(function(){return t.wrapper.scrollTop=t.wrapper.scrollLeft=0})),t.dragFunctions={enter:function(t){ye(e,t)||Le(t)},over:function(t){ye(e,t)||(Aa(e,t),Le(t))},start:function(t){return Ta(e,t)},drop:Pi(e,La),leave:function(t){ye(e,t)||Oa(e)}};var c=t.input.getField();pe(c,"keyup",(function(t){return hs.call(e,t)})),pe(c,"keydown",Pi(e,cs)),pe(c,"keypress",Pi(e,ds)),pe(c,"focus",(function(t){return Zr(e,t)})),pe(c,"blur",(function(t){return Qr(e,t)}))}Is.defaults=Ps,Is.optionHandlers=Fs;var Hs=[];function Rs(e,t,n,r){var i,o=e.doc;null==n&&(n="add"),"smart"==n&&(o.mode.indent?i=bt(e,t).state:n="prev");var a=e.options.tabSize,s=Ze(o,t),l=W(s.text,null,a);s.stateAfter&&(s.stateAfter=null);var c,u=s.text.match(/^\s*/)[0];if(r||/\S/.test(s.text)){if("smart"==n&&((c=o.mode.indent(i,s.text.slice(u.length),s.text))==z||c>150)){if(!r)return;n="prev"}}else c=0,n="not";"prev"==n?c=t>o.first?W(Ze(o,t-1).text,null,a):0:"add"==n?c=l+e.options.indentUnit:"subtract"==n?c=l-e.options.indentUnit:"number"==typeof n&&(c=l+n),c=Math.max(0,c);var h="",d=0;if(e.options.indentWithTabs)for(var f=Math.floor(c/a);f;--f)d+=a,h+="\t";if(d<c&&(h+=$(c-d)),h!=u)return ia(o,h,ot(t,0),ot(t,u.length),"+input"),s.stateAfter=null,!0;for(var p=0;p<o.sel.ranges.length;p++){var g=o.sel.ranges[p];if(g.head.line==t&&g.head.ch<u.length){var v=ot(t,u.length);Wo(o,p,new oo(v,v));break}}}Is.defineInitHook=function(e){return Hs.push(e)};var _s=null;function zs(e){_s=e}function qs(e,t,n,r,i){var o=e.doc;e.display.shift=!1,r||(r=o.sel);var a=+new Date-200,s="paste"==i||e.state.pasteIncoming>a,l=De(t),c=null;if(s&&r.ranges.length>1)if(_s&&_s.text.join("\n")==t){if(r.ranges.length%_s.text.length==0){c=[];for(var u=0;u<_s.text.length;u++)c.push(o.splitLines(_s.text[u]))}}else l.length==r.ranges.length&&e.options.pasteLinesPerSelection&&(c=Y(l,(function(e){return[e]})));for(var h=e.curOp.updateInput,d=r.ranges.length-1;d>=0;d--){var f=r.ranges[d],p=f.from(),g=f.to();f.empty()&&(n&&n>0?p=ot(p.line,p.ch-n):e.state.overwrite&&!s?g=ot(g.line,Math.min(Ze(o,g.line).text.length,g.ch+X(l).length)):s&&_s&&_s.lineWise&&_s.text.join("\n")==l.join("\n")&&(p=g=ot(p.line,0)));var v={from:p,to:g,text:c?c[d%c.length]:l,origin:i||(s?"paste":e.state.cutIncoming>a?"cut":"+input")};Qo(e.doc,v),Mn(e,"inputRead",e,v)}t&&!s&&Gs(e,t),si(e),e.curOp.updateInput<2&&(e.curOp.updateInput=h),e.curOp.typing=!0,e.state.pasteIncoming=e.state.cutIncoming=-1}function Us(e,t){var n=e.clipboardData&&e.clipboardData.getData("Text");if(n)return e.preventDefault(),t.isReadOnly()||t.options.disableInput||Ei(t,(function(){return qs(t,n,0,null,"paste")})),!0}function Gs(e,t){if(e.options.electricChars&&e.options.smartIndent)for(var n=e.doc.sel,r=n.ranges.length-1;r>=0;r--){var i=n.ranges[r];if(!(i.head.ch>100||r&&n.ranges[r-1].head.line==i.head.line)){var o=e.getModeAt(i.head),a=!1;if(o.electricChars){for(var s=0;s<o.electricChars.length;s++)if(t.indexOf(o.electricChars.charAt(s))>-1){a=Rs(e,i.head.line,"smart");break}}else o.electricInput&&o.electricInput.test(Ze(e.doc,i.head.line).text.slice(0,i.head.ch))&&(a=Rs(e,i.head.line,"smart"));a&&Mn(e,"electricInput",e,i.head.line)}}}function Ks(e){for(var t=[],n=[],r=0;r<e.doc.sel.ranges.length;r++){var i=e.doc.sel.ranges[r].head.line,o={anchor:ot(i,0),head:ot(i+1,0)};n.push(o),t.push(e.getRange(o.anchor,o.head))}return{text:t,ranges:n}}function Vs(e,t,n,r){e.setAttribute("autocorrect",n?"":"off"),e.setAttribute("autocapitalize",r?"":"off"),e.setAttribute("spellcheck",!!t)}function $s(){var e=M("textarea",null,null,"position: absolute; bottom: -1em; padding: 0; width: 1px; height: 1em; min-height: 1em; outline: none"),t=M("div",[e],null,"overflow: hidden; position: relative; width: 3px; height: 0px;");return l?e.style.width="1000px":e.setAttribute("wrap","off"),g&&(e.style.border="1px solid black"),Vs(e),t}function Xs(e){var t=e.optionHandlers,n=e.helpers={};e.prototype={constructor:e,focus:function(){window.focus(),this.display.input.focus()},setOption:function(e,n){var r=this.options,i=r[e];r[e]==n&&"mode"!=e||(r[e]=n,t.hasOwnProperty(e)&&Pi(this,t[e])(this,n,i),me(this,"optionChange",this,e))},getOption:function(e){return this.options[e]},getDoc:function(){return this.doc},addKeyMap:function(e,t){this.state.keyMaps[t?"push":"unshift"](Ga(e))},removeKeyMap:function(e){for(var t=this.state.keyMaps,n=0;n<t.length;++n)if(t[n]==e||t[n].name==e)return t.splice(n,1),!0},addOverlay:Fi((function(t,n){var r=t.token?t:e.getMode(this.options,t);if(r.startState)throw new Error("Overlays may not be stateful.");Z(this.state.overlays,{mode:r,modeSpec:t,opaque:n&&n.opaque,priority:n&&n.priority||0},(function(e){return e.priority})),this.state.modeGen++,Ir(this)})),removeOverlay:Fi((function(e){for(var t=this.state.overlays,n=0;n<t.length;++n){var r=t[n].modeSpec;if(r==e||"string"==typeof e&&r.name==e)return t.splice(n,1),this.state.modeGen++,void Ir(this)}})),indentLine:Fi((function(e,t,n){"string"!=typeof t&&"number"!=typeof t&&(t=null==t?this.options.smartIndent?"smart":"prev":t?"add":"subtract"),rt(this.doc,e)&&Rs(this,e,t,n)})),indentSelection:Fi((function(e){for(var t=this.doc.sel.ranges,n=-1,r=0;r<t.length;r++){var i=t[r];if(i.empty())i.head.line>n&&(Rs(this,i.head.line,e,!0),n=i.head.line,r==this.doc.sel.primIndex&&si(this));else{var o=i.from(),a=i.to(),s=Math.max(n,o.line);n=Math.min(this.lastLine(),a.line-(a.ch?0:1))+1;for(var l=s;l<n;++l)Rs(this,l,e);var c=this.doc.sel.ranges;0==o.ch&&t.length==c.length&&c[r].from().ch>0&&Wo(this.doc,r,new oo(o,c[r].to()),q)}}})),getTokenAt:function(e,t){return St(this,e,t)},getLineTokens:function(e,t){return St(this,ot(e),t,!0)},getTokenTypeAt:function(e){e=dt(this.doc,e);var t,n=yt(this,Ze(this.doc,e.line)),r=0,i=(n.length-1)/2,o=e.ch;if(0==o)t=n[2];else for(;;){var a=r+i>>1;if((a?n[2*a-1]:0)>=o)i=a;else{if(!(n[2*a+1]<o)){t=n[2*a+2];break}r=a+1}}var s=t?t.indexOf("overlay "):-1;return s<0?t:0==s?null:t.slice(0,s-1)},getModeAt:function(t){var n=this.doc.mode;return n.innerMode?e.innerMode(n,this.getTokenAt(t).state).mode:n},getHelper:function(e,t){return this.getHelpers(e,t)[0]},getHelpers:function(e,t){var r=[];if(!n.hasOwnProperty(t))return r;var i=n[t],o=this.getModeAt(e);if("string"==typeof o[t])i[o[t]]&&r.push(i[o[t]]);else if(o[t])for(var a=0;a<o[t].length;a++){var s=i[o[t][a]];s&&r.push(s)}else o.helperType&&i[o.helperType]?r.push(i[o.helperType]):i[o.name]&&r.push(i[o.name]);for(var l=0;l<i._global.length;l++){var c=i._global[l];c.pred(o,this)&&-1==R(r,c.val)&&r.push(c.val)}return r},getStateAfter:function(e,t){var n=this.doc;return bt(this,(e=ht(n,null==e?n.first+n.size-1:e))+1,t).state},cursorCoords:function(e,t){var n=this.doc.sel.primary();return br(this,null==e?n.head:"object"==typeof e?dt(this.doc,e):e?n.from():n.to(),t||"page")},charCoords:function(e,t){return yr(this,dt(this.doc,e),t||"page")},coordsChar:function(e,t){return Cr(this,(e=mr(this,e,t||"page")).left,e.top)},lineAtHeight:function(e,t){return e=mr(this,{top:e,left:0},t||"page").top,nt(this.doc,e+this.display.viewOffset)},heightAtLine:function(e,t,n){var r,i=!1;if("number"==typeof e){var o=this.doc.first+this.doc.size-1;e<this.doc.first?e=this.doc.first:e>o&&(e=o,i=!0),r=Ze(this.doc,e)}else r=e;return vr(this,r,{top:0,left:0},t||"page",n||i).top+(i?this.doc.height-an(r):0)},defaultTextHeight:function(){return Mr(this.display)},defaultCharWidth:function(){return Nr(this.display)},getViewport:function(){return{from:this.display.viewFrom,to:this.display.viewTo}},addWidget:function(e,t,n,r,i){var o=this.display,a=(e=br(this,dt(this.doc,e))).bottom,s=e.left;if(t.style.position="absolute",t.setAttribute("cm-ignore-events","true"),this.display.input.setUneditable(t),o.sizer.appendChild(t),"over"==r)a=e.top;else if("above"==r||"near"==r){var l=Math.max(o.wrapper.clientHeight,this.doc.height),c=Math.max(o.sizer.clientWidth,o.lineSpace.clientWidth);("above"==r||e.bottom+t.offsetHeight>l)&&e.top>t.offsetHeight?a=e.top-t.offsetHeight:e.bottom+t.offsetHeight<=l&&(a=e.bottom),s+t.offsetWidth>c&&(s=c-t.offsetWidth)}t.style.top=a+"px",t.style.left=t.style.right="","right"==i?(s=o.sizer.clientWidth-t.offsetWidth,t.style.right="0px"):("left"==i?s=0:"middle"==i&&(s=(o.sizer.clientWidth-t.offsetWidth)/2),t.style.left=s+"px"),n&&ii(this,{left:s,top:a,right:s+t.offsetWidth,bottom:a+t.offsetHeight})},triggerOnKeyDown:Fi(cs),triggerOnKeyPress:Fi(ds),triggerOnKeyUp:hs,triggerOnMouseDown:Fi(ys),execCommand:function(e){if(Za.hasOwnProperty(e))return Za[e].call(null,this)},triggerElectric:Fi((function(e){Gs(this,e)})),findPosH:function(e,t,n,r){var i=1;t<0&&(i=-1,t=-t);for(var o=dt(this.doc,e),a=0;a<t&&!(o=Ys(this.doc,o,i,n,r)).hitSide;++a);return o},moveH:Fi((function(e,t){var n=this;this.extendSelectionsBy((function(r){return n.display.shift||n.doc.extend||r.empty()?Ys(n.doc,r.head,e,t,n.options.rtlMoveVisually):e<0?r.from():r.to()}),G)})),deleteH:Fi((function(e,t){var n=this.doc.sel,r=this.doc;n.somethingSelected()?r.replaceSelection("",null,"+delete"):Ka(this,(function(n){var i=Ys(r,n.head,e,t,!1);return e<0?{from:i,to:n.head}:{from:n.head,to:i}}))})),findPosV:function(e,t,n,r){var i=1,o=r;t<0&&(i=-1,t=-t);for(var a=dt(this.doc,e),s=0;s<t;++s){var l=br(this,a,"div");if(null==o?o=l.left:l.left=o,(a=Zs(this,l,i,n)).hitSide)break}return a},moveV:Fi((function(e,t){var n=this,r=this.doc,i=[],o=!this.display.shift&&!r.extend&&r.sel.somethingSelected();if(r.extendSelectionsBy((function(a){if(o)return e<0?a.from():a.to();var s=br(n,a.head,"div");null!=a.goalColumn&&(s.left=a.goalColumn),i.push(s.left);var l=Zs(n,s,e,t);return"page"==t&&a==r.sel.primary()&&ai(n,yr(n,l,"div").top-s.top),l}),G),i.length)for(var a=0;a<r.sel.ranges.length;a++)r.sel.ranges[a].goalColumn=i[a]})),findWordAt:function(e){var t=Ze(this.doc,e.line).text,n=e.ch,r=e.ch;if(t){var i=this.getHelper(e,"wordChars");"before"!=e.sticky&&r!=t.length||!n?++r:--n;for(var o=t.charAt(n),a=ne(o,i)?function(e){return ne(e,i)}:/\s/.test(o)?function(e){return/\s/.test(e)}:function(e){return!/\s/.test(e)&&!ne(e)};n>0&&a(t.charAt(n-1));)--n;for(;r<t.length&&a(t.charAt(r));)++r}return new oo(ot(e.line,n),ot(e.line,r))},toggleOverwrite:function(e){null!=e&&e==this.state.overwrite||((this.state.overwrite=!this.state.overwrite)?F(this.display.cursorDiv,"CodeMirror-overwrite"):T(this.display.cursorDiv,"CodeMirror-overwrite"),me(this,"overwriteToggle",this,this.state.overwrite))},hasFocus:function(){return this.display.input.getField()==P()},isReadOnly:function(){return!(!this.options.readOnly&&!this.doc.cantEdit)},scrollTo:Fi((function(e,t){li(this,e,t)})),getScrollInfo:function(){var e=this.display.scroller;return{left:e.scrollLeft,top:e.scrollTop,height:e.scrollHeight-$n(this)-this.display.barHeight,width:e.scrollWidth-$n(this)-this.display.barWidth,clientHeight:Yn(this),clientWidth:Xn(this)}},scrollIntoView:Fi((function(e,t){null==e?(e={from:this.doc.sel.primary().head,to:null},null==t&&(t=this.options.cursorScrollMargin)):"number"==typeof e?e={from:ot(e,0),to:null}:null==e.from&&(e={from:e,to:null}),e.to||(e.to=e.from),e.margin=t||0,null!=e.from.line?ci(this,e):hi(this,e.from,e.to,e.margin)})),setSize:Fi((function(e,t){var n=this,r=function(e){return"number"==typeof e||/^\d+$/.test(String(e))?e+"px":e};null!=e&&(this.display.wrapper.style.width=r(e)),null!=t&&(this.display.wrapper.style.height=r(t)),this.options.lineWrapping&&hr(this);var i=this.display.viewFrom;this.doc.iter(i,this.display.viewTo,(function(e){if(e.widgets)for(var t=0;t<e.widgets.length;t++)if(e.widgets[t].noHScroll){Wr(n,i,"widget");break}++i})),this.curOp.forceUpdate=!0,me(this,"refresh",this)})),operation:function(e){return Ei(this,e)},startOperation:function(){return ki(this)},endOperation:function(){return Si(this)},refresh:Fi((function(){var e=this.display.cachedTextHeight;Ir(this),this.curOp.forceUpdate=!0,dr(this),li(this,this.doc.scrollLeft,this.doc.scrollTop),Gi(this.display),(null==e||Math.abs(e-Mr(this.display))>.5||this.options.lineWrapping)&&Dr(this),me(this,"refresh",this)})),swapDoc:Fi((function(e){var t=this.doc;return t.cm=null,this.state.selectingText&&this.state.selectingText(),bo(this,e),dr(this),this.display.input.reset(),li(this,e.scrollLeft,e.scrollTop),this.curOp.forceScroll=!0,Mn(this,"swapDoc",this,t),t})),phrase:function(e){var t=this.options.phrases;return t&&Object.prototype.hasOwnProperty.call(t,e)?t[e]:e},getInputField:function(){return this.display.input.getField()},getWrapperElement:function(){return this.display.wrapper},getScrollerElement:function(){return this.display.scroller},getGutterElement:function(){return this.display.gutters}},xe(e),e.registerHelper=function(t,r,i){n.hasOwnProperty(t)||(n[t]=e[t]={_global:[]}),n[t][r]=i},e.registerGlobalHelper=function(t,r,i,o){e.registerHelper(t,r,o),n[t]._global.push({pred:i,val:o})}}function Ys(e,t,n,r,i){var o=t,a=n,s=Ze(e,t.line),l=i&&"rtl"==e.direction?-n:n;function c(){var n=t.line+l;return!(n<e.first||n>=e.first+e.size)&&(t=new ot(n,t.ch,t.sticky),s=Ze(e,n))}function u(o){var a;if("codepoint"==r){var u=s.text.charCodeAt(t.ch+(n>0?0:-1));if(isNaN(u))a=null;else{var h=n>0?u>=55296&&u<56320:u>=56320&&u<57343;a=new ot(t.line,Math.max(0,Math.min(s.text.length,t.ch+n*(h?2:1))),-n)}}else a=i?Ya(e.cm,s,t,n):$a(s,t,n);if(null==a){if(o||!c())return!1;t=Xa(i,e.cm,s,t.line,l)}else t=a;return!0}if("char"==r||"codepoint"==r)u();else if("column"==r)u(!0);else if("word"==r||"group"==r)for(var h=null,d="group"==r,f=e.cm&&e.cm.getHelper(t,"wordChars"),p=!0;!(n<0)||u(!p);p=!1){var g=s.text.charAt(t.ch)||"\n",v=ne(g,f)?"w":d&&"\n"==g?"n":!d||/\s/.test(g)?null:"p";if(!d||p||v||(v="s"),h&&h!=v){n<0&&(n=1,u(),t.sticky="after");break}if(v&&(h=v),n>0&&!u(!p))break}var m=$o(e,t,o,a,!0);return st(o,m)&&(m.hitSide=!0),m}function Zs(e,t,n,r){var i,o,a=e.doc,s=t.left;if("page"==r){var l=Math.min(e.display.wrapper.clientHeight,window.innerHeight||document.documentElement.clientHeight),c=Math.max(l-.5*Mr(e.display),3);i=(n>0?t.bottom:t.top)+n*c}else"line"==r&&(i=n>0?t.bottom+3:t.top-3);for(;(o=Cr(e,s,i)).outside;){if(n<0?i<=0:i>=a.height){o.hitSide=!0;break}i+=5*n}return o}var Qs=function(e){this.cm=e,this.lastAnchorNode=this.lastAnchorOffset=this.lastFocusNode=this.lastFocusOffset=null,this.polling=new H,this.composing=null,this.gracePeriod=!1,this.readDOMTimeout=null};function Js(e,t){var n=tr(e,t.line);if(!n||n.hidden)return null;var r=Ze(e.doc,t.line),i=Qn(n,r,t.line),o=de(r,e.doc.direction),a="left";o&&(a=ue(o,t.ch)%2?"right":"left");var s=ar(i.map,t.ch,a);return s.offset="right"==s.collapse?s.end:s.start,s}function el(e){for(var t=e;t;t=t.parentNode)if(/CodeMirror-gutter-wrapper/.test(t.className))return!0;return!1}function tl(e,t){return t&&(e.bad=!0),e}function nl(e,t,n,r,i){var o="",a=!1,s=e.doc.lineSeparator(),l=!1;function c(e){return function(t){return t.id==e}}function u(){a&&(o+=s,l&&(o+=s),a=l=!1)}function h(e){e&&(u(),o+=e)}function d(t){if(1==t.nodeType){var n=t.getAttribute("cm-text");if(n)return void h(n);var o,f=t.getAttribute("cm-marker");if(f){var p=e.findMarks(ot(r,0),ot(i+1,0),c(+f));return void(p.length&&(o=p[0].find(0))&&h(Qe(e.doc,o.from,o.to).join(s)))}if("false"==t.getAttribute("contenteditable"))return;var g=/^(pre|div|p|li|table|br)$/i.test(t.nodeName);if(!/^br$/i.test(t.nodeName)&&0==t.textContent.length)return;g&&u();for(var v=0;v<t.childNodes.length;v++)d(t.childNodes[v]);/^(pre|p)$/i.test(t.nodeName)&&(l=!0),g&&(a=!0)}else 3==t.nodeType&&h(t.nodeValue.replace(/\u200b/g,"").replace(/\u00a0/g," "))}for(;d(t),t!=n;)t=t.nextSibling,l=!1;return o}function rl(e,t,n){var r;if(t==e.display.lineDiv){if(!(r=e.display.lineDiv.childNodes[n]))return tl(e.clipPos(ot(e.display.viewTo-1)),!0);t=null,n=0}else for(r=t;;r=r.parentNode){if(!r||r==e.display.lineDiv)return null;if(r.parentNode&&r.parentNode==e.display.lineDiv)break}for(var i=0;i<e.display.view.length;i++){var o=e.display.view[i];if(o.node==r)return il(o,t,n)}}function il(e,t,n){var r=e.text.firstChild,i=!1;if(!t||!E(r,t))return tl(ot(tt(e.line),0),!0);if(t==r&&(i=!0,t=r.childNodes[n],n=0,!t)){var o=e.rest?X(e.rest):e.line;return tl(ot(tt(o),o.text.length),i)}var a=3==t.nodeType?t:null,s=t;for(a||1!=t.childNodes.length||3!=t.firstChild.nodeType||(a=t.firstChild,n&&(n=a.nodeValue.length));s.parentNode!=r;)s=s.parentNode;var l=e.measure,c=l.maps;function u(t,n,r){for(var i=-1;i<(c?c.length:0);i++)for(var o=i<0?l.map:c[i],a=0;a<o.length;a+=3){var s=o[a+2];if(s==t||s==n){var u=tt(i<0?e.line:e.rest[i]),h=o[a]+r;return(r<0||s!=t)&&(h=o[a+(r?1:0)]),ot(u,h)}}}var h=u(a,s,n);if(h)return tl(h,i);for(var d=s.nextSibling,f=a?a.nodeValue.length-n:0;d;d=d.nextSibling){if(h=u(d,d.firstChild,0))return tl(ot(h.line,h.ch-f),i);f+=d.textContent.length}for(var p=s.previousSibling,g=n;p;p=p.previousSibling){if(h=u(p,p.firstChild,-1))return tl(ot(h.line,h.ch+g),i);g+=p.textContent.length}}Qs.prototype.init=function(e){var t=this,n=this,r=n.cm,i=n.div=e.lineDiv;function o(e){for(var t=e.target;t;t=t.parentNode){if(t==i)return!0;if(/\bCodeMirror-(?:line)?widget\b/.test(t.className))break}return!1}function a(e){if(o(e)&&!ye(r,e)){if(r.somethingSelected())zs({lineWise:!1,text:r.getSelections()}),"cut"==e.type&&r.replaceSelection("",null,"cut");else{if(!r.options.lineWiseCopyCut)return;var t=Ks(r);zs({lineWise:!0,text:t.text}),"cut"==e.type&&r.operation((function(){r.setSelections(t.ranges,0,q),r.replaceSelection("",null,"cut")}))}if(e.clipboardData){e.clipboardData.clearData();var a=_s.text.join("\n");if(e.clipboardData.setData("Text",a),e.clipboardData.getData("Text")==a)return void e.preventDefault()}var s=$s(),l=s.firstChild;r.display.lineSpace.insertBefore(s,r.display.lineSpace.firstChild),l.value=_s.text.join("\n");var c=P();B(l),setTimeout((function(){r.display.lineSpace.removeChild(s),c.focus(),c==i&&n.showPrimarySelection()}),50)}}i.contentEditable=!0,Vs(i,r.options.spellcheck,r.options.autocorrect,r.options.autocapitalize),pe(i,"paste",(function(e){!o(e)||ye(r,e)||Us(e,r)||s<=11&&setTimeout(Pi(r,(function(){return t.updateFromDOM()})),20)})),pe(i,"compositionstart",(function(e){t.composing={data:e.data,done:!1}})),pe(i,"compositionupdate",(function(e){t.composing||(t.composing={data:e.data,done:!1})})),pe(i,"compositionend",(function(e){t.composing&&(e.data!=t.composing.data&&t.readFromDOMSoon(),t.composing.done=!0)})),pe(i,"touchstart",(function(){return n.forceCompositionEnd()})),pe(i,"input",(function(){t.composing||t.readFromDOMSoon()})),pe(i,"copy",a),pe(i,"cut",a)},Qs.prototype.screenReaderLabelChanged=function(e){e?this.div.setAttribute("aria-label",e):this.div.removeAttribute("aria-label")},Qs.prototype.prepareSelection=function(){var e=Ur(this.cm,!1);return e.focus=P()==this.div,e},Qs.prototype.showSelection=function(e,t){e&&this.cm.display.view.length&&((e.focus||t)&&this.showPrimarySelection(),this.showMultipleSelections(e))},Qs.prototype.getSelection=function(){return this.cm.display.wrapper.ownerDocument.getSelection()},Qs.prototype.showPrimarySelection=function(){var e=this.getSelection(),t=this.cm,r=t.doc.sel.primary(),i=r.from(),o=r.to();if(t.display.viewTo==t.display.viewFrom||i.line>=t.display.viewTo||o.line<t.display.viewFrom)e.removeAllRanges();else{var a=rl(t,e.anchorNode,e.anchorOffset),s=rl(t,e.focusNode,e.focusOffset);if(!a||a.bad||!s||s.bad||0!=at(ut(a,s),i)||0!=at(ct(a,s),o)){var l=t.display.view,c=i.line>=t.display.viewFrom&&Js(t,i)||{node:l[0].measure.map[2],offset:0},u=o.line<t.display.viewTo&&Js(t,o);if(!u){var h=l[l.length-1].measure,d=h.maps?h.maps[h.maps.length-1]:h.map;u={node:d[d.length-1],offset:d[d.length-2]-d[d.length-3]}}if(c&&u){var f,p=e.rangeCount&&e.getRangeAt(0);try{f=L(c.node,c.offset,u.offset,u.node)}catch(e){}f&&(!n&&t.state.focused?(e.collapse(c.node,c.offset),f.collapsed||(e.removeAllRanges(),e.addRange(f))):(e.removeAllRanges(),e.addRange(f)),p&&null==e.anchorNode?e.addRange(p):n&&this.startGracePeriod()),this.rememberSelection()}else e.removeAllRanges()}}},Qs.prototype.startGracePeriod=function(){var e=this;clearTimeout(this.gracePeriod),this.gracePeriod=setTimeout((function(){e.gracePeriod=!1,e.selectionChanged()&&e.cm.operation((function(){return e.cm.curOp.selectionChanged=!0}))}),20)},Qs.prototype.showMultipleSelections=function(e){O(this.cm.display.cursorDiv,e.cursors),O(this.cm.display.selectionDiv,e.selection)},Qs.prototype.rememberSelection=function(){var e=this.getSelection();this.lastAnchorNode=e.anchorNode,this.lastAnchorOffset=e.anchorOffset,this.lastFocusNode=e.focusNode,this.lastFocusOffset=e.focusOffset},Qs.prototype.selectionInEditor=function(){var e=this.getSelection();if(!e.rangeCount)return!1;var t=e.getRangeAt(0).commonAncestorContainer;return E(this.div,t)},Qs.prototype.focus=function(){"nocursor"!=this.cm.options.readOnly&&(this.selectionInEditor()&&P()==this.div||this.showSelection(this.prepareSelection(),!0),this.div.focus())},Qs.prototype.blur=function(){this.div.blur()},Qs.prototype.getField=function(){return this.div},Qs.prototype.supportsTouch=function(){return!0},Qs.prototype.receivedFocus=function(){var e=this,t=this;function n(){t.cm.state.focused&&(t.pollSelection(),t.polling.set(t.cm.options.pollInterval,n))}this.selectionInEditor()?setTimeout((function(){return e.pollSelection()}),20):Ei(this.cm,(function(){return t.cm.curOp.selectionChanged=!0})),this.polling.set(this.cm.options.pollInterval,n)},Qs.prototype.selectionChanged=function(){var e=this.getSelection();return e.anchorNode!=this.lastAnchorNode||e.anchorOffset!=this.lastAnchorOffset||e.focusNode!=this.lastFocusNode||e.focusOffset!=this.lastFocusOffset},Qs.prototype.pollSelection=function(){if(null==this.readDOMTimeout&&!this.gracePeriod&&this.selectionChanged()){var e=this.getSelection(),t=this.cm;if(v&&u&&this.cm.display.gutterSpecs.length&&el(e.anchorNode))return this.cm.triggerOnKeyDown({type:"keydown",keyCode:8,preventDefault:Math.abs}),this.blur(),void this.focus();if(!this.composing){this.rememberSelection();var n=rl(t,e.anchorNode,e.anchorOffset),r=rl(t,e.focusNode,e.focusOffset);n&&r&&Ei(t,(function(){zo(t.doc,so(n,r),q),(n.bad||r.bad)&&(t.curOp.selectionChanged=!0)}))}}},Qs.prototype.pollContent=function(){null!=this.readDOMTimeout&&(clearTimeout(this.readDOMTimeout),this.readDOMTimeout=null);var e,t,n,r=this.cm,i=r.display,o=r.doc.sel.primary(),a=o.from(),s=o.to();if(0==a.ch&&a.line>r.firstLine()&&(a=ot(a.line-1,Ze(r.doc,a.line-1).length)),s.ch==Ze(r.doc,s.line).text.length&&s.line<r.lastLine()&&(s=ot(s.line+1,0)),a.line<i.viewFrom||s.line>i.viewTo-1)return!1;a.line==i.viewFrom||0==(e=jr(r,a.line))?(t=tt(i.view[0].line),n=i.view[0].node):(t=tt(i.view[e].line),n=i.view[e-1].node.nextSibling);var l,c,u=jr(r,s.line);if(u==i.view.length-1?(l=i.viewTo-1,c=i.lineDiv.lastChild):(l=tt(i.view[u+1].line)-1,c=i.view[u+1].node.previousSibling),!n)return!1;for(var h=r.doc.splitLines(nl(r,n,c,t,l)),d=Qe(r.doc,ot(t,0),ot(l,Ze(r.doc,l).text.length));h.length>1&&d.length>1;)if(X(h)==X(d))h.pop(),d.pop(),l--;else{if(h[0]!=d[0])break;h.shift(),d.shift(),t++}for(var f=0,p=0,g=h[0],v=d[0],m=Math.min(g.length,v.length);f<m&&g.charCodeAt(f)==v.charCodeAt(f);)++f;for(var y=X(h),b=X(d),w=Math.min(y.length-(1==h.length?f:0),b.length-(1==d.length?f:0));p<w&&y.charCodeAt(y.length-p-1)==b.charCodeAt(b.length-p-1);)++p;if(1==h.length&&1==d.length&&t==a.line)for(;f&&f>a.ch&&y.charCodeAt(y.length-p-1)==b.charCodeAt(b.length-p-1);)f--,p++;h[h.length-1]=y.slice(0,y.length-p).replace(/^\u200b+/,""),h[0]=h[0].slice(f).replace(/\u200b+$/,"");var x=ot(t,f),C=ot(l,d.length?X(d).length-p:0);return h.length>1||h[0]||at(x,C)?(ia(r.doc,h,x,C,"+input"),!0):void 0},Qs.prototype.ensurePolled=function(){this.forceCompositionEnd()},Qs.prototype.reset=function(){this.forceCompositionEnd()},Qs.prototype.forceCompositionEnd=function(){this.composing&&(clearTimeout(this.readDOMTimeout),this.composing=null,this.updateFromDOM(),this.div.blur(),this.div.focus())},Qs.prototype.readFromDOMSoon=function(){var e=this;null==this.readDOMTimeout&&(this.readDOMTimeout=setTimeout((function(){if(e.readDOMTimeout=null,e.composing){if(!e.composing.done)return;e.composing=null}e.updateFromDOM()}),80))},Qs.prototype.updateFromDOM=function(){var e=this;!this.cm.isReadOnly()&&this.pollContent()||Ei(this.cm,(function(){return Ir(e.cm)}))},Qs.prototype.setUneditable=function(e){e.contentEditable="false"},Qs.prototype.onKeyPress=function(e){0==e.charCode||this.composing||(e.preventDefault(),this.cm.isReadOnly()||Pi(this.cm,qs)(this.cm,String.fromCharCode(null==e.charCode?e.keyCode:e.charCode),0))},Qs.prototype.readOnlyChanged=function(e){this.div.contentEditable=String("nocursor"!=e)},Qs.prototype.onContextMenu=function(){},Qs.prototype.resetPosition=function(){},Qs.prototype.needsContentAttribute=!0;var ol=function(e){this.cm=e,this.prevInput="",this.pollingFast=!1,this.polling=new H,this.hasSelection=!1,this.composing=null};function al(e,t){if((t=t?I(t):{}).value=e.value,!t.tabindex&&e.tabIndex&&(t.tabindex=e.tabIndex),!t.placeholder&&e.placeholder&&(t.placeholder=e.placeholder),null==t.autofocus){var n=P();t.autofocus=n==e||null!=e.getAttribute("autofocus")&&n==document.body}function r(){e.value=s.getValue()}var i;if(e.form&&(pe(e.form,"submit",r),!t.leaveSubmitMethodAlone)){var o=e.form;i=o.submit;try{var a=o.submit=function(){r(),o.submit=i,o.submit(),o.submit=a}}catch(e){}}t.finishInit=function(n){n.save=r,n.getTextArea=function(){return e},n.toTextArea=function(){n.toTextArea=isNaN,r(),e.parentNode.removeChild(n.getWrapperElement()),e.style.display="",e.form&&(ve(e.form,"submit",r),t.leaveSubmitMethodAlone||"function"!=typeof e.form.submit||(e.form.submit=i))}},e.style.display="none";var s=Is((function(t){return e.parentNode.insertBefore(t,e.nextSibling)}),t);return s}function sl(e){e.off=ve,e.on=pe,e.wheelEventPixels=no,e.Doc=ka,e.splitLines=De,e.countColumn=W,e.findColumn=K,e.isWordChar=te,e.Pass=z,e.signal=me,e.Line=cn,e.changeEnd=lo,e.scrollbarModel=wi,e.Pos=ot,e.cmpPos=at,e.modes=He,e.mimeModes=Re,e.resolveMode=qe,e.getMode=Ue,e.modeExtensions=Ge,e.extendMode=Ke,e.copyState=Ve,e.startState=Xe,e.innerMode=$e,e.commands=Za,e.keyMap=Wa,e.keyName=Ua,e.isModifierKey=za,e.lookupKey=_a,e.normalizeKeyMap=Ra,e.StringStream=Ye,e.SharedTextMarker=ma,e.TextMarker=ga,e.LineWidget=ha,e.e_preventDefault=Ce,e.e_stopPropagation=ke,e.e_stop=Le,e.addClass=F,e.contains=E,e.rmClass=T,e.keyNames=Da}ol.prototype.init=function(e){var t=this,n=this,r=this.cm;this.createField(e);var i=this.textarea;function o(e){if(!ye(r,e)){if(r.somethingSelected())zs({lineWise:!1,text:r.getSelections()});else{if(!r.options.lineWiseCopyCut)return;var t=Ks(r);zs({lineWise:!0,text:t.text}),"cut"==e.type?r.setSelections(t.ranges,null,q):(n.prevInput="",i.value=t.text.join("\n"),B(i))}"cut"==e.type&&(r.state.cutIncoming=+new Date)}}e.wrapper.insertBefore(this.wrapper,e.wrapper.firstChild),g&&(i.style.width="0px"),pe(i,"input",(function(){a&&s>=9&&t.hasSelection&&(t.hasSelection=null),n.poll()})),pe(i,"paste",(function(e){ye(r,e)||Us(e,r)||(r.state.pasteIncoming=+new Date,n.fastPoll())})),pe(i,"cut",o),pe(i,"copy",o),pe(e.scroller,"paste",(function(t){if(!Un(e,t)&&!ye(r,t)){if(!i.dispatchEvent)return r.state.pasteIncoming=+new Date,void n.focus();var o=new Event("paste");o.clipboardData=t.clipboardData,i.dispatchEvent(o)}})),pe(e.lineSpace,"selectstart",(function(t){Un(e,t)||Ce(t)})),pe(i,"compositionstart",(function(){var e=r.getCursor("from");n.composing&&n.composing.range.clear(),n.composing={start:e,range:r.markText(e,r.getCursor("to"),{className:"CodeMirror-composing"})}})),pe(i,"compositionend",(function(){n.composing&&(n.poll(),n.composing.range.clear(),n.composing=null)}))},ol.prototype.createField=function(e){this.wrapper=$s(),this.textarea=this.wrapper.firstChild},ol.prototype.screenReaderLabelChanged=function(e){e?this.textarea.setAttribute("aria-label",e):this.textarea.removeAttribute("aria-label")},ol.prototype.prepareSelection=function(){var e=this.cm,t=e.display,n=e.doc,r=Ur(e);if(e.options.moveInputWithCursor){var i=br(e,n.sel.primary().head,"div"),o=t.wrapper.getBoundingClientRect(),a=t.lineDiv.getBoundingClientRect();r.teTop=Math.max(0,Math.min(t.wrapper.clientHeight-10,i.top+a.top-o.top)),r.teLeft=Math.max(0,Math.min(t.wrapper.clientWidth-10,i.left+a.left-o.left))}return r},ol.prototype.showSelection=function(e){var t=this.cm.display;O(t.cursorDiv,e.cursors),O(t.selectionDiv,e.selection),null!=e.teTop&&(this.wrapper.style.top=e.teTop+"px",this.wrapper.style.left=e.teLeft+"px")},ol.prototype.reset=function(e){if(!this.contextMenuPending&&!this.composing){var t=this.cm;if(t.somethingSelected()){this.prevInput="";var n=t.getSelection();this.textarea.value=n,t.state.focused&&B(this.textarea),a&&s>=9&&(this.hasSelection=n)}else e||(this.prevInput=this.textarea.value="",a&&s>=9&&(this.hasSelection=null))}},ol.prototype.getField=function(){return this.textarea},ol.prototype.supportsTouch=function(){return!1},ol.prototype.focus=function(){if("nocursor"!=this.cm.options.readOnly&&(!m||P()!=this.textarea))try{this.textarea.focus()}catch(e){}},ol.prototype.blur=function(){this.textarea.blur()},ol.prototype.resetPosition=function(){this.wrapper.style.top=this.wrapper.style.left=0},ol.prototype.receivedFocus=function(){this.slowPoll()},ol.prototype.slowPoll=function(){var e=this;this.pollingFast||this.polling.set(this.cm.options.pollInterval,(function(){e.poll(),e.cm.state.focused&&e.slowPoll()}))},ol.prototype.fastPoll=function(){var e=!1,t=this;function n(){t.poll()||e?(t.pollingFast=!1,t.slowPoll()):(e=!0,t.polling.set(60,n))}t.pollingFast=!0,t.polling.set(20,n)},ol.prototype.poll=function(){var e=this,t=this.cm,n=this.textarea,r=this.prevInput;if(this.contextMenuPending||!t.state.focused||Be(n)&&!r&&!this.composing||t.isReadOnly()||t.options.disableInput||t.state.keySeq)return!1;var i=n.value;if(i==r&&!t.somethingSelected())return!1;if(a&&s>=9&&this.hasSelection===i||y&&/[\uf700-\uf7ff]/.test(i))return t.display.input.reset(),!1;if(t.doc.sel==t.display.selForContextMenu){var o=i.charCodeAt(0);if(8203!=o||r||(r="​"),8666==o)return this.reset(),this.cm.execCommand("undo")}for(var l=0,c=Math.min(r.length,i.length);l<c&&r.charCodeAt(l)==i.charCodeAt(l);)++l;return Ei(t,(function(){qs(t,i.slice(l),r.length-l,null,e.composing?"*compose":null),i.length>1e3||i.indexOf("\n")>-1?n.value=e.prevInput="":e.prevInput=i,e.composing&&(e.composing.range.clear(),e.composing.range=t.markText(e.composing.start,t.getCursor("to"),{className:"CodeMirror-composing"}))})),!0},ol.prototype.ensurePolled=function(){this.pollingFast&&this.poll()&&(this.pollingFast=!1)},ol.prototype.onKeyPress=function(){a&&s>=9&&(this.hasSelection=null),this.fastPoll()},ol.prototype.onContextMenu=function(e){var t=this,n=t.cm,r=n.display,i=t.textarea;t.contextMenuPending&&t.contextMenuPending();var o=Br(n,e),c=r.scroller.scrollTop;if(o&&!h){n.options.resetSelectionOnContextMenu&&-1==n.doc.sel.contains(o)&&Pi(n,zo)(n.doc,so(o),q);var u,d=i.style.cssText,f=t.wrapper.style.cssText,p=t.wrapper.offsetParent.getBoundingClientRect();if(t.wrapper.style.cssText="position: static",i.style.cssText="position: absolute; width: 30px; height: 30px;\n top: "+(e.clientY-p.top-5)+"px; left: "+(e.clientX-p.left-5)+"px;\n z-index: 1000; background: "+(a?"rgba(255, 255, 255, .05)":"transparent")+";\n outline: none; border-width: 0; outline: none; overflow: hidden; opacity: .05; filter: alpha(opacity=5);",l&&(u=window.scrollY),r.input.focus(),l&&window.scrollTo(null,u),r.input.reset(),n.somethingSelected()||(i.value=t.prevInput=" "),t.contextMenuPending=m,r.selForContextMenu=n.doc.sel,clearTimeout(r.detectingSelectAll),a&&s>=9&&v(),k){Le(e);var g=function(){ve(window,"mouseup",g),setTimeout(m,20)};pe(window,"mouseup",g)}else setTimeout(m,50)}function v(){if(null!=i.selectionStart){var e=n.somethingSelected(),o="​"+(e?i.value:"");i.value="⇚",i.value=o,t.prevInput=e?"":"​",i.selectionStart=1,i.selectionEnd=o.length,r.selForContextMenu=n.doc.sel}}function m(){if(t.contextMenuPending==m&&(t.contextMenuPending=!1,t.wrapper.style.cssText=f,i.style.cssText=d,a&&s<9&&r.scrollbars.setScrollTop(r.scroller.scrollTop=c),null!=i.selectionStart)){(!a||a&&s<9)&&v();var e=0,o=function(){r.selForContextMenu==n.doc.sel&&0==i.selectionStart&&i.selectionEnd>0&&"​"==t.prevInput?Pi(n,Yo)(n):e++<10?r.detectingSelectAll=setTimeout(o,500):(r.selForContextMenu=null,r.input.reset())};r.detectingSelectAll=setTimeout(o,200)}}},ol.prototype.readOnlyChanged=function(e){e||this.reset(),this.textarea.disabled="nocursor"==e,this.textarea.readOnly=!!e},ol.prototype.setUneditable=function(){},ol.prototype.needsContentAttribute=!1,Ds(Is),Xs(Is);var ll="iter insert remove copy getEditor constructor".split(" ");for(var cl in ka.prototype)ka.prototype.hasOwnProperty(cl)&&R(ll,cl)<0&&(Is.prototype[cl]=function(e){return function(){return e.apply(this.doc,arguments)}}(ka.prototype[cl]));return xe(ka),Is.inputStyles={textarea:ol,contenteditable:Qs},Is.defineMode=function(e){Is.defaults.mode||"null"==e||(Is.defaults.mode=e),_e.apply(this,arguments)},Is.defineMIME=ze,Is.defineMode("null",(function(){return{token:function(e){return e.skipToEnd()}}})),Is.defineMIME("text/plain","null"),Is.defineExtension=function(e,t){Is.prototype[e]=t},Is.defineDocExtension=function(e,t){ka.prototype[e]=t},Is.fromTextArea=al,sl(Is),Is.version="5.63.3",Is}()},20:e=>{"use strict";var t="%[a-f0-9]{2}",n=new RegExp(t,"gi"),r=new RegExp("("+t+")+","gi");function i(e,t){try{return decodeURIComponent(e.join(""))}catch(e){}if(1===e.length)return e;t=t||1;var n=e.slice(0,t),r=e.slice(t);return Array.prototype.concat.call([],i(n),i(r))}function o(e){try{return decodeURIComponent(e)}catch(o){for(var t=e.match(n),r=1;r<t.length;r++)t=(e=i(t,r).join("")).match(n);return e}}e.exports=function(e){if("string"!=typeof e)throw new TypeError("Expected `encodedURI` to be of type `string`, got `"+typeof e+"`");try{return e=e.replace(/\+/g," "),decodeURIComponent(e)}catch(t){return function(e){for(var t={"%FE%FF":"��","%FF%FE":"��"},n=r.exec(e);n;){try{t[n[0]]=decodeURIComponent(n[0])}catch(e){var i=o(n[0]);i!==n[0]&&(t[n[0]]=i)}n=r.exec(e)}t["%C2"]="�";for(var a=Object.keys(t),s=0;s<a.length;s++){var l=a[s];e=e.replace(new RegExp(l,"g"),t[l])}return e}(e)}}},806:e=>{"use strict";e.exports=function(e,t){for(var n={},r=Object.keys(e),i=Array.isArray(t),o=0;o<r.length;o++){var a=r[o],s=e[a];(i?-1!==t.indexOf(a):t(a,s,e))&&(n[a]=s)}return n}},563:(e,t,n)=>{"use strict";const r=n(610),i=n(20),o=n(500),a=n(806),s=Symbol("encodeFragmentIdentifier");function l(e){if("string"!=typeof e||1!==e.length)throw new TypeError("arrayFormatSeparator must be single character string")}function c(e,t){return t.encode?t.strict?r(e):encodeURIComponent(e):e}function u(e,t){return t.decode?i(e):e}function h(e){return Array.isArray(e)?e.sort():"object"==typeof e?h(Object.keys(e)).sort(((e,t)=>Number(e)-Number(t))).map((t=>e[t])):e}function d(e){const t=e.indexOf("#");return-1!==t&&(e=e.slice(0,t)),e}function f(e){const t=(e=d(e)).indexOf("?");return-1===t?"":e.slice(t+1)}function p(e,t){return t.parseNumbers&&!Number.isNaN(Number(e))&&"string"==typeof e&&""!==e.trim()?e=Number(e):!t.parseBooleans||null===e||"true"!==e.toLowerCase()&&"false"!==e.toLowerCase()||(e="true"===e.toLowerCase()),e}function g(e,t){l((t=Object.assign({decode:!0,sort:!0,arrayFormat:"none",arrayFormatSeparator:",",parseNumbers:!1,parseBooleans:!1},t)).arrayFormatSeparator);const n=function(e){let t;switch(e.arrayFormat){case"index":return(e,n,r)=>{t=/\[(\d*)\]$/.exec(e),e=e.replace(/\[\d*\]$/,""),t?(void 0===r[e]&&(r[e]={}),r[e][t[1]]=n):r[e]=n};case"bracket":return(e,n,r)=>{t=/(\[\])$/.exec(e),e=e.replace(/\[\]$/,""),t?void 0!==r[e]?r[e]=[].concat(r[e],n):r[e]=[n]:r[e]=n};case"comma":case"separator":return(t,n,r)=>{const i="string"==typeof n&&n.includes(e.arrayFormatSeparator),o="string"==typeof n&&!i&&u(n,e).includes(e.arrayFormatSeparator);n=o?u(n,e):n;const a=i||o?n.split(e.arrayFormatSeparator).map((t=>u(t,e))):null===n?n:u(n,e);r[t]=a};case"bracket-separator":return(t,n,r)=>{const i=/(\[\])$/.test(t);if(t=t.replace(/\[\]$/,""),!i)return void(r[t]=n?u(n,e):n);const o=null===n?[]:n.split(e.arrayFormatSeparator).map((t=>u(t,e)));void 0!==r[t]?r[t]=[].concat(r[t],o):r[t]=o};default:return(e,t,n)=>{void 0!==n[e]?n[e]=[].concat(n[e],t):n[e]=t}}}(t),r=Object.create(null);if("string"!=typeof e)return r;if(!(e=e.trim().replace(/^[?#&]/,"")))return r;for(const i of e.split("&")){if(""===i)continue;let[e,a]=o(t.decode?i.replace(/\+/g," "):i,"=");a=void 0===a?null:["comma","separator","bracket-separator"].includes(t.arrayFormat)?a:u(a,t),n(u(e,t),a,r)}for(const e of Object.keys(r)){const n=r[e];if("object"==typeof n&&null!==n)for(const e of Object.keys(n))n[e]=p(n[e],t);else r[e]=p(n,t)}return!1===t.sort?r:(!0===t.sort?Object.keys(r).sort():Object.keys(r).sort(t.sort)).reduce(((e,t)=>{const n=r[t];return Boolean(n)&&"object"==typeof n&&!Array.isArray(n)?e[t]=h(n):e[t]=n,e}),Object.create(null))}t.extract=f,t.parse=g,t.stringify=(e,t)=>{if(!e)return"";l((t=Object.assign({encode:!0,strict:!0,arrayFormat:"none",arrayFormatSeparator:","},t)).arrayFormatSeparator);const n=n=>t.skipNull&&null==e[n]||t.skipEmptyString&&""===e[n],r=function(e){switch(e.arrayFormat){case"index":return t=>(n,r)=>{const i=n.length;return void 0===r||e.skipNull&&null===r||e.skipEmptyString&&""===r?n:null===r?[...n,[c(t,e),"[",i,"]"].join("")]:[...n,[c(t,e),"[",c(i,e),"]=",c(r,e)].join("")]};case"bracket":return t=>(n,r)=>void 0===r||e.skipNull&&null===r||e.skipEmptyString&&""===r?n:null===r?[...n,[c(t,e),"[]"].join("")]:[...n,[c(t,e),"[]=",c(r,e)].join("")];case"comma":case"separator":case"bracket-separator":{const t="bracket-separator"===e.arrayFormat?"[]=":"=";return n=>(r,i)=>void 0===i||e.skipNull&&null===i||e.skipEmptyString&&""===i?r:(i=null===i?"":i,0===r.length?[[c(n,e),t,c(i,e)].join("")]:[[r,c(i,e)].join(e.arrayFormatSeparator)])}default:return t=>(n,r)=>void 0===r||e.skipNull&&null===r||e.skipEmptyString&&""===r?n:null===r?[...n,c(t,e)]:[...n,[c(t,e),"=",c(r,e)].join("")]}}(t),i={};for(const t of Object.keys(e))n(t)||(i[t]=e[t]);const o=Object.keys(i);return!1!==t.sort&&o.sort(t.sort),o.map((n=>{const i=e[n];return void 0===i?"":null===i?c(n,t):Array.isArray(i)?0===i.length&&"bracket-separator"===t.arrayFormat?c(n,t)+"[]":i.reduce(r(n),[]).join("&"):c(n,t)+"="+c(i,t)})).filter((e=>e.length>0)).join("&")},t.parseUrl=(e,t)=>{t=Object.assign({decode:!0},t);const[n,r]=o(e,"#");return Object.assign({url:n.split("?")[0]||"",query:g(f(e),t)},t&&t.parseFragmentIdentifier&&r?{fragmentIdentifier:u(r,t)}:{})},t.stringifyUrl=(e,n)=>{n=Object.assign({encode:!0,strict:!0,[s]:!0},n);const r=d(e.url).split("?")[0]||"",i=t.extract(e.url),o=t.parse(i,{sort:!1}),a=Object.assign(o,e.query);let l=t.stringify(a,n);l&&(l=`?${l}`);let u=function(e){let t="";const n=e.indexOf("#");return-1!==n&&(t=e.slice(n)),t}(e.url);return e.fragmentIdentifier&&(u=`#${n[s]?c(e.fragmentIdentifier,n):e.fragmentIdentifier}`),`${r}${l}${u}`},t.pick=(e,n,r)=>{r=Object.assign({parseFragmentIdentifier:!0,[s]:!1},r);const{url:i,query:o,fragmentIdentifier:l}=t.parseUrl(e,r);return t.stringifyUrl({url:i,query:a(o,n),fragmentIdentifier:l},r)},t.exclude=(e,n,r)=>{const i=Array.isArray(n)?e=>!n.includes(e):(e,t)=>!n(e,t);return t.pick(e,i,r)}},666:e=>{var t=function(e){"use strict";var t,n=Object.prototype,r=n.hasOwnProperty,i="function"==typeof Symbol?Symbol:{},o=i.iterator||"@@iterator",a=i.asyncIterator||"@@asyncIterator",s=i.toStringTag||"@@toStringTag";function l(e,t,n){return Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{l({},"")}catch(e){l=function(e,t,n){return e[t]=n}}function c(e,t,n,r){var i=t&&t.prototype instanceof v?t:v,o=Object.create(i.prototype),a=new O(r||[]);return o._invoke=function(e,t,n){var r=h;return function(i,o){if(r===f)throw new Error("Generator is already running");if(r===p){if("throw"===i)throw o;return N()}for(n.method=i,n.arg=o;;){var a=n.delegate;if(a){var s=L(a,n);if(s){if(s===g)continue;return s}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(r===h)throw r=p,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);r=f;var l=u(e,t,n);if("normal"===l.type){if(r=n.done?p:d,l.arg===g)continue;return{value:l.arg,done:n.done}}"throw"===l.type&&(r=p,n.method="throw",n.arg=l.arg)}}}(e,n,a),o}function u(e,t,n){try{return{type:"normal",arg:e.call(t,n)}}catch(e){return{type:"throw",arg:e}}}e.wrap=c;var h="suspendedStart",d="suspendedYield",f="executing",p="completed",g={};function v(){}function m(){}function y(){}var b={};l(b,o,(function(){return this}));var w=Object.getPrototypeOf,x=w&&w(w(M([])));x&&x!==n&&r.call(x,o)&&(b=x);var C=y.prototype=v.prototype=Object.create(b);function k(e){["next","throw","return"].forEach((function(t){l(e,t,(function(e){return this._invoke(t,e)}))}))}function S(e,t){function n(i,o,a,s){var l=u(e[i],e,o);if("throw"!==l.type){var c=l.arg,h=c.value;return h&&"object"==typeof h&&r.call(h,"__await")?t.resolve(h.__await).then((function(e){n("next",e,a,s)}),(function(e){n("throw",e,a,s)})):t.resolve(h).then((function(e){c.value=e,a(c)}),(function(e){return n("throw",e,a,s)}))}s(l.arg)}var i;this._invoke=function(e,r){function o(){return new t((function(t,i){n(e,r,t,i)}))}return i=i?i.then(o,o):o()}}function L(e,n){var r=e.iterator[n.method];if(r===t){if(n.delegate=null,"throw"===n.method){if(e.iterator.return&&(n.method="return",n.arg=t,L(e,n),"throw"===n.method))return g;n.method="throw",n.arg=new TypeError("The iterator does not provide a 'throw' method")}return g}var i=u(r,e.iterator,n.arg);if("throw"===i.type)return n.method="throw",n.arg=i.arg,n.delegate=null,g;var o=i.arg;return o?o.done?(n[e.resultName]=o.value,n.next=e.nextLoc,"return"!==n.method&&(n.method="next",n.arg=t),n.delegate=null,g):o:(n.method="throw",n.arg=new TypeError("iterator result is not an object"),n.delegate=null,g)}function T(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function A(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function O(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(T,this),this.reset(!0)}function M(e){if(e){var n=e[o];if(n)return n.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var i=-1,a=function n(){for(;++i<e.length;)if(r.call(e,i))return n.value=e[i],n.done=!1,n;return n.value=t,n.done=!0,n};return a.next=a}}return{next:N}}function N(){return{value:t,done:!0}}return m.prototype=y,l(C,"constructor",y),l(y,"constructor",m),m.displayName=l(y,s,"GeneratorFunction"),e.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===m||"GeneratorFunction"===(t.displayName||t.name))},e.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,y):(e.__proto__=y,l(e,s,"GeneratorFunction")),e.prototype=Object.create(C),e},e.awrap=function(e){return{__await:e}},k(S.prototype),l(S.prototype,a,(function(){return this})),e.AsyncIterator=S,e.async=function(t,n,r,i,o){void 0===o&&(o=Promise);var a=new S(c(t,n,r,i),o);return e.isGeneratorFunction(n)?a:a.next().then((function(e){return e.done?e.value:a.next()}))},k(C),l(C,s,"Generator"),l(C,o,(function(){return this})),l(C,"toString",(function(){return"[object Generator]"})),e.keys=function(e){var t=[];for(var n in e)t.push(n);return t.reverse(),function n(){for(;t.length;){var r=t.pop();if(r in e)return n.value=r,n.done=!1,n}return n.done=!0,n}},e.values=M,O.prototype={constructor:O,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=t,this.done=!1,this.delegate=null,this.method="next",this.arg=t,this.tryEntries.forEach(A),!e)for(var n in this)"t"===n.charAt(0)&&r.call(this,n)&&!isNaN(+n.slice(1))&&(this[n]=t)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(e){if(this.done)throw e;var n=this;function i(r,i){return s.type="throw",s.arg=e,n.next=r,i&&(n.method="next",n.arg=t),!!i}for(var o=this.tryEntries.length-1;o>=0;--o){var a=this.tryEntries[o],s=a.completion;if("root"===a.tryLoc)return i("end");if(a.tryLoc<=this.prev){var l=r.call(a,"catchLoc"),c=r.call(a,"finallyLoc");if(l&&c){if(this.prev<a.catchLoc)return i(a.catchLoc,!0);if(this.prev<a.finallyLoc)return i(a.finallyLoc)}else if(l){if(this.prev<a.catchLoc)return i(a.catchLoc,!0)}else{if(!c)throw new Error("try statement without catch or finally");if(this.prev<a.finallyLoc)return i(a.finallyLoc)}}}},abrupt:function(e,t){for(var n=this.tryEntries.length-1;n>=0;--n){var i=this.tryEntries[n];if(i.tryLoc<=this.prev&&r.call(i,"finallyLoc")&&this.prev<i.finallyLoc){var o=i;break}}o&&("break"===e||"continue"===e)&&o.tryLoc<=t&&t<=o.finallyLoc&&(o=null);var a=o?o.completion:{};return a.type=e,a.arg=t,o?(this.method="next",this.next=o.finallyLoc,g):this.complete(a)},complete:function(e,t){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&&t&&(this.next=t),g},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.finallyLoc===e)return this.complete(n.completion,n.afterLoc),A(n),g}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.tryLoc===e){var r=n.completion;if("throw"===r.type){var i=r.arg;A(n)}return i}}throw new Error("illegal catch attempt")},delegateYield:function(e,n,r){return this.delegate={iterator:M(e),resultName:n,nextLoc:r},"next"===this.method&&(this.arg=t),g}},e}(e.exports);try{regeneratorRuntime=t}catch(e){"object"==typeof globalThis?globalThis.regeneratorRuntime=t:Function("r","regeneratorRuntime = r")(t)}},500:e=>{"use strict";e.exports=(e,t)=>{if("string"!=typeof e||"string"!=typeof t)throw new TypeError("Expected the arguments to be of type `string`");if(""===t)return[e];const n=e.indexOf(t);return-1===n?[e]:[e.slice(0,n),e.slice(n+t.length)]}},610:e=>{"use strict";e.exports=e=>encodeURIComponent(e).replace(/[!'()*]/g,(e=>`%${e.charCodeAt(0).toString(16).toUpperCase()}`))}},t={};function n(r){var i=t[r];if(void 0!==i)return i.exports;var o=t[r]={exports:{}};return e[r].call(o.exports,o,o.exports,n),o.exports}n.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return n.d(t,{a:t}),t},n.d=(e,t)=>{for(var r in t)n.o(t,r)&&!n.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})},n.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),(()=>{"use strict";n(666);var e=n(563);function t(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function r(e){for(var n=1;n<arguments.length;n++){var r=null!=arguments[n]?arguments[n]:{};n%2?t(Object(r),!0).forEach((function(t){i(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):t(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function i(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function o(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=s(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0,i=function(){};return{s:i,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:i}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var o,a=!0,l=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return a=e.done,e},e:function(e){l=!0,o=e},f:function(){try{a||null==n.return||n.return()}finally{if(l)throw o}}}}function a(e){return function(e){if(Array.isArray(e))return l(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||s(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function s(e,t){if(e){if("string"==typeof e)return l(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?l(e,t):void 0}}function l(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}var c=function(t,n){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"POST",o=e.stringify(r({},n),{arrayFormat:"index"}),a={method:i,credentials:"same-origin",headers:new Headers({"Content-Type":"application/x-www-form-urlencoded; charset=utf-8"})};return"GET"===i?t+="?"+o:a.body=o,fetch(t,a)},u=function(e){return{data:JSON.stringify(r({},e))}},h=function(e){var t=document.createElement("template");return t.innerHTML=e.trim(),t.content.firstChild};function d(e){return function(e){if(Array.isArray(e))return f(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,t){if(!e)return;if("string"==typeof e)return f(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return f(e,t)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function f(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}var p="data-animation",g=function(e){e.setAttribute("".concat(p,"-appearing"),""),setTimeout((function(){e.removeAttribute("".concat(p)),e.removeAttribute("".concat(p,"-appearing")),e.setAttribute("".concat(p,"-complete"),"")}),function(e){var t=getComputedStyle(e);return 1e3*(parseFloat(t.animationDuration)+parseFloat(t.animationDelay))}(e))};const v=function(){if("IntersectionObserver"in window)!function(e,t){var n=new IntersectionObserver((function(e){a(e).forEach((function(e){var r=e.isIntersecting,i=(e._,e.target);r&&(t(i),n.unobserve(i))}))}),{threshold:arguments.length>2&&void 0!==arguments[2]?arguments[2]:[0]});if(e&&t){var r,i=o([].concat(e));try{for(i.s();!(r=i.n()).done;)for(var s=r.value,l=0,c=a(document.querySelectorAll(s));l<c.length;l++){var u=c[l];n.observe(u)}}catch(e){i.e(e)}finally{i.f()}}}("[".concat(p,"]"),(function(e){g(e)}),[0]);else for(var e=0,t=d(document.querySelectorAll("[".concat(p,"]")));e<t.length;e++){var n=t[e];g(n)}};function m(e,t,n,r,i,o,a){try{var s=e[o](a),l=s.value}catch(e){return void n(e)}s.done?t(l):Promise.resolve(l).then(r,i)}function y(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}var b=function(){function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.setProperties(),this.init()}var t,n,r,i,o;return t=e,n=[{key:"setProperties",value:function(){this.prefix=wpgdprcAdmin.pluginPrefix,this.ajaxUrl=wpgdprcAdmin.ajaxUrl,this.ajaxNonce=wpgdprcAdmin.ajaxNonce,this.ajaxArg=wpgdprcAdmin.ajaxArg,this.messages=document.querySelectorAll(".wpgdprc-message"),this.isLoading=!1,this.isLoadingClassName="is-loading",this.fadeOutClassName="fade-out"}},{key:"init",value:function(){this.handleButtonClose()}},{key:"handleButtonClose",value:function(){var e=this;this.messages&&this.messages.forEach((function(t){var n=t.querySelector(".wpgdprc-message__button--close");n&&(n.addEventListener("click",(function(n){n.preventDefault(),e.removeMessage(t)})),n.addEventListener("keydown",(function(e){13===e.keyCode&&n.click()})))}))}},{key:"setIsLoading",value:function(){var e=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];this.isLoading=e,e?document.body.classList.add(this.isLoadingClassName):document.body.classList.remove(this.isLoadingClassName)}},{key:"removeMessage",value:(i=regeneratorRuntime.mark((function e(t){var n=this;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return this.setIsLoading(),t.classList.add(this.fadeOutClassName),e.prev=2,e.next=5,c(this.ajaxUrl,(r={action:this.prefix+"_hide_welcome"},i=this.ajaxArg,o=this.ajaxNonce,i in r?Object.defineProperty(r,i,{value:o,enumerable:!0,configurable:!0,writable:!0}):r[i]=o,r),"POST").then((function(e){return e.json()})).then((function(){n.setIsLoading(!1),setTimeout((function(){t.parentNode&&t.parentNode.removeChild(t)}),250)}));case 5:e.next=11;break;case 7:e.prev=7,e.t0=e.catch(2),console.error(e.t0),this.setIsLoading(!1);case 11:case"end":return e.stop()}var r,i,o}),e,this,[[2,7]])})),o=function(){var e=this,t=arguments;return new Promise((function(n,r){var o=i.apply(e,t);function a(e){m(o,n,r,a,s,"next",e)}function s(e){m(o,n,r,a,s,"throw",e)}a(void 0)}))},function(e){return o.apply(this,arguments)})}],n&&y(t.prototype,n),r&&y(t,r),e}();function w(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}var x=function(){function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.setProperties(),this.init()}var t,n,r;return t=e,(n=[{key:"init",value:function(){this.createTabs()}},{key:"setProperties",value:function(){this.tabs=document.querySelectorAll("[data-tabs]"),this.hash=window.location.hash,this.tabFocus=0}},{key:"closeTabs",value:function(e){e.forEach((function(e){"true"===e.getAttribute("aria-selected")&&e.setAttribute("aria-selected","false")}))}},{key:"setActiveTab",value:function(e){e.setAttribute("aria-selected","true")}},{key:"closeTabPanels",value:function(e){e.forEach((function(e){e.setAttribute("aria-hidden","true")}))}},{key:"setActiveTabPanel",value:function(e){e.setAttribute("aria-hidden","false")}},{key:"setHash",value:function(e){history.pushState?history.pushState(null,null,"#".concat(e)):location.hash="#".concat(e)}},{key:"handleActiveTabOnLoad",value:function(e){if(this.hash&&e){var t=e.querySelectorAll('[role="tab"]'),n=e.querySelectorAll('[role="tabpanel"]'),r=e.querySelector('a[href="'.concat(this.hash,'"][role="tab"]')),i=e.querySelector("".concat(this.hash,'[role="tabpanel"]'));t&&n&&r&&i&&(this.closeTabs(t),this.setActiveTab(r),this.closeTabPanels(n),this.setActiveTabPanel(i))}}},{key:"handleKeyCodeInput",value:function(e,t){this.tabFocus||(this.tabFocus=0),39!==t.keyCode&&37!==t.keyCode||(39===t.keyCode?(this.tabFocus++,this.tabFocus>=e.length&&(this.tabFocus=0)):37===t.keyCode&&(this.tabFocus--,this.tabFocus<0&&(this.tabFocus=e.length-1)),e[this.tabFocus].focus())}},{key:"createTabs",value:function(){var e=this;this.tabs&&this.tabs.forEach((function(t){var n=t.querySelectorAll('[role="tab"]'),r=t.querySelectorAll('[role="tabpanel"]'),i=t.querySelector('[role="tablist"]');n&&r&&i&&(n.forEach((function(i,o){i.addEventListener("click",(function(a){a.preventDefault();var s=i.getAttribute("aria-controls"),l=t.querySelector("#".concat(s,'[role="tabpanel"]'));e.tabFocus=o,e.closeTabs(n),e.setActiveTab(i),e.setHash(s),e.closeTabPanels(r),e.setActiveTabPanel(l)}))})),i.addEventListener("keydown",(function(t){return e.handleKeyCodeInput(n,t)})),e.handleActiveTabOnLoad(t))}))}}])&&w(t.prototype,n),r&&w(t,r),e}();function C(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}var k=function(){function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.setProperties(),this.init()}var t,n,r;return t=e,(n=[{key:"setProperties",value:function(){this.expands=document.querySelectorAll("[data-expand]"),this.isExpandedClassName="is-expanded"}},{key:"init",value:function(){this.createExpand()}},{key:"setHeightExpand",value:function(e,t){"true"===t&&(e.style.maxHeight=e.scrollHeight+"px")}},{key:"createExpand",value:function(){var e=this;this.expands&&this.expands.forEach((function(t){var n=t.querySelectorAll("[aria-controls]");n.forEach((function(t){var r=t?t.getAttribute("aria-controls"):"",i=r?document.querySelector("#".concat(r)):"",o=t?t.getAttribute("aria-expanded"):"";t&&i&&(window.addEventListener("resize",(function(){"true"===o&&e.setHeightExpand(i,"true")})),t.addEventListener("click",(function(r){r.preventDefault();var o,a,s=t.getAttribute("aria-expanded"),l="false";"false"===s&&(l="true"),o=i,"true"===(a=l)&&(o.style.maxHeight?o.style.maxHeight=null:o.style.maxHeight=o.scrollHeight+"px"),"false"===a&&(o.style.maxHeight=null),n.forEach((function(e){e.setAttribute("aria-expanded",l)})),"true"===l?i.classList.add(e.isExpandedClassName):i.classList.remove(e.isExpandedClassName)})))}))}))}}])&&C(t.prototype,n),r&&C(t,r),e}(),S=n(631),L=n.n(S);function T(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}var A=function(){function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.setProperties(),this.init()}var t,n,r;return t=e,(n=[{key:"init",value:function(){this.createCodeMirror()}},{key:"setProperties",value:function(){this.fields=document.querySelectorAll(".wpgdprc-codemirror"),this.mirrors=[]}},{key:"createCodeMirror",value:function(){var e=this;this.fields&&this.fields.forEach((function(t){e.mirrors.push(L().fromTextArea(t,{mode:"text/html",lineNumbers:!0,matchBrackets:!0,tabSize:2,indentUnit:2}))}))}},{key:"refreshMirrors",value:function(){this.mirrors.length<1||this.mirrors.forEach((function(e){return e.refresh()}))}},{key:"saveMirrors",value:function(){this.mirrors.length<1||this.mirrors.forEach((function(e){return e.save()}))}}])&&T(t.prototype,n),r&&T(t,r),e}();function O(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}var M=function(){function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.setProperties(),this.init()}var t,n,r;return t=e,(n=[{key:"setProperties",value:function(){this.bannerItems=document.querySelectorAll(".wpgdprc-banner-item"),this.willDelete="will-delete"}},{key:"init",value:function(){this.handleContent()}},{key:"handleContent",value:function(){var e=this;this.bannerItems&&this.bannerItems.forEach((function(t){var n=t.querySelector(".wpgdprc-banner-item__content--default"),r=t.querySelector(".wpgdprc-banner-item__content--delete"),i=t.querySelector(".wpgdprc-banner-item__content--default button[data-delete]"),o=t.querySelector(".wpgdprc-banner-item__content--delete button[data-cancel]");i&&o&&(i.addEventListener("click",(function(i){i.preventDefault(),t.classList.add(e.willDelete),n.setAttribute("aria-hidden","true"),r.setAttribute("aria-hidden","false")})),o.addEventListener("click",(function(i){i.preventDefault(),t.classList.remove(e.willDelete),n.setAttribute("aria-hidden","false"),r.setAttribute("aria-hidden","true")})))}))}}])&&O(t.prototype,n),r&&O(t,r),e}();function N(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function E(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?N(Object(n),!0).forEach((function(t){P(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):N(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function P(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function F(e,t,n,r,i,o,a){try{var s=e[o](a),l=s.value}catch(e){return void n(e)}s.done?t(l):Promise.resolve(l).then(r,i)}function D(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}var B=function(){function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.setProperties(),this.init()}var t,n,r,i,o;return t=e,n=[{key:"setProperties",value:function(){this.prefix=wpgdprcAdmin.pluginPrefix,this.ajaxUrl=wpgdprcAdmin.ajaxUrl,this.ajaxNonce=wpgdprcAdmin.ajaxNonce,this.ajaxArg=wpgdprcAdmin.ajaxArg,this.locale=wpgdprcAdmin.locale,this.formAction=this.prefix+"_update_plugin_mode",this.toggleTile=document.querySelector(".wpgdprc-tile--consent-bar"),this.colorPickers=document.querySelectorAll(".wpgdprc-form__field--colorpicker"),this.bar=document.querySelector(".wpgdprc-consent-bar__inner"),this.barContent=document.querySelector(".wpgdprc-consent-bar__content"),this.barText=document.querySelector(".wpgdprc-consent-bar__notice p"),this.buttonAccept=document.querySelector(".wpgdprc-consent-bar .wpgdprc-button--accept"),this.buttonSettings=document.querySelector(".wpgdprc-consent-bar .wpgdprc-button--settings"),this.inputBarText=document.querySelector(".wpgdprc-form__field.wpgdprc-form__field--explaintext input"),this.inputButtonAccept=document.querySelector(".wpgdprc-form__field.wpgdprc-form__field--buttontext input"),this.inputButtonSettings=document.querySelector(".wpgdprc-form__field.wpgdprc-form__field--moretext input"),this.selectFont=document.querySelector(".wpgdprc-form__field.wpgdprc-form__field--font select"),this.consentBar=document.querySelector(".wpgdprc-consent-bar"),this.barFont="",this.barFontDefault="'Sofia Pro', 'Helvetica Neue', Helvetica, Roboto, Arial, sans-serif",this.barTextColor="",this.barBackgroundColor="",this.buttonTextColor="",this.buttonBackgroundColor="",this.googleFontsClassName="#wpgdprc-google-font-css",this.googleFontsLink=document.querySelector(this.googleFontsClassName),this.isLoading=!1,this.isLoadingClassName="is-loading",this.pageWrap=document.querySelector(".wrap.wpgdprc"),this.header=this.pageWrap?this.pageWrap.querySelector(".wpgdprc-header"):void 0}},{key:"init",value:function(){this.initBar(),this.handleColorPicker(),this.handleInputBarContentText(),this.handleInputButtonAcceptText(),this.handleInputButtonSettingsText(),this.handleSelectBarFont(),this.handleStatusToggle()}},{key:"initBar",value:function(){this.consentBar&&(this.consentBar.style.display="block")}},{key:"setIsLoading",value:function(){var e=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];this.isLoading=e,e?document.body.classList.add(this.isLoadingClassName):document.body.classList.remove(this.isLoadingClassName)}},{key:"setBarFont",value:function(e){this.barFont=e}},{key:"getBarFont",value:function(){return this.barFont}},{key:"setBarTextColor",value:function(e){this.barTextColor=e}},{key:"getBarTextColor",value:function(){return this.barTextColor}},{key:"setBarBackgroundColor",value:function(e){this.barBackgroundColor=e}},{key:"getBarBackgroundColor",value:function(){return this.barBackgroundColor}},{key:"setButtonTextColor",value:function(e){this.buttonTextColor=e}},{key:"getButtonTextColor",value:function(){return this.buttonTextColor}},{key:"setButtonBackgroundColor",value:function(e){this.buttonBackgroundColor=e}},{key:"getButtonBackgroundColor",value:function(){return this.buttonBackgroundColor}},{key:"setGoogleFontsLink",value:function(e){e&&(this.googleFontsLink?this.googleFontsLink.href=this.getGoogleFontUrl(e):(this.createGoogleFontLink(e),this.googleFontsLink=document.querySelector(this.googleFontsClassName)))}},{key:"getGoogleFontsLink",value:function(){return this.googleFontsLink}},{key:"getGoogleFontUrl",value:function(e){return"https://fonts.googleapis.com/css?family=".concat(e.replace(" ","+"),"&display=swap")}},{key:"createGoogleFontLink",value:function(e){var t=document.createElement("link");t.id=this.googleFontsClassName,t.rel="stylesheet",t.href=this.getGoogleFontUrl(e),document.getElementsByTagName("head")[0].appendChild(t)}},{key:"applyColor",value:function(e,t){e&&t&&(e.style.color=t)}},{key:"applyBackgroundColor",value:function(e,t){e&&t&&(e.style.backgroundColor=t)}},{key:"applyBorderColor",value:function(e,t){e&&t&&(e.style.borderColor=t)}},{key:"applyFont",value:function(e,t){e&&this.barFontDefault&&(t?(e.style.fontFamily='"'+t+'", sans-serif',this.setGoogleFontsLink(t)):e.style.fontFamily=this.barFontDefault)}},{key:"applyBarFont",value:function(){this.applyFont(this.bar,this.getBarFont())}},{key:"applyBarTextColor",value:function(){this.applyColor(this.barContent,this.getBarTextColor()),this.applyColor(this.buttonSettings,this.getBarTextColor())}},{key:"applyBarBackgroundColor",value:function(){this.applyBackgroundColor(this.bar,this.getBarBackgroundColor())}},{key:"applyButtonTextColor",value:function(){this.applyColor(this.buttonAccept,this.getButtonTextColor())}},{key:"applyButtonBackgroundColor",value:function(){this.applyBackgroundColor(this.buttonAccept,this.getButtonBackgroundColor())}},{key:"applyButtonBorderColor",value:function(){this.applyBorderColor(this.buttonAccept,this.getButtonBackgroundColor())}},{key:"controlColorsByInput",value:function(e,t,n){e&&t&&n&&(e!==this.prefix+"_settings_consents_bar_color"&&t!==this.prefix+"_settings_consents_bar_color_text"||(this.setBarBackgroundColor(n),this.applyBarBackgroundColor()),e!==this.prefix+"_settings_consents_bar_text_color"&&t!==this.prefix+"_settings_consents_bar_text_color_text"||(this.setBarTextColor(n),this.applyBarTextColor()),e!==this.prefix+"_settings_consents_bar_button_color_primary"&&t!==this.prefix+"_settings_consents_bar_button_color_primary_text"||(this.setButtonBackgroundColor(n),this.applyButtonBackgroundColor(),this.applyButtonBorderColor()),e!==this.prefix+"_settings_consents_bar_button_color_secondary"&&t!==this.prefix+"_settings_consents_bar_button_color_secondary_text"||(this.setButtonTextColor(n),this.applyButtonTextColor()))}},{key:"handleColorPicker",value:function(){var e=this;this.colorPickers&&this.colorPickers.forEach((function(t){var n=t.querySelector('input[type="color"]'),r=t.querySelector('input[type="text"]');n&&r&&(n.addEventListener("change",(function(t){var i=t.target.value;e.controlColorsByInput(n.name,r.name,i),r.value=i})),r.addEventListener("change",(function(t){var i=t.target.value;e.controlColorsByInput(n.name,r.name,i),n.value=i})))}))}},{key:"handleSelectBarFont",value:function(){var e=this;this.selectFont&&this.selectFont.addEventListener("change",(function(t){e.setBarFont(t.target.value),e.applyBarFont()}))}},{key:"handleInputBarContentText",value:function(){var e=this;this.inputBarText&&this.barText&&this.inputBarText.addEventListener("keyup",(function(t){e.barText.innerHTML=t.target.value}))}},{key:"handleInputButtonAcceptText",value:function(){var e=this;this.inputButtonAccept&&this.buttonAccept&&this.inputButtonAccept.addEventListener("keyup",(function(t){e.buttonAccept.innerHTML=t.target.value}))}},{key:"handleInputButtonSettingsText",value:function(){var e=this;this.inputButtonSettings&&this.buttonSettings&&this.inputButtonSettings.addEventListener("keyup",(function(t){e.buttonSettings.innerHTML=t.target.value}))}},{key:"handleStatusToggle",value:function(){var e=this;this.toggleTile&&this.toggleTile.querySelector('[type="checkbox"]').addEventListener("change",(function(t){e.updateStatus(t.target.checked)}))}},{key:"updateStatus",value:(i=regeneratorRuntime.mark((function e(t){var n,r=this;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return this.setIsLoading(),e.prev=1,e.next=4,c(this.ajaxUrl,E((n={action:this.formAction},P(n,this.ajaxArg,this.ajaxNonce),P(n,"locale",this.locale),n),u({value:t})),"POST").then((function(e){return e.json()})).then((function(e){if(r.setIsLoading(!1),void 0!==e.success&&e.success){r.toggleTile.querySelector(".wpgdprc-tile__check").classList.add("hide"),r.toggleTile.querySelector(".wpgdprc-tile__footer").innerHTML=e.tile.footer,r.toggleTile.querySelector(".wpgdprc-tile__text").outerHTML=e.tile.text,r.toggleTile.classList.remove("wpgdprc-tile--green-light");var t=void 0!==e.header?e.header:"";t&&t.length&&(r.header.innerHTML=t),location.reload(),console.dir(e)}else console.dir(e)}));case 4:e.next=10;break;case 6:e.prev=6,e.t0=e.catch(1),console.error(e.t0),this.setIsLoading(!1);case 10:case"end":return e.stop()}}),e,this,[[1,6]])})),o=function(){var e=this,t=arguments;return new Promise((function(n,r){var o=i.apply(e,t);function a(e){F(o,n,r,a,s,"next",e)}function s(e){F(o,n,r,a,s,"throw",e)}a(void 0)}))},function(e){return o.apply(this,arguments)})}],n&&D(t.prototype,n),r&&D(t,r),e}();function j(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function I(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?j(Object(n),!0).forEach((function(t){W(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):j(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function W(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function H(e,t,n,r,i,o,a){try{var s=e[o](a),l=s.value}catch(e){return void n(e)}s.done?t(l):Promise.resolve(l).then(r,i)}function R(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}var _=function(){function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.setProperties(),this.init()}var t,n,r,i,o;return t=e,n=[{key:"setProperties",value:function(){this.prefix=wpgdprcAdmin.pluginPrefix,this.ajaxUrl=wpgdprcAdmin.ajaxUrl,this.ajaxNonce=wpgdprcAdmin.ajaxNonce,this.ajaxArg=wpgdprcAdmin.ajaxArg,this.locale=wpgdprcAdmin.locale,this.formAction=this.prefix+"_update_integration",this.wrapper=document.querySelector(".wpgdprc-integrations"),this.isHiddenClassName="is-hidden"}},{key:"init",value:function(){this.handleUpdate()}},{key:"handleUpdate",value:function(){var e=this;this.wrapper&&(this.wrapper.querySelectorAll('input[type="text"], input[type="checkbox"]').forEach((function(t){t.addEventListener("change",(function(n){var r,i;n.target.disabled=!0;var o=t.getAttribute("type"),a="checkbox"!==o?n.target.value:n.target.checked;e.updateIntegration(a,n.target.getAttribute("name"),o,null==n||null===(r=n.target)||void 0===r||null===(i=r.dataset)||void 0===i?void 0:i.integration).then((function(){n.target.disabled=!1}))}))})),this.wrapper.querySelectorAll('input[type="submit"]').forEach((function(t){var n=t.getAttribute("data-type"),r=e.wrapper.querySelector(".wpgdprc-integration-item--"+n),i=r.querySelectorAll('.wpgdprc-label, [data-action="manage"]'),o=r.querySelector('[data-action="manage"]'),a=r.querySelector('[data-enable="1"]');t.addEventListener("click",(function(t){var n,r;t.preventDefault(),t.target.disabled=!0;var s="1"===t.target.getAttribute("data-enable");e.updateIntegration(s,t.target.getAttribute("name"),"button",null==t||null===(n=t.target)||void 0===n||null===(r=n.dataset)||void 0===r?void 0:r.type).then((function(){t.target.disabled=!1})),s?(a.classList.add(e.isHiddenClassName),i.forEach((function(t){t.classList.remove(e.isHiddenClassName)})),o.click()):(a.classList.remove(e.isHiddenClassName),i.forEach((function(t){t.classList.add(e.isHiddenClassName)})))}))})))}},{key:"updateIntegration",value:(i=regeneratorRuntime.mark((function e(t,n,r,i){var o;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,c(this.ajaxUrl,I((o={action:this.formAction},W(o,this.ajaxArg,this.ajaxNonce),W(o,"locale",this.locale),o),u({value:t,name:n,type:r,integration:i})),"POST").then((function(e){return e.json()})).then((function(e){void 0!==e.success&&e.success,console.dir(e)}));case 3:e.next=8;break;case 5:e.prev=5,e.t0=e.catch(0),console.error(e.t0);case 8:case"end":return e.stop()}}),e,this,[[0,5]])})),o=function(){var e=this,t=arguments;return new Promise((function(n,r){var o=i.apply(e,t);function a(e){H(o,n,r,a,s,"next",e)}function s(e){H(o,n,r,a,s,"throw",e)}a(void 0)}))},function(e,t,n,r){return o.apply(this,arguments)})}],n&&R(t.prototype,n),r&&R(t,r),e}();function z(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function q(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?z(Object(n),!0).forEach((function(t){U(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):z(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function U(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function G(e,t,n,r,i,o,a){try{var s=e[o](a),l=s.value}catch(e){return void n(e)}s.done?t(l):Promise.resolve(l).then(r,i)}function K(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}var V=function(){function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.setProperties(),this.init()}var t,n,r,i,o;return t=e,n=[{key:"setProperties",value:function(){this.prefix=wpgdprcAdmin.pluginPrefix,this.ajaxUrl=wpgdprcAdmin.ajaxUrl,this.ajaxNonce=wpgdprcAdmin.ajaxNonce,this.ajaxArg=wpgdprcAdmin.ajaxArg,this.locale=wpgdprcAdmin.locale,this.formAction=this.prefix+"_update_premium",this.pageWrap=document.querySelector(".wrap.wpgdprc"),this.header=this.pageWrap?this.pageWrap.querySelector(".wpgdprc-header"):void 0,this.switchMode=document.querySelector(".wpgdprc-form__field--pluginmode input"),this.isLoading=!1,this.isLoadingClassName="is-loading"}},{key:"init",value:function(){this.handlePluginMode()}},{key:"setIsLoading",value:function(){var e=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];this.isLoading=e,e?document.body.classList.add(this.isLoadingClassName):document.body.classList.remove(this.isLoadingClassName)}},{key:"handlePluginMode",value:function(){var e=this;this.switchMode&&this.switchMode.addEventListener("change",(function(t){e.isLoading||e.updatePremium(t.target.checked)}))}},{key:"updatePremium",value:(i=regeneratorRuntime.mark((function e(){var t,n,r,i=this,o=arguments;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return t=o.length>0&&void 0!==o[0]&&o[0],n=o.length>1&&void 0!==o[1]?o[1]:null,this.setIsLoading(),e.prev=3,e.next=6,c(this.ajaxUrl,q((r={action:this.formAction},U(r,this.ajaxArg,this.ajaxNonce),U(r,"locale",this.locale),r),u({checked:t,userType:n})),"POST").then((function(e){return e.json()})).then((function(e){if(i.setIsLoading(!1),void 0!==e.success&&e.success){var t=void 0!==e.premium&&e.premium;i.pageWrap.setAttribute("data-mode",t?"premium":"free"),i.switchMode&&(i.switchMode.checked=t);var n=void 0!==e.header?e.header:"";n&&n.length&&(i.header.innerHTML=n)}else console.dir(e)}));case 6:e.next=12;break;case 8:e.prev=8,e.t0=e.catch(3),console.error(e.t0),this.setIsLoading(!1);case 12:case"end":return e.stop()}}),e,this,[[3,8]])})),o=function(){var e=this,t=arguments;return new Promise((function(n,r){var o=i.apply(e,t);function a(e){G(o,n,r,a,s,"next",e)}function s(e){G(o,n,r,a,s,"throw",e)}a(void 0)}))},function(){return o.apply(this,arguments)})}],n&&K(t.prototype,n),r&&K(t,r),e}();function $(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}var X=function(){function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.setProperties(),this.init()}var t,n,r;return t=e,(n=[{key:"setProperties",value:function(){this.prefix=wpgdprcAdmin.pluginPrefix,this.switchField=document.querySelector('[name="'+this.prefix+'_settings_enable_privacy_policy_extern"]'),this.pagePicker=document.querySelector("fieldset#external_no"),this.urlInput=document.querySelector("fieldset#external_yes")}},{key:"init",value:function(){this.handleSwitch()}},{key:"handleSwitch",value:function(){var e=this;this.switchField&&(this.toggleFields(this.switchField.checked),this.switchField.addEventListener("change",(function(t){e.toggleFields(t.target.checked)})))}},{key:"toggleFields",value:function(e){if(this.pagePicker&&this.urlInput){var t="hidden";if(e)return this.pagePicker.classList.contains(t)||this.pagePicker.classList.add(t),void this.urlInput.classList.remove(t);this.urlInput.classList.contains(t)||this.urlInput.classList.add(t),this.pagePicker.classList.remove(t)}}}])&&$(t.prototype,n),r&&$(t,r),e}();function Y(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}var Z=function(){function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.setProperties(),this.init()}var t,n,r;return t=e,(n=[{key:"setProperties",value:function(){this.overview=document.querySelector(".wpgdprc-tabs--requests"),this.tabTitle=document.querySelector(".wpgdprc-tabs--requests .wpgdprc-tabs__title"),this.activeLink=document.querySelector('.wpgdprc-tabs--requests [aria-controls="active-requests"]'),this.expiredLink=document.querySelector('.wpgdprc-tabs--requests [aria-controls="expired-requests"]')}},{key:"init",value:function(){this.handleTabSwitch()}},{key:"handleTabSwitch",value:function(){var e=this;this.overview&&this.tabTitle&&this.activeLink&&this.expiredLink&&(this.resetTabindex(this.activeLink),this.resetTabindex(this.expiredLink),"true"===this.expiredLink.getAttribute("aria-selected")&&(this.tabTitle.innerText=this.expiredLink.innerText),this.activeLink.addEventListener("click",(function(t){e.tabTitle.innerText=t.target.innerText,e.resetTabindex(e.expiredLink)})),this.expiredLink.addEventListener("click",(function(t){e.tabTitle.innerText=t.target.innerText,e.resetTabindex(e.activeLink)})))}},{key:"resetTabindex",value:function(e){e&&e.setAttribute("tabindex","0")}}])&&Y(t.prototype,n),r&&Y(t,r),e}();function Q(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}var J=function(){function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.setProperties(),this.init()}var t,n,r;return t=e,(n=[{key:"setProperties",value:function(){this.hideClass="hidden",this.switchField=document.querySelector('[name="wpgdprc_settings_enable_access_request"]'),this.otherFieldWrappers=document.querySelectorAll(".activate_yes")}},{key:"init",value:function(){var e=this;this.switchField&&(this.toggleFields(this.switchField.checked),this.switchField.addEventListener("change",(function(t){e.toggleFields(t.target.checked)})))}},{key:"toggleFields",value:function(e){var t=this;this.otherFieldWrappers&&(e?this.otherFieldWrappers.forEach((function(e){e.classList.remove(t.hideClass)})):this.otherFieldWrappers.forEach((function(e){e.classList.contains(t.hideClass)||e.classList.add(t.hideClass)})))}}])&&Q(t.prototype,n),r&&Q(t,r),e}();function ee(e,t,n,r,i,o,a){try{var s=e[o](a),l=s.value}catch(e){return void n(e)}s.done?t(l):Promise.resolve(l).then(r,i)}function te(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}var ne=function(){function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.setProperties(),this.init()}var t,n,r,i,o;return t=e,n=[{key:"setProperties",value:function(){this.prefix=wpgdprcAdmin.pluginPrefix,this.ajaxUrl=wpgdprcAdmin.ajaxUrl,this.ajaxNonce=wpgdprcAdmin.ajaxNonce,this.ajaxArg=wpgdprcAdmin.ajaxArg,this.button=document.querySelector('[data-action="reset-consent"]'),this.tileTextClassName="wpgdprc-tile__text",this.tileTextSuccessClassName="wpgdprc-tile__text--success",this.tileTextWarningClassName="wpgdprc-tile__text--warning",this.isLoading=!1,this.isLoadingClassName="is-loading"}},{key:"init",value:function(){this.handleClickResetButton()}},{key:"handleClickResetButton",value:function(){var e=this;this.button&&this.button.addEventListener("click",(function(t){t.preventDefault(),e.isLoading||e.resetConsent()}))}},{key:"setIsLoading",value:function(){var e=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];this.isLoading=e,e?document.body.classList.add(this.isLoadingClassName):document.body.classList.remove(this.isLoadingClassName)}},{key:"resetConsent",value:(i=regeneratorRuntime.mark((function e(){var t=this;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return this.setIsLoading(),e.prev=1,e.next=4,c(this.ajaxUrl,(n={action:this.prefix+"_reset_consent"},r=this.ajaxArg,i=this.ajaxNonce,r in n?Object.defineProperty(n,r,{value:i,enumerable:!0,configurable:!0,writable:!0}):n[r]=i,n),"POST").then((function(e){return e.json()})).then((function(e){t.setIsLoading(!1);var n=void 0!==e.success&&e.success?t.tileTextSuccessClassName:t.tileTextWarningClassName,r=document.createElement("p");r.setAttribute("class",t.tileTextClassName+" "+n),r.innerHTML=e.message,t.button.outerHTML=r.outerHTML}));case 4:e.next=10;break;case 6:e.prev=6,e.t0=e.catch(1),console.error(e.t0),this.setIsLoading(!1);case 10:case"end":return e.stop()}var n,r,i}),e,this,[[1,6]])})),o=function(){var e=this,t=arguments;return new Promise((function(n,r){var o=i.apply(e,t);function a(e){ee(o,n,r,a,s,"next",e)}function s(e){ee(o,n,r,a,s,"throw",e)}a(void 0)}))},function(){return o.apply(this,arguments)})}],n&&te(t.prototype,n),r&&te(t,r),e}();function re(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function ie(e,t,n,r,i,o,a){try{var s=e[o](a),l=s.value}catch(e){return void n(e)}s.done?t(l):Promise.resolve(l).then(r,i)}function oe(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}var ae=function(){function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.setProperties(),this.init()}var t,n,r,i,o;return t=e,n=[{key:"setProperties",value:function(){this.prefix=wpgdprcAdmin.pluginPrefix,this.ajaxUrl=wpgdprcAdmin.ajaxUrl,this.ajaxNonce=wpgdprcAdmin.ajaxNonce,this.ajaxArg=wpgdprcAdmin.ajaxArg,this.settingTabs=document.querySelector(".wpgdprc-tabs__list"),this.pageSelects=document.querySelectorAll(".page-selector"),this.isHiddenClassName="is-hidden",this.isLoading=!1,this.isLoadingClassName="is-loading"}},{key:"init",value:function(){this.updateWindowHistory(),this.toggleEditLinks()}},{key:"updateWindowHistory",value:function(){this.settingTabs&&this.settingTabs.querySelectorAll('a[role="tab"]').forEach((function(e){e.addEventListener("click",(function(e){var t=new URL(e.target.getAttribute("href"));t.searchParams.delete("settings-updated"),window.history.replaceState({},document.title,t.toString())}))}))}},{key:"toggleEditLinks",value:function(){var e=this;this.pageSelects&&this.pageSelects.forEach((function(t){var n=t.parentNode.querySelector(".wpgdprc-link--edit");n&&t.addEventListener("change",(function(t){e.setPostEditLink(n,Number(t.target.value))}))}))}},{key:"setIsLoading",value:function(){var e=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];this.isLoading=e,e?document.body.classList.add(this.isLoadingClassName):document.body.classList.remove(this.isLoadingClassName)}},{key:"setPostEditLink",value:(i=regeneratorRuntime.mark((function e(t){var n,r,i=this,o=arguments;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(n=o.length>1&&void 0!==o[1]?o[1]:0,this.setIsLoading(),0!==n){e.next=5;break}return t.classList.add(this.isHiddenClassName),e.abrupt("return");case 5:return e.prev=5,e.next=8,c(this.ajaxUrl,(r={action:this.prefix+"_post_edit_link"},re(r,this.ajaxArg,this.ajaxNonce),re(r,"post",n),r),"POST").then((function(e){return e.json()})).then((function(e){if(i.setIsLoading(!1),void 0!==e.success&&e.success){var n=void 0!==e.message?new URL(e.message).toString():"";t.setAttribute("href",n),n.length?t.classList.remove(i.isHiddenClassName):t.classList.add(i.isHiddenClassName)}else console.dir(e)}));case 8:e.next=14;break;case 10:e.prev=10,e.t0=e.catch(5),console.error(e.t0),this.setIsLoading(!1);case 14:case"end":return e.stop()}}),e,this,[[5,10]])})),o=function(){var e=this,t=arguments;return new Promise((function(n,r){var o=i.apply(e,t);function a(e){ie(o,n,r,a,s,"next",e)}function s(e){ie(o,n,r,a,s,"throw",e)}a(void 0)}))},function(e){return o.apply(this,arguments)})}],n&&oe(t.prototype,n),r&&oe(t,r),e}();function se(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function le(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?se(Object(n),!0).forEach((function(t){ce(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):se(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function ce(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function ue(e,t,n,r,i,o,a){try{var s=e[o](a),l=s.value}catch(e){return void n(e)}s.done?t(l):Promise.resolve(l).then(r,i)}function he(e){return function(){var t=this,n=arguments;return new Promise((function(r,i){var o=e.apply(t,n);function a(e){ue(o,r,i,a,s,"next",e)}function s(e){ue(o,r,i,a,s,"throw",e)}a(void 0)}))}}function de(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}var fe=function(){function e(t){var n=this;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.setProperties(),this.codeMirror=t;var r=this;window.addEventListener("load",(function(){r.init(),n.PrivacyPolicyForm=new X}))}var t,n,r,i,o;return t=e,n=[{key:"setProperties",value:function(){this.activeClass="active",this.hideClass="hide",this.root=document.querySelector("#wp-gdpr-fts"),this.stepContainer=document.querySelector("#step-container"),this.buttonConatiner=document.querySelector("#step-to-buttons"),this.nextButtons=document.querySelectorAll('button[data-step="next"]'),this.prevButtons=document.querySelectorAll('button[data-step="prev"]'),this.doneButtons=document.querySelectorAll('a[data-step="done"]'),this.userTypeRadios=document.querySelectorAll('input[type="radio"]'),this.signup=document.querySelector("#signup"),this.signUpLink=document.querySelector("#signuplink"),this.forType=document.querySelectorAll('[data-for="personal"], [data-for="business"]'),this.stepButtons=[],this.activeStep=0,this.numberOfsteps=0,this.activeStepElement=null}},{key:"init",value:function(){var e=this;this.root&&(window.wpgdprcAdmin?(this.ajaxUrl=wpgdprcAdmin.ajaxUrl,this.ajaxNonce=wpgdprcAdmin.ajaxNonce,this.ajaxArg=wpgdprcAdmin.ajaxArg,this.locale=wpgdprcAdmin.locale,this.initSteps(),this.initStepButtons(),this.initNext(),this.initPrev(),this.checkHash(),this.userType(),window.addEventListener("popstate",(function(){e.checkHash()}))):console.dir("Stopped because localization data was not found."))}},{key:"initSteps",value:function(){var e=this,t=this.stepContainer.querySelectorAll(".step");this.numberOfsteps=t.length-1,t.forEach((function(t,n){t.dataset.stepId=n,e.buttonConatiner.appendChild(h('\n <button class="btn" data-step-to="'.concat(n,'">\n ').concat(t.dataset.title||"","\n </button>\n ")))})),this.stepButtons=document.querySelectorAll("button[data-step-to]")}},{key:"initStepButtons",value:function(){var e=this;this.stepButtons.forEach((function(t){t.addEventListener("click",(function(t){t.preventDefault();var n=t.currentTarget.dataset.stepTo;Number.isInteger(parseInt(n,10))?e.stepTo(n):console.dir("Could not go to step ".concat(n," because that is not a valid id."))}))}))}},{key:"initNext",value:function(){var e=this,t=this;t.nextButtons.forEach((function(n){n.addEventListener("click",function(){var n=he(regeneratorRuntime.mark((function n(r){var i;return regeneratorRuntime.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return r.preventDefault(),n.next=3,e.handleForms();case 3:if(n.sent){n.next=6;break}return n.abrupt("return");case 6:if(!((i=parseInt(t.activeStep,10)+1)>t.numberOfsteps)){n.next=10;break}return console.dir("Could not go to id ".concat(i," there are only ").concat(t.numberOfsteps," steps")),n.abrupt("return");case 10:t.stepTo(i);case 11:case"end":return n.stop()}}),n)})));return function(e){return n.apply(this,arguments)}}())}))}},{key:"initPrev",value:function(){var e=this;this.prevButtons.forEach((function(t){t.addEventListener("click",(function(t){t.preventDefault();var n=parseInt(e.activeStep,10)-1;n<0?console.dir("Could not goto step ".concat(n," because here are not that many pages.")):e.stepTo(n)}))}))}},{key:"userType",value:function(){var e=this;this.userTypeRadios.forEach((function(t){t.addEventListener("change",(function(){e.signup.classList.remove("hide"),e.setNextButtonDisabled("personal"!==t.value),e.forType.forEach((function(e){t.value===e.dataset.for?e.classList.remove("hide"):e.classList.add("hide")}))}))})),this.signUpLink.addEventListener("click",(function(){e.setNextButtonDisabled(!1)}))}},{key:"handleForms",value:(o=he(regeneratorRuntime.mark((function e(){var t,n,r;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(t=this.getActiveStepElement().querySelector("form"),n=this.getActiveStepElement().querySelector(".step__form-wrapper"),t&&n){e.next=4;break}return e.abrupt("return",!0);case 4:if(r=n.dataset.action){e.next=7;break}return e.abrupt("return",!0);case 7:if(t.reportValidity()){e.next=9;break}return e.abrupt("return",!1);case 9:return this.codeMirror.saveMirrors(),e.next=12,this.submitForm(t,r);case 12:return e.abrupt("return",e.sent);case 13:case"end":return e.stop()}}),e,this)}))),function(){return o.apply(this,arguments)})},{key:"submitForm",value:(i=he(regeneratorRuntime.mark((function e(t,n){var r,i,o=this;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return i=jQuery(t).serializeArray().reduce((function(e,t){return e[t.name]=t.value,e}),{}),this.setLoading(!0),e.next=4,c(this.ajaxUrl,le((r={},ce(r,this.ajaxArg,this.ajaxNonce),ce(r,"locale",this.locale),ce(r,"action",n),r),i),"POST").then((function(e){return e.json()})).then((function(e){if(o.setLoading(!1),void 0===e.success||!e.success)throw new Error;return o.setActiveFormContent(e.form),o.resetElements(),!0})).catch((function(e){return console.error(e),alert("Something went wrong please try again later."),o.setLoading(!1),!1}));case 4:return e.abrupt("return",e.sent);case 5:case"end":return e.stop()}}),e,this)}))),function(e,t){return i.apply(this,arguments)})},{key:"setActiveFormContent",value:function(e){var t=this.getActiveStepElement().querySelector(".step__form-wrapper");t.textContent="",t.appendChild(h(e))}},{key:"resetElements",value:function(){this.codeMirror=new A,this.PrivacyPolicyForm=new X}},{key:"setLoading",value:function(e){var t=this;if(Array.from(this.nextButtons).map((function(e){return e.querySelector(".spinner")})).forEach((function(n){var r,i;r=n,i=t.hideClass,e?r.classList.remove(i):r.classList.add(i)})),!1===e)return this.updateButtons();[].concat(this.nextButtons,this.prevButtons,this.stepButtons).forEach((function(t){t.disabled=e}))}},{key:"getActiveStepElement",value:function(){return this.activeStepElement}},{key:"checkHash",value:function(){if(window.location.hash){var e=window.location.hash;e=e.replace("#",""),e=parseInt(e,10),Number.isInteger(e)||(e=0),this.stepTo(e,!0)}else this.stepTo(0)}},{key:"stepTo",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=document.querySelector("[data-step-id='".concat(e,"']"));n?(this.setActiveStep(n),this.updateButtons(parseInt(e,10)),this.stepToAction(n),this.codeMirror.refreshMirrors(),t||window.history.pushState({id:e},"","#"+e),this.activeStep=e):console.dir("Step ".concat(e," does not exist."))}},{key:"stepToAction",value:function(e){"disable"===e.dataset.action&&this.setNextButtonDisabled(!0)}},{key:"setNextButtonDisabled",value:function(e){this.nextButtons.forEach((function(t){t.disabled=e}))}},{key:"setActiveStep",value:function(e){var t=this;document.querySelectorAll("[data-step-id].".concat(this.activeClass)).forEach((function(e){e.classList.remove(t.activeClass)})),e.classList.add(this.activeClass),this.activeStepElement=e}},{key:"updateButtons",value:function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:-1;-1===t&&(t=this.activeStep);var n=document.querySelectorAll("button[data-step-id][disabled],button[data-step][disabled],button[data-step].hide,button[data-step-to][disabled]");n.forEach((function(t){t.disabled=!1,t.classList.remove(e.hideClass)}));var r=document.querySelectorAll("button[data-step-to].".concat(this.activeClass));r.forEach((function(t){t.classList.remove(e.activeClass)})),this.doneButtons.forEach((function(t){t.classList.add(e.hideClass)})),0===t&&this.prevButtons.forEach((function(e){e.disabled=!0})),t===this.numberOfsteps&&(this.nextButtons.forEach((function(t){t.classList.add(e.hideClass)})),this.doneButtons.forEach((function(t){t.classList.remove(e.hideClass)})));var i=document.querySelectorAll('button[data-step-to="'.concat(t,'"]'));i.forEach((function(t){t.classList.add(e.activeClass)}));var o=document.querySelectorAll("button.active[data-step-to] ~ button[data-step-to]");o.forEach((function(e){e.disabled=!0}))}}],n&&de(t.prototype,n),r&&de(t,r),e}();function pe(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function ge(e){return function(e){if(Array.isArray(e))return ve(e)}(e)||function(e){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(e))return Array.from(e)}(e)||function(e,t){if(!e)return;if("string"==typeof e)return ve(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(n);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return ve(e,t)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function ve(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}var me,ye,be,we,xe,Ce=(me=["a[href]","area[href]",'input:not([disabled]):not([type="hidden"]):not([aria-hidden])',"select:not([disabled]):not([aria-hidden])","textarea:not([disabled]):not([aria-hidden])","button:not([disabled]):not([aria-hidden])","iframe","object","embed","[contenteditable]",'[tabindex]:not([tabindex^="-"])'],ye=function(){function e(t){var n=t.targetModal,r=t.triggers,i=void 0===r?[]:r,o=t.onShow,a=void 0===o?function(){}:o,s=t.onClose,l=void 0===s?function(){}:s,c=t.openTrigger,u=void 0===c?"data-micromodal-trigger":c,h=t.closeTrigger,d=void 0===h?"data-micromodal-close":h,f=t.openClass,p=void 0===f?"is-open":f,g=t.disableScroll,v=void 0!==g&&g,m=t.disableFocus,y=void 0!==m&&m,b=t.awaitCloseAnimation,w=void 0!==b&&b,x=t.awaitOpenAnimation,C=void 0!==x&&x,k=t.debugMode,S=void 0!==k&&k;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.modal=document.getElementById(n),this.config={debugMode:S,disableScroll:v,openTrigger:u,closeTrigger:d,openClass:p,onShow:a,onClose:l,awaitCloseAnimation:w,awaitOpenAnimation:C,disableFocus:y},i.length>0&&this.registerTriggers.apply(this,ge(i)),this.onClick=this.onClick.bind(this),this.onKeydown=this.onKeydown.bind(this)}var t,n,r;return t=e,n=[{key:"registerTriggers",value:function(){for(var e=this,t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];n.filter(Boolean).forEach((function(t){t.addEventListener("click",(function(t){return e.showModal(t)}))}))}},{key:"showModal",value:function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null;if(this.activeElement=document.activeElement,this.modal.setAttribute("aria-hidden","false"),this.modal.classList.add(this.config.openClass),this.scrollBehaviour("disable"),this.addEventListeners(),this.config.awaitOpenAnimation){var n=function t(){e.modal.removeEventListener("animationend",t,!1),e.setFocusToFirstNode()};this.modal.addEventListener("animationend",n,!1)}else this.setFocusToFirstNode();this.config.onShow(this.modal,this.activeElement,t)}},{key:"closeModal",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,t=this.modal;if(this.modal.setAttribute("aria-hidden","true"),this.removeEventListeners(),this.scrollBehaviour("enable"),this.activeElement&&this.activeElement.focus&&this.activeElement.focus(),this.config.onClose(this.modal,this.activeElement,e),this.config.awaitCloseAnimation){var n=this.config.openClass;this.modal.addEventListener("animationend",(function e(){t.classList.remove(n),t.removeEventListener("animationend",e,!1)}),!1)}else t.classList.remove(this.config.openClass)}},{key:"closeModalById",value:function(e){this.modal=document.getElementById(e),this.modal&&this.closeModal()}},{key:"scrollBehaviour",value:function(e){if(this.config.disableScroll){var t=document.querySelector("body");switch(e){case"enable":Object.assign(t.style,{overflow:""});break;case"disable":Object.assign(t.style,{overflow:"hidden"})}}}},{key:"addEventListeners",value:function(){this.modal.addEventListener("touchstart",this.onClick),this.modal.addEventListener("click",this.onClick),document.addEventListener("keydown",this.onKeydown)}},{key:"removeEventListeners",value:function(){this.modal.removeEventListener("touchstart",this.onClick),this.modal.removeEventListener("click",this.onClick),document.removeEventListener("keydown",this.onKeydown)}},{key:"onClick",value:function(e){e.target.hasAttribute(this.config.closeTrigger)&&this.closeModal(e)}},{key:"onKeydown",value:function(e){27===e.keyCode&&this.closeModal(e),9===e.keyCode&&this.retainFocus(e)}},{key:"getFocusableNodes",value:function(){var e=this.modal.querySelectorAll(me);return Array.apply(void 0,ge(e))}},{key:"setFocusToFirstNode",value:function(){var e=this;if(!this.config.disableFocus){var t=this.getFocusableNodes();if(0!==t.length){var n=t.filter((function(t){return!t.hasAttribute(e.config.closeTrigger)}));n.length>0&&n[0].focus(),0===n.length&&t[0].focus()}}}},{key:"retainFocus",value:function(e){var t=this.getFocusableNodes();if(0!==t.length)if(t=t.filter((function(e){return null!==e.offsetParent})),this.modal.contains(document.activeElement)){var n=t.indexOf(document.activeElement);e.shiftKey&&0===n&&(t[t.length-1].focus(),e.preventDefault()),!e.shiftKey&&t.length>0&&n===t.length-1&&(t[0].focus(),e.preventDefault())}else t[0].focus()}}],n&&pe(t.prototype,n),r&&pe(t,r),e}(),be=null,we=function(e){if(!document.getElementById(e))return console.warn("MicroModal: ❗Seems like you have missed %c'".concat(e,"'"),"background-color: #f8f9fa;color: #50596c;font-weight: bold;","ID somewhere in your code. Refer example below to resolve it."),console.warn("%cExample:","background-color: #f8f9fa;color: #50596c;font-weight: bold;",'<div class="modal" id="'.concat(e,'"></div>')),!1},xe=function(e,t){if(function(e){e.length<=0&&(console.warn("MicroModal: ❗Please specify at least one %c'micromodal-trigger'","background-color: #f8f9fa;color: #50596c;font-weight: bold;","data attribute."),console.warn("%cExample:","background-color: #f8f9fa;color: #50596c;font-weight: bold;",'<a href="#" data-micromodal-trigger="my-modal"></a>'))}(e),!t)return!0;for(var n in t)we(n);return!0},{init:function(e){var t=Object.assign({},{openTrigger:"data-micromodal-trigger"},e),n=ge(document.querySelectorAll("[".concat(t.openTrigger,"]"))),r=function(e,t){var n=[];return e.forEach((function(e){var r=e.attributes[t].value;void 0===n[r]&&(n[r]=[]),n[r].push(e)})),n}(n,t.openTrigger);if(!0!==t.debugMode||!1!==xe(n,r))for(var i in r){var o=r[i];t.targetModal=i,t.triggers=ge(o),be=new ye(t)}},show:function(e,t){var n=t||{};n.targetModal=e,!0===n.debugMode&&!1===we(e)||(be&&be.removeEventListeners(),(be=new ye(n)).showModal())},close:function(e){e?be.closeModalById(e):be.closeModal()}});window.MicroModal=Ce;const ke=Ce;function Se(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}var Le,Te=function(){function e(t){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.setProperties(t),this.init()}var t,n,r;return t=e,(n=[{key:"setProperties",value:function(e){this.premiumForm=e,this.modalId="wpgdprc-sign-up-modal",this.options={openClass:"is-open",disableScroll:!0,disableFocus:!0,openTrigger:"data-signup-open",closeTrigger:"data-signup-close",onShow:function(){document.body.style.overflowY="hidden"},onClose:function(){document.body.style.overflowY="auto"}},this.privateButton=document.querySelector("button[data-signup-private]"),this.businessButton=document.querySelector("button[data-signup-business]"),this.chosseTypePage=document.querySelector(".wpgdprc-sign-up-modal__choose-type"),this.signUpPage=document.querySelector(".wpgdprc-sign-up-modal__sign-up"),this.backButton=document.querySelector(".wpgdprc-sign-up-modal__back"),this.ctaButtons=document.querySelectorAll(".wpgdprc-cta-button"),this.prefix=wpgdprcAdmin.pluginPrefix,this.ajaxUrl=wpgdprcAdmin.ajaxUrl,this.ajaxNonce=wpgdprcAdmin.ajaxNonce,this.ajaxArg=wpgdprcAdmin.ajaxArg,this.locale=wpgdprcAdmin.locale,this.showModal=wpgdprcAdmin.showModal}},{key:"init",value:function(){document.querySelector("#".concat(this.modalId))&&(ke.init(this.options),this.handleButtonActions(),this.showModal&&ke.show(this.modalId,this.options))}},{key:"gotoSignUpPage",value:function(){this.chosseTypePage.style.display="none",this.signUpPage.style.display="block",this.backButton.style.display="block"}},{key:"gotoChoseTypePage",value:function(){this.chosseTypePage.style.display="block",this.signUpPage.style.display="none",this.backButton.style.display="none"}},{key:"handleButtonActions",value:function(){var e=this;this.ctaButtons.forEach((function(t){t.addEventListener("click",(function(t){t.preventDefault(),e.gotoSignUpPage(),ke.show(e.modalId,e.options)}))})),this.privateButton.addEventListener("click",(function(){ke.close(e.modalId,e.options),e.updatePremium("private")})),this.businessButton.addEventListener("click",(function(){e.gotoSignUpPage(),e.updatePremium("business")})),this.backButton.addEventListener("click",(function(){e.gotoChoseTypePage()}))}},{key:"updatePremium",value:function(e){this.premiumForm.updatePremium(!1,e)}}])&&Se(t.prototype,n),r&&Se(t,r),e}();Le=function(){v();var e=new A,t=new V;new b,new x,new M,new k,new B,new _,new X,new J,new Z,new ne,new ae,new Te(t),new fe(e)},document.addEventListener("DOMContentLoaded",(function(){Le()}))})()})();
Assets/js/dc237e72ff0ecbad38d7.woff2 DELETED
Binary file
Assets/js/front.min.js CHANGED
@@ -1,2 +1,2 @@
1
  /*! For license information please see front.min.js.LICENSE.txt */
2
- (()=>{var t={20:t=>{"use strict";var e="%[a-f0-9]{2}",r=new RegExp(e,"gi"),n=new RegExp("("+e+")+","gi");function o(t,e){try{return decodeURIComponent(t.join(""))}catch(t){}if(1===t.length)return t;e=e||1;var r=t.slice(0,e),n=t.slice(e);return Array.prototype.concat.call([],o(r),o(n))}function i(t){try{return decodeURIComponent(t)}catch(i){for(var e=t.match(r),n=1;n<e.length;n++)e=(t=o(e,n).join("")).match(r);return t}}t.exports=function(t){if("string"!=typeof t)throw new TypeError("Expected `encodedURI` to be of type `string`, got `"+typeof t+"`");try{return t=t.replace(/\+/g," "),decodeURIComponent(t)}catch(e){return function(t){for(var e={"%FE%FF":"��","%FF%FE":"��"},r=n.exec(t);r;){try{e[r[0]]=decodeURIComponent(r[0])}catch(t){var o=i(r[0]);o!==r[0]&&(e[r[0]]=o)}r=n.exec(t)}e["%C2"]="�";for(var a=Object.keys(e),s=0;s<a.length;s++){var c=a[s];t=t.replace(new RegExp(c,"g"),e[c])}return t}(t)}}},806:t=>{"use strict";t.exports=function(t,e){for(var r={},n=Object.keys(t),o=Array.isArray(e),i=0;i<n.length;i++){var a=n[i],s=t[a];(o?-1!==e.indexOf(a):e(a,s,t))&&(r[a]=s)}return r}},808:function(t){var e;e=function(){return function(t){var e={};function r(n){if(e[n])return e[n].exports;var o=e[n]={exports:{},id:n,loaded:!1};return t[n].call(o.exports,o,o.exports,r),o.loaded=!0,o.exports}return r.m=t,r.c=e,r.p="",r(0)}([function(t,e,r){"use strict";var n,o=r(1),i=(n=o)&&n.__esModule?n:{default:n};t.exports=i.default},function(t,e,r){"use strict";e.__esModule=!0;var n=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var r=arguments[e];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(t[n]=r[n])}return t};e.default=y;var o,i=r(2),a=(o=i)&&o.__esModule?o:{default:o},s=function(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e.default=t,e}(r(4));function c(){}var u={afterAsync:c,afterDequeue:c,afterStreamStart:c,afterWrite:c,autoFix:!0,beforeEnqueue:c,beforeWriteToken:function(t){return t},beforeWrite:function(t){return t},done:c,error:function(t){throw new Error(t.msg)},releaseAsync:!1},l=0,f=[],d=null;function p(){var t=f.shift();if(t){var e=s.last(t);e.afterDequeue(),t.stream=h.apply(void 0,t),e.afterStreamStart()}}function h(t,e,r){(d=new a.default(t,r)).id=l++,d.name=r.name||d.id,y.streams[d.name]=d;var o=t.ownerDocument,i={close:o.close,open:o.open,write:o.write,writeln:o.writeln};function s(t){t=r.beforeWrite(t),d.write(t),r.afterWrite(t)}n(o,{close:c,open:c,write:function(){for(var t=arguments.length,e=Array(t),r=0;r<t;r++)e[r]=arguments[r];return s(e.join(""))},writeln:function(){for(var t=arguments.length,e=Array(t),r=0;r<t;r++)e[r]=arguments[r];return s(e.join("")+"\n")}});var u=d.win.onerror||c;return d.win.onerror=function(t,e,n){r.error({msg:t+" - "+e+": "+n}),u.apply(d.win,[t,e,n])},d.write(e,(function(){n(o,i),d.win.onerror=u,r.done(),d=null,p()})),d}function y(t,e,r){if(s.isFunction(r))r={done:r};else if("clear"===r)return f=[],d=null,void(l=0);r=s.defaults(r,u);var n=[t=/^#/.test(t)?window.document.getElementById(t.substr(1)):t.jquery?t[0]:t,e,r];return t.postscribe={cancel:function(){n.stream?n.stream.abort():n[1]=c}},r.beforeEnqueue(n),f.push(n),d||p(),t.postscribe}n(y,{streams:{},queue:f,WriteStream:a.default})},function(t,e,r){"use strict";e.__esModule=!0;var n,o=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var r=arguments[e];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(t[n]=r[n])}return t},i=r(3),a=(n=i)&&n.__esModule?n:{default:n},s=function(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e.default=t,e}(r(4));function c(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}var u="data-ps-",l="ps-style",f="ps-script";function d(t,e){var r=u+e,n=t.getAttribute(r);return s.existy(n)?String(n):n}function p(t,e){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null,n=u+e;s.existy(r)&&""!==r?t.setAttribute(n,r):t.removeAttribute(n)}var h=function(){function t(e){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};c(this,t),this.root=e,this.options=r,this.doc=e.ownerDocument,this.win=this.doc.defaultView||this.doc.parentWindow,this.parser=new a.default("",{autoFix:r.autoFix}),this.actuals=[e],this.proxyHistory="",this.proxyRoot=this.doc.createElement(e.nodeName),this.scriptStack=[],this.writeQueue=[],p(this.proxyRoot,"proxyof",0)}return t.prototype.write=function(){var t;for((t=this.writeQueue).push.apply(t,arguments);!this.deferredRemote&&this.writeQueue.length;){var e=this.writeQueue.shift();s.isFunction(e)?this._callFunction(e):this._writeImpl(e)}},t.prototype._callFunction=function(t){var e={type:"function",value:t.name||t.toString()};this._onScriptStart(e),t.call(this.win,this.doc),this._onScriptDone(e)},t.prototype._writeImpl=function(t){this.parser.append(t);for(var e=void 0,r=void 0,n=void 0,o=[];(e=this.parser.readToken())&&!(r=s.isScript(e))&&!(n=s.isStyle(e));)(e=this.options.beforeWriteToken(e))&&o.push(e);o.length>0&&this._writeStaticTokens(o),r&&this._handleScriptToken(e),n&&this._handleStyleToken(e)},t.prototype._writeStaticTokens=function(t){var e=this._buildChunk(t);return e.actual?(e.html=this.proxyHistory+e.actual,this.proxyHistory+=e.proxy,this.proxyRoot.innerHTML=e.html,this._walkChunk(),e):null},t.prototype._buildChunk=function(t){for(var e=this.actuals.length,r=[],n=[],o=[],i=t.length,a=0;a<i;a++){var s=t[a],c=s.toString();if(r.push(c),s.attrs){if(!/^noscript$/i.test(s.tagName)){var u=e++;n.push(c.replace(/(\/?>)/," data-ps-id="+u+" $1")),s.attrs.id!==f&&s.attrs.id!==l&&o.push("atomicTag"===s.type?"":"<"+s.tagName+" data-ps-proxyof="+u+(s.unary?" />":">"))}}else n.push(c),o.push("endTag"===s.type?c:"")}return{tokens:t,raw:r.join(""),actual:n.join(""),proxy:o.join("")}},t.prototype._walkChunk=function(){for(var t=void 0,e=[this.proxyRoot];s.existy(t=e.shift());){var r=1===t.nodeType;if(!r||!d(t,"proxyof")){r&&(this.actuals[d(t,"id")]=t,p(t,"id"));var n=t.parentNode&&d(t.parentNode,"proxyof");n&&this.actuals[n].appendChild(t)}e.unshift.apply(e,s.toArray(t.childNodes))}},t.prototype._handleScriptToken=function(t){var e=this,r=this.parser.clear();r&&this.writeQueue.unshift(r),t.src=t.attrs.src||t.attrs.SRC,(t=this.options.beforeWriteToken(t))&&(t.src&&this.scriptStack.length?this.deferredRemote=t:this._onScriptStart(t),this._writeScriptToken(t,(function(){e._onScriptDone(t)})))},t.prototype._handleStyleToken=function(t){var e=this.parser.clear();e&&this.writeQueue.unshift(e),t.type=t.attrs.type||t.attrs.TYPE||"text/css",(t=this.options.beforeWriteToken(t))&&this._writeStyleToken(t),e&&this.write()},t.prototype._writeStyleToken=function(t){var e=this._buildStyle(t);this._insertCursor(e,l),t.content&&(e.styleSheet&&!e.sheet?e.styleSheet.cssText=t.content:e.appendChild(this.doc.createTextNode(t.content)))},t.prototype._buildStyle=function(t){var e=this.doc.createElement(t.tagName);return e.setAttribute("type",t.type),s.eachKey(t.attrs,(function(t,r){e.setAttribute(t,r)})),e},t.prototype._insertCursor=function(t,e){this._writeImpl('<span id="'+e+'"/>');var r=this.doc.getElementById(e);r&&r.parentNode.replaceChild(t,r)},t.prototype._onScriptStart=function(t){t.outerWrites=this.writeQueue,this.writeQueue=[],this.scriptStack.unshift(t)},t.prototype._onScriptDone=function(t){t===this.scriptStack[0]?(this.scriptStack.shift(),this.write.apply(this,t.outerWrites),!this.scriptStack.length&&this.deferredRemote&&(this._onScriptStart(this.deferredRemote),this.deferredRemote=null)):this.options.error({msg:"Bad script nesting or script finished twice"})},t.prototype._writeScriptToken=function(t,e){var r=this._buildScript(t),n=this._shouldRelease(r),o=this.options.afterAsync;t.src&&(r.src=t.src,this._scriptLoadHandler(r,n?o:function(){e(),o()}));try{this._insertCursor(r,f),r.src&&!n||e()}catch(t){this.options.error(t),e()}},t.prototype._buildScript=function(t){var e=this.doc.createElement(t.tagName);return s.eachKey(t.attrs,(function(t,r){e.setAttribute(t,r)})),t.content&&(e.text=t.content),e},t.prototype._scriptLoadHandler=function(t,e){function r(){t=t.onload=t.onreadystatechange=t.onerror=null}var n=this.options.error;function i(){r(),null!=e&&e(),e=null}function a(t){r(),n(t),null!=e&&e(),e=null}function s(t,e){var r=t["on"+e];null!=r&&(t["_on"+e]=r)}s(t,"load"),s(t,"error"),o(t,{onload:function(){if(t._onload)try{t._onload.apply(this,Array.prototype.slice.call(arguments,0))}catch(e){a({msg:"onload handler failed "+e+" @ "+t.src})}i()},onerror:function(){if(t._onerror)try{t._onerror.apply(this,Array.prototype.slice.call(arguments,0))}catch(e){return void a({msg:"onerror handler failed "+e+" @ "+t.src})}a({msg:"remote script failed "+t.src})},onreadystatechange:function(){/^(loaded|complete)$/.test(t.readyState)&&i()}})},t.prototype._shouldRelease=function(t){return!/^script$/i.test(t.nodeName)||!!(this.options.releaseAsync&&t.src&&t.hasAttribute("async"))},t}();e.default=h},function(t,e,r){var n;n=function(){return function(t){var e={};function r(n){if(e[n])return e[n].exports;var o=e[n]={exports:{},id:n,loaded:!1};return t[n].call(o.exports,o,o.exports,r),o.loaded=!0,o.exports}return r.m=t,r.c=e,r.p="",r(0)}([function(t,e,r){"use strict";var n,o=r(1),i=(n=o)&&n.__esModule?n:{default:n};t.exports=i.default},function(t,e,r){"use strict";e.__esModule=!0;var n,o=u(r(2)),i=u(r(3)),a=r(6),s=(n=a)&&n.__esModule?n:{default:n},c=r(5);function u(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e.default=t,e}function l(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}var f={comment:/^<!--/,endTag:/^<\//,atomicTag:/^<\s*(script|style|noscript|iframe|textarea)[\s\/>]/i,startTag:/^</,chars:/^[^<]/},d=function(){function t(){var e=this,r=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};l(this,t),this.stream=r;var i=!1,a={};for(var c in o)o.hasOwnProperty(c)&&(n.autoFix&&(a[c+"Fix"]=!0),i=i||a[c+"Fix"]);i?(this._readToken=(0,s.default)(this,a,(function(){return e._readTokenImpl()})),this._peekToken=(0,s.default)(this,a,(function(){return e._peekTokenImpl()}))):(this._readToken=this._readTokenImpl,this._peekToken=this._peekTokenImpl)}return t.prototype.append=function(t){this.stream+=t},t.prototype.prepend=function(t){this.stream=t+this.stream},t.prototype._readTokenImpl=function(){var t=this._peekTokenImpl();if(t)return this.stream=this.stream.slice(t.length),t},t.prototype._peekTokenImpl=function(){for(var t in f)if(f.hasOwnProperty(t)&&f[t].test(this.stream)){var e=i[t](this.stream);if(e)return"startTag"===e.type&&/script|style/i.test(e.tagName)?null:(e.text=this.stream.substr(0,e.length),e)}},t.prototype.peekToken=function(){return this._peekToken()},t.prototype.readToken=function(){return this._readToken()},t.prototype.readTokens=function(t){for(var e=void 0;e=this.readToken();)if(t[e.type]&&!1===t[e.type](e))return},t.prototype.clear=function(){var t=this.stream;return this.stream="",t},t.prototype.rest=function(){return this.stream},t}();for(var p in e.default=d,d.tokenToString=function(t){return t.toString()},d.escapeAttributes=function(t){var e={};for(var r in t)t.hasOwnProperty(r)&&(e[r]=(0,c.escapeQuotes)(t[r],null));return e},d.supports=o,o)o.hasOwnProperty(p)&&(d.browserHasFlaw=d.browserHasFlaw||!o[p]&&p)},function(t,e){"use strict";e.__esModule=!0;var r=!1,n=!1,o=window.document.createElement("div");try{var i="<P><I></P></I>";o.innerHTML=i,e.tagSoup=r=o.innerHTML!==i}catch(t){e.tagSoup=r=!1}try{o.innerHTML="<P><i><P></P></i></P>",e.selfClose=n=2===o.childNodes.length}catch(t){e.selfClose=n=!1}o=null,e.tagSoup=r,e.selfClose=n},function(t,e,r){"use strict";e.__esModule=!0;var n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t};e.comment=function(t){var e=t.indexOf("--\x3e");if(e>=0)return new o.CommentToken(t.substr(4,e-1),e+3)},e.chars=function(t){var e=t.indexOf("<");return new o.CharsToken(e>=0?e:t.length)},e.startTag=a,e.atomicTag=function(t){var e=a(t);if(e){var r=t.slice(e.length);if(r.match(new RegExp("</\\s*"+e.tagName+"\\s*>","i"))){var n=r.match(new RegExp("([\\s\\S]*?)</\\s*"+e.tagName+"\\s*>","i"));if(n)return new o.AtomicTagToken(e.tagName,n[0].length+e.length,e.attrs,e.booleanAttrs,n[1])}}},e.endTag=function(t){var e=t.match(i.endTag);if(e)return new o.EndTagToken(e[1],e[0].length)};var o=r(4),i={startTag:/^<([\-A-Za-z0-9_]+)((?:\s+[\w\-]+(?:\s*=?\s*(?:(?:"[^"]*")|(?:'[^']*')|[^>\s]+))?)*)\s*(\/?)>/,endTag:/^<\/([\-A-Za-z0-9_]+)[^>]*>/,attr:/(?:([\-A-Za-z0-9_]+)\s*=\s*(?:(?:"((?:\\.|[^"])*)")|(?:'((?:\\.|[^'])*)')|([^>\s]+)))|(?:([\-A-Za-z0-9_]+)(\s|$)+)/g,fillAttr:/^(checked|compact|declare|defer|disabled|ismap|multiple|nohref|noresize|noshade|nowrap|readonly|selected)$/i};function a(t){var e,r,a;if(-1!==t.indexOf(">")){var s=t.match(i.startTag);if(s){var c=(e={},r={},a=s[2],s[2].replace(i.attr,(function(t,n){arguments[2]||arguments[3]||arguments[4]||arguments[5]?arguments[5]?(e[arguments[5]]="",r[arguments[5]]=!0):e[n]=arguments[2]||arguments[3]||arguments[4]||i.fillAttr.test(n)&&n||"":e[n]="",a=a.replace(t,"")})),{v:new o.StartTagToken(s[1],s[0].length,e,r,!!s[3],a.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,""))});if("object"===(void 0===c?"undefined":n(c)))return c.v}}}},function(t,e,r){"use strict";e.__esModule=!0,e.EndTagToken=e.AtomicTagToken=e.StartTagToken=e.TagToken=e.CharsToken=e.CommentToken=e.Token=void 0;var n=r(5);function o(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}e.Token=function t(e,r){o(this,t),this.type=e,this.length=r,this.text=""},e.CommentToken=function(){function t(e,r){o(this,t),this.type="comment",this.length=r||(e?e.length:0),this.text="",this.content=e}return t.prototype.toString=function(){return"\x3c!--"+this.content},t}(),e.CharsToken=function(){function t(e){o(this,t),this.type="chars",this.length=e,this.text=""}return t.prototype.toString=function(){return this.text},t}();var i=e.TagToken=function(){function t(e,r,n,i,a){o(this,t),this.type=e,this.length=n,this.text="",this.tagName=r,this.attrs=i,this.booleanAttrs=a,this.unary=!1,this.html5Unary=!1}return t.formatTag=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,r="<"+t.tagName;for(var o in t.attrs)if(t.attrs.hasOwnProperty(o)){r+=" "+o;var i=t.attrs[o];void 0!==t.booleanAttrs&&void 0!==t.booleanAttrs[o]||(r+='="'+(0,n.escapeQuotes)(i)+'"')}return t.rest&&(r+=" "+t.rest),t.unary&&!t.html5Unary?r+="/>":r+=">",null!=e&&(r+=e+"</"+t.tagName+">"),r},t}();e.StartTagToken=function(){function t(e,r,n,i,a,s){o(this,t),this.type="startTag",this.length=r,this.text="",this.tagName=e,this.attrs=n,this.booleanAttrs=i,this.html5Unary=!1,this.unary=a,this.rest=s}return t.prototype.toString=function(){return i.formatTag(this)},t}(),e.AtomicTagToken=function(){function t(e,r,n,i,a){o(this,t),this.type="atomicTag",this.length=r,this.text="",this.tagName=e,this.attrs=n,this.booleanAttrs=i,this.unary=!1,this.html5Unary=!1,this.content=a}return t.prototype.toString=function(){return i.formatTag(this,this.content)},t}(),e.EndTagToken=function(){function t(e,r){o(this,t),this.type="endTag",this.length=r,this.text="",this.tagName=e}return t.prototype.toString=function(){return"</"+this.tagName+">"},t}()},function(t,e){"use strict";e.__esModule=!0,e.escapeQuotes=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";return t?t.replace(/([^"]*)"/g,(function(t,e){return/\\/.test(e)?e+'"':e+'\\"'})):e}},function(t,e){"use strict";e.__esModule=!0,e.default=function(t,e,r){var a=function(){var t=[];return t.last=function(){return this[this.length-1]},t.lastTagNameEq=function(t){var e=this.last();return e&&e.tagName&&e.tagName.toUpperCase()===t.toUpperCase()},t.containsTagName=function(t){for(var e,r=0;e=this[r];r++)if(e.tagName===t)return!0;return!1},t}(),s={startTag:function(r){var o=r.tagName;"TR"===o.toUpperCase()&&a.lastTagNameEq("TABLE")?(t.prepend("<TBODY>"),c()):e.selfCloseFix&&n.test(o)&&a.containsTagName(o)?a.lastTagNameEq(o)?i(t,a):(t.prepend("</"+r.tagName+">"),c()):r.unary||a.push(r)},endTag:function(n){a.last()?e.tagSoupFix&&!a.lastTagNameEq(n.tagName)?i(t,a):a.pop():e.tagSoupFix&&(r(),c())}};function c(){var e=function(t,e){var r=t.stream,n=o(e());return t.stream=r,n}(t,r);e&&s[e.type]&&s[e.type](e)}return function(){return c(),o(r())}};var r=/^(AREA|BASE|BASEFONT|BR|COL|FRAME|HR|IMG|INPUT|ISINDEX|LINK|META|PARAM|EMBED)$/i,n=/^(COLGROUP|DD|DT|LI|OPTIONS|P|TD|TFOOT|TH|THEAD|TR)$/i;function o(t){return t&&"startTag"===t.type&&(t.unary=r.test(t.tagName)||t.unary,t.html5Unary=!/\/>$/.test(t.text)),t}function i(t,e){var r=e.pop();t.prepend("</"+r.tagName+">")}}])},t.exports=n()},function(t,e){"use strict";e.__esModule=!0;var r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t};function n(t){return null!=t}function o(t,e,r){var n=void 0,o=t&&t.length||0;for(n=0;n<o;n++)e.call(r,t[n],n)}function i(t,e,r){for(var n in t)t.hasOwnProperty(n)&&e.call(r,n,t[n])}function a(t,e){return!(!t||"startTag"!==t.type&&"atomicTag"!==t.type||!("tagName"in t)||!~t.tagName.toLowerCase().indexOf(e))}e.existy=n,e.isFunction=function(t){return"function"==typeof t},e.each=o,e.eachKey=i,e.defaults=function(t,e){return t=t||{},i(e,(function(e,r){n(t[e])||(t[e]=r)})),t},e.toArray=function(t){try{return Array.prototype.slice.call(t)}catch(i){var e=(n=[],o(t,(function(t){n.push(t)})),{v:n});if("object"===(void 0===e?"undefined":r(e)))return e.v}var n},e.last=function(t){return t[t.length-1]},e.isTag=a,e.isScript=function(t){return a(t,"script")},e.isStyle=function(t){return a(t,"style")}}])},t.exports=e()},563:(t,e,r)=>{"use strict";const n=r(610),o=r(20),i=r(500),a=r(806),s=Symbol("encodeFragmentIdentifier");function c(t){if("string"!=typeof t||1!==t.length)throw new TypeError("arrayFormatSeparator must be single character string")}function u(t,e){return e.encode?e.strict?n(t):encodeURIComponent(t):t}function l(t,e){return e.decode?o(t):t}function f(t){return Array.isArray(t)?t.sort():"object"==typeof t?f(Object.keys(t)).sort(((t,e)=>Number(t)-Number(e))).map((e=>t[e])):t}function d(t){const e=t.indexOf("#");return-1!==e&&(t=t.slice(0,e)),t}function p(t){const e=(t=d(t)).indexOf("?");return-1===e?"":t.slice(e+1)}function h(t,e){return e.parseNumbers&&!Number.isNaN(Number(t))&&"string"==typeof t&&""!==t.trim()?t=Number(t):!e.parseBooleans||null===t||"true"!==t.toLowerCase()&&"false"!==t.toLowerCase()||(t="true"===t.toLowerCase()),t}function y(t,e){c((e=Object.assign({decode:!0,sort:!0,arrayFormat:"none",arrayFormatSeparator:",",parseNumbers:!1,parseBooleans:!1},e)).arrayFormatSeparator);const r=function(t){let e;switch(t.arrayFormat){case"index":return(t,r,n)=>{e=/\[(\d*)\]$/.exec(t),t=t.replace(/\[\d*\]$/,""),e?(void 0===n[t]&&(n[t]={}),n[t][e[1]]=r):n[t]=r};case"bracket":return(t,r,n)=>{e=/(\[\])$/.exec(t),t=t.replace(/\[\]$/,""),e?void 0!==n[t]?n[t]=[].concat(n[t],r):n[t]=[r]:n[t]=r};case"comma":case"separator":return(e,r,n)=>{const o="string"==typeof r&&r.includes(t.arrayFormatSeparator),i="string"==typeof r&&!o&&l(r,t).includes(t.arrayFormatSeparator);r=i?l(r,t):r;const a=o||i?r.split(t.arrayFormatSeparator).map((e=>l(e,t))):null===r?r:l(r,t);n[e]=a};case"bracket-separator":return(e,r,n)=>{const o=/(\[\])$/.test(e);if(e=e.replace(/\[\]$/,""),!o)return void(n[e]=r?l(r,t):r);const i=null===r?[]:r.split(t.arrayFormatSeparator).map((e=>l(e,t)));void 0!==n[e]?n[e]=[].concat(n[e],i):n[e]=i};default:return(t,e,r)=>{void 0!==r[t]?r[t]=[].concat(r[t],e):r[t]=e}}}(e),n=Object.create(null);if("string"!=typeof t)return n;if(!(t=t.trim().replace(/^[?#&]/,"")))return n;for(const o of t.split("&")){if(""===o)continue;let[t,a]=i(e.decode?o.replace(/\+/g," "):o,"=");a=void 0===a?null:["comma","separator","bracket-separator"].includes(e.arrayFormat)?a:l(a,e),r(l(t,e),a,n)}for(const t of Object.keys(n)){const r=n[t];if("object"==typeof r&&null!==r)for(const t of Object.keys(r))r[t]=h(r[t],e);else n[t]=h(r,e)}return!1===e.sort?n:(!0===e.sort?Object.keys(n).sort():Object.keys(n).sort(e.sort)).reduce(((t,e)=>{const r=n[e];return Boolean(r)&&"object"==typeof r&&!Array.isArray(r)?t[e]=f(r):t[e]=r,t}),Object.create(null))}e.extract=p,e.parse=y,e.stringify=(t,e)=>{if(!t)return"";c((e=Object.assign({encode:!0,strict:!0,arrayFormat:"none",arrayFormatSeparator:","},e)).arrayFormatSeparator);const r=r=>e.skipNull&&null==t[r]||e.skipEmptyString&&""===t[r],n=function(t){switch(t.arrayFormat){case"index":return e=>(r,n)=>{const o=r.length;return void 0===n||t.skipNull&&null===n||t.skipEmptyString&&""===n?r:null===n?[...r,[u(e,t),"[",o,"]"].join("")]:[...r,[u(e,t),"[",u(o,t),"]=",u(n,t)].join("")]};case"bracket":return e=>(r,n)=>void 0===n||t.skipNull&&null===n||t.skipEmptyString&&""===n?r:null===n?[...r,[u(e,t),"[]"].join("")]:[...r,[u(e,t),"[]=",u(n,t)].join("")];case"comma":case"separator":case"bracket-separator":{const e="bracket-separator"===t.arrayFormat?"[]=":"=";return r=>(n,o)=>void 0===o||t.skipNull&&null===o||t.skipEmptyString&&""===o?n:(o=null===o?"":o,0===n.length?[[u(r,t),e,u(o,t)].join("")]:[[n,u(o,t)].join(t.arrayFormatSeparator)])}default:return e=>(r,n)=>void 0===n||t.skipNull&&null===n||t.skipEmptyString&&""===n?r:null===n?[...r,u(e,t)]:[...r,[u(e,t),"=",u(n,t)].join("")]}}(e),o={};for(const e of Object.keys(t))r(e)||(o[e]=t[e]);const i=Object.keys(o);return!1!==e.sort&&i.sort(e.sort),i.map((r=>{const o=t[r];return void 0===o?"":null===o?u(r,e):Array.isArray(o)?0===o.length&&"bracket-separator"===e.arrayFormat?u(r,e)+"[]":o.reduce(n(r),[]).join("&"):u(r,e)+"="+u(o,e)})).filter((t=>t.length>0)).join("&")},e.parseUrl=(t,e)=>{e=Object.assign({decode:!0},e);const[r,n]=i(t,"#");return Object.assign({url:r.split("?")[0]||"",query:y(p(t),e)},e&&e.parseFragmentIdentifier&&n?{fragmentIdentifier:l(n,e)}:{})},e.stringifyUrl=(t,r)=>{r=Object.assign({encode:!0,strict:!0,[s]:!0},r);const n=d(t.url).split("?")[0]||"",o=e.extract(t.url),i=e.parse(o,{sort:!1}),a=Object.assign(i,t.query);let c=e.stringify(a,r);c&&(c=`?${c}`);let l=function(t){let e="";const r=t.indexOf("#");return-1!==r&&(e=t.slice(r)),e}(t.url);return t.fragmentIdentifier&&(l=`#${r[s]?u(t.fragmentIdentifier,r):t.fragmentIdentifier}`),`${n}${c}${l}`},e.pick=(t,r,n)=>{n=Object.assign({parseFragmentIdentifier:!0,[s]:!1},n);const{url:o,query:i,fragmentIdentifier:c}=e.parseUrl(t,n);return e.stringifyUrl({url:o,query:a(i,r),fragmentIdentifier:c},n)},e.exclude=(t,r,n)=>{const o=Array.isArray(r)?t=>!r.includes(t):(t,e)=>!r(t,e);return e.pick(t,o,n)}},666:t=>{var e=function(t){"use strict";var e,r=Object.prototype,n=r.hasOwnProperty,o="function"==typeof Symbol?Symbol:{},i=o.iterator||"@@iterator",a=o.asyncIterator||"@@asyncIterator",s=o.toStringTag||"@@toStringTag";function c(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{c({},"")}catch(t){c=function(t,e,r){return t[e]=r}}function u(t,e,r,n){var o=e&&e.prototype instanceof v?e:v,i=Object.create(o.prototype),a=new A(n||[]);return i._invoke=function(t,e,r){var n=f;return function(o,i){if(n===p)throw new Error("Generator is already running");if(n===h){if("throw"===o)throw i;return L()}for(r.method=o,r.arg=i;;){var a=r.delegate;if(a){var s=O(a,r);if(s){if(s===y)continue;return s}}if("next"===r.method)r.sent=r._sent=r.arg;else if("throw"===r.method){if(n===f)throw n=h,r.arg;r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg);n=p;var c=l(t,e,r);if("normal"===c.type){if(n=r.done?h:d,c.arg===y)continue;return{value:c.arg,done:r.done}}"throw"===c.type&&(n=h,r.method="throw",r.arg=c.arg)}}}(t,r,a),i}function l(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}t.wrap=u;var f="suspendedStart",d="suspendedYield",p="executing",h="completed",y={};function v(){}function m(){}function g(){}var b={};c(b,i,(function(){return this}));var w=Object.getPrototypeOf,k=w&&w(w(_([])));k&&k!==r&&n.call(k,i)&&(b=k);var S=g.prototype=v.prototype=Object.create(b);function x(t){["next","throw","return"].forEach((function(e){c(t,e,(function(t){return this._invoke(e,t)}))}))}function T(t,e){function r(o,i,a,s){var c=l(t[o],t,i);if("throw"!==c.type){var u=c.arg,f=u.value;return f&&"object"==typeof f&&n.call(f,"__await")?e.resolve(f.__await).then((function(t){r("next",t,a,s)}),(function(t){r("throw",t,a,s)})):e.resolve(f).then((function(t){u.value=t,a(u)}),(function(t){return r("throw",t,a,s)}))}s(c.arg)}var o;this._invoke=function(t,n){function i(){return new e((function(e,o){r(t,n,e,o)}))}return o=o?o.then(i,i):i()}}function O(t,r){var n=t.iterator[r.method];if(n===e){if(r.delegate=null,"throw"===r.method){if(t.iterator.return&&(r.method="return",r.arg=e,O(t,r),"throw"===r.method))return y;r.method="throw",r.arg=new TypeError("The iterator does not provide a 'throw' method")}return y}var o=l(n,t.iterator,r.arg);if("throw"===o.type)return r.method="throw",r.arg=o.arg,r.delegate=null,y;var i=o.arg;return i?i.done?(r[t.resultName]=i.value,r.next=t.nextLoc,"return"!==r.method&&(r.method="next",r.arg=e),r.delegate=null,y):i:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,y)}function j(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function E(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function A(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(j,this),this.reset(!0)}function _(t){if(t){var r=t[i];if(r)return r.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var o=-1,a=function r(){for(;++o<t.length;)if(n.call(t,o))return r.value=t[o],r.done=!1,r;return r.value=e,r.done=!0,r};return a.next=a}}return{next:L}}function L(){return{value:e,done:!0}}return m.prototype=g,c(S,"constructor",g),c(g,"constructor",m),m.displayName=c(g,s,"GeneratorFunction"),t.isGeneratorFunction=function(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===m||"GeneratorFunction"===(e.displayName||e.name))},t.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,g):(t.__proto__=g,c(t,s,"GeneratorFunction")),t.prototype=Object.create(S),t},t.awrap=function(t){return{__await:t}},x(T.prototype),c(T.prototype,a,(function(){return this})),t.AsyncIterator=T,t.async=function(e,r,n,o,i){void 0===i&&(i=Promise);var a=new T(u(e,r,n,o),i);return t.isGeneratorFunction(r)?a:a.next().then((function(t){return t.done?t.value:a.next()}))},x(S),c(S,s,"Generator"),c(S,i,(function(){return this})),c(S,"toString",(function(){return"[object Generator]"})),t.keys=function(t){var e=[];for(var r in t)e.push(r);return e.reverse(),function r(){for(;e.length;){var n=e.pop();if(n in t)return r.value=n,r.done=!1,r}return r.done=!0,r}},t.values=_,A.prototype={constructor:A,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=e,this.done=!1,this.delegate=null,this.method="next",this.arg=e,this.tryEntries.forEach(E),!t)for(var r in this)"t"===r.charAt(0)&&n.call(this,r)&&!isNaN(+r.slice(1))&&(this[r]=e)},stop:function(){this.done=!0;var t=this.tryEntries[0].completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(t){if(this.done)throw t;var r=this;function o(n,o){return s.type="throw",s.arg=t,r.next=n,o&&(r.method="next",r.arg=e),!!o}for(var i=this.tryEntries.length-1;i>=0;--i){var a=this.tryEntries[i],s=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var c=n.call(a,"catchLoc"),u=n.call(a,"finallyLoc");if(c&&u){if(this.prev<a.catchLoc)return o(a.catchLoc,!0);if(this.prev<a.finallyLoc)return o(a.finallyLoc)}else if(c){if(this.prev<a.catchLoc)return o(a.catchLoc,!0)}else{if(!u)throw new Error("try statement without catch or finally");if(this.prev<a.finallyLoc)return o(a.finallyLoc)}}}},abrupt:function(t,e){for(var r=this.tryEntries.length-1;r>=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev<o.finallyLoc){var i=o;break}}i&&("break"===t||"continue"===t)&&i.tryLoc<=e&&e<=i.finallyLoc&&(i=null);var a=i?i.completion:{};return a.type=t,a.arg=e,i?(this.method="next",this.next=i.finallyLoc,y):this.complete(a)},complete:function(t,e){if("throw"===t.type)throw t.arg;return"break"===t.type||"continue"===t.type?this.next=t.arg:"return"===t.type?(this.rval=this.arg=t.arg,this.method="return",this.next="end"):"normal"===t.type&&e&&(this.next=e),y},finish:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),E(r),y}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;E(r)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(t,r,n){return this.delegate={iterator:_(t),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=e),y}},t}(t.exports);try{regeneratorRuntime=e}catch(t){"object"==typeof globalThis?globalThis.regeneratorRuntime=e:Function("r","regeneratorRuntime = r")(e)}},500:t=>{"use strict";t.exports=(t,e)=>{if("string"!=typeof t||"string"!=typeof e)throw new TypeError("Expected the arguments to be of type `string`");if(""===e)return[t];const r=t.indexOf(e);return-1===r?[t]:[t.slice(0,r),t.slice(r+e.length)]}},610:t=>{"use strict";t.exports=t=>encodeURIComponent(t).replace(/[!'()*]/g,(t=>`%${t.charCodeAt(0).toString(16).toUpperCase()}`))}},e={};function r(n){var o=e[n];if(void 0!==o)return o.exports;var i=e[n]={exports:{}};return t[n].call(i.exports,i,i.exports,r),i.exports}r.n=t=>{var e=t&&t.__esModule?()=>t.default:()=>t;return r.d(e,{a:e}),e},r.d=(t,e)=>{for(var n in e)r.o(e,n)&&!r.o(t,n)&&Object.defineProperty(t,n,{enumerable:!0,get:e[n]})},r.o=(t,e)=>Object.prototype.hasOwnProperty.call(t,e),(()=>{"use strict";r(666);var t=r(563);function e(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var r=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null==r)return;var n,o,i=[],a=!0,s=!1;try{for(r=r.call(t);!(a=(n=r.next()).done)&&(i.push(n.value),!e||i.length!==e);a=!0);}catch(t){s=!0,o=t}finally{try{a||null==r.return||r.return()}finally{if(s)throw o}}return i}(t,e)||c(t,e)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function n(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function o(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?n(Object(r),!0).forEach((function(e){i(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):n(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}function i(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function a(t,e){var r="undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(!r){if(Array.isArray(t)||(r=c(t))||e&&t&&"number"==typeof t.length){r&&(t=r);var n=0,o=function(){};return{s:o,n:function(){return n>=t.length?{done:!0}:{done:!1,value:t[n++]}},e:function(t){throw t},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,a=!0,s=!1;return{s:function(){r=r.call(t)},n:function(){var t=r.next();return a=t.done,t},e:function(t){s=!0,i=t},f:function(){try{a||null==r.return||r.return()}finally{if(s)throw i}}}}function s(t){return function(t){if(Array.isArray(t))return u(t)}(t)||function(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(t)||c(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function c(t,e){if(t){if("string"==typeof t)return u(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?u(t,e):void 0}}function u(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);r<e;r++)n[r]=t[r];return n}var l=function(e,r){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"POST",i=t.stringify(o({},r),{arrayFormat:"index"}),a={method:n,credentials:"same-origin",headers:new Headers({"Content-Type":"application/x-www-form-urlencoded; charset=utf-8"})};return"GET"===n?e+="?"+i:a.body=i,fetch(e,a)},f=function(t){return{data:JSON.stringify(o({},t))}},d=function(t){return document.cookie.split("; ").reduce((function(e,r){var n=r.split("=");return n[0]===t?decodeURIComponent(n[1]):e}),null)},p=function(t,e,r){var n=new Date;e=e||"",r=r||365,n.setTime(n.getTime()+24*r*60*60*1e3),document.cookie=t+"="+encodeURIComponent(e)+"; expires="+n.toGMTString()+"; path="+wpgdprcFront.path};function h(t){return function(t){if(Array.isArray(t))return y(t)}(t)||function(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(t)||function(t,e){if(!t)return;if("string"==typeof t)return y(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);"Object"===r&&t.constructor&&(r=t.constructor.name);if("Map"===r||"Set"===r)return Array.from(t);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return y(t,e)}(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function y(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);r<e;r++)n[r]=t[r];return n}var v="data-animation",m=function(t){t.setAttribute("".concat(v,"-appearing"),""),setTimeout((function(){t.removeAttribute("".concat(v)),t.removeAttribute("".concat(v,"-appearing")),t.setAttribute("".concat(v,"-complete"),"")}),function(t){var e=getComputedStyle(t);return 1e3*(parseFloat(e.animationDuration)+parseFloat(e.animationDelay))}(t))};const g=function(){if("IntersectionObserver"in window)!function(t,e){var r=new IntersectionObserver((function(t){s(t).forEach((function(t){var n=t.isIntersecting,o=(t._,t.target);n&&(e(o),r.unobserve(o))}))}),{threshold:arguments.length>2&&void 0!==arguments[2]?arguments[2]:[0]});if(t&&e){var n,o=a([].concat(t));try{for(o.s();!(n=o.n()).done;)for(var i=n.value,c=0,u=s(document.querySelectorAll(i));c<u.length;c++){var l=u[c];r.observe(l)}}catch(t){o.e(t)}finally{o.f()}}}("[".concat(v,"]"),(function(t){m(t)}),[0]);else for(var t=0,e=h(document.querySelectorAll("[".concat(v,"]")));t<e.length;t++){var r=e[t];m(r)}};function b(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function w(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?b(Object(r),!0).forEach((function(e){k(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):b(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}function k(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function S(t,e,r,n,o,i,a){try{var s=t[i](a),c=s.value}catch(t){return void r(t)}s.done?e(c):Promise.resolve(c).then(n,o)}var x=function(){var t,e=(t=regeneratorRuntime.mark((function t(){var e,r,n,o,i,a,s,c=arguments;return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return e=c.length>0&&void 0!==c[0]?c[0]:"all",r=wpgdprcFront.prefix,n=wpgdprcFront.ajaxUrl,o=wpgdprcFront.ajaxNonce,i=wpgdprcFront.ajaxArg,a=wpgdprcFront.cookieName,s=!0,t.prev=7,t.next=10,l(n,w(k({action:r+"_consent_cookie"},i,o),f({checked:e})),"POST").then((function(t){return t.json()})).then((function(t){if(s=!1,void 0!==t.success&&t.success){var e=void 0!==t.message&&t.message;p(a,e),window.location.reload(!0)}else console.dir(t)}));case 10:t.next=16;break;case 12:t.prev=12,t.t0=t.catch(7),console.error(t.t0),s=!1;case 16:return t.abrupt("return",s);case 17:case"end":return t.stop()}}),t,null,[[7,12]])})),function(){var e=this,r=arguments;return new Promise((function(n,o){var i=t.apply(e,r);function a(t){S(i,n,o,a,s,"next",t)}function s(t){S(i,n,o,a,s,"throw",t)}a(void 0)}))});return function(){return e.apply(this,arguments)}}();function T(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}var O=function(){function t(){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this.setProperties(),this.init()}var e,r,n;return e=t,(r=[{key:"setProperties",value:function(){this.cookieName=wpgdprcFront.cookieName,this.consentBar=document.querySelector(".wpgdprc-consent-bar"),this.buttonAccept=document.querySelector(".wpgdprc-consent-bar .wpgdprc-button--accept"),this.isLoading=!1}},{key:"init",value:function(){this.consentBar&&(null===d(this.cookieName)?(document.querySelector("body").prepend(this.consentBar),this.consentBar.style.display="block",this.handleButtonAccept()):this.consentBar.style.display="none")}},{key:"handleButtonAccept",value:function(){var t=this;this.buttonAccept&&this.buttonAccept.addEventListener("click",(function(e){e.preventDefault(),t.isLoading||(t.isLoading=x("all"))}))}}])&&T(e.prototype,r),n&&T(e,n),t}();function j(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}function E(t){return function(t){if(Array.isArray(t))return A(t)}(t)||function(t){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(t))return Array.from(t)}(t)||function(t,e){if(!t)return;if("string"==typeof t)return A(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);"Object"===r&&t.constructor&&(r=t.constructor.name);if("Map"===r||"Set"===r)return Array.from(r);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return A(t,e)}(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function A(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);r<e;r++)n[r]=t[r];return n}var _,L,C,N,F,P=(_=["a[href]","area[href]",'input:not([disabled]):not([type="hidden"]):not([aria-hidden])',"select:not([disabled]):not([aria-hidden])","textarea:not([disabled]):not([aria-hidden])","button:not([disabled]):not([aria-hidden])","iframe","object","embed","[contenteditable]",'[tabindex]:not([tabindex^="-"])'],L=function(){function t(e){var r=e.targetModal,n=e.triggers,o=void 0===n?[]:n,i=e.onShow,a=void 0===i?function(){}:i,s=e.onClose,c=void 0===s?function(){}:s,u=e.openTrigger,l=void 0===u?"data-micromodal-trigger":u,f=e.closeTrigger,d=void 0===f?"data-micromodal-close":f,p=e.openClass,h=void 0===p?"is-open":p,y=e.disableScroll,v=void 0!==y&&y,m=e.disableFocus,g=void 0!==m&&m,b=e.awaitCloseAnimation,w=void 0!==b&&b,k=e.awaitOpenAnimation,S=void 0!==k&&k,x=e.debugMode,T=void 0!==x&&x;!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this.modal=document.getElementById(r),this.config={debugMode:T,disableScroll:v,openTrigger:l,closeTrigger:d,openClass:h,onShow:a,onClose:c,awaitCloseAnimation:w,awaitOpenAnimation:S,disableFocus:g},o.length>0&&this.registerTriggers.apply(this,E(o)),this.onClick=this.onClick.bind(this),this.onKeydown=this.onKeydown.bind(this)}var e,r,n;return e=t,r=[{key:"registerTriggers",value:function(){for(var t=this,e=arguments.length,r=new Array(e),n=0;n<e;n++)r[n]=arguments[n];r.filter(Boolean).forEach((function(e){e.addEventListener("click",(function(e){return t.showModal(e)}))}))}},{key:"showModal",value:function(){var t=this,e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null;if(this.activeElement=document.activeElement,this.modal.setAttribute("aria-hidden","false"),this.modal.classList.add(this.config.openClass),this.scrollBehaviour("disable"),this.addEventListeners(),this.config.awaitOpenAnimation){var r=function e(){t.modal.removeEventListener("animationend",e,!1),t.setFocusToFirstNode()};this.modal.addEventListener("animationend",r,!1)}else this.setFocusToFirstNode();this.config.onShow(this.modal,this.activeElement,e)}},{key:"closeModal",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,e=this.modal;if(this.modal.setAttribute("aria-hidden","true"),this.removeEventListeners(),this.scrollBehaviour("enable"),this.activeElement&&this.activeElement.focus&&this.activeElement.focus(),this.config.onClose(this.modal,this.activeElement,t),this.config.awaitCloseAnimation){var r=this.config.openClass;this.modal.addEventListener("animationend",(function t(){e.classList.remove(r),e.removeEventListener("animationend",t,!1)}),!1)}else e.classList.remove(this.config.openClass)}},{key:"closeModalById",value:function(t){this.modal=document.getElementById(t),this.modal&&this.closeModal()}},{key:"scrollBehaviour",value:function(t){if(this.config.disableScroll){var e=document.querySelector("body");switch(t){case"enable":Object.assign(e.style,{overflow:""});break;case"disable":Object.assign(e.style,{overflow:"hidden"})}}}},{key:"addEventListeners",value:function(){this.modal.addEventListener("touchstart",this.onClick),this.modal.addEventListener("click",this.onClick),document.addEventListener("keydown",this.onKeydown)}},{key:"removeEventListeners",value:function(){this.modal.removeEventListener("touchstart",this.onClick),this.modal.removeEventListener("click",this.onClick),document.removeEventListener("keydown",this.onKeydown)}},{key:"onClick",value:function(t){t.target.hasAttribute(this.config.closeTrigger)&&this.closeModal(t)}},{key:"onKeydown",value:function(t){27===t.keyCode&&this.closeModal(t),9===t.keyCode&&this.retainFocus(t)}},{key:"getFocusableNodes",value:function(){var t=this.modal.querySelectorAll(_);return Array.apply(void 0,E(t))}},{key:"setFocusToFirstNode",value:function(){var t=this;if(!this.config.disableFocus){var e=this.getFocusableNodes();if(0!==e.length){var r=e.filter((function(e){return!e.hasAttribute(t.config.closeTrigger)}));r.length>0&&r[0].focus(),0===r.length&&e[0].focus()}}}},{key:"retainFocus",value:function(t){var e=this.getFocusableNodes();if(0!==e.length)if(e=e.filter((function(t){return null!==t.offsetParent})),this.modal.contains(document.activeElement)){var r=e.indexOf(document.activeElement);t.shiftKey&&0===r&&(e[e.length-1].focus(),t.preventDefault()),!t.shiftKey&&e.length>0&&r===e.length-1&&(e[0].focus(),t.preventDefault())}else e[0].focus()}}],r&&j(e.prototype,r),n&&j(e,n),t}(),C=null,N=function(t){if(!document.getElementById(t))return console.warn("MicroModal: ❗Seems like you have missed %c'".concat(t,"'"),"background-color: #f8f9fa;color: #50596c;font-weight: bold;","ID somewhere in your code. Refer example below to resolve it."),console.warn("%cExample:","background-color: #f8f9fa;color: #50596c;font-weight: bold;",'<div class="modal" id="'.concat(t,'"></div>')),!1},F=function(t,e){if(function(t){t.length<=0&&(console.warn("MicroModal: ❗Please specify at least one %c'micromodal-trigger'","background-color: #f8f9fa;color: #50596c;font-weight: bold;","data attribute."),console.warn("%cExample:","background-color: #f8f9fa;color: #50596c;font-weight: bold;",'<a href="#" data-micromodal-trigger="my-modal"></a>'))}(t),!e)return!0;for(var r in e)N(r);return!0},{init:function(t){var e=Object.assign({},{openTrigger:"data-micromodal-trigger"},t),r=E(document.querySelectorAll("[".concat(e.openTrigger,"]"))),n=function(t,e){var r=[];return t.forEach((function(t){var n=t.attributes[e].value;void 0===r[n]&&(r[n]=[]),r[n].push(t)})),r}(r,e.openTrigger);if(!0!==e.debugMode||!1!==F(r,n))for(var o in n){var i=n[o];e.targetModal=o,e.triggers=E(i),C=new L(e)}},show:function(t,e){var r=e||{};r.targetModal=t,!0===r.debugMode&&!1===N(t)||(C&&C.removeEventListeners(),(C=new L(r)).showModal())},close:function(t){t?C.closeModalById(t):C.closeModal()}});window.MicroModal=P;const I=P;function M(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}var q=function(){function t(){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),void 0!==I&&(this.setProperties(),this.init())}var e,r,n;return e=t,(r=[{key:"setProperties",value:function(){this.isLoading=!1,this.modalKey="wpgdprc-consent-modal",this.modalId="#wpgdprc-consent-modal",this.consentModal=document.querySelector(this.modalId),this.navigationButtonClass=".wpgdprc-consent-modal__navigation-button",this.navigationButtonActiveClass=".wpgdprc-consent-modal__navigation-button--active",this.navigationButtonActiveKey="wpgdprc-consent-modal__navigation-button--active",this.descriptionClass=".wpgdprc-consent-modal__description",this.descriptionActiveClass=".wpgdprc-consent-modal__description--active",this.settingsLinks=document.querySelectorAll(".wpgdprc-consents-settings-link, .wpgdprc-processor-settings-link")}},{key:"init",value:function(){if(this.consentModal){var t,e,r,n,o=document.querySelector("[data-micromodal-trigger="+this.modalKey+"]");t=this.consentModal,e=t.querySelectorAll('a[href]:not([disabled]), button:not([disabled]), textarea:not([disabled]), input[type="text"]:not([disabled]), input[type="radio"]:not([disabled]), input[type="checkbox"]:not([disabled]), select:not([disabled])'),r=e[0],n=e[e.length-1],t.addEventListener("keydown",(function(t){("Tab"===t.key||9===t.keyCode)&&(t.shiftKey?document.activeElement===r&&(n.focus(),t.preventDefault()):document.activeElement===n&&(r.focus(),t.preventDefault()))})),this.initModal(o),this.triggerModal(),this.tabSwitcher(this.consentModal),this.modalListener(this.consentModal)}}},{key:"initModal",value:function(t){var e=this;I.init({disableScroll:!0,disableFocus:!0,onShow:function(){t&&t.setAttribute("aria-expanded","true")},onClose:function(r){var n=r.querySelectorAll(e.descriptionClass),o=r.querySelectorAll(e.navigationButtonClass),i=r.querySelectorAll('input[type="checkbox"]'),a=!1;n.forEach((function(t){t.classList.remove(e.descriptionActiveClass),a||(a=!0,t.classList.add(e.descriptionActiveClass))})),a=!1,o.forEach((function(t){t.classList.remove(e.navigationButtonActiveClass),a||(a=!0,t.classList.add(e.navigationButtonActiveClass))})),i.forEach((function(t){t.checked=!1})),t&&t.setAttribute("aria-expanded","false")}})}},{key:"triggerModal",value:function(){var t=this;this.settingsLinks&&this.settingsLinks.forEach((function(e){e.addEventListener("click",(function(e){e.preventDefault(),I.show(t.modalKey,{})}))}))}},{key:"tabSwitcher",value:function(t){var e=this,r=t.querySelectorAll(".wpgdprc-consent-modal__navigation button");if(r){var n=t.querySelectorAll(".wpgdprc-consent-modal__description");r.forEach((function(o){o.addEventListener("click",(function(i){i.preventDefault();var a=t.querySelector('.wpgdprc-consent-modal__description[data-target="'+o.getAttribute("data-target")+'"]');a&&(r.forEach((function(t){t.classList.remove(e.navigationButtonActiveKey)})),o.classList.add(e.navigationButtonActiveKey),n.forEach((function(t){t.style.display="none"})),a.style.display="flex")}))}))}}},{key:"modalListener",value:function(t){var e=t.querySelector(".wpgdprc-button--secondary");if(null!=e){var r=this.isLoading;e.addEventListener("click",(function(e){if(e.preventDefault(),!r){var n=t.querySelectorAll('input[type="checkbox"]'),o=[];if(n.length>0)for(var i=0;i<n.length;i++){var a=n[i],s=a.value;!0!==a.checked||isNaN(s)||o.push(parseInt(s))}r=x(o)}})),this.isLoading=r}}}])&&M(e.prototype,r),n&&M(e,n),t}(),R=r(808),D=r.n(R);function B(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var r=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null==r)return;var n,o,i=[],a=!0,s=!1;try{for(r=r.call(t);!(a=(n=r.next()).done)&&(i.push(n.value),!e||i.length!==e);a=!0);}catch(t){s=!0,o=t}finally{try{a||null==r.return||r.return()}finally{if(s)throw o}}return i}(t,e)||function(t,e){if(!t)return;if("string"==typeof t)return U(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);"Object"===r&&t.constructor&&(r=t.constructor.name);if("Map"===r||"Set"===r)return Array.from(t);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return U(t,e)}(t,e)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function U(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);r<e;r++)n[r]=t[r];return n}function $(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}var H=function(){function t(){var r=this;if(function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),void 0!==D()){var n,o=void 0!==wpgdprcFront.consents?wpgdprcFront.consents:[],i=B((n=function(t){return t.required},o.reduce((function(t,r){var o=e(t,2),i=o[0],a=o[1];return n(r)?[[].concat(s(i),[r]),a]:[i,[].concat(s(a),[r])]}),[[],[]])),2),a=i[0],c=i[1];a.forEach((function(t){return r.loadConsent(t)}));var u=d(wpgdprcFront.cookieName);if(null!=u){var l=this._parseConsentCookie(u);c.forEach((function(t){(!0===l||void 0!==l[t.ID]&&"declined"!==l[t.ID])&&r.loadConsent(t)}))}}}var r,n,o;return r=t,(n=[{key:"_parseConsentCookie",value:function(t){if("accept"===t)return!0;var e=t.split(",");return Object.fromEntries(e.map((function(t){return t.split("_")})))}},{key:"getTargetByPlacement",value:function(t){var e;switch(t){case"head":e=document.head;break;case"body":if(null===(e=document.querySelector("#wpgdprc-consent-body"))){var r=document.createElement("div");r.id="wpgdprc-consent-body",document.body.prepend(r),e="#"+r.id}break;case"footer":e=document.body}return e}},{key:"loadConsent",value:function(t){var e=this.getTargetByPlacement(t.placement);null!==e&&D()(e,t.content)}}])&&$(r.prototype,n),o&&$(r,o),t}();function K(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function G(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?K(Object(r),!0).forEach((function(e){W(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):K(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}function W(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function Q(t,e,r,n,o,i,a){try{var s=t[i](a),c=s.value}catch(t){return void r(t)}s.done?e(c):Promise.resolve(c).then(n,o)}function z(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}var Y=function(){function t(){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this.setProperties(),this.init()}var e,r,n,o,i;return e=t,r=[{key:"setProperties",value:function(){this.prefix=wpgdprcFront.pluginPrefix,this.ajaxUrl=wpgdprcFront.ajaxUrl,this.ajaxNonce=wpgdprcFront.ajaxNonce,this.ajaxArg=wpgdprcFront.ajaxArg,this.successClassName="wpgdprc-message--success",this.errorClassName="wpgdprc-message--error",this.formAction=this.prefix+"_process_action",this.form=document.querySelector(".wpgdprc-form--access-request"),this.isLoading=!1,this.isLoadingClassName="is-loading"}},{key:"init",value:function(){this.handleForm()}},{key:"handleForm",value:function(){var t=this;this.form&&this.form.addEventListener("submit",(function(e){e.preventDefault(),t.accessRequest()}))}},{key:"setIsLoading",value:function(){var t=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];this.isLoading=t,t?document.body.classList.add(this.isLoadingClassName):document.body.classList.remove(this.isLoadingClassName)}},{key:"accessRequest",value:(o=regeneratorRuntime.mark((function t(){var e,r,n,o=this;return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(!this.isLoading){t.next=2;break}return t.abrupt("return");case 2:return this.setIsLoading(),e=this.form.querySelector(".wpgdprc-message"),r=this.form.querySelector("#wpgdprc-form__consent"),n=this.form.querySelector("#wpgdprc-form__email"),e.style.display="none",e.classList.remove(this.successClassName,this.errorClassName),e.innerHTML="",t.prev=9,t.next=12,l(this.ajaxUrl,G(W({action:this.formAction},this.ajaxArg,this.ajaxNonce),f({type:"access_request",email:n.value,consent:r.checked})),"POST").then((function(t){return t.json()})).then((function(t){o.setIsLoading(!1);var r=void 0!==t.message&&t.message;r&&(o.form.reset(),n.blur(),e.innerHTML=r,e.classList.add(o.successClassName),e.removeAttribute("style"));var i=void 0!==t.error&&t.error;i&&(n.focus(),e.innerHTML=i,e.classList.add(o.errorClassName),e.removeAttribute("style"))}));case 12:t.next=18;break;case 14:t.prev=14,t.t0=t.catch(9),console.error(t.t0),this.setIsLoading(!1);case 18:case"end":return t.stop()}}),t,this,[[9,14]])})),i=function(){var t=this,e=arguments;return new Promise((function(r,n){var i=o.apply(t,e);function a(t){Q(i,r,n,a,s,"next",t)}function s(t){Q(i,r,n,a,s,"throw",t)}a(void 0)}))},function(){return i.apply(this,arguments)})}],r&&z(e.prototype,r),n&&z(e,n),t}();function Z(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function J(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?Z(Object(r),!0).forEach((function(e){V(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):Z(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}function V(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function X(t,e,r,n,o,i,a){try{var s=t[i](a),c=s.value}catch(t){return void r(t)}s.done?e(c):Promise.resolve(c).then(n,o)}function tt(t){return function(){var e=this,r=arguments;return new Promise((function(n,o){var i=t.apply(e,r);function a(t){X(i,n,o,a,s,"next",t)}function s(t){X(i,n,o,a,s,"throw",t)}a(void 0)}))}}function et(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}var rt,nt=function(){function t(){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this.setProperties(),this.init()}var e,r,n,o;return e=t,r=[{key:"setProperties",value:function(){this.prefix=wpgdprcFront.pluginPrefix,this.ajaxUrl=wpgdprcFront.ajaxUrl,this.ajaxNonce=wpgdprcFront.ajaxNonce,this.ajaxArg=wpgdprcFront.ajaxArg,this.token=wpgdprcFront.token,this.forms=document.querySelectorAll(".wpgdprc-form--delete-request"),this.statusErrorClassName="wpgdprc-status--error",this.statusProcessingClassName="wpgdprc-status--processing",this.statusRemovedClassName="wpgdprc-status--removed",this.messageErrorClassName="wpgdprc-message--error",this.isLoading=!1,this.isLoadingClassName="is-loading",this.isHiddenClassName="is-hidden"}},{key:"init",value:function(){this.handleForm()}},{key:"handleForm",value:function(){var t=this;this.forms&&this.forms.forEach((function(e){t.handleFormSubmit(e),t.handleSelectAllCheckboxes(e)}))}},{key:"handleSelectAllCheckboxes",value:function(t){var e=t.querySelector(".wpgdprc-select-all");if(t&&e){var r=t.querySelectorAll(".wpgdprc-checkbox");r.forEach((function(t){t.addEventListener("change",(function(n){!1!==t.checked?(e.checked=!0,r.forEach((function(t){!1===t.checked&&(e.checked=!1)}))):e.checked=!1}))})),e.addEventListener("change",(function(t){var e=t.target.checked;r.forEach((function(t){t.checked=e}))}))}}},{key:"handleFormSubmit",value:function(t){var e=this;t&&t.addEventListener("submit",(function(r){r.preventDefault();var n=t.querySelector(".wpgdprc-select-all"),o=function(t){var e=[];return t.length?(t.forEach((function(t){var r=parseInt(t.value);t.checked&&r>0&&e.push(r)})),e):e}(t.querySelectorAll(".wpgdprc-checkbox"));n.checked=!1,e.deleteRequest(t,o)}))}},{key:"setIsLoading",value:function(){var t=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];this.isLoading=t,t?document.body.classList.add(this.isLoadingClassName):document.body.classList.remove(this.isLoadingClassName)}},{key:"deleteRequest",value:(o=tt(regeneratorRuntime.mark((function t(e){var r,n,o,i,a,s,c=this,u=arguments;return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(r=u.length>1&&void 0!==u[1]?u[1]:[],n=u.length>2&&void 0!==u[2]?u[2]:0,e&&r){t.next=4;break}return t.abrupt("return");case 4:if(o=e.getAttribute("data-wpgdprc"),i=e.querySelector(".wpgdprc-message"),(a=r.slice(0,1)).length){t.next=9;break}return t.abrupt("return");case 9:(s=e.querySelector('tr[data-id="'+a[0]+'"]')).classList.remove(this.statusErrorClassName),s.classList.add(this.statusProcessingClassName),i.classList.add(this.isHiddenClassName),i.classList.remove(this.messageErrorClassName),i.innerHTML="",this.setIsLoading(),setTimeout(tt(regeneratorRuntime.mark((function t(){return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.prev=0,t.next=3,l(c.ajaxUrl,J(V({action:c.prefix+"_process_action"},c.ajaxArg,c.ajaxNonce),f({type:"delete_request",token:c.token,settings:JSON.parse(o),value:a[0]})),"POST").then((function(t){return t.json()})).then((function(t){c.setIsLoading(!1);var n=void 0!==t.message&&t.message,o=void 0!==t.error&&t.error;n&&(r.splice(0,1),s.querySelector('input[type="checkbox"]').remove(),s.classList.add(c.statusRemovedClassName),i.innerHTML=n,i.classList.remove(c.isHiddenClassName),r.length&&c.deleteRequest(e,r,500)),o&&(s.classList.add(c.statusErrorClassName),i.innerHTML=o,i.classList.add(c.messageErrorClassName),i.classList.remove(c.isHiddenClassName))}));case 3:t.next=9;break;case 5:t.prev=5,t.t0=t.catch(0),console.error(t.t0),c.setIsLoading(!1);case 9:case"end":return t.stop()}}),t,null,[[0,5]])}))),n||0);case 17:case"end":return t.stop()}}),t,this)}))),function(t){return o.apply(this,arguments)})}],r&&et(e.prototype,r),n&&et(e,n),t}();rt=function(){var t=void 0!==wpgdprcFront.consents?wpgdprcFront.consents:[];g(),Array.isArray(t)&&t.length>0&&(new O,new q,new H),new Y,new nt},document.addEventListener("DOMContentLoaded",(function(){rt()}))})()})();
1
  /*! For license information please see front.min.js.LICENSE.txt */
2
+ (()=>{var t={20:t=>{"use strict";var e="%[a-f0-9]{2}",r=new RegExp(e,"gi"),n=new RegExp("("+e+")+","gi");function o(t,e){try{return decodeURIComponent(t.join(""))}catch(t){}if(1===t.length)return t;e=e||1;var r=t.slice(0,e),n=t.slice(e);return Array.prototype.concat.call([],o(r),o(n))}function i(t){try{return decodeURIComponent(t)}catch(i){for(var e=t.match(r),n=1;n<e.length;n++)e=(t=o(e,n).join("")).match(r);return t}}t.exports=function(t){if("string"!=typeof t)throw new TypeError("Expected `encodedURI` to be of type `string`, got `"+typeof t+"`");try{return t=t.replace(/\+/g," "),decodeURIComponent(t)}catch(e){return function(t){for(var e={"%FE%FF":"��","%FF%FE":"��"},r=n.exec(t);r;){try{e[r[0]]=decodeURIComponent(r[0])}catch(t){var o=i(r[0]);o!==r[0]&&(e[r[0]]=o)}r=n.exec(t)}e["%C2"]="�";for(var a=Object.keys(e),s=0;s<a.length;s++){var c=a[s];t=t.replace(new RegExp(c,"g"),e[c])}return t}(t)}}},806:t=>{"use strict";t.exports=function(t,e){for(var r={},n=Object.keys(t),o=Array.isArray(e),i=0;i<n.length;i++){var a=n[i],s=t[a];(o?-1!==e.indexOf(a):e(a,s,t))&&(r[a]=s)}return r}},727:function(t){var e;e=function(){return function(t){var e={};function r(n){if(e[n])return e[n].exports;var o=e[n]={exports:{},id:n,loaded:!1};return t[n].call(o.exports,o,o.exports,r),o.loaded=!0,o.exports}return r.m=t,r.c=e,r.p="",r(0)}([function(t,e,r){"use strict";var n,o=r(1),i=(n=o)&&n.__esModule?n:{default:n};t.exports=i.default},function(t,e,r){"use strict";e.__esModule=!0;var n,o=u(r(2)),i=u(r(3)),a=r(6),s=(n=a)&&n.__esModule?n:{default:n},c=r(5);function u(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e.default=t,e}function l(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}var f={comment:/^<!--/,endTag:/^<\//,atomicTag:/^<\s*(script|style|noscript|iframe|textarea)[\s\/>]/i,startTag:/^</,chars:/^[^<]/},d=function(){function t(){var e=this,r=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};l(this,t),this.stream=r;var i=!1,a={};for(var c in o)o.hasOwnProperty(c)&&(n.autoFix&&(a[c+"Fix"]=!0),i=i||a[c+"Fix"]);i?(this._readToken=(0,s.default)(this,a,(function(){return e._readTokenImpl()})),this._peekToken=(0,s.default)(this,a,(function(){return e._peekTokenImpl()}))):(this._readToken=this._readTokenImpl,this._peekToken=this._peekTokenImpl)}return t.prototype.append=function(t){this.stream+=t},t.prototype.prepend=function(t){this.stream=t+this.stream},t.prototype._readTokenImpl=function(){var t=this._peekTokenImpl();if(t)return this.stream=this.stream.slice(t.length),t},t.prototype._peekTokenImpl=function(){for(var t in f)if(f.hasOwnProperty(t)&&f[t].test(this.stream)){var e=i[t](this.stream);if(e)return"startTag"===e.type&&/script|style/i.test(e.tagName)?null:(e.text=this.stream.substr(0,e.length),e)}},t.prototype.peekToken=function(){return this._peekToken()},t.prototype.readToken=function(){return this._readToken()},t.prototype.readTokens=function(t){for(var e=void 0;e=this.readToken();)if(t[e.type]&&!1===t[e.type](e))return},t.prototype.clear=function(){var t=this.stream;return this.stream="",t},t.prototype.rest=function(){return this.stream},t}();for(var h in e.default=d,d.tokenToString=function(t){return t.toString()},d.escapeAttributes=function(t){var e={};for(var r in t)t.hasOwnProperty(r)&&(e[r]=(0,c.escapeQuotes)(t[r],null));return e},d.supports=o,o)o.hasOwnProperty(h)&&(d.browserHasFlaw=d.browserHasFlaw||!o[h]&&h)},function(t,e){"use strict";e.__esModule=!0;var r=!1,n=!1,o=window.document.createElement("div");try{var i="<P><I></P></I>";o.innerHTML=i,e.tagSoup=r=o.innerHTML!==i}catch(t){e.tagSoup=r=!1}try{o.innerHTML="<P><i><P></P></i></P>",e.selfClose=n=2===o.childNodes.length}catch(t){e.selfClose=n=!1}o=null,e.tagSoup=r,e.selfClose=n},function(t,e,r){"use strict";e.__esModule=!0,e.comment=function(t){var e=t.indexOf("--\x3e");if(e>=0)return new n.CommentToken(t.substr(4,e-1),e+3)},e.chars=function(t){var e=t.indexOf("<");return new n.CharsToken(e>=0?e:t.length)},e.startTag=i,e.atomicTag=function(t){var e=i(t);if(e){var r=t.slice(e.length);if(r.match(new RegExp("</\\s*"+e.tagName+"\\s*>","i"))){var o=r.match(new RegExp("([\\s\\S]*?)</\\s*"+e.tagName+"\\s*>","i"));if(o)return new n.AtomicTagToken(e.tagName,o[0].length+e.length,e.attrs,e.booleanAttrs,o[1])}}},e.endTag=function(t){var e=t.match(o.endTag);if(e)return new n.EndTagToken(e[1],e[0].length)};var n=r(4),o={startTag:/^<([\-A-Za-z0-9_!:]+)((?:\s+[\w\-]+(?:\s*=?\s*(?:(?:"[^"]*")|(?:'[^']*')|[^>\s]+))?)*)\s*(\/?)>/,endTag:/^<\/([\-A-Za-z0-9_:]+)[^>]*>/,attr:/(?:([\-A-Za-z0-9_]+)\s*=\s*(?:(?:"((?:\\.|[^"])*)")|(?:'((?:\\.|[^'])*)')|([^>\s]+)))|(?:([\-A-Za-z0-9_]+)(\s|$)+)/g,fillAttr:/^(checked|compact|declare|defer|disabled|ismap|multiple|nohref|noresize|noshade|nowrap|readonly|selected)$/i};function i(t){if(-1!==t.indexOf(">")){var e=t.match(o.startTag);if(e){var r={},i={},a=e[2];return e[2].replace(o.attr,(function(t,e){arguments[2]||arguments[3]||arguments[4]||arguments[5]?arguments[5]?(r[arguments[5]]="",i[arguments[5]]=!0):r[e]=arguments[2]||arguments[3]||arguments[4]||o.fillAttr.test(e)&&e||"":r[e]="",a=a.replace(t,"")})),new n.StartTagToken(e[1],e[0].length,r,i,!!e[3],a.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,""))}}}},function(t,e,r){"use strict";e.__esModule=!0,e.EndTagToken=e.AtomicTagToken=e.StartTagToken=e.TagToken=e.CharsToken=e.CommentToken=e.Token=void 0;var n=r(5);function o(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}e.Token=function t(e,r){o(this,t),this.type=e,this.length=r,this.text=""},e.CommentToken=function(){function t(e,r){o(this,t),this.type="comment",this.length=r||(e?e.length:0),this.text="",this.content=e}return t.prototype.toString=function(){return"\x3c!--"+this.content},t}(),e.CharsToken=function(){function t(e){o(this,t),this.type="chars",this.length=e,this.text=""}return t.prototype.toString=function(){return this.text},t}();var i=e.TagToken=function(){function t(e,r,n,i,a){o(this,t),this.type=e,this.length=n,this.text="",this.tagName=r,this.attrs=i,this.booleanAttrs=a,this.unary=!1,this.html5Unary=!1}return t.formatTag=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,r="<"+t.tagName;for(var o in t.attrs)if(t.attrs.hasOwnProperty(o)){r+=" "+o;var i=t.attrs[o];void 0!==t.booleanAttrs&&void 0!==t.booleanAttrs[o]||(r+='="'+(0,n.escapeQuotes)(i)+'"')}return t.rest&&(r+=" "+t.rest),t.unary&&!t.html5Unary?r+="/>":r+=">",null!=e&&(r+=e+"</"+t.tagName+">"),r},t}();e.StartTagToken=function(){function t(e,r,n,i,a,s){o(this,t),this.type="startTag",this.length=r,this.text="",this.tagName=e,this.attrs=n,this.booleanAttrs=i,this.html5Unary=!1,this.unary=a,this.rest=s}return t.prototype.toString=function(){return i.formatTag(this)},t}(),e.AtomicTagToken=function(){function t(e,r,n,i,a){o(this,t),this.type="atomicTag",this.length=r,this.text="",this.tagName=e,this.attrs=n,this.booleanAttrs=i,this.unary=!1,this.html5Unary=!1,this.content=a}return t.prototype.toString=function(){return i.formatTag(this,this.content)},t}(),e.EndTagToken=function(){function t(e,r){o(this,t),this.type="endTag",this.length=r,this.text="",this.tagName=e}return t.prototype.toString=function(){return"</"+this.tagName+">"},t}()},function(t,e){"use strict";e.__esModule=!0,e.escapeQuotes=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";return t?t.replace(/([^"]*)"/g,(function(t,e){return/\\/.test(e)?e+'"':e+'\\"'})):e}},function(t,e){"use strict";e.__esModule=!0,e.default=function(t,e,r){var a=function(){var t=[];return t.last=function(){return this[this.length-1]},t.lastTagNameEq=function(t){var e=this.last();return e&&e.tagName&&e.tagName.toUpperCase()===t.toUpperCase()},t.containsTagName=function(t){for(var e,r=0;e=this[r];r++)if(e.tagName===t)return!0;return!1},t}(),s={startTag:function(r){var o=r.tagName;"TR"===o.toUpperCase()&&a.lastTagNameEq("TABLE")?(t.prepend("<TBODY>"),c()):e.selfCloseFix&&n.test(o)&&a.containsTagName(o)?a.lastTagNameEq(o)?i(t,a):(t.prepend("</"+r.tagName+">"),c()):r.unary||a.push(r)},endTag:function(n){a.last()?e.tagSoupFix&&!a.lastTagNameEq(n.tagName)?i(t,a):a.pop():e.tagSoupFix&&(r(),c())}};function c(){var e=function(t,e){var r=t.stream,n=o(e());return t.stream=r,n}(t,r);e&&s[e.type]&&s[e.type](e)}return function(){return c(),o(r())}};var r=/^(AREA|BASE|BASEFONT|BR|COL|FRAME|HR|IMG|INPUT|ISINDEX|LINK|META|PARAM|EMBED)$/i,n=/^(COLGROUP|DD|DT|LI|OPTIONS|P|TD|TFOOT|TH|THEAD|TR)$/i;function o(t){return t&&"startTag"===t.type&&(t.unary=r.test(t.tagName)||t.unary,t.html5Unary=!/\/>$/.test(t.text)),t}function i(t,e){var r=e.pop();t.prepend("</"+r.tagName+">")}}])},t.exports=e()},563:(t,e,r)=>{"use strict";const n=r(610),o=r(20),i=r(500),a=r(806),s=Symbol("encodeFragmentIdentifier");function c(t){if("string"!=typeof t||1!==t.length)throw new TypeError("arrayFormatSeparator must be single character string")}function u(t,e){return e.encode?e.strict?n(t):encodeURIComponent(t):t}function l(t,e){return e.decode?o(t):t}function f(t){return Array.isArray(t)?t.sort():"object"==typeof t?f(Object.keys(t)).sort(((t,e)=>Number(t)-Number(e))).map((e=>t[e])):t}function d(t){const e=t.indexOf("#");return-1!==e&&(t=t.slice(0,e)),t}function h(t){const e=(t=d(t)).indexOf("?");return-1===e?"":t.slice(e+1)}function p(t,e){return e.parseNumbers&&!Number.isNaN(Number(t))&&"string"==typeof t&&""!==t.trim()?t=Number(t):!e.parseBooleans||null===t||"true"!==t.toLowerCase()&&"false"!==t.toLowerCase()||(t="true"===t.toLowerCase()),t}function y(t,e){c((e=Object.assign({decode:!0,sort:!0,arrayFormat:"none",arrayFormatSeparator:",",parseNumbers:!1,parseBooleans:!1},e)).arrayFormatSeparator);const r=function(t){let e;switch(t.arrayFormat){case"index":return(t,r,n)=>{e=/\[(\d*)\]$/.exec(t),t=t.replace(/\[\d*\]$/,""),e?(void 0===n[t]&&(n[t]={}),n[t][e[1]]=r):n[t]=r};case"bracket":return(t,r,n)=>{e=/(\[\])$/.exec(t),t=t.replace(/\[\]$/,""),e?void 0!==n[t]?n[t]=[].concat(n[t],r):n[t]=[r]:n[t]=r};case"comma":case"separator":return(e,r,n)=>{const o="string"==typeof r&&r.includes(t.arrayFormatSeparator),i="string"==typeof r&&!o&&l(r,t).includes(t.arrayFormatSeparator);r=i?l(r,t):r;const a=o||i?r.split(t.arrayFormatSeparator).map((e=>l(e,t))):null===r?r:l(r,t);n[e]=a};case"bracket-separator":return(e,r,n)=>{const o=/(\[\])$/.test(e);if(e=e.replace(/\[\]$/,""),!o)return void(n[e]=r?l(r,t):r);const i=null===r?[]:r.split(t.arrayFormatSeparator).map((e=>l(e,t)));void 0!==n[e]?n[e]=[].concat(n[e],i):n[e]=i};default:return(t,e,r)=>{void 0!==r[t]?r[t]=[].concat(r[t],e):r[t]=e}}}(e),n=Object.create(null);if("string"!=typeof t)return n;if(!(t=t.trim().replace(/^[?#&]/,"")))return n;for(const o of t.split("&")){if(""===o)continue;let[t,a]=i(e.decode?o.replace(/\+/g," "):o,"=");a=void 0===a?null:["comma","separator","bracket-separator"].includes(e.arrayFormat)?a:l(a,e),r(l(t,e),a,n)}for(const t of Object.keys(n)){const r=n[t];if("object"==typeof r&&null!==r)for(const t of Object.keys(r))r[t]=p(r[t],e);else n[t]=p(r,e)}return!1===e.sort?n:(!0===e.sort?Object.keys(n).sort():Object.keys(n).sort(e.sort)).reduce(((t,e)=>{const r=n[e];return Boolean(r)&&"object"==typeof r&&!Array.isArray(r)?t[e]=f(r):t[e]=r,t}),Object.create(null))}e.extract=h,e.parse=y,e.stringify=(t,e)=>{if(!t)return"";c((e=Object.assign({encode:!0,strict:!0,arrayFormat:"none",arrayFormatSeparator:","},e)).arrayFormatSeparator);const r=r=>e.skipNull&&null==t[r]||e.skipEmptyString&&""===t[r],n=function(t){switch(t.arrayFormat){case"index":return e=>(r,n)=>{const o=r.length;return void 0===n||t.skipNull&&null===n||t.skipEmptyString&&""===n?r:null===n?[...r,[u(e,t),"[",o,"]"].join("")]:[...r,[u(e,t),"[",u(o,t),"]=",u(n,t)].join("")]};case"bracket":return e=>(r,n)=>void 0===n||t.skipNull&&null===n||t.skipEmptyString&&""===n?r:null===n?[...r,[u(e,t),"[]"].join("")]:[...r,[u(e,t),"[]=",u(n,t)].join("")];case"comma":case"separator":case"bracket-separator":{const e="bracket-separator"===t.arrayFormat?"[]=":"=";return r=>(n,o)=>void 0===o||t.skipNull&&null===o||t.skipEmptyString&&""===o?n:(o=null===o?"":o,0===n.length?[[u(r,t),e,u(o,t)].join("")]:[[n,u(o,t)].join(t.arrayFormatSeparator)])}default:return e=>(r,n)=>void 0===n||t.skipNull&&null===n||t.skipEmptyString&&""===n?r:null===n?[...r,u(e,t)]:[...r,[u(e,t),"=",u(n,t)].join("")]}}(e),o={};for(const e of Object.keys(t))r(e)||(o[e]=t[e]);const i=Object.keys(o);return!1!==e.sort&&i.sort(e.sort),i.map((r=>{const o=t[r];return void 0===o?"":null===o?u(r,e):Array.isArray(o)?0===o.length&&"bracket-separator"===e.arrayFormat?u(r,e)+"[]":o.reduce(n(r),[]).join("&"):u(r,e)+"="+u(o,e)})).filter((t=>t.length>0)).join("&")},e.parseUrl=(t,e)=>{e=Object.assign({decode:!0},e);const[r,n]=i(t,"#");return Object.assign({url:r.split("?")[0]||"",query:y(h(t),e)},e&&e.parseFragmentIdentifier&&n?{fragmentIdentifier:l(n,e)}:{})},e.stringifyUrl=(t,r)=>{r=Object.assign({encode:!0,strict:!0,[s]:!0},r);const n=d(t.url).split("?")[0]||"",o=e.extract(t.url),i=e.parse(o,{sort:!1}),a=Object.assign(i,t.query);let c=e.stringify(a,r);c&&(c=`?${c}`);let l=function(t){let e="";const r=t.indexOf("#");return-1!==r&&(e=t.slice(r)),e}(t.url);return t.fragmentIdentifier&&(l=`#${r[s]?u(t.fragmentIdentifier,r):t.fragmentIdentifier}`),`${n}${c}${l}`},e.pick=(t,r,n)=>{n=Object.assign({parseFragmentIdentifier:!0,[s]:!1},n);const{url:o,query:i,fragmentIdentifier:c}=e.parseUrl(t,n);return e.stringifyUrl({url:o,query:a(i,r),fragmentIdentifier:c},n)},e.exclude=(t,r,n)=>{const o=Array.isArray(r)?t=>!r.includes(t):(t,e)=>!r(t,e);return e.pick(t,o,n)}},666:t=>{var e=function(t){"use strict";var e,r=Object.prototype,n=r.hasOwnProperty,o="function"==typeof Symbol?Symbol:{},i=o.iterator||"@@iterator",a=o.asyncIterator||"@@asyncIterator",s=o.toStringTag||"@@toStringTag";function c(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{c({},"")}catch(t){c=function(t,e,r){return t[e]=r}}function u(t,e,r,n){var o=e&&e.prototype instanceof m?e:m,i=Object.create(o.prototype),a=new j(n||[]);return i._invoke=function(t,e,r){var n=f;return function(o,i){if(n===h)throw new Error("Generator is already running");if(n===p){if("throw"===o)throw i;return C()}for(r.method=o,r.arg=i;;){var a=r.delegate;if(a){var s=O(a,r);if(s){if(s===y)continue;return s}}if("next"===r.method)r.sent=r._sent=r.arg;else if("throw"===r.method){if(n===f)throw n=p,r.arg;r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg);n=h;var c=l(t,e,r);if("normal"===c.type){if(n=r.done?p:d,c.arg===y)continue;return{value:c.arg,done:r.done}}"throw"===c.type&&(n=p,r.method="throw",r.arg=c.arg)}}}(t,r,a),i}function l(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}t.wrap=u;var f="suspendedStart",d="suspendedYield",h="executing",p="completed",y={};function m(){}function g(){}function v(){}var b={};c(b,i,(function(){return this}));var w=Object.getPrototypeOf,k=w&&w(w(L([])));k&&k!==r&&n.call(k,i)&&(b=k);var S=v.prototype=m.prototype=Object.create(b);function x(t){["next","throw","return"].forEach((function(e){c(t,e,(function(t){return this._invoke(e,t)}))}))}function T(t,e){function r(o,i,a,s){var c=l(t[o],t,i);if("throw"!==c.type){var u=c.arg,f=u.value;return f&&"object"==typeof f&&n.call(f,"__await")?e.resolve(f.__await).then((function(t){r("next",t,a,s)}),(function(t){r("throw",t,a,s)})):e.resolve(f).then((function(t){u.value=t,a(u)}),(function(t){return r("throw",t,a,s)}))}s(c.arg)}var o;this._invoke=function(t,n){function i(){return new e((function(e,o){r(t,n,e,o)}))}return o=o?o.then(i,i):i()}}function O(t,r){var n=t.iterator[r.method];if(n===e){if(r.delegate=null,"throw"===r.method){if(t.iterator.return&&(r.method="return",r.arg=e,O(t,r),"throw"===r.method))return y;r.method="throw",r.arg=new TypeError("The iterator does not provide a 'throw' method")}return y}var o=l(n,t.iterator,r.arg);if("throw"===o.type)return r.method="throw",r.arg=o.arg,r.delegate=null,y;var i=o.arg;return i?i.done?(r[t.resultName]=i.value,r.next=t.nextLoc,"return"!==r.method&&(r.method="next",r.arg=e),r.delegate=null,y):i:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,y)}function E(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function A(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function j(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(E,this),this.reset(!0)}function L(t){if(t){var r=t[i];if(r)return r.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var o=-1,a=function r(){for(;++o<t.length;)if(n.call(t,o))return r.value=t[o],r.done=!1,r;return r.value=e,r.done=!0,r};return a.next=a}}return{next:C}}function C(){return{value:e,done:!0}}return g.prototype=v,c(S,"constructor",v),c(v,"constructor",g),g.displayName=c(v,s,"GeneratorFunction"),t.isGeneratorFunction=function(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===g||"GeneratorFunction"===(e.displayName||e.name))},t.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,v):(t.__proto__=v,c(t,s,"GeneratorFunction")),t.prototype=Object.create(S),t},t.awrap=function(t){return{__await:t}},x(T.prototype),c(T.prototype,a,(function(){return this})),t.AsyncIterator=T,t.async=function(e,r,n,o,i){void 0===i&&(i=Promise);var a=new T(u(e,r,n,o),i);return t.isGeneratorFunction(r)?a:a.next().then((function(t){return t.done?t.value:a.next()}))},x(S),c(S,s,"Generator"),c(S,i,(function(){return this})),c(S,"toString",(function(){return"[object Generator]"})),t.keys=function(t){var e=[];for(var r in t)e.push(r);return e.reverse(),function r(){for(;e.length;){var n=e.pop();if(n in t)return r.value=n,r.done=!1,r}return r.done=!0,r}},t.values=L,j.prototype={constructor:j,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=e,this.done=!1,this.delegate=null,this.method="next",this.arg=e,this.tryEntries.forEach(A),!t)for(var r in this)"t"===r.charAt(0)&&n.call(this,r)&&!isNaN(+r.slice(1))&&(this[r]=e)},stop:function(){this.done=!0;var t=this.tryEntries[0].completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(t){if(this.done)throw t;var r=this;function o(n,o){return s.type="throw",s.arg=t,r.next=n,o&&(r.method="next",r.arg=e),!!o}for(var i=this.tryEntries.length-1;i>=0;--i){var a=this.tryEntries[i],s=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var c=n.call(a,"catchLoc"),u=n.call(a,"finallyLoc");if(c&&u){if(this.prev<a.catchLoc)return o(a.catchLoc,!0);if(this.prev<a.finallyLoc)return o(a.finallyLoc)}else if(c){if(this.prev<a.catchLoc)return o(a.catchLoc,!0)}else{if(!u)throw new Error("try statement without catch or finally");if(this.prev<a.finallyLoc)return o(a.finallyLoc)}}}},abrupt:function(t,e){for(var r=this.tryEntries.length-1;r>=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev<o.finallyLoc){var i=o;break}}i&&("break"===t||"continue"===t)&&i.tryLoc<=e&&e<=i.finallyLoc&&(i=null);var a=i?i.completion:{};return a.type=t,a.arg=e,i?(this.method="next",this.next=i.finallyLoc,y):this.complete(a)},complete:function(t,e){if("throw"===t.type)throw t.arg;return"break"===t.type||"continue"===t.type?this.next=t.arg:"return"===t.type?(this.rval=this.arg=t.arg,this.method="return",this.next="end"):"normal"===t.type&&e&&(this.next=e),y},finish:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),A(r),y}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;A(r)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(t,r,n){return this.delegate={iterator:L(t),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=e),y}},t}(t.exports);try{regeneratorRuntime=e}catch(t){"object"==typeof globalThis?globalThis.regeneratorRuntime=e:Function("r","regeneratorRuntime = r")(e)}},500:t=>{"use strict";t.exports=(t,e)=>{if("string"!=typeof t||"string"!=typeof e)throw new TypeError("Expected the arguments to be of type `string`");if(""===e)return[t];const r=t.indexOf(e);return-1===r?[t]:[t.slice(0,r),t.slice(r+e.length)]}},610:t=>{"use strict";t.exports=t=>encodeURIComponent(t).replace(/[!'()*]/g,(t=>`%${t.charCodeAt(0).toString(16).toUpperCase()}`))}},e={};function r(n){var o=e[n];if(void 0!==o)return o.exports;var i=e[n]={exports:{}};return t[n].call(i.exports,i,i.exports,r),i.exports}r.n=t=>{var e=t&&t.__esModule?()=>t.default:()=>t;return r.d(e,{a:e}),e},r.d=(t,e)=>{for(var n in e)r.o(e,n)&&!r.o(t,n)&&Object.defineProperty(t,n,{enumerable:!0,get:e[n]})},r.o=(t,e)=>Object.prototype.hasOwnProperty.call(t,e),(()=>{"use strict";r(666);var t=r(563);function e(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var r=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null==r)return;var n,o,i=[],a=!0,s=!1;try{for(r=r.call(t);!(a=(n=r.next()).done)&&(i.push(n.value),!e||i.length!==e);a=!0);}catch(t){s=!0,o=t}finally{try{a||null==r.return||r.return()}finally{if(s)throw o}}return i}(t,e)||c(t,e)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function n(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function o(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?n(Object(r),!0).forEach((function(e){i(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):n(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}function i(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function a(t,e){var r="undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(!r){if(Array.isArray(t)||(r=c(t))||e&&t&&"number"==typeof t.length){r&&(t=r);var n=0,o=function(){};return{s:o,n:function(){return n>=t.length?{done:!0}:{done:!1,value:t[n++]}},e:function(t){throw t},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,a=!0,s=!1;return{s:function(){r=r.call(t)},n:function(){var t=r.next();return a=t.done,t},e:function(t){s=!0,i=t},f:function(){try{a||null==r.return||r.return()}finally{if(s)throw i}}}}function s(t){return function(t){if(Array.isArray(t))return u(t)}(t)||function(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(t)||c(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function c(t,e){if(t){if("string"==typeof t)return u(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?u(t,e):void 0}}function u(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);r<e;r++)n[r]=t[r];return n}var l=function(e,r){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"POST",i=t.stringify(o({},r),{arrayFormat:"index"}),a={method:n,credentials:"same-origin",headers:new Headers({"Content-Type":"application/x-www-form-urlencoded; charset=utf-8"})};return"GET"===n?e+="?"+i:a.body=i,fetch(e,a)},f=function(t){return{data:JSON.stringify(o({},t))}},d=function(t){return document.cookie.split("; ").reduce((function(e,r){var n=r.split("=");return n[0]===t?decodeURIComponent(n[1]):e}),null)},h=function(t,e,r){var n=new Date;e=e||"",r=r||365,n.setTime(n.getTime()+24*r*60*60*1e3),document.cookie=t+"="+encodeURIComponent(e)+"; expires="+n.toGMTString()+"; path="+wpgdprcFront.path};function p(t){return function(t){if(Array.isArray(t))return y(t)}(t)||function(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(t)||function(t,e){if(!t)return;if("string"==typeof t)return y(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);"Object"===r&&t.constructor&&(r=t.constructor.name);if("Map"===r||"Set"===r)return Array.from(t);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return y(t,e)}(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function y(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);r<e;r++)n[r]=t[r];return n}var m="data-animation",g=function(t){t.setAttribute("".concat(m,"-appearing"),""),setTimeout((function(){t.removeAttribute("".concat(m)),t.removeAttribute("".concat(m,"-appearing")),t.setAttribute("".concat(m,"-complete"),"")}),function(t){var e=getComputedStyle(t);return 1e3*(parseFloat(e.animationDuration)+parseFloat(e.animationDelay))}(t))};const v=function(){if("IntersectionObserver"in window)!function(t,e){var r=new IntersectionObserver((function(t){s(t).forEach((function(t){var n=t.isIntersecting,o=(t._,t.target);n&&(e(o),r.unobserve(o))}))}),{threshold:arguments.length>2&&void 0!==arguments[2]?arguments[2]:[0]});if(t&&e){var n,o=a([].concat(t));try{for(o.s();!(n=o.n()).done;)for(var i=n.value,c=0,u=s(document.querySelectorAll(i));c<u.length;c++){var l=u[c];r.observe(l)}}catch(t){o.e(t)}finally{o.f()}}}("[".concat(m,"]"),(function(t){g(t)}),[0]);else for(var t=0,e=p(document.querySelectorAll("[".concat(m,"]")));t<e.length;t++){var r=e[t];g(r)}};function b(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function w(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?b(Object(r),!0).forEach((function(e){k(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):b(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}function k(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function S(t,e,r,n,o,i,a){try{var s=t[i](a),c=s.value}catch(t){return void r(t)}s.done?e(c):Promise.resolve(c).then(n,o)}var x=function(){var t,e=(t=regeneratorRuntime.mark((function t(){var e,r,n,o,i,a,s,c=arguments;return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return e=c.length>0&&void 0!==c[0]?c[0]:"all",r=wpgdprcFront.prefix,n=wpgdprcFront.ajaxUrl,o=wpgdprcFront.ajaxNonce,i=wpgdprcFront.ajaxArg,a=wpgdprcFront.cookieName,s=!0,t.prev=7,t.next=10,l(n,w(k({action:r+"_consent_cookie"},i,o),f({checked:e})),"POST").then((function(t){return t.json()})).then((function(t){if(s=!1,void 0!==t.success&&t.success){var e=void 0!==t.message&&t.message;h(a,e),window.location.reload(!0)}else console.dir(t)}));case 10:t.next=16;break;case 12:t.prev=12,t.t0=t.catch(7),console.error(t.t0),s=!1;case 16:return t.abrupt("return",s);case 17:case"end":return t.stop()}}),t,null,[[7,12]])})),function(){var e=this,r=arguments;return new Promise((function(n,o){var i=t.apply(e,r);function a(t){S(i,n,o,a,s,"next",t)}function s(t){S(i,n,o,a,s,"throw",t)}a(void 0)}))});return function(){return e.apply(this,arguments)}}();function T(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}var O=function(){function t(){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this.setProperties(),this.init()}var e,r,n;return e=t,(r=[{key:"setProperties",value:function(){this.cookieName=wpgdprcFront.cookieName,this.consentBar=document.querySelector(".wpgdprc-consent-bar"),this.buttonAccept=document.querySelector(".wpgdprc-consent-bar .wpgdprc-button--accept"),this.isLoading=!1}},{key:"init",value:function(){this.consentBar&&(null===d(this.cookieName)?(document.querySelector("body").prepend(this.consentBar),this.consentBar.style.display="block",this.handleButtonAccept()):this.consentBar.style.display="none")}},{key:"handleButtonAccept",value:function(){var t=this;this.buttonAccept&&this.buttonAccept.addEventListener("click",(function(e){e.preventDefault(),t.isLoading||(t.isLoading=x("all"))}))}}])&&T(e.prototype,r),n&&T(e,n),t}();function E(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}function A(t){return function(t){if(Array.isArray(t))return j(t)}(t)||function(t){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(t))return Array.from(t)}(t)||function(t,e){if(!t)return;if("string"==typeof t)return j(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);"Object"===r&&t.constructor&&(r=t.constructor.name);if("Map"===r||"Set"===r)return Array.from(r);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return j(t,e)}(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function j(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);r<e;r++)n[r]=t[r];return n}var L,C,_,N,F,P=(L=["a[href]","area[href]",'input:not([disabled]):not([type="hidden"]):not([aria-hidden])',"select:not([disabled]):not([aria-hidden])","textarea:not([disabled]):not([aria-hidden])","button:not([disabled]):not([aria-hidden])","iframe","object","embed","[contenteditable]",'[tabindex]:not([tabindex^="-"])'],C=function(){function t(e){var r=e.targetModal,n=e.triggers,o=void 0===n?[]:n,i=e.onShow,a=void 0===i?function(){}:i,s=e.onClose,c=void 0===s?function(){}:s,u=e.openTrigger,l=void 0===u?"data-micromodal-trigger":u,f=e.closeTrigger,d=void 0===f?"data-micromodal-close":f,h=e.openClass,p=void 0===h?"is-open":h,y=e.disableScroll,m=void 0!==y&&y,g=e.disableFocus,v=void 0!==g&&g,b=e.awaitCloseAnimation,w=void 0!==b&&b,k=e.awaitOpenAnimation,S=void 0!==k&&k,x=e.debugMode,T=void 0!==x&&x;!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this.modal=document.getElementById(r),this.config={debugMode:T,disableScroll:m,openTrigger:l,closeTrigger:d,openClass:p,onShow:a,onClose:c,awaitCloseAnimation:w,awaitOpenAnimation:S,disableFocus:v},o.length>0&&this.registerTriggers.apply(this,A(o)),this.onClick=this.onClick.bind(this),this.onKeydown=this.onKeydown.bind(this)}var e,r,n;return e=t,r=[{key:"registerTriggers",value:function(){for(var t=this,e=arguments.length,r=new Array(e),n=0;n<e;n++)r[n]=arguments[n];r.filter(Boolean).forEach((function(e){e.addEventListener("click",(function(e){return t.showModal(e)}))}))}},{key:"showModal",value:function(){var t=this,e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null;if(this.activeElement=document.activeElement,this.modal.setAttribute("aria-hidden","false"),this.modal.classList.add(this.config.openClass),this.scrollBehaviour("disable"),this.addEventListeners(),this.config.awaitOpenAnimation){var r=function e(){t.modal.removeEventListener("animationend",e,!1),t.setFocusToFirstNode()};this.modal.addEventListener("animationend",r,!1)}else this.setFocusToFirstNode();this.config.onShow(this.modal,this.activeElement,e)}},{key:"closeModal",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,e=this.modal;if(this.modal.setAttribute("aria-hidden","true"),this.removeEventListeners(),this.scrollBehaviour("enable"),this.activeElement&&this.activeElement.focus&&this.activeElement.focus(),this.config.onClose(this.modal,this.activeElement,t),this.config.awaitCloseAnimation){var r=this.config.openClass;this.modal.addEventListener("animationend",(function t(){e.classList.remove(r),e.removeEventListener("animationend",t,!1)}),!1)}else e.classList.remove(this.config.openClass)}},{key:"closeModalById",value:function(t){this.modal=document.getElementById(t),this.modal&&this.closeModal()}},{key:"scrollBehaviour",value:function(t){if(this.config.disableScroll){var e=document.querySelector("body");switch(t){case"enable":Object.assign(e.style,{overflow:""});break;case"disable":Object.assign(e.style,{overflow:"hidden"})}}}},{key:"addEventListeners",value:function(){this.modal.addEventListener("touchstart",this.onClick),this.modal.addEventListener("click",this.onClick),document.addEventListener("keydown",this.onKeydown)}},{key:"removeEventListeners",value:function(){this.modal.removeEventListener("touchstart",this.onClick),this.modal.removeEventListener("click",this.onClick),document.removeEventListener("keydown",this.onKeydown)}},{key:"onClick",value:function(t){t.target.hasAttribute(this.config.closeTrigger)&&this.closeModal(t)}},{key:"onKeydown",value:function(t){27===t.keyCode&&this.closeModal(t),9===t.keyCode&&this.retainFocus(t)}},{key:"getFocusableNodes",value:function(){var t=this.modal.querySelectorAll(L);return Array.apply(void 0,A(t))}},{key:"setFocusToFirstNode",value:function(){var t=this;if(!this.config.disableFocus){var e=this.getFocusableNodes();if(0!==e.length){var r=e.filter((function(e){return!e.hasAttribute(t.config.closeTrigger)}));r.length>0&&r[0].focus(),0===r.length&&e[0].focus()}}}},{key:"retainFocus",value:function(t){var e=this.getFocusableNodes();if(0!==e.length)if(e=e.filter((function(t){return null!==t.offsetParent})),this.modal.contains(document.activeElement)){var r=e.indexOf(document.activeElement);t.shiftKey&&0===r&&(e[e.length-1].focus(),t.preventDefault()),!t.shiftKey&&e.length>0&&r===e.length-1&&(e[0].focus(),t.preventDefault())}else e[0].focus()}}],r&&E(e.prototype,r),n&&E(e,n),t}(),_=null,N=function(t){if(!document.getElementById(t))return console.warn("MicroModal: ❗Seems like you have missed %c'".concat(t,"'"),"background-color: #f8f9fa;color: #50596c;font-weight: bold;","ID somewhere in your code. Refer example below to resolve it."),console.warn("%cExample:","background-color: #f8f9fa;color: #50596c;font-weight: bold;",'<div class="modal" id="'.concat(t,'"></div>')),!1},F=function(t,e){if(function(t){t.length<=0&&(console.warn("MicroModal: ❗Please specify at least one %c'micromodal-trigger'","background-color: #f8f9fa;color: #50596c;font-weight: bold;","data attribute."),console.warn("%cExample:","background-color: #f8f9fa;color: #50596c;font-weight: bold;",'<a href="#" data-micromodal-trigger="my-modal"></a>'))}(t),!e)return!0;for(var r in e)N(r);return!0},{init:function(t){var e=Object.assign({},{openTrigger:"data-micromodal-trigger"},t),r=A(document.querySelectorAll("[".concat(e.openTrigger,"]"))),n=function(t,e){var r=[];return t.forEach((function(t){var n=t.attributes[e].value;void 0===r[n]&&(r[n]=[]),r[n].push(t)})),r}(r,e.openTrigger);if(!0!==e.debugMode||!1!==F(r,n))for(var o in n){var i=n[o];e.targetModal=o,e.triggers=A(i),_=new C(e)}},show:function(t,e){var r=e||{};r.targetModal=t,!0===r.debugMode&&!1===N(t)||(_&&_.removeEventListeners(),(_=new C(r)).showModal())},close:function(t){t?_.closeModalById(t):_.closeModal()}});window.MicroModal=P;const I=P;function M(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}var q=function(){function t(){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),void 0!==I&&(this.setProperties(),this.init())}var e,r,n;return e=t,(r=[{key:"setProperties",value:function(){this.isLoading=!1,this.modalKey="wpgdprc-consent-modal",this.modalId="#wpgdprc-consent-modal",this.consentModal=document.querySelector(this.modalId),this.navigationButtonClass=".wpgdprc-consent-modal__navigation-button",this.navigationButtonActiveClass=".wpgdprc-consent-modal__navigation-button--active",this.navigationButtonActiveKey="wpgdprc-consent-modal__navigation-button--active",this.descriptionClass=".wpgdprc-consent-modal__description",this.descriptionActiveClass=".wpgdprc-consent-modal__description--active",this.settingsLinks=document.querySelectorAll(".wpgdprc-consents-settings-link, .wpgdprc-processor-settings-link")}},{key:"init",value:function(){if(this.consentModal){var t,e,r,n,o=document.querySelector("[data-micromodal-trigger="+this.modalKey+"]");t=this.consentModal,e=t.querySelectorAll('a[href]:not([disabled]), button:not([disabled]), textarea:not([disabled]), input[type="text"]:not([disabled]), input[type="radio"]:not([disabled]), input[type="checkbox"]:not([disabled]), select:not([disabled])'),r=e[0],n=e[e.length-1],t.addEventListener("keydown",(function(t){("Tab"===t.key||9===t.keyCode)&&(t.shiftKey?document.activeElement===r&&(n.focus(),t.preventDefault()):document.activeElement===n&&(r.focus(),t.preventDefault()))})),this.initModal(o),this.triggerModal(),this.tabSwitcher(this.consentModal),this.modalListener(this.consentModal)}}},{key:"initModal",value:function(t){var e=this;I.init({disableScroll:!0,disableFocus:!0,onShow:function(){t&&t.setAttribute("aria-expanded","true")},onClose:function(r){var n=r.querySelectorAll(e.descriptionClass),o=r.querySelectorAll(e.navigationButtonClass),i=r.querySelectorAll('input[type="checkbox"]'),a=!1;n.forEach((function(t){t.classList.remove(e.descriptionActiveClass),a||(a=!0,t.classList.add(e.descriptionActiveClass))})),a=!1,o.forEach((function(t){t.classList.remove(e.navigationButtonActiveClass),a||(a=!0,t.classList.add(e.navigationButtonActiveClass))})),i.forEach((function(t){t.checked=!1})),t&&t.setAttribute("aria-expanded","false")}})}},{key:"triggerModal",value:function(){var t=this;this.settingsLinks&&this.settingsLinks.forEach((function(e){e.addEventListener("click",(function(e){e.preventDefault(),I.show(t.modalKey,{})}))}))}},{key:"tabSwitcher",value:function(t){var e=this,r=t.querySelectorAll(".wpgdprc-consent-modal__navigation button");if(r){var n=t.querySelectorAll(".wpgdprc-consent-modal__description");r.forEach((function(o){o.addEventListener("click",(function(i){i.preventDefault();var a=t.querySelector('.wpgdprc-consent-modal__description[data-target="'+o.getAttribute("data-target")+'"]');a&&(r.forEach((function(t){t.classList.remove(e.navigationButtonActiveKey)})),o.classList.add(e.navigationButtonActiveKey),n.forEach((function(t){t.style.display="none"})),a.style.display="flex")}))}))}}},{key:"modalListener",value:function(t){var e=t.querySelector(".wpgdprc-button--secondary");if(null!=e){var r=this.isLoading;e.addEventListener("click",(function(e){if(e.preventDefault(),!r){var n=t.querySelectorAll('input[type="checkbox"]'),o=[];if(n.length>0)for(var i=0;i<n.length;i++){var a=n[i],s=a.value;!0!==a.checked||isNaN(s)||o.push(parseInt(s))}r=x(o)}})),this.isLoading=r}}}])&&M(e.prototype,r),n&&M(e,n),t}(),R=r(727),D=r.n(R);function B(t){return null!=t}function U(t){return"function"==typeof t}function $(t,e,r){for(var n in t)t.hasOwnProperty(n)&&e.call(r,n,t[n])}function H(t){try{return Array.prototype.slice.call(t)}catch(r){var e=[];return function(t,e,r){var n,o=t&&t.length||0;for(n=0;n<o;n++)e.call(r,t[n],n)}(t,(function(t){e.push(t)})),e}}function K(t,e){return!(!t||"startTag"!==t.type&&"atomicTag"!==t.type||!("tagName"in t))&&!!~t.tagName.toLowerCase().indexOf(e)}function G(t){return K(t,"script")}function W(t){return K(t,"style")}function Q(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function z(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}var Y="data-ps-",Z="ps-style",J="ps-script";function V(t,e){var r=Y+e,n=t.getAttribute(r);return B(n)?String(n):n}function X(t,e){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null,n=Y+e;B(r)&&""!==r?t.setAttribute(n,r):t.removeAttribute(n)}var tt=function(){function t(e){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};Q(this,t),this.root=e,this.options=r,this.doc=e.ownerDocument,this.win=this.doc.defaultView||this.doc.parentWindow,this.parser=new(D())("",{autoFix:r.autoFix}),this.actuals=[e],this.proxyHistory="",this.proxyRoot=this.doc.createElement(e.nodeName),this.scriptStack=[],this.writeQueue=[],X(this.proxyRoot,"proxyof",0)}var e,r,n;return e=t,r=[{key:"write",value:function(){var t;for((t=this.writeQueue).push.apply(t,arguments);!this.deferredRemote&&this.writeQueue.length;){var e=this.writeQueue.shift();U(e)?this._callFunction(e):this._writeImpl(e)}}},{key:"_callFunction",value:function(t){var e={type:"function",value:t.name||t.toString()};this._onScriptStart(e),t.call(this.win,this.doc),this._onScriptDone(e)}},{key:"_writeImpl",value:function(t){var e,r,n;this.parser.append(t);for(var o=[];(e=this.parser.readToken())&&!(r=G(e))&&!(n=W(e));)(e=this.options.beforeWriteToken(e))&&o.push(e);o.length>0&&this._writeStaticTokens(o),r&&this._handleScriptToken(e),n&&this._handleStyleToken(e)}},{key:"_writeStaticTokens",value:function(t){var e=this._buildChunk(t);return e.actual?(e.html=this.proxyHistory+e.actual,this.proxyHistory+=e.proxy,this.proxyRoot.innerHTML=e.html,this._walkChunk(),e):null}},{key:"_buildChunk",value:function(t){for(var e=this.actuals.length,r=[],n=[],o=[],i=t.length,a=0;a<i;a++){var s=t[a],c=s.toString();if(r.push(c),s.attrs){if(!/^noscript$/i.test(s.tagName)){var u=e++;n.push(c.replace(/(\/?>)/," ".concat(Y,"id=").concat(u," $1"))),s.attrs.id!==J&&s.attrs.id!==Z&&o.push("atomicTag"===s.type?"":"<".concat(s.tagName," ").concat(Y,"proxyof=").concat(u)+(s.unary?" />":">"))}}else n.push(c),o.push("endTag"===s.type?c:"")}return{tokens:t,raw:r.join(""),actual:n.join(""),proxy:o.join("")}}},{key:"_walkChunk",value:function(){for(var t,e=[this.proxyRoot];B(t=e.shift());){var r=1===t.nodeType;if(!r||!V(t,"proxyof")){r&&(this.actuals[V(t,"id")]=t,X(t,"id"));var n=t.parentNode&&V(t.parentNode,"proxyof");n&&this.actuals[n].appendChild(t)}e.unshift.apply(e,H(t.childNodes))}}},{key:"_handleScriptToken",value:function(t){var e=this,r=this.parser.clear();r&&this.writeQueue.unshift(r),t.src=t.attrs.src||t.attrs.SRC,(t=this.options.beforeWriteToken(t))&&(t.src&&this.scriptStack.length?this.deferredRemote=t:this._onScriptStart(t),this._writeScriptToken(t,(function(){e._onScriptDone(t)})))}},{key:"_handleStyleToken",value:function(t){var e=this.parser.clear();e&&this.writeQueue.unshift(e),t.type=t.attrs.type||t.attrs.TYPE||"text/css",(t=this.options.beforeWriteToken(t))&&this._writeStyleToken(t),e&&this.write()}},{key:"_writeStyleToken",value:function(t){var e=this._buildStyle(t);this._insertCursor(e,Z),t.content&&(e.styleSheet&&!e.sheet?e.styleSheet.cssText=t.content:e.appendChild(this.doc.createTextNode(t.content)))}},{key:"_buildStyle",value:function(t){var e=this.doc.createElement(t.tagName);return e.setAttribute("type",t.type),$(t.attrs,(function(t,r){e.setAttribute(t,r)})),e}},{key:"_insertCursor",value:function(t,e){this._writeImpl('<span id="'.concat(e,'"/>'));var r=this.doc.getElementById(e);r&&r.parentNode.replaceChild(t,r)}},{key:"_onScriptStart",value:function(t){t.outerWrites=this.writeQueue,this.writeQueue=[],this.scriptStack.unshift(t)}},{key:"_onScriptDone",value:function(t){t===this.scriptStack[0]?(this.scriptStack.shift(),this.write.apply(this,t.outerWrites),!this.scriptStack.length&&this.deferredRemote&&(this._onScriptStart(this.deferredRemote),this.deferredRemote=null)):this.options.error({msg:"Bad script nesting or script finished twice"})}},{key:"_writeScriptToken",value:function(t,e){var r=this._buildScript(t),n=this._shouldRelease(r),o=this.options.afterAsync;t.src&&(r.src=t.src,this._scriptLoadHandler(r,n?o:function(){e(),o()}));try{this._insertCursor(r,J),r.src&&!n||e()}catch(t){this.options.error(t),e()}}},{key:"_buildScript",value:function(t){var e,r,n=this.doc.createElement(t.tagName);return $(t.attrs,(function(t,e){n.setAttribute(t,e)})),t.content&&G(t)&&(n.text=t.content),t.content&&function(t){return K(t,"noscript")}(t)&&(e=t.content,(r=document.createElement("template")).innerHTML=e,r.content.childNodes).forEach((function(t){n.appendChild(t)})),n}},{key:"_scriptLoadHandler",value:function(t,e){function r(){t=t.onload=t.onreadystatechange=t.onerror=null}var n=this.options.error;function o(){r(),null!=e&&e(),e=null}function i(t){r(),n(t),null!=e&&e(),e=null}function a(t,e){var r=t["on".concat(e)];null!=r&&(t["_on".concat(e)]=r)}a(t,"load"),a(t,"error"),Object.assign(t,{onload:function(){if(t._onload)try{t._onload.apply(this,Array.prototype.slice.call(arguments,0))}catch(e){i({msg:"onload handler failed ".concat(e," @ ").concat(t.src)})}o()},onerror:function(){if(t._onerror)try{t._onerror.apply(this,Array.prototype.slice.call(arguments,0))}catch(e){return void i({msg:"onerror handler failed ".concat(e," @ ").concat(t.src)})}i({msg:"remote script failed ".concat(t.src)})},onreadystatechange:function(){/^(loaded|complete)$/.test(t.readyState)&&o()}})}},{key:"_shouldRelease",value:function(t){return!/^script$/i.test(t.nodeName)||!!(this.options.releaseAsync&&t.src&&t.hasAttribute("async"))}}],r&&z(e.prototype,r),n&&z(e,n),t}();function et(t){return function(t){if(Array.isArray(t))return rt(t)}(t)||function(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(t)||function(t,e){if(!t)return;if("string"==typeof t)return rt(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);"Object"===r&&t.constructor&&(r=t.constructor.name);if("Map"===r||"Set"===r)return Array.from(t);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return rt(t,e)}(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function rt(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);r<e;r++)n[r]=t[r];return n}function nt(){}var ot={afterAsync:nt,afterDequeue:nt,afterStreamStart:nt,afterWrite:nt,autoFix:!0,beforeEnqueue:nt,beforeWriteToken:function(t){return t},beforeWrite:function(t){return t},done:nt,error:function(t){throw new Error(t.msg)},releaseAsync:!1},it=0,at=[],st=null;function ct(){var t,e=at.shift();if(e){var r=(t=e)[t.length-1];r.afterDequeue(),e.stream=ut.apply(void 0,et(e)),r.afterStreamStart()}}function ut(t,e,r){(st=new tt(t,r)).id=it++,st.name=r.name||st.id,lt.streams[st.name]=st;var n=t.ownerDocument,o={close:n.close,open:n.open,write:n.write,writeln:n.writeln};function i(t){t=r.beforeWrite(t),st.write(t),r.afterWrite(t)}Object.assign(n,{close:nt,open:nt,write:function(){for(var t=arguments.length,e=new Array(t),r=0;r<t;r++)e[r]=arguments[r];return i(e.join(""))},writeln:function(){for(var t=arguments.length,e=new Array(t),r=0;r<t;r++)e[r]=arguments[r];return i(e.join("")+"\n")}});var a=st.win.onerror||nt;return st.win.onerror=function(t,e,n){r.error({msg:"".concat(t," - ").concat(e,": ").concat(n)}),a.apply(st.win,[t,e,n])},st.write(e,(function(){Object.assign(n,o),st.win.onerror=a,r.done(),st=null,ct()})),st}function lt(t,e,r){if(U(r))r={done:r};else if("clear"===r)return at=[],st=null,void(it=0);r=function(t,e){return t=t||{},$(e,(function(e,r){B(t[e])||(t[e]=r)})),t}(r,ot);var n=[t=/^#/.test(t)?window.document.getElementById(t.substr(1)):t.jquery?t[0]:t,e,r];return t.postscribe={cancel:function(){n.stream?n.stream.abort():n[1]=nt}},r.beforeEnqueue(n),at.push(n),st||ct(),t.postscribe}function ft(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var r=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null==r)return;var n,o,i=[],a=!0,s=!1;try{for(r=r.call(t);!(a=(n=r.next()).done)&&(i.push(n.value),!e||i.length!==e);a=!0);}catch(t){s=!0,o=t}finally{try{a||null==r.return||r.return()}finally{if(s)throw o}}return i}(t,e)||function(t,e){if(!t)return;if("string"==typeof t)return dt(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);"Object"===r&&t.constructor&&(r=t.constructor.name);if("Map"===r||"Set"===r)return Array.from(t);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return dt(t,e)}(t,e)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function dt(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);r<e;r++)n[r]=t[r];return n}function ht(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}Object.assign(lt,{streams:{},queue:at,WriteStream:tt});var pt=function(){function t(){var r=this;!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t);var n,o=void 0!==wpgdprcFront.consents?wpgdprcFront.consents:[],i=ft((n=function(t){return t.required},o.reduce((function(t,r){var o=e(t,2),i=o[0],a=o[1];return n(r)?[[].concat(s(i),[r]),a]:[i,[].concat(s(a),[r])]}),[[],[]])),2),a=i[0],c=i[1];a.forEach((function(t){return r.loadConsent(t)}));var u=d(wpgdprcFront.cookieName);if(null!=u){var l=this._parseConsentCookie(u);c.forEach((function(t){(!0===l||void 0!==l[t.ID]&&"declined"!==l[t.ID])&&r.loadConsent(t)}))}}var r,n,o;return r=t,(n=[{key:"_parseConsentCookie",value:function(t){if("accept"===t)return!0;var e=t.split(",");return Object.fromEntries(e.map((function(t){return t.split("_")})))}},{key:"getTargetByPlacement",value:function(t){var e;switch(t){case"head":e=document.head;break;case"body":if(null===(e=document.querySelector("#wpgdprc-consent-body"))){var r=document.createElement("div");r.id="wpgdprc-consent-body",document.body.prepend(r),e="#"+r.id}break;case"footer":e=document.body}return e}},{key:"loadConsent",value:function(t){var e=this.getTargetByPlacement(t.placement);null!==e&&lt(e,t.content)}}])&&ht(r.prototype,n),o&&ht(r,o),t}();function yt(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function mt(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?yt(Object(r),!0).forEach((function(e){gt(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):yt(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}function gt(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function vt(t,e,r,n,o,i,a){try{var s=t[i](a),c=s.value}catch(t){return void r(t)}s.done?e(c):Promise.resolve(c).then(n,o)}function bt(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}var wt=function(){function t(){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this.setProperties(),this.init()}var e,r,n,o,i;return e=t,r=[{key:"setProperties",value:function(){this.prefix=wpgdprcFront.pluginPrefix,this.ajaxUrl=wpgdprcFront.ajaxUrl,this.ajaxNonce=wpgdprcFront.ajaxNonce,this.ajaxArg=wpgdprcFront.ajaxArg,this.successClassName="wpgdprc-message--success",this.errorClassName="wpgdprc-message--error",this.formAction=this.prefix+"_process_action",this.form=document.querySelector(".wpgdprc-form--access-request"),this.isLoading=!1,this.isLoadingClassName="is-loading"}},{key:"init",value:function(){this.handleForm()}},{key:"handleForm",value:function(){var t=this;this.form&&this.form.addEventListener("submit",(function(e){e.preventDefault(),t.accessRequest()}))}},{key:"setIsLoading",value:function(){var t=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];this.isLoading=t,t?document.body.classList.add(this.isLoadingClassName):document.body.classList.remove(this.isLoadingClassName)}},{key:"accessRequest",value:(o=regeneratorRuntime.mark((function t(){var e,r,n,o=this;return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(!this.isLoading){t.next=2;break}return t.abrupt("return");case 2:return this.setIsLoading(),e=this.form.querySelector(".wpgdprc-message"),r=this.form.querySelector("#wpgdprc-form__consent"),n=this.form.querySelector("#wpgdprc-form__email"),e.style.display="none",e.classList.remove(this.successClassName,this.errorClassName),e.innerHTML="",t.prev=9,t.next=12,l(this.ajaxUrl,mt(gt({action:this.formAction},this.ajaxArg,this.ajaxNonce),f({type:"access_request",email:n.value,consent:r.checked})),"POST").then((function(t){return t.json()})).then((function(t){o.setIsLoading(!1);var r=void 0!==t.message&&t.message;r&&(o.form.reset(),n.blur(),e.innerHTML=r,e.classList.add(o.successClassName),e.removeAttribute("style"));var i=void 0!==t.error&&t.error;i&&(n.focus(),e.innerHTML=i,e.classList.add(o.errorClassName),e.removeAttribute("style"))}));case 12:t.next=18;break;case 14:t.prev=14,t.t0=t.catch(9),console.error(t.t0),this.setIsLoading(!1);case 18:case"end":return t.stop()}}),t,this,[[9,14]])})),i=function(){var t=this,e=arguments;return new Promise((function(r,n){var i=o.apply(t,e);function a(t){vt(i,r,n,a,s,"next",t)}function s(t){vt(i,r,n,a,s,"throw",t)}a(void 0)}))},function(){return i.apply(this,arguments)})}],r&&bt(e.prototype,r),n&&bt(e,n),t}();function kt(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function St(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?kt(Object(r),!0).forEach((function(e){xt(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):kt(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}function xt(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function Tt(t,e,r,n,o,i,a){try{var s=t[i](a),c=s.value}catch(t){return void r(t)}s.done?e(c):Promise.resolve(c).then(n,o)}function Ot(t){return function(){var e=this,r=arguments;return new Promise((function(n,o){var i=t.apply(e,r);function a(t){Tt(i,n,o,a,s,"next",t)}function s(t){Tt(i,n,o,a,s,"throw",t)}a(void 0)}))}}function Et(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}var At,jt=function(){function t(){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this.setProperties(),this.init()}var e,r,n,o;return e=t,r=[{key:"setProperties",value:function(){this.prefix=wpgdprcFront.pluginPrefix,this.ajaxUrl=wpgdprcFront.ajaxUrl,this.ajaxNonce=wpgdprcFront.ajaxNonce,this.ajaxArg=wpgdprcFront.ajaxArg,this.token=wpgdprcFront.token,this.forms=document.querySelectorAll(".wpgdprc-form--delete-request"),this.statusErrorClassName="wpgdprc-status--error",this.statusProcessingClassName="wpgdprc-status--processing",this.statusRemovedClassName="wpgdprc-status--removed",this.messageErrorClassName="wpgdprc-message--error",this.isLoading=!1,this.isLoadingClassName="is-loading",this.isHiddenClassName="is-hidden"}},{key:"init",value:function(){this.handleForm()}},{key:"handleForm",value:function(){var t=this;this.forms&&this.forms.forEach((function(e){t.handleFormSubmit(e),t.handleSelectAllCheckboxes(e)}))}},{key:"handleSelectAllCheckboxes",value:function(t){var e=t.querySelector(".wpgdprc-select-all");if(t&&e){var r=t.querySelectorAll(".wpgdprc-checkbox");r.forEach((function(t){t.addEventListener("change",(function(n){!1!==t.checked?(e.checked=!0,r.forEach((function(t){!1===t.checked&&(e.checked=!1)}))):e.checked=!1}))})),e.addEventListener("change",(function(t){var e=t.target.checked;r.forEach((function(t){t.checked=e}))}))}}},{key:"handleFormSubmit",value:function(t){var e=this;t&&t.addEventListener("submit",(function(r){r.preventDefault();var n=t.querySelector(".wpgdprc-select-all"),o=function(t){var e=[];return t.length?(t.forEach((function(t){var r=parseInt(t.value);t.checked&&r>0&&e.push(r)})),e):e}(t.querySelectorAll(".wpgdprc-checkbox"));n.checked=!1,e.deleteRequest(t,o)}))}},{key:"setIsLoading",value:function(){var t=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];this.isLoading=t,t?document.body.classList.add(this.isLoadingClassName):document.body.classList.remove(this.isLoadingClassName)}},{key:"deleteRequest",value:(o=Ot(regeneratorRuntime.mark((function t(e){var r,n,o,i,a,s,c=this,u=arguments;return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(r=u.length>1&&void 0!==u[1]?u[1]:[],n=u.length>2&&void 0!==u[2]?u[2]:0,e&&r){t.next=4;break}return t.abrupt("return");case 4:if(o=e.getAttribute("data-wpgdprc"),i=e.querySelector(".wpgdprc-message"),(a=r.slice(0,1)).length){t.next=9;break}return t.abrupt("return");case 9:(s=e.querySelector('tr[data-id="'+a[0]+'"]')).classList.remove(this.statusErrorClassName),s.classList.add(this.statusProcessingClassName),i.classList.add(this.isHiddenClassName),i.classList.remove(this.messageErrorClassName),i.innerHTML="",this.setIsLoading(),setTimeout(Ot(regeneratorRuntime.mark((function t(){return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.prev=0,t.next=3,l(c.ajaxUrl,St(xt({action:c.prefix+"_process_action"},c.ajaxArg,c.ajaxNonce),f({type:"delete_request",token:c.token,settings:JSON.parse(o),value:a[0]})),"POST").then((function(t){return t.json()})).then((function(t){c.setIsLoading(!1);var n=void 0!==t.message&&t.message,o=void 0!==t.error&&t.error;n&&(r.splice(0,1),s.querySelector('input[type="checkbox"]').remove(),s.classList.add(c.statusRemovedClassName),i.innerHTML=n,i.classList.remove(c.isHiddenClassName),r.length&&c.deleteRequest(e,r,500)),o&&(s.classList.add(c.statusErrorClassName),i.innerHTML=o,i.classList.add(c.messageErrorClassName),i.classList.remove(c.isHiddenClassName))}));case 3:t.next=9;break;case 5:t.prev=5,t.t0=t.catch(0),console.error(t.t0),c.setIsLoading(!1);case 9:case"end":return t.stop()}}),t,null,[[0,5]])}))),n||0);case 17:case"end":return t.stop()}}),t,this)}))),function(t){return o.apply(this,arguments)})}],r&&Et(e.prototype,r),n&&Et(e,n),t}();At=function(){var t=void 0!==wpgdprcFront.consents?wpgdprcFront.consents:[];v(),Array.isArray(t)&&t.length>0&&(new O,new q,new pt),new wt,new jt},document.addEventListener("DOMContentLoaded",(function(){At()}))})()})();
Assets/js/front.min.js.LICENSE.txt CHANGED
@@ -1,19 +1,9 @@
1
  /**
2
- * @file prescribe
3
- * @description Tiny, forgiving HTML parser
4
- * @version vundefined
5
- * @see {@link https://github.com/krux/prescribe/}
6
- * @license MIT
7
- * @author Derek Brans
8
- * @copyright 2016 Krux Digital, Inc
9
- */
10
-
11
- /**
12
- * @file postscribe
13
- * @description Asynchronously write javascript, even with document.write.
14
- * @version v2.0.8
15
- * @see {@link https://krux.github.io/postscribe}
16
  * @license MIT
17
  * @author Derek Brans
18
- * @copyright 2016 Krux Digital, Inc
19
  */
1
  /**
2
+ * @file prescribe
3
+ * @description Tiny, forgiving HTML parser
4
+ * @version v1.1.3
5
+ * @see {@link https://github.com/krux/prescribe/}
 
 
 
 
 
 
 
 
 
 
6
  * @license MIT
7
  * @author Derek Brans
8
+ * @copyright 2017 Krux Digital, Inc
9
  */
Resources/fonts/sofia/SofiaPro-Bold.woff DELETED
Binary file
Resources/fonts/sofia/SofiaPro-Bold.woff2 DELETED
Binary file
Resources/fonts/sofia/SofiaPro-Italic.woff DELETED
Binary file
Resources/fonts/sofia/SofiaPro-Italic.woff2 DELETED
Binary file
Resources/fonts/sofia/SofiaPro-Medium.woff DELETED
Binary file
Resources/fonts/sofia/SofiaPro-Medium.woff2 DELETED
Binary file
Resources/fonts/sofia/SofiaPro-SemiBold.woff DELETED
Binary file
Resources/fonts/sofia/SofiaPro-SemiBold.woff2 DELETED
Binary file
Resources/fonts/sofia/SofiaPro-SemiBoldItalic.woff DELETED
Binary file
Resources/fonts/sofia/SofiaPro-SemiBoldItalic.woff2 DELETED
Binary file
Resources/fonts/sofia/SofiaPro.woff DELETED
Binary file
Resources/fonts/sofia/SofiaPro.woff2 DELETED
Binary file
Resources/js/admin/sign-up-modal.js CHANGED
@@ -26,6 +26,8 @@ export default class SignUpModal {
26
  this.signUpPage = document.querySelector('.wpgdprc-sign-up-modal__sign-up')
27
  this.backButton = document.querySelector('.wpgdprc-sign-up-modal__back')
28
 
 
 
29
  this.prefix = wpgdprcAdmin.pluginPrefix
30
  this.ajaxUrl = wpgdprcAdmin.ajaxUrl
31
  this.ajaxNonce = wpgdprcAdmin.ajaxNonce
@@ -60,6 +62,14 @@ export default class SignUpModal {
60
  }
61
 
62
  handleButtonActions () {
 
 
 
 
 
 
 
 
63
  this.privateButton.addEventListener('click', () => {
64
  MicroModal.close(this.modalId, this.options)
65
  this.updatePremium('private')
26
  this.signUpPage = document.querySelector('.wpgdprc-sign-up-modal__sign-up')
27
  this.backButton = document.querySelector('.wpgdprc-sign-up-modal__back')
28
 
29
+ this.ctaButtons = document.querySelectorAll('.wpgdprc-cta-button')
30
+
31
  this.prefix = wpgdprcAdmin.pluginPrefix
32
  this.ajaxUrl = wpgdprcAdmin.ajaxUrl
33
  this.ajaxNonce = wpgdprcAdmin.ajaxNonce
62
  }
63
 
64
  handleButtonActions () {
65
+ this.ctaButtons.forEach(button => {
66
+ button.addEventListener('click', (e) => {
67
+ e.preventDefault()
68
+ this.gotoSignUpPage()
69
+ MicroModal.show(this.modalId, this.options)
70
+ })
71
+ })
72
+
73
  this.privateButton.addEventListener('click', () => {
74
  MicroModal.close(this.modalId, this.options)
75
  this.updatePremium('private')
Resources/js/components/load-consents.js CHANGED
@@ -1,4 +1,4 @@
1
- import postscribe from 'postscribe'
2
  import { _readCookie, partition } from '../utils/helpers'
3
 
4
  /**
1
+ import postscribe from './../utils/postscribe/postscribe'
2
  import { _readCookie, partition } from '../utils/helpers'
3
 
4
  /**
Resources/js/utils/postscribe/postscribe.js ADDED
@@ -0,0 +1,199 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ /* eslint-disable */
2
+ import WriteStream from './write-stream'
3
+ import * as utils from './utils'
4
+
5
+ /**
6
+ * A function that intentionally does nothing.
7
+ */
8
+ function doNothing () {
9
+ }
10
+
11
+ /**
12
+ * Available options and defaults.
13
+ *
14
+ * @type {Object}
15
+ */
16
+ const OPTIONS = {
17
+ /**
18
+ * Called when an async script has loaded.
19
+ */
20
+ afterAsync: doNothing,
21
+
22
+ /**
23
+ * Called immediately before removing from the write queue.
24
+ */
25
+ afterDequeue: doNothing,
26
+
27
+ /**
28
+ * Called sync after a stream's first thread release.
29
+ */
30
+ afterStreamStart: doNothing,
31
+
32
+ /**
33
+ * Called after writing buffered document.write calls.
34
+ */
35
+ afterWrite: doNothing,
36
+
37
+ /**
38
+ * Allows disabling the autoFix feature of prescribe
39
+ */
40
+ autoFix: true,
41
+
42
+ /**
43
+ * Called immediately before adding to the write queue.
44
+ */
45
+ beforeEnqueue: doNothing,
46
+
47
+ /**
48
+ * Called before writing a token.
49
+ *
50
+ * @param {Object} tok The token
51
+ */
52
+ beforeWriteToken: tok => tok,
53
+
54
+ /**
55
+ * Called before writing buffered document.write calls.
56
+ *
57
+ * @param {String} str The string
58
+ */
59
+ beforeWrite: str => str,
60
+
61
+ /**
62
+ * Called when evaluation is finished.
63
+ */
64
+ done: doNothing,
65
+
66
+ /**
67
+ * Called when a write results in an error.
68
+ *
69
+ * @param {Error} e The error
70
+ */
71
+ error (e) { throw new Error(e.msg) },
72
+
73
+ /**
74
+ * Whether to let scripts w/ async attribute set fall out of the queue.
75
+ */
76
+ releaseAsync: false
77
+ }
78
+
79
+ let nextId = 0
80
+ let queue = []
81
+ let active = null
82
+
83
+ function nextStream () {
84
+ const args = queue.shift()
85
+ if (args) {
86
+ const options = utils.last(args)
87
+
88
+ options.afterDequeue()
89
+ args.stream = runStream(...args)
90
+ options.afterStreamStart()
91
+ }
92
+ }
93
+
94
+ function runStream (el, html, options) {
95
+ active = new WriteStream(el, options)
96
+
97
+ // Identify this stream.
98
+ active.id = nextId++
99
+ active.name = options.name || active.id
100
+ postscribe.streams[active.name] = active
101
+
102
+ // Override document.write.
103
+ const doc = el.ownerDocument
104
+
105
+ const stash = {
106
+ close: doc.close,
107
+ open: doc.open,
108
+ write: doc.write,
109
+ writeln: doc.writeln
110
+ }
111
+
112
+ function write (str) {
113
+ str = options.beforeWrite(str)
114
+ active.write(str)
115
+ options.afterWrite(str)
116
+ }
117
+
118
+ Object.assign(doc, {
119
+ close: doNothing,
120
+ open: doNothing,
121
+ write: (...str) => write(str.join('')),
122
+ writeln: (...str) => write(str.join('') + '\n')
123
+ })
124
+
125
+ // Override window.onerror
126
+ const oldOnError = active.win.onerror || doNothing
127
+
128
+ // This works together with the try/catch around WriteStream::insertScript
129
+ // In modern browsers, exceptions in tag scripts go directly to top level
130
+ active.win.onerror = (msg, url, line) => {
131
+ options.error({ msg: `${msg} - ${url}: ${line}` })
132
+ oldOnError.apply(active.win, [msg, url, line])
133
+ }
134
+
135
+ // Write to the stream
136
+ active.write(html, () => {
137
+ // restore document.write
138
+ Object.assign(doc, stash)
139
+
140
+ // restore window.onerror
141
+ active.win.onerror = oldOnError
142
+
143
+ options.done()
144
+ active = null
145
+ nextStream()
146
+ })
147
+
148
+ return active
149
+ }
150
+
151
+ export default function postscribe (el, html, options) {
152
+ if (utils.isFunction(options)) {
153
+ options = { done: options }
154
+ } else if (options === 'clear') {
155
+ queue = []
156
+ active = null
157
+ nextId = 0
158
+ return
159
+ }
160
+
161
+ options = utils.defaults(options, OPTIONS)
162
+
163
+ // id selector
164
+ if ((/^#/).test(el)) {
165
+ el = window.document.getElementById(el.substr(1))
166
+ } else {
167
+ el = el.jquery ? el[0] : el
168
+ }
169
+
170
+ const args = [el, html, options]
171
+
172
+ el.postscribe = {
173
+ cancel: () => {
174
+ if (args.stream) {
175
+ args.stream.abort()
176
+ } else {
177
+ args[1] = doNothing
178
+ }
179
+ }
180
+ }
181
+
182
+ options.beforeEnqueue(args)
183
+ queue.push(args)
184
+
185
+ if (!active) {
186
+ nextStream()
187
+ }
188
+
189
+ return el.postscribe
190
+ }
191
+
192
+ Object.assign(postscribe, {
193
+ // Streams by name.
194
+ streams: {},
195
+ // Queue of streams.
196
+ queue,
197
+ // Expose internal classes.
198
+ WriteStream
199
+ })
Resources/js/utils/postscribe/utils.js ADDED
@@ -0,0 +1,150 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ /* eslint-disable */
2
+ /**
3
+ * Determine if the thing is not undefined and not null.
4
+ *
5
+ * @param {*} thing The thing to test
6
+ * @returns {boolean} True if the thing is not undefined and not null.
7
+ */
8
+ export function existy (thing) {
9
+ return thing !== void 0 && thing !== null
10
+ }
11
+
12
+ /**
13
+ * Is this a function?
14
+ *
15
+ * @param {*} x The variable to test
16
+ * @returns {boolean} True if the variable is a function
17
+ */
18
+ export function isFunction (x) {
19
+ return typeof x === 'function'
20
+ }
21
+
22
+ /**
23
+ * Loop over each item in an array-like value.
24
+ *
25
+ * @param {Array<*>} arr The array to loop over
26
+ * @param {Function} fn The function to call
27
+ * @param {?Object} target The object to bind to the function
28
+ */
29
+ export function each (arr, fn, target) {
30
+ let i
31
+ const len = (arr && arr.length) || 0
32
+ for (i = 0; i < len; i++) {
33
+ fn.call(target, arr[i], i)
34
+ }
35
+ }
36
+
37
+ /**
38
+ * Loop over each key/value pair in a hash.
39
+ *
40
+ * @param {Object} obj The object
41
+ * @param {Function} fn The function to call
42
+ * @param {?Object} target The object to bind to the function
43
+ */
44
+ export function eachKey (obj, fn, target) {
45
+ for (const key in obj) {
46
+ if (obj.hasOwnProperty(key)) {
47
+ fn.call(target, key, obj[key])
48
+ }
49
+ }
50
+ }
51
+
52
+ /**
53
+ * Set default options where some option was not specified.
54
+ *
55
+ * @param {Object} options The destination
56
+ * @param {Object} _defaults The defaults
57
+ * @returns {Object}
58
+ */
59
+ export function defaults (options, _defaults) {
60
+ options = options || {}
61
+ eachKey(_defaults, function (key, val) {
62
+ if (!existy(options[key])) {
63
+ options[key] = val
64
+ }
65
+ })
66
+ return options
67
+ }
68
+
69
+ /**
70
+ * Convert value (e.g., a NodeList) to an array.
71
+ *
72
+ * @param {*} obj The object
73
+ * @returns {Array<*>}
74
+ */
75
+ export function toArray (obj) {
76
+ try {
77
+ return Array.prototype.slice.call(obj)
78
+ } catch (e) {
79
+ const ret = []
80
+ each(obj, function (val) {
81
+ ret.push(val)
82
+ })
83
+ return ret
84
+ }
85
+ }
86
+
87
+ /**
88
+ * Get the last item in an array
89
+ *
90
+ * @param {Array<*>} array The array
91
+ * @returns {*} The last item in the array
92
+ */
93
+ export function last (array) {
94
+ return array[array.length - 1]
95
+ }
96
+
97
+ /**
98
+ * Test if token is a script tag.
99
+ *
100
+ * @param {Object} tok The token
101
+ * @param {String} tag The tag name
102
+ * @returns {boolean} True if the token is a script tag
103
+ */
104
+ export function isTag (tok, tag) {
105
+ return !tok ||
106
+ !(tok.type === 'startTag' || tok.type === 'atomicTag') ||
107
+ !('tagName' in tok)
108
+ ? !1
109
+ : !!~tok.tagName.toLowerCase().indexOf(tag)
110
+ }
111
+
112
+ /**
113
+ * Test if token is a script tag.
114
+ *
115
+ * @param {Object} tok The token
116
+ * @returns {boolean} True if the token is a script tag
117
+ */
118
+ export function isScript (tok) {
119
+ return isTag(tok, 'script')
120
+ }
121
+
122
+ /**
123
+ * Test if token is a noscript tag.
124
+ *
125
+ * @param {Object} tok The token
126
+ * @returns {boolean} True if the token is a noscript tag
127
+ */
128
+ export function isNoScript (tok) {
129
+ return isTag(tok, 'noscript')
130
+ }
131
+
132
+ /**
133
+ * @param {String} HTML representing any number of sibling elements
134
+ * @return {NodeList}
135
+ */
136
+ export function htmlToElements (html) {
137
+ const template = document.createElement('template')
138
+ template.innerHTML = html
139
+ return template.content.childNodes
140
+ }
141
+
142
+ /**
143
+ * Test if token is a style tag.
144
+ *
145
+ * @param {Object} tok The token
146
+ * @returns {boolean} True if the token is a style tag
147
+ */
148
+ export function isStyle (tok) {
149
+ return isTag(tok, 'style')
150
+ }
Resources/js/utils/postscribe/write-stream.js ADDED
@@ -0,0 +1,626 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ /* eslint-disable */
2
+ import HtmlParser from 'prescribe'
3
+ import * as utils from './utils'
4
+
5
+ /**
6
+ * Turn on to debug how each chunk affected the DOM.
7
+ * @type {boolean}
8
+ */
9
+ const DEBUG_CHUNK = false
10
+
11
+ /**
12
+ * Prefix for data attributes on DOM elements.
13
+ * @type {string}
14
+ */
15
+ const BASEATTR = 'data-ps-'
16
+
17
+ /**
18
+ * ID for the style proxy
19
+ * @type {string}
20
+ */
21
+ const PROXY_STYLE = 'ps-style'
22
+
23
+ /**
24
+ * ID for the script proxy
25
+ * @type {string}
26
+ */
27
+ const PROXY_SCRIPT = 'ps-script'
28
+
29
+ /**
30
+ * Get data attributes
31
+ *
32
+ * @param {Object} el The DOM element.
33
+ * @param {String} name The attribute name.
34
+ * @returns {String}
35
+ */
36
+ function getData (el, name) {
37
+ const attr = BASEATTR + name
38
+
39
+ const val = el.getAttribute(attr)
40
+
41
+ // IE 8 returns a number if it's a number
42
+ return !utils.existy(val) ? val : String(val)
43
+ }
44
+
45
+ /**
46
+ * Set data attributes
47
+ *
48
+ * @param {Object} el The DOM element.
49
+ * @param {String} name The attribute name.
50
+ * @param {null|*} value The attribute value.
51
+ */
52
+ function setData (el, name, value = null) {
53
+ const attr = BASEATTR + name
54
+
55
+ if (utils.existy(value) && value !== '') {
56
+ el.setAttribute(attr, value)
57
+ } else {
58
+ el.removeAttribute(attr)
59
+ }
60
+ }
61
+
62
+ /**
63
+ * Stream static html to an element, where "static html" denotes "html
64
+ * without scripts".
65
+ *
66
+ * This class maintains a *history of writes devoid of any attributes* or
67
+ * "proxy history".
68
+ *
69
+ * Injecting the proxy history into a temporary div has no side-effects,
70
+ * other than to create proxy elements for previously written elements.
71
+ *
72
+ * Given the `staticHtml` of a new write, a `tempDiv`'s innerHTML is set to
73
+ * `proxy_history + staticHtml`.
74
+ * The *structure* of `tempDiv`'s contents, (i.e., the placement of new nodes
75
+ * beside or inside of proxy elements), reflects the DOM structure that would
76
+ * have resulted if all writes had been squashed into a single write.
77
+ *
78
+ * For each descendent `node` of `tempDiv` whose parentNode is a *proxy*,
79
+ * `node` is appended to the corresponding *real* element within the DOM.
80
+ *
81
+ * Proxy elements are mapped to *actual* elements in the DOM by injecting a
82
+ * `data-id` attribute into each start tag in `staticHtml`.
83
+ *
84
+ */
85
+ export default class WriteStream {
86
+ /**
87
+ * Constructor.
88
+ *
89
+ * @param {Object} root The root element
90
+ * @param {?Object} options The options
91
+ */
92
+ constructor (root, options = {}) {
93
+ this.root = root
94
+ this.options = options
95
+ this.doc = root.ownerDocument
96
+ this.win = this.doc.defaultView || this.doc.parentWindow
97
+ this.parser = new HtmlParser('', { autoFix: options.autoFix })
98
+
99
+ // Actual elements by id.
100
+ this.actuals = [root]
101
+
102
+ // Embodies the "structure" of what's been written so far,
103
+ // devoid of attributes.
104
+ this.proxyHistory = ''
105
+
106
+ // Create a proxy of the root element.
107
+ this.proxyRoot = this.doc.createElement(root.nodeName)
108
+
109
+ this.scriptStack = []
110
+ this.writeQueue = []
111
+
112
+ setData(this.proxyRoot, 'proxyof', 0)
113
+ }
114
+
115
+ /**
116
+ * Writes the given strings.
117
+ *
118
+ * @param {...String} str The strings to write
119
+ */
120
+ write (...str) {
121
+ this.writeQueue.push(...str)
122
+
123
+ // Process writes
124
+ // When new script gets pushed or pending this will stop
125
+ // because new writeQueue gets pushed
126
+ while (!this.deferredRemote && this.writeQueue.length) {
127
+ const arg = this.writeQueue.shift()
128
+
129
+ if (utils.isFunction(arg)) {
130
+ this._callFunction(arg)
131
+ } else {
132
+ this._writeImpl(arg)
133
+ }
134
+ }
135
+ }
136
+
137
+ /**
138
+ * Calls the given function.
139
+ *
140
+ * @param {Function} fn The function to call
141
+ * @private
142
+ */
143
+ _callFunction (fn) {
144
+ const tok = { type: 'function', value: fn.name || fn.toString() }
145
+ this._onScriptStart(tok)
146
+ fn.call(this.win, this.doc)
147
+ this._onScriptDone(tok)
148
+ }
149
+
150
+ /**
151
+ * The write implementation
152
+ *
153
+ * @param {String} html The HTML to write.
154
+ * @private
155
+ */
156
+ _writeImpl (html) {
157
+ this.parser.append(html)
158
+
159
+ let tok
160
+ let script
161
+ let style
162
+ const tokens = []
163
+
164
+ // stop if we see a script token
165
+ while ((tok = this.parser.readToken()) &&
166
+ !(script = utils.isScript(tok)) &&
167
+ !(style = utils.isStyle(tok))) {
168
+ tok = this.options.beforeWriteToken(tok)
169
+
170
+ if (tok) {
171
+ tokens.push(tok)
172
+ }
173
+ }
174
+
175
+ if (tokens.length > 0) {
176
+ this._writeStaticTokens(tokens)
177
+ }
178
+
179
+ if (script) {
180
+ this._handleScriptToken(tok)
181
+ }
182
+
183
+ if (style) {
184
+ this._handleStyleToken(tok)
185
+ }
186
+ }
187
+
188
+ /**
189
+ * Write contiguous non-script tokens (a chunk)
190
+ *
191
+ * @param {Array<Object>} tokens The tokens
192
+ * @returns {{tokens, raw, actual, proxy}|null}
193
+ * @private
194
+ */
195
+ _writeStaticTokens (tokens) {
196
+ const chunk = this._buildChunk(tokens)
197
+
198
+ if (!chunk.actual) {
199
+ // e.g., no tokens, or a noscript that got ignored
200
+ return null
201
+ }
202
+
203
+ chunk.html = this.proxyHistory + chunk.actual
204
+ this.proxyHistory += chunk.proxy
205
+ this.proxyRoot.innerHTML = chunk.html
206
+
207
+ if (DEBUG_CHUNK) {
208
+ chunk.proxyInnerHTML = this.proxyRoot.innerHTML
209
+ }
210
+
211
+ this._walkChunk()
212
+
213
+ if (DEBUG_CHUNK) {
214
+ chunk.actualInnerHTML = this.root.innerHTML
215
+ }
216
+
217
+ return chunk
218
+ }
219
+
220
+ /**
221
+ * Build a chunk.
222
+ *
223
+ * @param {Array<Object>} tokens The tokens to use.
224
+ * @returns {{tokens: *, raw: string, actual: string, proxy: string}}
225
+ * @private
226
+ */
227
+ _buildChunk (tokens) {
228
+ let nextId = this.actuals.length
229
+
230
+ // The raw html of this chunk.
231
+ const raw = []
232
+
233
+ // The html to create the nodes in the tokens (with id's injected).
234
+ const actual = []
235
+
236
+ // Html that can later be used to proxy the nodes in the tokens.
237
+ const proxy = []
238
+
239
+ const len = tokens.length
240
+ for (let i = 0; i < len; i++) {
241
+ const tok = tokens[i]
242
+ const tokenRaw = tok.toString()
243
+
244
+ raw.push(tokenRaw)
245
+
246
+ if (tok.attrs) { // tok.attrs <==> startTag or atomicTag or cursor
247
+ // Ignore noscript tags. They are atomic, so we don't have to worry about children.
248
+ if (!(/^noscript$/i).test(tok.tagName)) {
249
+ const id = nextId++
250
+
251
+ // Actual: inject id attribute: replace '>' at end of start tag with id attribute + '>'
252
+ actual.push(tokenRaw.replace(/(\/?>)/, ` ${BASEATTR}id=${id} $1`))
253
+
254
+ // Don't proxy scripts: they have no bearing on DOM structure.
255
+ if (tok.attrs.id !== PROXY_SCRIPT && tok.attrs.id !== PROXY_STYLE) {
256
+ // Proxy: strip all attributes and inject proxyof attribute
257
+ proxy.push(
258
+ // ignore atomic tags (e.g., style): they have no "structural" effect
259
+ tok.type === 'atomicTag'
260
+ ? ''
261
+ : `<${tok.tagName} ${BASEATTR}proxyof=${id}` + (tok.unary ? ' />' : '>')
262
+ )
263
+ }
264
+ }
265
+ } else {
266
+ // Visit any other type of token
267
+ // Actual: append.
268
+ actual.push(tokenRaw)
269
+
270
+ // Proxy: append endTags. Ignore everything else.
271
+ proxy.push(tok.type === 'endTag' ? tokenRaw : '')
272
+ }
273
+ }
274
+
275
+ return {
276
+ tokens,
277
+ raw: raw.join(''),
278
+ actual: actual.join(''),
279
+ proxy: proxy.join('')
280
+ }
281
+ }
282
+
283
+ /**
284
+ * Walk the chunks.
285
+ *
286
+ * @private
287
+ */
288
+ _walkChunk () {
289
+ let node
290
+ const stack = [this.proxyRoot]
291
+
292
+ // use shift/unshift so that children are walked in document order
293
+ while (utils.existy(node = stack.shift())) {
294
+ const isElement = node.nodeType === 1
295
+ const isProxy = isElement && getData(node, 'proxyof')
296
+
297
+ // Ignore proxies
298
+ if (!isProxy) {
299
+ if (isElement) {
300
+ // New actual element: register it and remove the the id attr.
301
+ this.actuals[getData(node, 'id')] = node
302
+ setData(node, 'id')
303
+ }
304
+
305
+ // Is node's parent a proxy?
306
+ const parentIsProxyOf = node.parentNode &&
307
+ getData(node.parentNode, 'proxyof')
308
+ if (parentIsProxyOf) {
309
+ // Move node under actual parent.
310
+ this.actuals[parentIsProxyOf].appendChild(node)
311
+ }
312
+ }
313
+
314
+ // prepend childNodes to stack
315
+ stack.unshift.apply(stack, utils.toArray(node.childNodes))
316
+ }
317
+ }
318
+
319
+ /**
320
+ * Handles Script tokens
321
+ *
322
+ * @param {Object} tok The token
323
+ */
324
+ _handleScriptToken (tok) {
325
+ const remainder = this.parser.clear()
326
+
327
+ if (remainder) {
328
+ // Write remainder immediately behind this script.
329
+ this.writeQueue.unshift(remainder)
330
+ }
331
+
332
+ tok.src = tok.attrs.src || tok.attrs.SRC
333
+
334
+ tok = this.options.beforeWriteToken(tok)
335
+ if (!tok) {
336
+ // User has removed this token
337
+ return
338
+ }
339
+
340
+ if (tok.src && this.scriptStack.length) {
341
+ // Defer this script until scriptStack is empty.
342
+ // Assumption 1: This script will not start executing until
343
+ // scriptStack is empty.
344
+ this.deferredRemote = tok
345
+ } else {
346
+ this._onScriptStart(tok)
347
+ }
348
+
349
+ // Put the script node in the DOM.
350
+ this._writeScriptToken(tok, () => {
351
+ this._onScriptDone(tok)
352
+ })
353
+ }
354
+
355
+ /**
356
+ * Handles style tokens
357
+ *
358
+ * @param {Object} tok The token
359
+ */
360
+ _handleStyleToken (tok) {
361
+ const remainder = this.parser.clear()
362
+
363
+ if (remainder) {
364
+ // Write remainder immediately behind this style.
365
+ this.writeQueue.unshift(remainder)
366
+ }
367
+
368
+ tok.type = tok.attrs.type || tok.attrs.TYPE || 'text/css'
369
+
370
+ tok = this.options.beforeWriteToken(tok)
371
+
372
+ if (tok) {
373
+ // Put the style node in the DOM.
374
+ this._writeStyleToken(tok)
375
+ }
376
+
377
+ if (remainder) {
378
+ this.write()
379
+ }
380
+ }
381
+
382
+ /**
383
+ * Build a style and insert it into the DOM.
384
+ *
385
+ * @param {Object} tok The token
386
+ */
387
+ _writeStyleToken (tok) {
388
+ const el = this._buildStyle(tok)
389
+
390
+ this._insertCursor(el, PROXY_STYLE)
391
+
392
+ // Set content
393
+ if (tok.content) {
394
+ if (el.styleSheet && !el.sheet) {
395
+ el.styleSheet.cssText = tok.content
396
+ } else {
397
+ el.appendChild(this.doc.createTextNode(tok.content))
398
+ }
399
+ }
400
+ }
401
+
402
+ /**
403
+ * Build a style element from an atomic style token.
404
+ *
405
+ * @param {Object} tok The token
406
+ * @returns {Element}
407
+ */
408
+ _buildStyle (tok) {
409
+ const el = this.doc.createElement(tok.tagName)
410
+
411
+ el.setAttribute('type', tok.type)
412
+
413
+ // Set attributes
414
+ utils.eachKey(tok.attrs, (name, value) => {
415
+ el.setAttribute(name, value)
416
+ })
417
+
418
+ return el
419
+ }
420
+
421
+ /**
422
+ * Append a span to the stream. That span will act as a cursor
423
+ * (i.e. insertion point) for the element.
424
+ *
425
+ * @param {Object} el The element
426
+ * @param {string} which The type of proxy element
427
+ */
428
+ _insertCursor (el, which) {
429
+ this._writeImpl(`<span id="${which}"/>`)
430
+
431
+ const cursor = this.doc.getElementById(which)
432
+
433
+ if (cursor) {
434
+ cursor.parentNode.replaceChild(el, cursor)
435
+ }
436
+ }
437
+
438
+ /**
439
+ * Called when a script is started.
440
+ *
441
+ * @param {Object} tok The token
442
+ * @private
443
+ */
444
+ _onScriptStart (tok) {
445
+ tok.outerWrites = this.writeQueue
446
+ this.writeQueue = []
447
+ this.scriptStack.unshift(tok)
448
+ }
449
+
450
+ /**
451
+ * Called when a script is done.
452
+ *
453
+ * @param {Object} tok The token
454
+ * @private
455
+ */
456
+ _onScriptDone (tok) {
457
+ // Pop script and check nesting.
458
+ if (tok !== this.scriptStack[0]) {
459
+ this.options.error({ msg: 'Bad script nesting or script finished twice' })
460
+ return
461
+ }
462
+
463
+ this.scriptStack.shift()
464
+
465
+ // Append outer writes to queue and process them.
466
+ this.write.apply(this, tok.outerWrites)
467
+
468
+ // Check for pending remote
469
+
470
+ // Assumption 2: if remote_script1 writes remote_script2 then
471
+ // the we notice remote_script1 finishes before remote_script2 starts.
472
+ // I think this is equivalent to assumption 1
473
+ if (!this.scriptStack.length && this.deferredRemote) {
474
+ this._onScriptStart(this.deferredRemote)
475
+ this.deferredRemote = null
476
+ }
477
+ }
478
+
479
+ /**
480
+ * Build a script and insert it into the DOM.
481
+ * Done is called once script has executed.
482
+ *
483
+ * @param {Object} tok The token
484
+ * @param {Function} done The callback when complete
485
+ */
486
+ _writeScriptToken (tok, done) {
487
+ const el = this._buildScript(tok)
488
+ const asyncRelease = this._shouldRelease(el)
489
+ const afterAsync = this.options.afterAsync
490
+
491
+ if (tok.src) {
492
+ // Fix for attribute "SRC" (capitalized). IE does not recognize it.
493
+ el.src = tok.src
494
+ this._scriptLoadHandler(el, !asyncRelease
495
+ ? () => {
496
+ done()
497
+ afterAsync()
498
+ }
499
+ : afterAsync)
500
+ }
501
+
502
+ try {
503
+ this._insertCursor(el, PROXY_SCRIPT)
504
+ if (!el.src || asyncRelease) {
505
+ done()
506
+ }
507
+ } catch (e) {
508
+ this.options.error(e)
509
+ done()
510
+ }
511
+ }
512
+
513
+ /**
514
+ * Build a script element from an atomic script token.
515
+ *
516
+ * @param {Object} tok The token
517
+ * @returns {Element}
518
+ */
519
+ _buildScript (tok) {
520
+ const el = this.doc.createElement(tok.tagName)
521
+
522
+ // Set attributes
523
+ utils.eachKey(tok.attrs, (name, value) => {
524
+ el.setAttribute(name, value)
525
+ })
526
+
527
+ // Set content
528
+ if (tok.content && utils.isScript(tok)) {
529
+ el.text = tok.content
530
+ }
531
+
532
+ if (tok.content && utils.isNoScript(tok)) {
533
+ const elements = utils.htmlToElements(tok.content)
534
+ elements.forEach((element) => {
535
+ el.appendChild(element)
536
+ })
537
+ }
538
+
539
+ return el
540
+ }
541
+
542
+ /**
543
+ * Setup the script load handler on an element.
544
+ *
545
+ * @param {Object} el The element
546
+ * @param {Function} done The callback
547
+ * @private
548
+ */
549
+ _scriptLoadHandler (el, done) {
550
+ function cleanup () {
551
+ el = el.onload = el.onreadystatechange = el.onerror = null
552
+ }
553
+
554
+ const error = this.options.error
555
+
556
+ function success () {
557
+ cleanup()
558
+ if (done != null) {
559
+ done()
560
+ }
561
+ done = null
562
+ }
563
+
564
+ function failure (err) {
565
+ cleanup()
566
+ error(err)
567
+ if (done != null) {
568
+ done()
569
+ }
570
+ done = null
571
+ }
572
+
573
+ function reattachEventListener (el, evt) {
574
+ const handler = el[`on${evt}`]
575
+ if (handler != null) {
576
+ el[`_on${evt}`] = handler
577
+ }
578
+ }
579
+
580
+ reattachEventListener(el, 'load')
581
+ reattachEventListener(el, 'error')
582
+
583
+ Object.assign(el, {
584
+ onload () {
585
+ if (el._onload) {
586
+ try {
587
+ el._onload.apply(this, Array.prototype.slice.call(arguments, 0))
588
+ } catch (err) {
589
+ failure({ msg: `onload handler failed ${err} @ ${el.src}` })
590
+ }
591
+ }
592
+ success()
593
+ },
594
+
595
+ onerror () {
596
+ if (el._onerror) {
597
+ try {
598
+ el._onerror.apply(this, Array.prototype.slice.call(arguments, 0))
599
+ } catch (err) {
600
+ failure({ msg: `onerror handler failed ${err} @ ${el.src}` })
601
+ return
602
+ }
603
+ }
604
+ failure({ msg: `remote script failed ${el.src}` })
605
+ },
606
+
607
+ onreadystatechange () {
608
+ if ((/^(loaded|complete)$/).test(el.readyState)) {
609
+ success()
610
+ }
611
+ }
612
+ })
613
+ }
614
+
615
+ /**
616
+ * Determines whether to release.
617
+ *
618
+ * @param {Object} el The element
619
+ * @returns {boolean}
620
+ * @private
621
+ */
622
+ _shouldRelease (el) {
623
+ const isScript = (/^script$/i).test(el.nodeName)
624
+ return !isScript || !!(this.options.releaseAsync && el.src && el.hasAttribute('async'))
625
+ }
626
+ }
Resources/languages/wp-gdpr-compliance-nl_NL.mo CHANGED
Binary file
Resources/languages/wp-gdpr-compliance-nl_NL.po CHANGED
@@ -2,1829 +2,2355 @@
2
  # This file is distributed under the same license as the Plugins - WP GDPR Compliance - Development (trunk) package.
3
  msgid ""
4
  msgstr ""
5
- "PO-Revision-Date: 2021-10-07 07:32:28+0000\n"
 
 
 
 
 
6
  "MIME-Version: 1.0\n"
7
  "Content-Type: text/plain; charset=UTF-8\n"
8
  "Content-Transfer-Encoding: 8bit\n"
9
  "Plural-Forms: nplurals=2; plural=n != 1;\n"
10
- "X-Generator: GlotPress/3.0.0-alpha.2\n"
11
- "Language: nl\n"
12
- "Project-Id-Version: Plugins - WP GDPR Compliance - Development (trunk)\n"
13
 
14
- #: WordPress/Shortcodes/RequestAccessForm.php:126
15
- msgid "If needed, you can put in a new request here: %1s"
16
- msgstr "Indien nodig, kan je hier een nieuwe aanvraag indienen: %1s"
17
 
18
- #: WordPress/Shortcodes/RequestAccessForm.php:102
19
- msgid "No data is stored in relation to this email address"
20
- msgstr "Geen gegevens zijn opgeslagen met betrekking tot dit e-mailadres"
 
21
 
22
- #: WordPress/Shortcodes/RequestAccessForm.php:42
23
- msgid "The request form has been disabled, you can enable it <a href=\"%s\">here</a>."
24
- msgstr "Het aanvraagformulier is uitgeschakeld, je kan het <a href=\"%s\">hier</a> inschakelen."
25
 
26
- #: WordPress/Shortcodes/ProcessorSettingsLink.php:46
 
27
  msgctxt "admin"
28
- msgid "You need to make sure you have added at least one (1) active data processor."
29
- msgstr "Je moet ervoor zorgen dat je ten minste één (1) actieve gegevensverwerker hebt toegevoegd."
30
 
31
- #: WordPress/Settings.php:306
32
  msgctxt "admin"
33
- msgid "Instant (no animation)"
34
- msgstr "Direct (geen animatie)"
35
 
36
- #: WordPress/Settings.php:305
 
37
  msgctxt "admin"
38
- msgid "Zoom out"
39
- msgstr "Uitzoomen"
40
 
41
- #: WordPress/Settings.php:304
42
  msgctxt "admin"
43
- msgid "Bounce out"
44
- msgstr "Stuiter uit"
45
 
46
- #: WordPress/Settings.php:303
 
47
  msgctxt "admin"
48
- msgid "Fade out"
49
- msgstr "Vervagen"
 
 
 
 
50
 
51
- #: WordPress/Settings.php:293
 
52
  msgctxt "admin"
53
- msgid "Top"
54
- msgstr "Boven"
 
 
 
 
55
 
56
- #: WordPress/Settings.php:292
57
- msgctxt "admin"
58
- msgid "Bottom"
59
- msgstr "Bodem"
60
 
61
- #: WordPress/Settings.php:280
62
  msgctxt "admin"
63
- msgid "Use the font of my website"
64
- msgstr "Gebruik het lettertype van mijn site"
65
 
66
- #: WordPress/Cron.php:32
 
67
  msgctxt "admin"
68
- msgid "Once a month"
69
- msgstr "Eens per maand"
 
 
 
 
70
 
71
- #: WordPress/Config.php:108
72
- msgctxt "admin"
73
- msgid "Thank you very much for choosing this plugin to help you with your GDPR Compliance. This is a free tool that offers Compliance. We also provide a version that automates many of these tasks and makes sure that you are always up to date: %1s"
74
- msgstr "Hartelijk dank voor het kiezen van deze plugin om je te helpen bij je GDPR naleving. Dit is een gratis tool die nakoming biedt. We bieden ook een versie die veel van deze taken automatiseert en ervoor zorgt dat je altijd up-to-date bent: %1s"
 
 
 
75
 
76
- #: WordPress/Config.php:107
77
  msgctxt "admin"
78
- msgid "try it out here"
79
- msgstr "probeer het hier uit"
80
 
81
- #: WordPress/Config.php:100
82
  msgctxt "admin"
83
- msgid "Welcome to Cookie Information | Free WP GDPR Consent Plugin"
84
- msgstr "Welkom bij Cookie Information | Gratis WP GDPR instemming plugin"
85
 
86
- #: WordPress/Ajax/UpdateProcessorMode.php:59
87
- msgctxt "admin"
88
- msgid "No active data processors."
89
- msgstr "Geen active gegevens processoren."
 
 
 
 
90
 
91
- #: WordPress/Ajax/ResetConsent.php:48
92
- msgctxt "admin"
93
- msgid "Consent has been reset"
94
- msgstr "Instemming is gereset"
 
95
 
96
- #: WordPress/Ajax/ResetConsent.php:45
97
  msgctxt "admin"
98
- msgid "Unable to reset consent"
99
- msgstr "Kan instemming niet resetten"
100
 
101
- #: WordPress/Ajax/ProcessRequest.php:62
102
  msgctxt "admin"
103
- msgid "Unable to (fully) anonymize all data."
104
- msgstr "Kan niet (alle) gegevens anonimiseren."
105
 
106
- #: WordPress/Ajax/ProcessRequest.php:62
107
  msgctxt "admin"
108
- msgid "Data anonymized."
109
- msgstr "Gegevens geanonimiseerd."
110
 
111
- #: WordPress/Ajax/DeleteRequest.php:48
112
- msgctxt "admin"
113
- msgid "Unable to delete request."
114
- msgstr "Kan aanvraag niet verwijderen."
 
115
 
116
- #: WordPress/Ajax/DeleteRequest.php:48
117
- msgctxt "admin"
118
- msgid "Request deleted."
119
- msgstr "Aanvraag verwijderd."
120
 
121
- #: WordPress/Admin/Pages/PageWizard.php:53
122
  msgctxt "admin"
123
- msgid "Wizard"
124
- msgstr "Wizard"
125
 
126
- #: WordPress/Admin/Pages/PageSettings.php:353
127
  msgctxt "admin"
128
- msgid "Anonymize request explanation"
129
- msgstr "Anonimiseer aanvraag uitleg"
 
 
 
 
130
 
131
- #: WordPress/Admin/Pages/PageSettings.php:346
132
- msgctxt "admin"
133
- msgid "Please make sure that the access request form shortcode [wpgdprc_access_request_form] is active on the selected page"
134
- msgstr "Zorg ervoor dat de aanvraagformulier-shortcode [wpgdprc_access_request_form] actief is op de geselecteerde pagina"
 
 
135
 
136
- #: WordPress/Admin/Pages/PageSettings.php:345
137
- msgctxt "admin"
138
- msgid "Visitors will receive a link to this page on which the visitor can view all the data stored which is associated with their email address."
139
- msgstr "Bezoekers krijgen een link naar deze pagina waarop de bezoeker alle opgeslagen gegevens kan bekijken die aan zijn e-mailadres zijn gekoppeld."
140
 
141
- #: WordPress/Admin/Pages/PageSettings.php:340
142
- msgctxt "admin"
143
- msgid "Request access page"
144
- msgstr "Toegang-aanvragen-pagina"
145
 
146
- #: WordPress/Admin/Pages/PageSettings.php:331
147
- msgctxt "admin"
148
- msgid "Checkbox text"
149
- msgstr "Selectievakje-tekst"
150
 
151
- #: WordPress/Admin/Pages/PageSettings.php:320
152
  msgctxt "admin"
153
- msgid "Activate request form"
154
- msgstr "Activeer aanvraagformulier"
155
 
156
- #: WordPress/Admin/Pages/PageSettings.php:288
157
  msgctxt "admin"
158
- msgid "Button text color"
159
- msgstr "Tekstkleur knop"
 
 
 
 
160
 
161
- #: WordPress/Admin/Pages/PageSettings.php:279
162
- msgctxt "admin"
163
- msgid "Button background"
164
- msgstr "Knop achtergrond"
 
 
165
 
166
- #: WordPress/Admin/Pages/PageSettings.php:270
167
  msgctxt "admin"
168
- msgid "Text color"
169
- msgstr "Tekstkleur"
 
 
 
 
170
 
171
- #: WordPress/Admin/Pages/PageSettings.php:261
172
- msgctxt "admin"
173
- msgid "Bar color"
174
- msgstr "Balk-kleur"
175
 
176
- #: WordPress/Admin/Pages/PageSettings.php:252
177
- msgctxt "admin"
178
- msgid "Settings button text"
179
- msgstr "Instellingen knoptekst"
180
 
181
- #: WordPress/Admin/Pages/PageSettings.php:243
182
  msgctxt "admin"
183
- msgid "Accept button text"
184
- msgstr "Accepteren knop tekst"
185
 
186
- #: WordPress/Admin/Pages/PageSettings.php:233
187
- msgctxt "admin"
188
- msgid "Animation"
189
- msgstr "Animatie"
 
190
 
191
- #: WordPress/Admin/Pages/PageSettings.php:223
192
- msgctxt "admin"
193
- msgid "Position"
194
- msgstr "Positie"
195
 
196
- #: WordPress/Admin/Pages/PageSettings.php:217
197
  msgctxt "admin"
198
- msgid "Google fonts API key"
199
- msgstr "Google Fonts API-sleutel"
200
 
201
- #: WordPress/Admin/Pages/PageSettings.php:213
202
  msgctxt "admin"
203
- msgid "Google Fonts API key"
204
- msgstr "Google Fonts API-sleutel"
 
 
 
 
205
 
206
- #: WordPress/Admin/Pages/PageSettings.php:203
207
- msgctxt "admin"
208
- msgid "Font"
209
- msgstr "Lettertype"
 
 
210
 
211
- #: WordPress/Admin/Pages/PageSettings.php:194
212
- #: WordPress/Admin/Pages/PageSettings.php:306
213
- msgctxt "admin"
214
- msgid "Explanation"
215
- msgstr "Uitleg"
216
 
217
- #: WordPress/Admin/Pages/PageSettings.php:184
218
- msgctxt "admin"
219
- msgid "Enter the url where the Privacy Policy is written"
220
- msgstr "Voer de url in waar het privacybeleid is geschreven"
221
 
222
- #: WordPress/Admin/Pages/PageSettings.php:174
223
- msgctxt "admin"
224
- msgid "Select the page where the Privacy Policy is written."
225
- msgstr "Selecteer de pagina waar het privacybeleid is geschreven."
226
 
227
- #: WordPress/Admin/Pages/PageSettings.php:159
228
- msgctxt "admin"
229
- msgid "Use external privacy policy"
230
- msgstr "Gebruik een extern privacybeleid"
231
 
232
- #: WordPress/Admin/Pages/PageSettings.php:153
233
- msgctxt "admin"
234
- msgid "This text will be used to replace the %1s variable."
235
- msgstr "Deze tekst zal worden gebruikt om het %1s variabelen te vervangen."
236
 
237
- #: WordPress/Admin/Pages/PageSettings.php:116
238
- msgctxt "admin"
239
- msgid "Consent Bar"
240
- msgstr "Instemming balk"
241
 
242
- #: WordPress/Admin/Pages/PageSettings.php:113
243
- msgctxt "admin"
244
- msgid "Privacy Policy"
245
- msgstr "Privacybeleid"
246
 
247
- #: WordPress/Admin/Pages/PageRequests.php:153
248
- #: WordPress/Admin/Pages/PageRequests.php:160
249
- #: WordPress/Ajax/DeleteRequest.php:44 WordPress/Ajax/ProcessRequest.php:58
250
- msgctxt "admin"
251
- msgid "Unable to locate request."
252
- msgstr "Kan aanvraag niet vinden."
253
 
254
- #: WordPress/Admin/Pages/PageRequests.php:126
255
- msgctxt "admin"
256
- msgid "Request cancelled."
257
- msgstr "Aanvraag geannuleerd."
258
 
259
- #: WordPress/Admin/Pages/PageRequests.php:51
260
- msgctxt "admin"
261
- msgid "1 request to process"
262
- msgid_plural "%1s requests to process"
263
- msgstr[0] "1 aanvraag om te verwerken"
264
- msgstr[1] "%1s aanvragen om te verwerken"
265
 
266
- #: WordPress/Admin/Pages/PageDashboard.php:84
267
- msgctxt "admin"
268
- msgid "Business"
269
- msgstr "Zakelijk"
270
 
271
- #: WordPress/Admin/Pages/PageDashboard.php:81
272
- msgctxt "admin"
273
- msgid "Change settings of the Privacy Policy, Consent Bar, Request User data form and Integrations."
274
- msgstr "Wijzig de instellingen van het privacybeleid, de instemmingsbalk, het gegevens aanvraagformulier en de integraties."
275
 
276
- #: WordPress/Admin/Pages/PageDashboard.php:77
277
- msgctxt "admin"
278
- msgid "Manually add data processors to the consent pop-up or let the business version do it automatically. This allows visitors to choose which services they will give their consent to."
279
- msgstr "Voeg handmatig gegevensverwerkers toe aan de pop-up voor toestemming of laat de zakelijke versie dit automatisch doen. Hierdoor kunnen bezoekers kiezen voor welke diensten ze toestemming geven."
280
 
281
- #: WordPress/Admin/Pages/PageDashboard.php:76
282
- msgctxt "admin"
283
- msgid "Consent pop-up"
284
- msgstr "Instemming pop-up"
285
 
286
- #: WordPress/Admin/Pages/PageAdmin.php:31
287
- msgctxt "admin"
288
- msgid "Cookie Information"
289
- msgstr "Cookie Informatie"
290
 
291
- #: WordPress/Admin/Actions.php:38
292
- msgctxt "admin"
293
- msgid "Consent updated."
294
- msgstr "Instemming geüpdatet."
295
 
296
- #: WordPress/Admin.php:110
297
- msgctxt "admin"
298
- msgid "To update the settings and read about what this plugin can do, go to our %1s page."
299
- msgstr "Ga naar onze %1s pagina om de instellingen bij te werken en te lezen wat deze plug-in kan doen."
300
 
301
- #: WordPress/Admin.php:110
302
- msgctxt "admin"
303
- msgid "<strong>Awesome!</strong> You have activated the %1s plugin."
304
- msgstr "<strong>Geweldig!</strong> Je hebt de plugin %1s geactiveerd."
305
 
306
- #: WordPress/Admin.php:94
307
- msgctxt "admin"
308
- msgid "%1s Settings"
309
- msgstr "%1s Instellingen"
310
 
311
- #: Utils/Request.php:258
312
- msgctxt "admin"
313
- msgid "%1s and %2s"
314
- msgstr "%1s en %2s"
315
 
316
- #: Utils/Request.php:245
 
 
 
 
317
  msgctxt "admin"
318
- msgid "1 hour"
319
- msgid_plural "%1s hours"
320
- msgstr[0] "1 uur"
321
- msgstr[1] "%1s uur"
322
 
323
- #: Utils/Request.php:241
324
  msgctxt "admin"
325
- msgid "1 day"
326
- msgid_plural "%1s days"
327
- msgstr[0] "1 dag"
328
- msgstr[1] "%1s dagen"
329
 
330
- #: Utils/Request.php:237
331
  msgctxt "admin"
332
- msgid "1 month"
333
- msgid_plural "%1s months"
334
- msgstr[0] "1 maand"
335
- msgstr[1] "%1s maanden"
336
 
337
- #: Utils/Request.php:233
338
  msgctxt "admin"
339
- msgid "1 year"
340
- msgid_plural "%1s years"
341
- msgstr[0] "1 jaar"
342
- msgstr[1] "%1s jaren"
343
 
344
- #: Utils/Request.php:196
345
  msgctxt "admin"
346
- msgid "0 seconds"
347
- msgstr "0 seconden"
348
 
349
- #: Utils/Redirect.php:18
350
- msgid "Redirecting to %s"
351
- msgstr "Doorsturen naar %s"
352
 
353
- #: Utils/Integration.php:75
354
- msgid "Please accept the privacy policy"
355
- msgstr "Accepteer het privacybeleid"
356
 
357
- #: Utils/FormHandler.php:40
358
  msgctxt "admin"
359
- msgid "Consent deleted."
360
- msgstr "Toestemming verwijderd."
361
 
362
- #: Utils/FormHandler.php:35
363
  msgctxt "admin"
364
- msgid "Something went wrong."
365
- msgstr "Er is iets fout gegaan."
366
 
367
- #: Utils/FormHandler.php:28
368
  msgctxt "admin"
369
- msgid "Consent could not be found."
370
- msgstr "Instemming niet gevonden."
371
 
372
- #: Utils/Elements.php:147
373
  msgctxt "admin"
374
- msgid "<strong>NOTE:</strong> %1$s"
375
- msgstr "<strong>Opmerking:</strong> %1$s"
376
 
377
- #: Utils/Elements.php:47
378
  msgctxt "admin"
379
- msgid "<strong>ERROR</strong>: %1$s"
380
- msgstr "<strong>FOUT</strong>: %1$s"
381
 
382
- #: Utils/Banner.php:44
383
  msgctxt "admin"
384
- msgid "Currently in %1s mode"
385
- msgstr "Momenteel in %1s modus"
386
 
387
- #: Utils/Banner.php:34
388
  msgctxt "admin"
389
- msgid "free"
390
- msgstr "gratis"
391
 
392
- #: Utils/Banner.php:34
393
- msgctxt "admin"
394
- msgid "business"
395
- msgstr "zakelijk"
396
 
397
- #: Utils/Banner.php:16
398
- msgctxt "admin"
399
- msgid "Consent pop-up is %1s"
400
- msgstr "Instemming pop-up is %1s"
401
 
402
- #: Utils/Anonymous.php:32
403
- msgctxt "admin"
404
- msgid "Anonymous"
405
- msgstr "Anoniem"
 
 
 
406
 
407
- #: Utils/AdminHelper.php:265
408
- msgctxt "admin"
409
- msgid "Note"
410
- msgstr "Opmerking"
411
 
412
- #: Utils/AdminForm.php:453
413
  msgctxt "admin"
414
- msgid "Save settings"
415
- msgstr "Instellingen opslaan"
416
 
417
- #: Utils/AdminForm.php:116
418
  msgctxt "admin"
419
- msgid "Enable"
420
- msgstr "Inschakelen"
421
 
422
- #: Utils/AdminForm.php:115
423
  msgctxt "admin"
424
- msgid "Disable"
425
- msgstr "Deactiveren"
426
 
427
- #: Utils/AdminForm.php:105
428
  msgctxt "admin"
429
- msgid "No"
430
- msgstr "Nee"
431
-
432
- #: Templates/Front/Consent/modal.php:17
433
- msgid "Close popup"
434
- msgstr "Pop-up sluiten"
435
-
436
- #: Templates/Front/Consent/modal.php:16
437
- msgid "Privacy settings"
438
- msgstr "Privacy-instellingen"
439
-
440
- #: Templates/Front/Consent/modal-content.php:63
441
- msgid "Powered by Cookie Information"
442
- msgstr "Mogelijk gemaakt door Cookie Information"
443
 
444
- #: Templates/Admin/Wizard/Intro.php:18
 
445
  msgctxt "admin"
446
- msgid "Let's get you all set up!"
447
- msgstr "Laten we beginnen!"
448
 
449
- #: Templates/Admin/Wizard/Intro.php:14
 
450
  msgctxt "admin"
451
- msgid "If you want to get a taste of what you can expect, you can try the full suite of Cookie Information for 30 days free"
452
- msgstr "Als je een voorproefje wilt krijgen van wat je kan verwachten, kan je het volledige pakket Cookie Information 30 dagen gratis uitproberen"
 
 
453
 
454
- #: Templates/Admin/Wizard/Intro.php:12
 
 
 
 
455
  msgctxt "admin"
456
- msgid "If you run a business within the EU, we strongly recommend changing to the business version to secure 100% compliance. Features include customizable consent pop-ups, automated cookie policies, integration to Google Product, and much more."
457
- msgstr "Als je een bedrijf hebt binnen de EU, raden we je ten zeerste aan over te stappen naar de zakelijke versie om 100% naleving te garanderen. Functies omvatten aanpasbare pop-ups voor toestemming, Automatisch gegenereerd cookiebeleid, integratie met Google product en nog veel meer."
 
 
458
 
459
- #: Templates/Admin/Wizard/Intro.php:10
460
  msgctxt "admin"
461
- msgid "We will significantly extend the features of this plugin to protect our community against the increasing pressure from Data Protection Agencies, giving hefty fines for non-compliant cookie consents. To enable business users to comply with GDPR, we will offer a business solution that easily allows you to become compliant and avoid fines."
462
- msgstr "We zullen de functies van deze plugin aanzienlijk uitbreiden om onze community te beschermen tegen de toenemende druk van gegevensbescherming instanties, waarbij hoge boetes worden opgelegd voor niet-conforme cookie instemmingen. Om zakelijke gebruikers in staat te stellen te voldoen aan de GDPR, bieden we een zakelijke oplossing waarmee je eenvoudig compliant kunt worden en boetes kunt voorkomen."
463
 
464
- #: Templates/Admin/Pages/Wizard/Steps/welcome.php:35
 
465
  msgctxt "admin"
466
- msgid "Try Cookie Information"
467
- msgstr "Probeer Cookie Information"
 
 
468
 
469
- #: Templates/Admin/Pages/Wizard/Steps/welcome.php:26
 
 
 
470
  msgctxt "admin"
471
- msgid "We have some news to share"
472
- msgstr "We willen wat nieuws met je delen"
473
 
474
- #: Templates/Admin/Pages/Wizard/Steps/welcome.php:15
475
  msgctxt "admin"
476
- msgid "Welcome to Cookie Information"
477
- msgstr "Welkom bij Cookie Information"
478
 
479
- #: Templates/Admin/Pages/Wizard/Steps/welcome.php:13
480
  msgctxt "admin"
481
- msgid "Welcome"
482
- msgstr "Welkom"
483
 
484
- #: Templates/Admin/Pages/Wizard/Steps/done.php:22
485
  msgctxt "admin"
486
- msgid "Style your consent bar"
487
- msgstr "Stijl je instemmingsbalk"
488
 
489
- #: Templates/Admin/Pages/Wizard/Steps/done.php:19
 
490
  msgctxt "admin"
491
- msgid "Add a new consent"
492
- msgstr "Nieuwe toestemming toevoegen"
 
 
493
 
494
- #: Templates/Admin/Pages/Wizard/Steps/done.php:14
 
495
  msgctxt "admin"
496
- msgid "That's it!"
497
- msgstr "Dat is het!"
498
 
499
- #: Templates/Admin/Pages/Wizard/Steps/done.php:12
500
  msgctxt "admin"
501
- msgid "Done"
502
- msgstr "Gereed"
503
 
504
- #: Templates/Admin/Pages/Wizard/Steps/consent.php:11
505
  msgctxt "admin"
506
- msgid "Setup your first consent"
507
- msgstr "Stel je eerste instemming in"
508
 
509
- #: Templates/Admin/Pages/Wizard/Steps/consent.php:9
510
  msgctxt "admin"
511
- msgid "Setup first consent"
512
- msgstr "Eerste toestemming instellen"
513
 
514
- #: Templates/Admin/Pages/Wizard/main.php:77
515
  msgctxt "admin"
516
- msgid "I want to do this later"
517
- msgstr "Ik wil dit later doen"
518
 
519
- #: Templates/Admin/Pages/Wizard/main.php:60
 
 
520
  msgctxt "admin"
521
- msgid "Finish wizard"
522
- msgstr "Wizard voltooien"
523
 
524
- #: Templates/Admin/Pages/Wizard/main.php:55
525
  msgctxt "admin"
526
- msgid "Next step"
527
- msgstr "Volgende stap"
528
 
529
- #: Templates/Admin/Pages/Wizard/main.php:46
530
  msgctxt "admin"
531
- msgid "Previous step"
532
- msgstr "Vorige stap"
533
 
534
- #: Templates/Admin/Pages/Wizard/main.php:20
535
  msgctxt "admin"
536
- msgid "First time setup wizard - Cookie Information | Free WP GDPR Consent Plugin"
537
- msgstr "Eerste keer instellen Wizard - Cookie information | Gratis WP GDPR instemming plugin"
 
 
 
 
 
538
 
539
- #: Templates/Admin/Pages/Settings/request.php:22
540
- #: Templates/Admin/Pages/Settings/request.php:29
541
  msgctxt "admin"
542
- msgid "Request User data"
543
- msgstr "Vraag gebruikersdata op"
 
 
 
 
544
 
545
- #: Templates/Admin/Pages/Settings/request.php:14
546
- #: WordPress/Admin/Pages/PageSettings.php:119
547
  msgctxt "admin"
548
- msgid "Request User"
549
- msgstr "Vraag gebruiker op"
 
 
 
 
 
 
550
 
551
- #: Templates/Admin/Pages/Settings/policy.php:49
552
- #: WordPress/Admin/Pages/PageSettings.php:180
553
  msgctxt "admin"
554
- msgid "Privacy policy url"
555
- msgstr "Privacybeleid URL"
 
 
 
 
 
 
556
 
557
- #: Templates/Admin/Pages/Settings/policy.php:43
558
- #: WordPress/Admin/Pages/PageSettings.php:171
559
  msgctxt "admin"
560
- msgid "Privacy policy page"
561
- msgstr "Privacybeleidspagina"
 
 
 
 
 
562
 
563
- #: Templates/Admin/Pages/Settings/policy.php:35
 
564
  msgctxt "admin"
565
- msgid "External privacy policy?"
566
- msgstr "Extern privacybeleid?"
567
 
568
- #: Templates/Admin/Pages/Settings/policy.php:27
569
- #: WordPress/Admin/Pages/PageSettings.php:148
570
  msgctxt "admin"
571
- msgid "Privacy policy link text"
572
- msgstr "Privacybeleid link tekst"
573
 
574
- #: Templates/Admin/Pages/Settings/policy.php:21
575
  msgctxt "admin"
576
- msgid "Privacy policy link settings"
577
- msgstr "Privacybeleid link instellingen"
578
 
579
- #: Templates/Admin/Pages/Settings/policy.php:16
580
- #: Templates/Admin/Pages/Wizard/Steps/privacy.php:9
581
- #: Templates/Admin/Pages/Wizard/Steps/privacy.php:11
582
- #: WordPress/Admin/Pages/PageSettings.php:152
583
  msgctxt "admin"
584
- msgid "Privacy policy"
585
- msgstr "Privacybeleid"
586
 
587
- #: Templates/Admin/Pages/Settings/main.php:85
 
588
  msgctxt "admin"
589
- msgid "Start the wizard"
590
- msgstr "Start de wizard"
591
 
592
- #: Templates/Admin/Pages/Settings/main.php:82
593
  msgctxt "admin"
594
- msgid "Start the first time setup and we will give you a tour of the plugins features!"
595
- msgstr "Start de wizard en we geven je een rondleiding door de functies van de plugin!"
596
 
597
- #: Templates/Admin/Pages/Settings/main.php:81
598
  msgctxt "admin"
599
- msgid "Need a refresh?"
600
- msgstr "Een opfrisser nodig?"
601
 
602
- #: Templates/Admin/Pages/Settings/Integrations/item-manage.php:23
603
  msgctxt "admin"
604
- msgid "Activate"
605
- msgstr "Activeer"
606
 
607
- #: Templates/Admin/Pages/Settings/Integrations/item-form.php:57
 
608
  msgctxt "admin"
609
- msgid "HTML is not allowed because of technical limitations with tooltips."
610
- msgstr "HTML is niet toegestaan vanwege technische beperkingen met tooltips."
611
 
612
- #: Templates/Admin/Pages/Settings/Integrations/item-form.php:57
613
  msgctxt "admin"
614
- msgid "Required message"
615
- msgstr "Vereist bericht"
 
 
 
 
 
 
616
 
617
- #: Templates/Admin/Pages/Settings/Integrations/item-form.php:50
618
  msgctxt "admin"
619
- msgid "Error message"
620
- msgstr "Foutbericht"
621
 
622
- #: Templates/Admin/Pages/Settings/Integrations/item-form.php:42
623
  msgctxt "admin"
624
- msgid "Change the text of the checkbox"
625
- msgstr "Verander de tekst van het selectievakje"
626
 
627
- #: Templates/Admin/Pages/Settings/Integrations/item-form.php:39
 
628
  msgctxt "admin"
629
- msgid "Change the text and messages of the checkbox"
630
- msgstr "Verander de tekst en berichten van het selectievakje"
 
 
 
 
631
 
632
- #: Templates/Admin/Pages/Settings/Integrations/item-form.php:31
633
  msgctxt "admin"
634
- msgid "Activate for this form"
635
- msgstr "Activeren voor dit formulier"
636
 
637
- #: Templates/Admin/Pages/Settings/Integrations/item-form.php:28
638
- msgctxt "admin"
639
- msgid "Form: %1s"
640
- msgstr "Formulier: %1s"
641
-
642
- #: Templates/Admin/Pages/Settings/Integrations/item-content.php:51
643
  msgctxt "admin"
644
- msgid "Disable integration"
645
- msgstr "Integratie deactiveren"
646
 
647
- #: Templates/Admin/Pages/Settings/Integrations/item-active.php:13
648
  msgctxt "admin"
649
- msgid "Active"
650
- msgstr "Actief"
651
 
652
- #: Templates/Admin/Pages/Settings/integrations.php:13
653
  msgctxt "admin"
654
- msgid "Integrate GDPR Consent Compliance into forms that you use on your website. By enabling the integrations a checkbox will be added. You can manage per integration what text to display."
655
- msgstr "Integreer GDPR instemming in de formulieren die op je site worden gebruikt. Door de integraties in te schakelen, wordt er een selectievakje toegevoegd. Je kan per integratie beheren welke tekst je wil weergeven."
656
 
657
- #: Templates/Admin/Pages/Settings/integrations.php:12
658
- #: WordPress/Admin/Pages/PageSettings.php:122
659
  msgctxt "admin"
660
- msgid "Integrations"
661
- msgstr "Integraties"
662
 
663
- #: Templates/Admin/Pages/Settings/consent.php:143
664
  msgctxt "admin"
665
- msgid "Consent Pop-up Settings"
666
- msgstr "Instemming pop-up instellingen"
667
 
668
- #: Templates/Admin/Pages/Settings/consent.php:44
 
669
  msgctxt "admin"
670
- msgid "Preview"
671
- msgstr "Voorbeeld"
672
 
673
- #: Templates/Admin/Pages/Settings/consent.php:33
674
  msgctxt "admin"
675
- msgid "your Cookie Information account"
676
- msgstr "je Cookie Information-account"
677
 
678
- #: Templates/Admin/Pages/Settings/consent.php:33
679
  msgctxt "admin"
680
- msgid "Style your Consent Bar and Consent Pop-up at %1s."
681
- msgstr "Stijl je instemmingsbalk en instemming pop-up op %1s."
 
 
 
 
682
 
683
- #: Templates/Admin/Pages/Settings/consent.php:26
684
- #: Templates/Admin/Pages/Settings/consent.php:39
685
  msgctxt "admin"
686
- msgid "Bar Settings"
687
- msgstr "Balk-instellingen"
 
 
688
 
689
- #: Templates/Admin/Pages/Requests/main.php:131
690
  msgctxt "admin"
691
- msgid "Are you sure you want to delete this request?"
692
- msgstr "Weet je zeker dat je deze aanvraag wilt verwijderen?"
693
 
694
- #: Templates/Admin/Pages/Requests/main.php:109
695
- #: Templates/Admin/Pages/Settings/Integrations/item-manage.php:25
696
  msgctxt "admin"
697
- msgid "Manage"
698
- msgstr "Beheren"
 
 
 
 
699
 
700
- #: Templates/Admin/Pages/Requests/main.php:94
701
  msgctxt "admin"
702
- msgid "IP Address"
703
- msgstr "IP-adres"
704
 
705
- #: Templates/Admin/Pages/Requests/main.php:90
706
  msgctxt "admin"
707
- msgid "Date of request"
708
- msgstr "Datum van aanvraag"
709
 
710
- #: Templates/Admin/Pages/Requests/main.php:35
711
  msgctxt "admin"
712
- msgid "Here are the requests that are done via the request form. Requests are anonymized automatically after 30 days when no action is taken."
713
- msgstr "Hier zijn de aanvragen die via het aanvragen formulier zijn gedaan. Aanvragen worden automatisch geanonimiseerd na 30 dagen als er geen actie wordt ondernomen."
714
 
715
- #: Templates/Admin/Pages/Requests/main.php:32
716
- #: Templates/Admin/Pages/Requests/main.php:98
717
- #: WordPress/Admin/Pages/PageRequests.php:39
718
  msgctxt "admin"
719
- msgid "Requests"
720
- msgstr "Aanvragen"
721
 
722
- #: Templates/Admin/Pages/Requests/main.php:21
 
 
723
  msgctxt "admin"
724
- msgid "No expired requests here."
725
- msgstr "Geen verlopen aanvragen hier."
726
 
727
- #: Templates/Admin/Pages/Requests/main.php:20
728
  msgctxt "admin"
729
- msgid "Expired requests"
730
- msgstr "Verlopen aanvragen"
731
 
732
- #: Templates/Admin/Pages/Requests/main.php:16
733
  msgctxt "admin"
734
- msgid "No active requests to manage."
735
- msgstr "Geen actieve aanvragen om te beheren."
736
 
737
- #: Templates/Admin/Pages/Requests/main.php:15
738
- #: Templates/Admin/Pages/Requests/main.php:44
739
  msgctxt "admin"
740
- msgid "Active requests"
741
- msgstr "Actieve aanvragen"
742
 
743
- #: Templates/Admin/Pages/Requests/Edit/main.php:99
744
  msgctxt "admin"
745
- msgid "Actions"
746
- msgstr "Acties"
747
 
748
- #: Templates/Admin/Pages/Requests/Edit/main.php:84
 
749
  msgctxt "admin"
750
- msgid "%1s entries requested, %2s anonymized"
751
- msgstr "%1s inzendingen aangevraagd, %2s geanonimiseerd"
752
 
753
- #: Templates/Admin/Pages/Requests/Edit/main.php:74
754
  msgctxt "admin"
755
- msgid "Found data"
756
- msgstr "Gevonden gegevens"
757
 
758
- #: Templates/Admin/Pages/Requests/Edit/main.php:61
 
759
  msgctxt "admin"
760
- msgid "Request by %1s"
761
- msgstr "Verzoek door %1s"
762
 
763
- #: Templates/Admin/Pages/Requests/Edit/main.php:41
 
764
  msgctxt "admin"
765
- msgid "Anonymize all data that is found for this request."
766
- msgstr "Anonimiseer alle gegevens die bij dit verzoek zijn gevonden."
767
 
768
- #: Templates/Admin/Pages/Requests/Edit/main.php:40
769
- #: Templates/Admin/Pages/Requests/Edit/main.php:44
770
  msgctxt "admin"
771
- msgid "Anonymize all"
772
- msgstr "Alles anonimiseren"
773
-
774
- #: Templates/Admin/Pages/Requests/Edit/main.php:36
775
- #: Templates/Admin/Pages/Requests/Edit/main.php:43
776
- msgid "All requests have been processed."
777
- msgstr "Alle aanvragen zijn verwerkt."
778
 
779
- #: Templates/Admin/Pages/Requests/Edit/main.php:34
 
780
  msgctxt "admin"
781
- msgid "If you cancel this request, the user can not choose anymore which data he/she/they would like to be anonymized. The user can submit a new request though."
782
- msgstr "Als je deze aanvraag annuleert, kan de gebruiker niet meer kiezen welke gegevens hij/zij/hen wil laten anonimiseren. De gebruiker kan wel een nieuwe aanvraag indienen."
783
 
784
- #: Templates/Admin/Pages/Requests/Edit/main.php:33
785
- #: Templates/Admin/Pages/Requests/Edit/main.php:37
786
  msgctxt "admin"
787
- msgid "Cancel request"
788
- msgstr "Annuleer aanvraag"
789
 
790
- #: Templates/Admin/Pages/Requests/Edit/main.php:29
791
  msgctxt "admin"
792
- msgid "The data wil be anonymized in %1s when no action is taken."
793
- msgstr "De gegevens worden geanonimiseerd in %1s als er geen actie wordt ondernomen."
794
 
795
  #: Templates/Admin/Pages/Requests/Edit/main.php:19
 
796
  msgctxt "admin"
797
  msgid "This request was submitted by %1s on %2s."
798
  msgstr "Deze aanvraag was ingediend door %1s op %2s."
799
 
800
- #: Templates/Admin/Pages/Processors/main.php:63
 
801
  msgctxt "admin"
802
- msgid "Add data processor"
803
- msgstr "Gegevensverwerker toevoegen"
 
804
 
805
- #: Templates/Admin/Pages/Processors/main.php:60
 
806
  msgctxt "admin"
807
- msgid "Data processors"
808
- msgstr "Gegevensverwerker"
809
 
810
- #: Templates/Admin/Pages/Processors/main.php:36
811
  msgctxt "admin"
812
- msgid "Disabled data processors (%1$s)"
813
- msgstr "Uitgeschakelde gegevensverwerkers (%1$s)"
 
 
 
 
 
 
814
 
815
- #: Templates/Admin/Pages/Processors/main.php:30
816
- msgctxt "admin"
817
- msgid "Active data processors (%1$s)"
818
- msgstr "Active gegevensverwerkers (%1$s)"
819
 
820
- #: Templates/Admin/Pages/Processors/item.php:64
821
- #: Templates/Admin/Pages/Requests/main.php:142
822
  msgctxt "admin"
823
- msgid "Cancel"
824
- msgstr "Annuleren"
825
 
826
- #: Templates/Admin/Pages/Processors/item.php:58
827
- #: Templates/Admin/Pages/Requests/main.php:136 Utils/AdminForm.php:106
828
  msgctxt "admin"
829
- msgid "Yes"
830
- msgstr "Ja"
831
 
832
- #: Templates/Admin/Pages/Processors/item.php:53
 
833
  msgctxt "admin"
834
- msgid "Are you sure you want to delete this processor?"
835
- msgstr "Weet je zeker dat je deze gegevensverwerker wil verwijderen?"
836
 
837
- #: Templates/Admin/Pages/Processors/item.php:48
838
- #: Templates/Admin/Pages/Requests/main.php:116
839
  msgctxt "admin"
840
- msgid "Delete"
841
- msgstr "Verwijderen"
842
 
843
- #: Templates/Admin/Pages/Processors/item.php:42
 
844
  msgctxt "admin"
845
- msgid "Edit"
846
- msgstr "Bewerk"
847
 
848
- #: Templates/Admin/Pages/Processors/item.php:29
849
  msgctxt "admin"
850
- msgid "(Last edited on %1s)"
851
- msgstr "(Laatst bewerkt op %1s)"
852
 
853
- #: Templates/Admin/Pages/Processors/item.php:21
 
854
  msgctxt "admin"
855
- msgid "never"
856
- msgstr "nooit"
857
 
858
- #: Templates/Admin/Pages/Processors/item-required.php:11
859
  msgctxt "admin"
860
- msgid "Not required"
861
- msgstr "Niet vereist"
862
 
863
- #: Templates/Admin/Pages/Processors/footer.php:54 WordPress/Admin.php:94
864
- #: WordPress/Admin.php:108 WordPress/Admin/Pages/PageDashboard.php:80
865
- #: WordPress/Admin/Pages/PageSettings.php:46
866
  msgctxt "admin"
867
- msgid "Settings"
868
- msgstr "Instellingen"
869
 
870
- #: Templates/Admin/Pages/Processors/footer.php:44
871
  msgctxt "admin"
872
- msgid "Change settings"
873
- msgstr "Instellingen wijzigen"
874
 
875
- #: Templates/Admin/Pages/Processors/footer.php:41
 
 
876
  msgctxt "admin"
877
- msgid "Change the colors of the consent bar and the settings."
878
- msgstr "Verander de kleuren van de instemmingsbalk en de instellingen."
879
 
880
- #: Templates/Admin/Pages/Processors/footer.php:40
881
  msgctxt "admin"
882
- msgid "Change the look"
883
- msgstr "Verander het uiterlijk"
 
 
 
 
 
884
 
885
- #: Templates/Admin/Pages/Processors/footer.php:35
886
  msgctxt "admin"
887
- msgid "Reset"
888
- msgstr "Herstellen"
889
 
890
- #: Templates/Admin/Pages/Processors/footer.php:33
891
  msgctxt "admin"
892
- msgid "Want to reset the consent bar? This means that the consent bar will appear again for all users"
893
- msgstr "Wil je de instemmingsbalk resetten? Dit betekent dat de instemmingsbalk opnieuw wordt weergegeven voor alle gebruikers"
894
 
895
- #: Templates/Admin/Pages/Processors/footer.php:32
 
896
  msgctxt "admin"
897
- msgid "Reset consent bar"
898
- msgstr "Instemmingsbalk resetten"
899
 
900
- #: Templates/Admin/Pages/Processors/footer.php:29
901
- #: WordPress/Ajax/UpdateProcessorMode.php:69
902
  msgctxt "admin"
903
- msgid "To enable the consent bar, activate one (or more) data processor(s)."
904
- msgstr "Activeer een (of meer) gegevensverwerker(s) om de instemmingsbalk in te schakelen."
905
 
906
- #: Templates/Admin/Pages/Processors/footer.php:29
907
  msgctxt "admin"
908
- msgid "You can disable the consent bar, this means that all data processors are deactivated."
909
- msgstr "Je kan de instemmingsbalk uitschakelen, dit betekent dat alle gegevensverwerkers zullen worden uitgeschakeld."
910
 
911
- #: Templates/Admin/Pages/Processors/footer.php:28
912
  msgctxt "admin"
913
- msgid "Toggle consent bar"
914
- msgstr "Toestemmingsbalk wisselen"
915
 
916
- #: Templates/Admin/Pages/Processors/footer.php:26
917
- #: Templates/Admin/Pages/Settings/consent.php:17
918
  msgctxt "admin"
919
- msgid "Consent bar"
920
- msgstr "Instemmingsbalk"
921
 
922
- #: Templates/Admin/Pages/Processors/footer.php:17 Utils/Banner.php:25
923
  msgctxt "admin"
924
- msgid "not active"
925
- msgstr "niet actief"
926
 
927
- #: Templates/Admin/Pages/Processors/footer.php:17 Utils/Banner.php:25
928
  msgctxt "admin"
929
- msgid "active"
930
- msgstr "actief"
931
 
932
- #: Templates/Admin/Pages/Processors/Edit/main.php:84
933
  msgctxt "admin"
934
- msgid "Save processor"
935
- msgstr "Verwerker opslaan"
936
 
937
- #: Templates/Admin/Pages/Processors/Edit/main.php:76
938
  msgctxt "admin"
939
- msgid "Code snippet"
940
- msgstr "Code fragmenten"
941
 
942
- #: Templates/Admin/Pages/Processors/Edit/main.php:67
943
  msgctxt "admin"
944
- msgid "Placement"
945
- msgstr "Plaatsing"
946
 
947
- #: Templates/Admin/Pages/Processors/Edit/main.php:59
948
  msgctxt "admin"
949
- msgid "Code wrap"
950
- msgstr "Sluit code in"
951
 
952
- #: Templates/Admin/Pages/Processors/Edit/main.php:54
953
  msgctxt "admin"
954
- msgid "Describe your processor script as thoroughly as possible. %1s will not work here."
955
- msgstr "Beschrijf je verwerkingsscript zo uitvoerig mogelijk. %1s zal hier niet werken."
956
 
957
- #: Templates/Admin/Pages/Processors/Edit/main.php:53
 
958
  msgctxt "admin"
959
- msgid "A short description of the processor"
960
- msgstr "Een korte omschrijving van de verwerker"
961
 
962
- #: Templates/Admin/Pages/Processors/Edit/main.php:51
 
963
  msgctxt "admin"
964
- msgid "Description"
965
- msgstr "Beschrijving"
966
 
967
- #: Templates/Admin/Pages/Processors/Edit/main.php:46
968
  msgctxt "admin"
969
- msgid "Name your processor wisely, the name of the processor is shown in the popup of the processorbar. For example name it \"Google Analytics\" or \"Advertisement\""
970
- msgstr "Geef je processor een verstandige naam, de naam van de processor wordt weergegeven in de pop-up van de toestemmingsbalk. Noem het bijvoorbeeld \"Google Analytics\" of \"Advertentie\""
971
 
972
- #: Templates/Admin/Pages/Processors/Edit/main.php:45
973
- #: WordPress/Admin/Pages/PageSettings.php:297
974
  msgctxt "admin"
975
- msgid "Title"
976
- msgstr "Titel"
977
 
978
- #: Templates/Admin/Pages/Processors/Edit/main.php:42
979
  msgctxt "admin"
980
- msgid "Title of processor"
981
- msgstr "Titel van verwerker"
982
 
983
- #: Templates/Admin/Pages/Processors/Edit/main.php:35
 
984
  msgctxt "admin"
985
- msgid "ID"
986
- msgstr "ID"
987
 
988
- #: Templates/Admin/Pages/Processors/Edit/main.php:31
989
  msgctxt "admin"
990
- msgid "Active processor?"
991
- msgstr "Actieve verwerker?"
 
 
 
 
 
 
992
 
993
- #: Templates/Admin/Pages/Processors/Edit/main.php:26
994
- #: Templates/Admin/Pages/Processors/item-required.php:13
995
  msgctxt "admin"
996
- msgid "Required"
997
- msgstr "Vereist"
998
 
999
- #: Templates/Admin/Pages/Processors/Edit/main.php:16
1000
  msgctxt "admin"
1001
- msgid "New processor"
1002
- msgstr "Nieuwe verwerker"
 
 
 
 
1003
 
1004
- #: Templates/Admin/Pages/Processors/Edit/main.php:16
1005
  msgctxt "admin"
1006
- msgid "Edit processor"
1007
- msgstr "Verwerker aanpassen"
1008
 
1009
- #: Templates/Admin/Pages/Premium/main.php:49
 
 
 
1010
  msgctxt "admin"
1011
- msgid "Get started for free"
1012
- msgstr "Ga gratis aan de slag"
1013
 
1014
- #: Templates/Admin/Pages/Premium/main.php:45
1015
  msgctxt "admin"
1016
- msgid "Top security, hosted in EU and 99,95% uptime."
1017
- msgstr "Topbeveiliging, gehost in de EU en 99,95% uptime."
1018
 
1019
- #: Templates/Admin/Pages/Premium/main.php:44
 
1020
  msgctxt "admin"
1021
- msgid "Put your visitors in control of their data to generate valuable trust and align with good data ethics while staying compliant."
1022
- msgstr "Geef je bezoekers de controle over hun gegevens om waardevol vertrouwen te genereren en in overeenstemming te zijn met goede gegevensethiek terwijl ze compliant blijven."
1023
 
1024
- #: Templates/Admin/Pages/Premium/main.php:43
1025
  msgctxt "admin"
1026
- msgid "Fill your marketing funnel with compliant data, with integrations to Google Ads, Analytics, and Tag Manager, gaining insights into customer journeys without compromising user trust."
1027
- msgstr "Vul je marketing funnel met compatibele gegevens, met integraties met Google Ads, Analytics en Tag Manager, om inzicht te krijgen in klantreizen zonder het vertrouwen van gebruikers in gevaar te brengen."
1028
 
1029
- #: Templates/Admin/Pages/Premium/main.php:42
 
1030
  msgctxt "admin"
1031
- msgid "Get an intuitive and fully customizable consent pop-up that is good for SEO, allows you to follow GDPR and Google’s and Facebook’s terms of service, which now require you to have a GDPR compliant consent pop-up."
1032
- msgstr "Ontvang een intuïtieve en volledig aanpasbare toestemmingspop-up die goed is voor SEO, waarmee u voldoet aan de AVG en de servicevoorwaarden van Google en Facebook, die nu vereisen dat u een AVG-conforme toestemmingspop-up heeft."
1033
 
1034
- #: Templates/Admin/Pages/Premium/main.php:41
 
1035
  msgctxt "admin"
1036
- msgid "Automatically update consent texts in more than 40 languages based on frequent scans of your website."
1037
- msgstr "Update automatisch instemmingsteksten in meer dan 40 talen op basis van frequente scans van je site."
1038
 
1039
- #: Templates/Admin/Pages/Premium/main.php:40
 
1040
  msgctxt "admin"
1041
- msgid "Eliminate the risk of being fined by demonstrating full compliance with local and global data privacy guidelines and regulations"
1042
- msgstr "Elimineer het risico op een boete door aan te tonen dat je volledig voldoet aan de lokale en wereldwijde richtlijnen en voorschriften voor gegevensprivacy"
1043
 
1044
- #: Templates/Admin/Pages/Premium/main.php:37
 
1045
  msgctxt "admin"
1046
- msgid "Upgrade today and unlock fully automatic GDPR compliance"
1047
- msgstr "Upgrade vandaag nog en ontgrendel volledig automatische GDPR naleving"
1048
 
1049
- #: Templates/Admin/Pages/Premium/main.php:27
1050
  msgctxt "admin"
1051
- msgid "Enable business mode"
1052
- msgstr "Zakelijke modus activeren"
 
 
 
 
 
 
 
 
1053
 
1054
- #: Templates/Admin/Pages/Dashboard/main.php:71
1055
- #: WordPress/Admin/Pages/PageDashboard.php:46
1056
- #: WordPress/Admin/Pages/PageDashboard.php:73
1057
  msgctxt "admin"
1058
- msgid "Dashboard"
1059
- msgstr "Dashboard"
1060
 
1061
- #: Templates/Admin/Pages/Dashboard/main.php:61
 
 
 
 
1062
  msgctxt "admin"
1063
- msgid "Explore all business features"
1064
- msgstr "Ontdek alle zakelijke functies"
1065
 
1066
- #: Templates/Admin/Pages/Dashboard/main.php:59
1067
  msgctxt "admin"
1068
- msgid "Check out the business version of Cookie Information"
1069
- msgstr "Bekijk de zakelijke versie van Cookie Information"
 
 
 
1070
 
1071
- #: Templates/Admin/Pages/Dashboard/main.php:48
1072
  msgctxt "admin"
1073
- msgid "Manage data requests"
1074
- msgstr "Beheer gegevens aanvragen"
1075
 
1076
- #: Templates/Admin/Pages/Dashboard/main.php:46
 
 
 
1077
  msgctxt "admin"
1078
- msgid "Last request is from %1s"
1079
- msgstr "Laatste aanvraag is van %1s"
1080
 
1081
- #: Templates/Admin/Pages/Dashboard/main.php:45
1082
  msgctxt "admin"
1083
- msgid "%1s Data request"
1084
- msgid_plural "%1s Data requests"
1085
- msgstr[0] "%1s Gegevens aanvraag"
1086
- msgstr[1] "%1s Gegevens aanvragen"
1087
 
1088
- #: Templates/Admin/Pages/Dashboard/main.php:38
1089
  msgctxt "admin"
1090
- msgid "Manage data processors"
1091
- msgstr "Beheer gegevensverwerkers"
1092
 
1093
- #: Templates/Admin/Pages/Dashboard/main.php:36
1094
  msgctxt "admin"
1095
- msgid "not showing"
1096
- msgstr "niet laten zien"
1097
 
1098
- #: Templates/Admin/Pages/Dashboard/main.php:36
1099
  msgctxt "admin"
1100
- msgid "showing"
1101
- msgstr "laten zien"
1102
 
1103
- #: Templates/Admin/Pages/Dashboard/main.php:36
1104
- #: Templates/Admin/Pages/Processors/footer.php:27
1105
- #: WordPress/Ajax/UpdateProcessorMode.php:68
 
1106
  msgctxt "admin"
1107
- msgid "The consent bar is %1s"
1108
- msgstr "De instemmingsbalk is %1s"
1109
 
1110
- #: Templates/Admin/Pages/Dashboard/main.php:35
1111
  msgctxt "admin"
1112
- msgid "%1s Active data processor"
1113
- msgid_plural "%1s Active data processors"
1114
- msgstr[0] "%1s Actieve gegevensverwerker"
1115
- msgstr[1] "%1s Actieve gegevensverwerkers"
1116
 
1117
- #: Templates/Admin/Pages/Dashboard/main.php:28
1118
  msgctxt "admin"
1119
- msgid "Manage checkboxes"
1120
- msgstr "Beheer selectievakjes"
 
 
 
1121
 
1122
- #: Templates/Admin/Pages/Dashboard/main.php:26
1123
  msgctxt "admin"
1124
- msgid "%1s form doesn’t seem to have a checkbox enabled"
1125
- msgid_plural "%1s forms don’t seem to have a checkbox enabled"
1126
- msgstr[0] "%1s formulier lijkt geen selectievakje te hebben ingeschakeld"
1127
- msgstr[1] "3 formulieren lijken geen selectievakje te hebben ingeschakeld"
 
1128
 
1129
- #: Templates/Admin/Pages/Dashboard/main.php:25
1130
  msgctxt "admin"
1131
- msgid "%1s Active checkbox"
1132
- msgid_plural "%1s Active checkboxes"
1133
- msgstr[0] "%1s Actief selectievakje"
1134
- msgstr[1] "%1s Actieve selectievakjes"
1135
 
1136
- #: Templates/Admin/Pages/dashboard.php:66
1137
  msgctxt "admin"
1138
- msgid "Dashboard navigation"
1139
- msgstr "Dashboardnavigatie"
1140
 
1141
- #: Templates/Admin/Pages/dashboard.php:57
1142
  msgctxt "admin"
1143
- msgid "F jS, Y"
1144
- msgstr "F jS, Y"
 
 
 
 
 
 
 
1145
 
1146
- #: Templates/Admin/page-after.php:8
1147
  msgctxt "admin"
1148
- msgid "Cookie Information, Consent Management Platform"
1149
- msgstr "Cookie Information, platform voor instemmingsbeheer"
1150
 
1151
- #: Templates/Admin/page-after.php:8
1152
  msgctxt "admin"
1153
- msgid "Powered by %1s"
1154
- msgstr "Mogelijk gemaakt door %1s"
1155
 
1156
- #: Templates/Admin/header.php:34
1157
  msgctxt "admin"
1158
- msgid "Support"
1159
- msgstr "Ondersteuning"
 
 
 
 
 
 
1160
 
1161
- #: Templates/Admin/header.php:31
1162
  msgctxt "admin"
1163
- msgid "FAQ"
1164
- msgstr "FAQ"
1165
 
1166
- #: Templates/Admin/header.php:28
1167
  msgctxt "admin"
1168
- msgid "About"
1169
- msgstr "Over"
1170
 
1171
- #: Templates/Admin/header.php:25
1172
  msgctxt "admin"
1173
- msgid "Plugin help"
1174
- msgstr "Pluginhulp"
1175
 
1176
- #: Templates/Admin/header.php:16 Templates/Admin/Pages/Dashboard/main.php:58
1177
  msgctxt "admin"
1178
- msgid "Upgrade to business"
1179
- msgstr "Upgraden naar zakelijk"
 
 
 
 
 
 
1180
 
1181
- #: Templates/Admin/Form/field-todo.php:8
1182
  msgctxt "admin"
1183
- msgid "No render method yet, please add one in %1s"
1184
- msgstr "Nog geen rendermethode, voeg er een toe in %1s"
1185
 
1186
- #: Templates/Admin/Form/field-pageselect.php:28
1187
  msgctxt "admin"
1188
- msgid "Edit page"
1189
- msgstr "Pagina bewerken"
1190
 
1191
- #: Templates/Admin/Form/field-pageselect.php:22
1192
  msgctxt "admin"
1193
- msgid "Select a page"
1194
- msgstr "Selecteer een pagina"
 
 
 
 
 
 
1195
 
1196
- #: Templates/Admin/Elements/updatecount.php:10
1197
  msgctxt "admin"
1198
- msgid "Update available"
1199
- msgstr "Update beschikbaar"
1200
-
1201
- #: Objects/RequestDelete.php:454
1202
- msgid "%1s #%2s with email address %3s."
1203
- msgstr "%1s #%2s met e-mailadres %3s."
1204
 
1205
- #: Objects/RequestDelete.php:440
1206
  msgctxt "admin"
1207
- msgid "You're not allowed to edit form entries."
1208
- msgstr "Je hebt geen toestemming om formulierinzendingen te bewerken."
 
 
 
 
 
 
 
 
1209
 
1210
- #: Objects/RequestDelete.php:422
1211
  msgctxt "admin"
1212
- msgid "This comment doesn't exist."
1213
- msgstr "Deze reactie bestaat niet."
 
 
 
 
 
 
 
 
 
 
 
 
 
1214
 
1215
- #: Objects/RequestDelete.php:403
1216
  msgctxt "admin"
1217
- msgid "This user doesn't exist."
1218
- msgstr "Deze gebruiker bestaat niet."
1219
-
1220
- #: Objects/RequestDelete.php:381 WordPress/Ajax/ProcessRequest.php:83
1221
- msgid "No requests to process."
1222
- msgstr "Geen aanvragen om te verwerken."
1223
-
1224
- #: Objects/RequestDelete.php:368 Objects/RequestDelete.php:374
1225
- msgid "Unable to locate request."
1226
- msgstr "Kan aanvraag niet vinden."
1227
 
1228
- #: Objects/DataProcessor.php:323
1229
  msgctxt "admin"
1230
- msgid "Footer (at the end of the <body> tag)"
1231
- msgstr "Footer (aan het einde van de <body>-tag)"
 
 
 
1232
 
1233
- #: Objects/DataProcessor.php:322
1234
  msgctxt "admin"
1235
- msgid "Body (direct after the <body> tag)"
1236
- msgstr "Body (direct na de <body>-tag)"
1237
 
1238
- #: Objects/DataProcessor.php:321
1239
  msgctxt "admin"
1240
- msgid "Head (in the <head> tag)"
1241
- msgstr "Head (in de <head>-tag)"
1242
 
1243
- #: Objects/DataProcessor.php:311
1244
  msgctxt "admin"
1245
- msgid "Do not wrap my code"
1246
- msgstr "Sluit mijn stuk code niet in."
1247
 
1248
- #: Objects/DataProcessor.php:310
1249
  msgctxt "admin"
1250
- msgid "Wrap my code in <script> tags"
1251
- msgstr "Sluit mijn code in met <script> tags"
1252
-
1253
- #: Objects/Data/User.php:56
1254
- msgid "Registration"
1255
- msgstr "Registratie"
1256
 
1257
- #: Objects/Data/Data.php:250
1258
- msgid "Anonymize selected data"
1259
- msgstr "Geselecteerde gegevens anonimiseren"
 
1260
 
1261
- #: Objects/Data/Data.php:107
1262
- msgid "Form"
1263
- msgstr "Formulier"
 
1264
 
1265
- #: Integrations/WPRegistration.php:130
1266
- msgctxt "amount of users"
1267
- msgid "Anonymize selected user"
1268
- msgid_plural "Anonymize selected user(s)"
1269
- msgstr[0] "Geselecteerde gebruiker anonimiseren"
1270
- msgstr[1] "Geselecteerde gebruiker(s) anonimiseren"
 
 
 
 
 
 
 
 
 
1271
 
1272
- #: Integrations/WPRegistration.php:112
 
 
 
 
 
 
 
1273
  msgctxt "admin"
1274
- msgid "WordPress Registration"
1275
- msgstr "WordPress-registratie"
 
 
 
 
 
 
 
 
1276
 
1277
- #: Integrations/WPComments.php:221
1278
  msgctxt "admin"
1279
- msgid "GDPR accepted on"
1280
- msgstr "AVG geaccepteerd op"
 
 
 
 
1281
 
1282
- #: Integrations/WPComments.php:130
1283
- msgctxt "amount of comments"
1284
- msgid "Anonymize selected comment"
1285
- msgid_plural "Anonymize selected comment(s)"
1286
- msgstr[0] "Geselecteerde reactie anonimiseren"
1287
- msgstr[1] "Geselecteerde reactie(s) anonimiseren"
1288
 
1289
- #: Integrations/WPComments.php:112
1290
  msgctxt "admin"
1291
- msgid "WordPress Comments"
1292
- msgstr "WordPress-reacties"
1293
 
1294
- #: Integrations/Plugins/WooCommerce.php:136
1295
- msgctxt "amount of shop orders"
1296
- msgid "Anonymize selected shop order"
1297
- msgid_plural "Anonymize selected shop order(s)"
1298
- msgstr[0] "Geselecteerde winkel bestelling anonimiseren"
1299
- msgstr[1] "Geselecteerde winkel bestelling(en) anonimiseren"
1300
 
1301
- #: Integrations/Plugins/WooCommerce.php:125
1302
  msgctxt "admin"
1303
- msgid "When activated the GDPR checkbox will be added at the end of the WooCommerce checkout form."
1304
- msgstr "Indien geactiveerd, wordt het AVG-selectievakje toegevoegd aan het einde van het WooCommerce-afrekenformulier."
1305
 
1306
- #: Integrations/Plugins/WooCommerce.php:108
1307
  msgctxt "admin"
1308
- msgid "WooCommerce"
1309
- msgstr "WooCommerce "
1310
 
1311
- #: Integrations/Plugins/WooCommerce.php:105
1312
- msgid "Orders"
1313
- msgstr "Bestellingen"
 
1314
 
1315
- #: Integrations/Plugins/GravityForms.php:204
 
 
 
1316
  msgctxt "admin"
1317
- msgid "enabled"
1318
- msgstr "ingeschakeld"
1319
 
1320
- #: Integrations/Plugins/GravityForms.php:204
1321
- msgctxt "admin"
1322
- msgid "disabled"
1323
- msgstr "uitgeschakeld"
1324
 
1325
- #: Integrations/Plugins/GravityForms.php:151
1326
- msgctxt "admin"
1327
- msgid "Gravity Forms"
1328
- msgstr "Gravity Forms"
1329
 
1330
- #: Integrations/Plugins/ContactForm.php:425
 
1331
  msgid ""
1332
- "GDPR accepted on:\n"
1333
- "%1s"
1334
  msgstr ""
1335
- "AVG geaccepteerd op:\n"
1336
- "%1s"
1337
 
1338
- #: Integrations/Plugins/ContactForm.php:182
1339
  msgctxt "admin"
1340
- msgid "published"
1341
- msgstr "gepubliceerd"
1342
 
1343
- #: Integrations/Plugins/ContactForm.php:182
1344
  msgctxt "admin"
1345
- msgid "draft"
1346
- msgstr "concept"
1347
-
1348
- #: Integrations/Plugins/ContactForm.php:162
1349
- #: Integrations/Plugins/GravityForms.php:185
1350
- msgctxt "amount of entries"
1351
- msgid "Anonymize selected entry"
1352
- msgid_plural "Anonymize selected entry/entries"
1353
- msgstr[0] "Geselecteerde inzending anonimiseren"
1354
- msgstr[1] "Geselecteerde inzending(en) anonimiseren"
1355
 
1356
- #: Integrations/Plugins/ContactForm.php:151
1357
- #: Integrations/Plugins/GravityForms.php:174
1358
  msgctxt "admin"
1359
- msgid "When activated the GDPR checkbox will be added at the end of each <strong>activated</strong> form."
1360
- msgstr "Indien geactiveerd, wordt het AVG-selectievakje toegevoegd aan het einde van elk <strong>geactiveerd</strong> formulier."
1361
 
1362
- #: Integrations/Plugins/ContactForm.php:128
 
 
1363
  msgctxt "admin"
1364
- msgid "Contact Form 7"
1365
- msgstr "Contact Form 7"
1366
-
1367
- #: Integrations/Plugins/ContactForm.php:125
1368
- #: Integrations/Plugins/GravityForms.php:148
1369
- msgid "Forms Entries"
1370
- msgstr "Formulierinzendingen"
1371
 
1372
- #: Integrations/Plugins/AbstractPlugin.php:155
 
 
 
1373
  msgctxt "admin"
1374
- msgid "No active %1s forms found. Please create a form and return to set the checkbox message(s)."
1375
- msgstr "Geen actieve %1s-formulier gevonden. Maak een formulier aan en keer terug om het/de checkboxbericht(en) in te stellen."
1376
 
1377
- #: Integrations/Plugins/AbstractPlugin.php:147
 
1378
  msgctxt "admin"
1379
- msgid "Currently the %1s plugin is installed, but %2s. The plugin will be supported from version %3s and up."
1380
- msgstr "Momenteel is de %1s plugin geïnstalleerd, maar %2s. De plugin wordt ondersteund vanaf versie %3s en hoger."
1381
 
1382
- #: Integrations/Plugins/AbstractPlugin.php:145
1383
  msgctxt "admin"
1384
- msgid "this version is not supported"
1385
- msgstr "deze versie wordt niet ondersteund"
1386
 
1387
- #: Integrations/Plugins/AbstractPlugin.php:136
1388
- msgctxt "admin"
1389
- msgid "Currently the %1s plugin is installed, but %2s."
1390
- msgstr "Momenteel is de %1s plugin geïnstalleerd, maar %2s"
1391
 
1392
- #: Integrations/Plugins/AbstractPlugin.php:134
1393
- msgctxt "admin"
1394
- msgid "not activated"
1395
- msgstr "niet geactiveerd"
1396
 
1397
- #: Integrations/Plugins/AbstractPlugin.php:125
1398
- msgctxt "admin"
1399
- msgid "Currently the %1s plugin is not installed."
1400
- msgstr "Momenteel is de %1s plugin niet geïnstalleerd."
 
 
 
 
1401
 
1402
- #. Plugin Name of the plugin
1403
- msgid "Cookie Information | Free WP GDPR Consent Plugin"
1404
- msgstr "Cookie Information | Gratis WP GDPR Consent Plugin"
 
 
 
1405
 
1406
- #: Templates/Admin/Wizard/Intro.php:16
1407
- msgctxt "admin"
1408
- msgid "It appears you have not yet completed the first time setup."
1409
- msgstr "Het lijkt erop dat je de installatiewizard nog niet hebt afgerond."
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1410
 
1411
- #: Utils/Wizard.php:96
 
 
 
 
 
1412
  msgctxt "admin"
1413
- msgid "WP GDPR Compliance will become even better!"
1414
- msgstr "WP GDPR Compliance wordt alleen maar beter!"
1415
 
1416
- #: Templates/Admin/Pages/Wizard/Steps/done.php:25
1417
  msgctxt "admin"
1418
- msgid "Manage your Privacy Policy page"
1419
- msgstr "Je privacybeleidspagina beheren"
1420
 
1421
- #: Templates/Admin/Pages/Wizard/Steps/done.php:16
1422
  msgctxt "admin"
1423
- msgid "That's it, we're done. We just setup your site and now you are more compliant already. Next steps are to check if all your consents are setup and check your pages."
1424
- msgstr "Dat was het, we zijn klaar. We hebben nog maar net je site ingesteld en je site voldoet nu al meer aan de GDPR. De volgende stappen het controleren of al je toestemmingen zijn ingesteld en het controleren van je pagina's."
1425
 
1426
- #: Templates/Admin/Pages/Wizard/Steps/privacy.php:13
1427
  msgctxt "admin"
1428
- msgid "You are required to have a privacy policy on your website to comply with GDPR guidelines. Here you can add a link from your consent pop to your privacy policy."
1429
- msgstr "Conform de GDPR-richtlijnen, ben je verplicht om een privacybeleidspagina op je website te hebben. Hier kun je een link toevoegen van je consentbalk naar je privacybeleid."
1430
 
1431
- #: Templates/Admin/Pages/Wizard/Steps/consent.php:13
1432
  msgctxt "admin"
1433
- msgid "Most websites use services and plugins for statistical and marketing that require the user's consent to comply with GDPR. Here you can add the first of the services you use. You can always change this later."
1434
- msgstr "De meeste sites gebruiken services en plugins voor statistieken en marketing die toestemming van de gebruiker nodig hebben om te voldoen aan de eisen van GDPR. Hier kun je de eerste services die je gebruikt toevoegen. Je kunt dit later altijd wijzigen."
1435
 
1436
- #: Templates/Admin/Pages/Wizard/Steps/welcome.php:31
1437
  msgctxt "admin"
1438
- msgid "You will get free upgrades to this plugin, and we will also expand the plugin with features targeted to business users that allow you to easier comply with GDPR. Planned features include cookie scanning, language support for 40+ languages, and much more. If you want to get a taste of what you can expect, you can try the full suite of Cookie Information for 30 days free and without a credit card."
1439
- msgstr "Je krijgt gratis upgrades voor deze plugin, en we zullen de plugin ook uitbreiden met functies die gericht zijn op zakelijke gebruikers en waarmee je gemakkelijker aan de GDPR kunt voldoen. Geplande functies zijn onder meer cookie scanning, taalondersteuning voor 40+ talen, en nog veel meer. Als je een voorproefje wilt krijgen van wat je kunt verwachten, kun je de volledige suite van Cookie Information 30 dagen gratis en zonder credit card uitproberen."
1440
 
1441
- #: Templates/Admin/Pages/Wizard/Steps/welcome.php:30
 
 
 
 
 
1442
  msgctxt "admin"
1443
- msgid "We are happy to announce that WP GDPR Compliance has been acquired by the leading Consent Management Platform, Cookie Information. This will create tremendous benefits for all of the more than 200.000 websites using this plugin."
1444
- msgstr "We zijn blij om bekend te maken dat WP GDPR Compliance is overgenomen door het toonaangevende Consent Management Platform, Cookie Information. Dit zal enorme voordelen geven voor alle van de meer dan 200.000 sites die deze plugin gebruiken."
1445
 
1446
- #: Templates/Admin/Pages/Wizard/Steps/welcome.php:18
 
1447
  msgctxt "admin"
1448
- msgid "Thank you very much for choosing this plugin to help you with your GDPR Compliance. In this wizard we help you to setup the plugin so you can quickly start with making your website more compliant."
1449
- msgstr "Bedankt dat je hebt gekozen voor deze plugin om je te helpen te voldoen aan de GDPR. In deze wizard helpen we je om te plugin in te stellen, zodat je snel aan de slag kan om je website meer te laten voldoen aan de GDPR."
1450
 
1451
- #. Author URI of the plugin
1452
- msgid "https://cookieinformation.com/"
1453
- msgstr "https://cookieinformation.com/"
 
1454
 
1455
- #. Author of the plugin
1456
- msgid "Cookie Information"
1457
- msgstr "Cookie Information"
 
1458
 
1459
- #: Integrations/WPRegistration.php:220
1460
- msgid "User has given consent when registering"
1461
- msgstr "Gebruiker heeft toestemming gegeven bij het registreren"
 
 
1462
 
1463
- #: WordPress/Settings.php:70
1464
- msgid "More information"
1465
- msgstr "Meer informatie"
 
 
1466
 
1467
- #: Integrations/WPRegistration.php:119
 
1468
  msgctxt "admin"
1469
- msgid "When activated the GDPR checkbox will be added automatically, just above the register button."
1470
- msgstr "Wanneer geactiveerd, wordt het AVG selectievakje automatisch toegevoegd net boven de knop Registreren."
1471
 
1472
- #: WordPress/Settings.php:61
1473
- msgid "https://www.example.com"
1474
- msgstr "http://www.example.com"
 
1475
 
1476
- #: Integrations/WPComments.php:170
1477
- msgid "This checkbox is checked because you are an admin"
1478
- msgstr "Dit selectievakje is aangevinkt omdat je een beheerder bent"
 
1479
 
1480
- #: WordPress/Admin/Pages/PageSettings.php:164
1481
  msgctxt "admin"
1482
- msgid "Enabling this will allow you to use an external Privacy Policy instance."
1483
- msgstr "Wanneer je dit inschakelt, kun je een externe privacybeleidpagina gebruiken."
1484
 
1485
- #: WordPress/Ajax/ProcessAction.php:134
1486
- msgid "Missing token."
1487
- msgstr "Ontbrekend token."
1488
 
1489
  #: Utils/Integration.php:76
1490
  msgid "You need to accept this checkbox"
1491
  msgstr "Je moet dit selectievakje accepteren"
1492
 
1493
- #: Templates/Front/Consent/modal-content.php:27
1494
- msgid "(no title)"
1495
- msgstr "(geen titel)"
 
1496
 
1497
- #: WordPress/Shortcodes/ProcessorSettingsLink.php:67
1498
- msgid "Let your visitors re-access their settings by placing a link to the modal with the shortcode %1s or add the \"%2s\" class to a menu item."
1499
- msgstr "Laat je bezoekers weer toegang krijgen tot hun instellingen door een link naar het venster te plaatsen met de shortcode %1s of voeg de class \"%2s\" toe aan een menu-item."
 
1500
 
1501
- #: WordPress/Settings.php:72
1502
- msgid "This site uses functional cookies and external scripts to improve your experience."
1503
- msgstr "Deze site gebruikt functionele cookies en externe scripts om je beleving te verbeteren."
 
1504
 
1505
- #: WordPress/Settings.php:85
1506
- msgid "This site uses functional cookies and external scripts to improve your experience. Which cookies and scripts are used and how they impact your visit is specified on the left. You may change your settings at any time. Your choices will not impact your visit."
1507
- msgstr "Deze site gebruikt functionele cookies en externe scripts om uw ervaring te verbeteren. Welke cookies en scripts worden gebruikt en hoe deze je bezoek beïnvloeden, wordt aan de linkerkant gespecificeerd. Je kunt je instellingen op elk gewenst moment wijzigen. Je keuzes hebben geen invloed op uw bezoek."
 
 
 
 
1508
 
1509
- #: WordPress/Settings.php:83
1510
- msgid "Privacy Settings"
1511
- msgstr "Privacy-instellingen"
 
 
 
 
1512
 
1513
- #: WordPress/Front/Consent/Modal.php:76
1514
- msgid "Save my settings"
1515
- msgstr "Bewaar mijn instellingen"
 
 
 
 
1516
 
1517
- #: WordPress/Front/Consent/Modal.php:67
1518
- msgid "These settings will only apply to the browser and device you are currently using."
1519
- msgstr "Deze instellingen zijn alleen geldig voor de browser en het apparaat dat je nu gebruikt."
 
 
 
 
1520
 
1521
- #: WordPress/Settings.php:73
1522
- msgid "Accept"
1523
- msgstr "Accepteer"
 
 
1524
 
1525
- #: WordPress/Settings.php:70 WordPress/Shortcodes/ProcessorSettingsLink.php:50
1526
- #: WordPress/Shortcodes/ProcessorSettingsLink.php:64
1527
- msgid "My settings"
1528
- msgstr "Mijn instellingen"
1529
 
1530
- #: Templates/Front/Form/AccessRequest/main.php:9
1531
- #: WordPress/Shortcodes/RequestAccessForm.php:58
1532
- msgid "Send"
1533
- msgstr "Verstuur"
 
1534
 
1535
- #: Templates/Front/Form/AccessRequest/main.php:7
1536
- #: WordPress/Shortcodes/RequestAccessForm.php:56
1537
- msgid "Your Email Address"
1538
- msgstr "Jouw e-mailadres"
 
 
 
 
 
 
 
1539
 
1540
- #: WordPress/Shortcodes/RequestAccessForm.php:144
1541
- msgid "If needed, you can put in a new request after 24 hours here: %1s"
1542
- msgstr "Indien nodig kun je hier na 24 uur een nieuw verzoek indienen: %1s"
 
1543
 
1544
- #: WordPress/Shortcodes/RequestAccessForm.php:138
1545
- msgid "You are only able to view your data when visiting this page on the same device with the same IP and in the same browser session as when you performed your request. This is an extra security measure to keep your data safe."
1546
- msgstr "Je kunt alleen jouw data bekijken, als je deze pagina bezoekt op hetzelfde apparaat met hetzelfde IP-adres en in dezelfde browsersessie vanwaar je het verzoek gedaan hebt. Dit is een extra beveiligingsmaatregel om jouw data veilig te houden."
 
 
1547
 
1548
- #: Templates/Email/access_request.php:20
1549
- msgid "If your link is invalid you can fill in a new request after 24 hours: %1s."
1550
- msgstr "Indien je link ongeldig is, kun je een nieuw verzoek indienen na 24 uur: %1s."
 
 
1551
 
1552
- #: Templates/Email/access_request.php:18
1553
- msgid "This page is available for 24 hours and can only be reached from the same device, IP address and browser session you requested from."
1554
- msgstr "Deze pagina is 24 uur beschikbaar en kan alleen benaderd worden vanaf hetzelfde apparaat, IP-adres en browsersessie waarvandaan je het verzoek gedaan hebt."
 
 
 
 
 
 
1555
 
1556
- #: Objects/Data/Comment.php:55
1557
- msgid "Comment"
1558
- msgstr "Reactie"
 
1559
 
1560
- #: Objects/RequestDelete.php:491
1561
  msgctxt "admin"
1562
- msgid "Successfully sent a confirmation mail to the user."
1563
- msgstr "Een bevestigingsmail is succesvol verstuurd naar de gebruiker."
1564
 
1565
- #: Objects/RequestDelete.php:479
1566
- msgid "The following has been processed:"
1567
- msgstr "Het volgende is verwerkt:"
 
 
 
 
 
 
 
1568
 
1569
- #: Objects/RequestDelete.php:478
1570
- msgid "We have successfully processed your request and your data has been anonymized on %s."
1571
- msgstr "We hebben je verzoek succesvol verwerkt en je data is geanonimiseerd op %s."
 
 
 
 
 
1572
 
1573
- #: Objects/RequestDelete.php:474
1574
- msgid "%s - Your request"
1575
- msgstr "%s - Jouw verzoek"
 
1576
 
1577
- #: Templates/Email/delete_request.php:14
1578
- msgid "You can manage this request in the admin panel: %1s"
1579
- msgstr "Je kunt dit verzoek beheren in het beheerscherm: %1s"
 
 
 
 
1580
 
1581
- #: Templates/Email/delete_request.php:12
1582
- msgid "You have received a new anonymize request on %1s."
1583
- msgstr "Je hebt een nieuw anonimiseringsverzoek ontvangen op %1s."
 
1584
 
1585
- #: WordPress/Ajax/ProcessAction.php:172
1586
- msgid "%1s - New anonymize request"
1587
- msgstr "%1s - Nieuw anonimiseringsverzoek"
 
 
 
1588
 
1589
- #: WordPress/Ajax/ProcessAction.php:101 WordPress/Ajax/ProcessAction.php:167
1590
- msgid "Something went wrong while saving the request. Please try again."
1591
- msgstr "Er is iets fout gegaan tijdens het opslaan van het verzoek. Probeer opnieuw."
 
1592
 
1593
- #: WordPress/Shortcodes/RequestAccessForm.php:120
1594
- msgid "This request is expired or doesn't exist."
1595
- msgstr "Dit verzoek is verlopen of bestaat niet."
 
1596
 
1597
- #: Integrations/WPComments.php:96
1598
- msgid "No comments found with email address%1s."
1599
- msgstr "Geen reacties gevonden met e-mailadres%1s."
 
 
1600
 
1601
- #: Integrations/WPComments.php:109
1602
- msgid "Comments"
1603
- msgstr "Reacties"
 
1604
 
1605
- #: Utils/Request.php:107
1606
- msgid "No data found with email address%1s."
1607
- msgstr "Geen gebruikers gevonden met e-mailadres%1s."
 
 
 
1608
 
1609
- #: Integrations/WPRegistration.php:109
1610
- msgid "Users"
1611
- msgstr "Gebruikers"
 
1612
 
1613
- #: Objects/Data/Data.php:89 Objects/Data/Data.php:106
1614
- msgid "Date"
1615
- msgstr "Datum"
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1616
 
1617
  #: WordPress/Admin/Pages/PageSettings.php:325
 
1618
  msgctxt "admin"
1619
- msgid "Enabling this will create one private page containing the necessary shortcode: %1s. You can determine when and how to publish this page yourself."
1620
- msgstr "Dit inschakelen creëert een privépagina die de benodigde shortcode %1s bevat. Je kunt zelf beslissen wanneer en hoe je deze pagina wilt publiceren."
 
 
 
 
1621
 
1622
- #: Templates/Admin/Pages/Settings/request.php:24
1623
  msgctxt "admin"
1624
- msgid "Allow your site's visitors to request their data stored in the WordPress database (comments, WooCommerce orders etc.). Data found is send to their email address and allows them to put in an additional request to have the data anonymized."
1625
- msgstr "Sta je sitebezoekers toe om hun data, die opgeslagen is in de WordPress-database (reacties, WooCommerce-bestellingen, etc.), op te vragen. Gevonden data wordt verstuurd naar hun e-mailadres en stelt ze in staat om een anonimiseringsverzoek in te dienen."
1626
 
1627
- #: WordPress/Ajax/ProcessAction.php:175
1628
- msgid "Requests"
1629
- msgstr "Verzoeken"
 
1630
 
1631
- #: WordPress/Config.php:90
1632
- msgid "Below we show you all of the data stored by %1s on %1s. Select the data you wish the site owner to anonymize so it cannot be linked to your email address any longer. It is the site's owner responsibility to act upon your request. When your data is anonymized you will receive an email confirmation."
1633
- msgstr "Hieronder tonen we alle data die opgeslagen is door %1s op %1s. Selecteer de data waarvan je wilt dat de site eigenaar deze anonimiseert, waardoor het niet langer aan jouw e-mailadres gekoppeld kan worden. Het is de verantwoordelijkheid van de site-eigenaar om op dit verzoek te reageren. Zodra jouw data geanonimiseerd is, ontvang je een melding via e-mail."
 
 
 
 
 
1634
 
1635
- #: Objects/Data/Data.php:100
1636
- msgid "City"
1637
- msgstr "Plaats"
 
 
 
 
 
1638
 
1639
- #: Objects/Data/Data.php:99
1640
- msgid "Postcode / ZIP"
1641
- msgstr "Postcode / ZIP"
 
1642
 
1643
- #: Objects/Data/Data.php:98
1644
- msgid "Address"
1645
- msgstr "Adres"
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1646
 
1647
- #: Objects/Data/Data.php:97
1648
- msgid "Name"
1649
- msgstr "Naam"
 
1650
 
1651
- #: Objects/Data/Data.php:95 Objects/Data/WooCommerceOrder.php:82
1652
- msgid "Order"
1653
- msgstr "Volgorde"
1654
 
1655
- #: Objects/Data/Data.php:88 Objects/Data/Data.php:109
1656
- msgid "IP Address"
1657
- msgstr "IP-adres"
1658
 
1659
- #: Objects/Data/Data.php:86
1660
- msgid "Content"
1661
- msgstr "Inhoud"
 
1662
 
1663
- #: Objects/Data/Data.php:85
1664
- msgid "Author"
1665
- msgstr "Auteur"
 
1666
 
1667
- #: Objects/Data/Data.php:74
1668
- msgid "Registered on"
1669
- msgstr "Geregistreerd op"
 
1670
 
1671
- #: Objects/Data/Data.php:73
1672
- msgid "Website"
1673
- msgstr "Site"
 
1674
 
1675
- #: Objects/Data/Data.php:72 Objects/Data/Data.php:87 Objects/Data/Data.php:96
1676
- #: Objects/Data/Data.php:108
1677
- msgid "Email Address"
1678
- msgstr "E-mailadres"
1679
 
1680
- #: Objects/Data/Data.php:71
1681
- msgid "Display Name"
1682
- msgstr "Weergavenaam"
 
1683
 
1684
- #: Objects/Data/Data.php:70
1685
- msgid "Username"
1686
- msgstr "Gebruikersnaam"
 
 
 
 
1687
 
1688
- #: Objects/Data/Data.php:48
1689
- msgid "Email Address is required."
1690
- msgstr "E-mailadres is verplicht."
 
 
 
 
 
 
 
 
 
 
1691
 
1692
- #: Objects/RequestDelete.php:390
1693
  msgctxt "admin"
1694
- msgid "This request has already been processed."
1695
- msgstr "Dit verzoek is reeds verwerkt."
1696
 
1697
- #: Objects/RequestDelete.php:431
1698
  msgctxt "admin"
1699
- msgid "You're not allowed to edit WooCommerce orders."
1700
- msgstr "Je hebt geen toestemming om WooCommerce-bestellingen te bewerken."
1701
 
1702
- #: Objects/RequestDelete.php:416
 
1703
  msgctxt "admin"
1704
- msgid "You're not allowed to edit comments."
1705
- msgstr "Je hebt geen toestemming om reacties te bewerken."
 
 
 
 
 
 
 
 
1706
 
1707
- #: Objects/RequestDelete.php:397
1708
  msgctxt "admin"
1709
- msgid "You're not allowed to edit users."
1710
- msgstr "Je hebt geen toestemming om gebruikers te bewerken."
1711
 
1712
- #: WordPress/Ajax/ProcessRequest.php:53
1713
- msgctxt "admin"
1714
- msgid "The access request functionality is not enabled."
1715
- msgstr "De verzoek-tot-toegang-functionaliteit is niet ingeschakeld."
 
 
 
1716
 
1717
- #: WordPress/Ajax/ProcessAction.php:150
1718
- msgid "No session found."
1719
- msgstr "Geen sessie gevonden."
1720
 
1721
- #: WordPress/Ajax/ProcessAction.php:154
1722
- msgid "Session doesn't match."
1723
- msgstr "Sessie komt niet overeen."
1724
 
1725
- #: WordPress/Ajax/ProcessAction.php:139
1726
- msgid "No value selected."
1727
- msgstr "Geen waarde geselecteerd."
1728
 
1729
- #: WordPress/Ajax/ProcessAction.php:145
1730
- msgid "Missing or invalid type."
1731
- msgstr "Missend of ongeldig type."
 
1732
 
1733
- #: WordPress/Ajax/ProcessAction.php:87
1734
- msgid "You have already requested your data. Please check your mailbox. After 24 hours you can put in a new request."
1735
- msgstr "Je hebt jouw data al opgevraagd. Controleer je postvak in. Na 24 uur kan je een nieuwe verzoek indienen."
 
 
 
 
1736
 
1737
- #: WordPress/Ajax/ProcessAction.php:216
1738
- msgid "Success. You will receive an email with your data shortly."
1739
- msgstr "Gelukt. Je ontvangt een e-mail met jouw data zo snel mogelijk."
1740
 
1741
- #: WordPress/Ajax/ProcessAction.php:116
1742
- msgid "page"
1743
- msgstr "pagina"
1744
 
1745
- #: Templates/Email/access_request.php:16
1746
- msgid "Please visit this %1s to view the data linked to the email address %2s."
1747
- msgstr "Bezoek deze %1s om de data gekoppeld met e-mailadres %2s te bekijken."
 
 
 
 
 
 
 
 
1748
 
1749
- #: Templates/Email/access_request.php:14
1750
- msgid "You have requested to access your data on %1s."
1751
- msgstr "Je hebt toegang tot jouw data verzocht op %1s."
 
1752
 
1753
- #: WordPress/Ajax/ProcessAction.php:112
1754
- msgid "%1s - Your data request"
1755
- msgstr "%1s - Jouw gegevensaanvraag"
 
1756
 
1757
- #: WordPress/Ajax/ProcessAction.php:82
1758
- msgid "You need to accept the privacy checkbox."
1759
- msgstr "Je moet het privacy-selectievakje accepteren."
 
1760
 
1761
- #: WordPress/Ajax/ProcessAction.php:77
1762
- msgid "Missing or incorrect email address."
1763
- msgstr "Missend of foutief e-mailadres."
 
1764
 
1765
- #: Integrations/WPComments.php:148
1766
  msgctxt "admin"
1767
- msgid "Please disable the custom comments form in Jetpack to make your WordPress Comments GDPR compliant."
1768
- msgstr "Schakel het aangepaste reactieformulier in Jetpack uit, om je WordPress-reacties te laten voldoen aan de AVG."
1769
 
1770
- #: Templates/Front/Consent/modal-content-option.php:19
1771
- msgid "Enable?"
1772
- msgstr "Inschakelen?"
 
1773
 
1774
- #: Integrations/AbstractIntegration.php:252 WordPress/Settings.php:58
1775
- msgid "Privacy Policy"
1776
- msgstr "Privacybeleid"
 
1777
 
1778
- #: Utils/AdminHelper.php:266
1779
  msgctxt "admin"
1780
- msgid "No HTML allowed due to plugin limitations."
1781
- msgstr "Geen HTML toegestaan vanwege pluginbeperkingen."
 
 
 
1782
 
1783
- #: Integrations/AbstractIntegration.php:237
1784
- msgid "Accepted on %s."
1785
- msgstr "Geaccepteerd op %s."
 
 
 
 
 
 
1786
 
1787
- #: Integrations/Plugins/WooCommerce.php:199
1788
- msgid "GDPR accepted on:"
1789
- msgstr "GDPR geaccepteerd op:"
 
 
 
 
 
1790
 
1791
- #: Integrations/AbstractIntegration.php:232
1792
- msgid "Not accepted."
1793
- msgstr "Niet geaccepteerd."
1794
 
1795
- #: Utils/AdminHelper.php:289
1796
- msgid "You can use: %1s"
1797
- msgstr "Je kunt gebruik maken van: %1s"
1798
 
1799
- #: Integrations/WPComments.php:119
1800
- msgctxt "admin"
1801
- msgid "When activated the GDPR checkbox will be added automatically, just above the submit button."
1802
- msgstr "Wanneer het AVG-selectievakje aangevinkt is, zal deze automatisch boven de verzendknop geplaatst worden."
1803
 
1804
- #: Integrations/WPComments.php:198
1805
- msgid "Comment Submission Failure"
1806
- msgstr "Versturen van de reactie is mislukt"
 
 
 
 
 
 
 
 
1807
 
1808
- #: Integrations/WPRegistration.php:167 Templates/Front/Elements/error.php:12
1809
- msgid "<strong>ERROR</strong>: %1s"
1810
- msgstr "<strong>FOUT</strong>: %1s"
 
1811
 
1812
- #: WordPress/Config.php:82
1813
- msgid "By using this form you agree with the storage and handling of your data by this website."
1814
- msgstr "Wanneer je dit formulier gebruikt, ga je akkoord met de opslag en verwerking van jouw gegevens door deze website."
1815
 
1816
- #: WordPress/Ajax/ProcessAction.php:67
1817
- msgid "Missing type."
1818
- msgstr "Ontbrekend type."
 
1819
 
1820
- #: WordPress/Ajax/AbstractAjax.php:77
1821
- msgid "Missing data."
1822
- msgstr "Ontbrekende data."
 
 
 
 
 
 
1823
 
1824
- #. Description of the plugin
1825
- msgid "This plugin assists website and web shop owners to comply with European privacy regulations known as GDPR. By May 24th, 2018 your website or shop has to comply to avoid large fines."
1826
- msgstr "Deze plugin helpt website- en webshop-eigenaren om te voldoen aan de Europese privacyregels (bekend als AVG). Vanaf 24 mei 2018 moet je website of webshop aan deze regels voldoen om hoge boetes te voorkomen."
1827
 
1828
- #. Plugin URI of the plugin
1829
- msgid "https://www.wpgdprc.com/"
1830
- msgstr "https://www.wpgdprc.com/"
2
  # This file is distributed under the same license as the Plugins - WP GDPR Compliance - Development (trunk) package.
3
  msgid ""
4
  msgstr ""
5
+ "Project-Id-Version: Plugins - WP GDPR Compliance - Development (trunk)\n"
6
+ "POT-Creation-Date: 2021-11-09 13:03+0100\n"
7
+ "PO-Revision-Date: 2021-11-09 13:05+0100\n"
8
+ "Last-Translator: \n"
9
+ "Language-Team: \n"
10
+ "Language: nl\n"
11
  "MIME-Version: 1.0\n"
12
  "Content-Type: text/plain; charset=UTF-8\n"
13
  "Content-Transfer-Encoding: 8bit\n"
14
  "Plural-Forms: nplurals=2; plural=n != 1;\n"
15
+ "X-Generator: Poedit 3.0\n"
 
 
16
 
17
+ #: Integrations/AbstractIntegration.php:232
18
+ msgid "Not accepted."
19
+ msgstr "Niet geaccepteerd."
20
 
21
+ #: Integrations/AbstractIntegration.php:237
22
+ #, php-format
23
+ msgid "Accepted on %s."
24
+ msgstr "Geaccepteerd op %s."
25
 
26
+ #: Integrations/AbstractIntegration.php:252 WordPress/Settings.php:58
27
+ msgid "Privacy Policy"
28
+ msgstr "Privacybeleid"
29
 
30
+ #: Integrations/Plugins/AbstractPlugin.php:131
31
+ #, php-format
32
  msgctxt "admin"
33
+ msgid "Currently the %1s plugin is not installed."
34
+ msgstr "Momenteel is de %1s plugin niet geïnstalleerd."
35
 
36
+ #: Integrations/Plugins/AbstractPlugin.php:140
37
  msgctxt "admin"
38
+ msgid "not activated"
39
+ msgstr "niet geactiveerd"
40
 
41
+ #: Integrations/Plugins/AbstractPlugin.php:142
42
+ #, php-format
43
  msgctxt "admin"
44
+ msgid "Currently the %1s plugin is installed, but %2s."
45
+ msgstr "Momenteel is de %1s plugin geïnstalleerd, maar %2s"
46
 
47
+ #: Integrations/Plugins/AbstractPlugin.php:151
48
  msgctxt "admin"
49
+ msgid "this version is not supported"
50
+ msgstr "deze versie wordt niet ondersteund"
51
 
52
+ #: Integrations/Plugins/AbstractPlugin.php:153
53
+ #, php-format
54
  msgctxt "admin"
55
+ msgid ""
56
+ "Currently the %1s plugin is installed, but %2s. The plugin will be supported "
57
+ "from version %3s and up."
58
+ msgstr ""
59
+ "Momenteel is de %1s plugin geïnstalleerd, maar %2s. De plugin wordt "
60
+ "ondersteund vanaf versie %3s en hoger."
61
 
62
+ #: Integrations/Plugins/AbstractPlugin.php:161
63
+ #, php-format
64
  msgctxt "admin"
65
+ msgid ""
66
+ "No active %1s forms found. Please create a form and return to set the "
67
+ "checkbox message(s)."
68
+ msgstr ""
69
+ "Geen actieve %1s-formulier gevonden. Maak een formulier aan en keer terug om "
70
+ "het/de checkboxbericht(en) in te stellen."
71
 
72
+ #: Integrations/Plugins/ContactForm.php:125
73
+ #: Integrations/Plugins/GravityForms.php:148
74
+ msgid "Forms Entries"
75
+ msgstr "Formulierinzendingen"
76
 
77
+ #: Integrations/Plugins/ContactForm.php:128
78
  msgctxt "admin"
79
+ msgid "Contact Form 7"
80
+ msgstr "Contact Form 7"
81
 
82
+ #: Integrations/Plugins/ContactForm.php:151
83
+ #: Integrations/Plugins/GravityForms.php:174
84
  msgctxt "admin"
85
+ msgid ""
86
+ "When activated the GDPR checkbox will be added at the end of each "
87
+ "<strong>activated</strong> form."
88
+ msgstr ""
89
+ "Indien geactiveerd, wordt het AVG-selectievakje toegevoegd aan het einde van "
90
+ "elk <strong>geactiveerd</strong> formulier."
91
 
92
+ #: Integrations/Plugins/ContactForm.php:162
93
+ #: Integrations/Plugins/GravityForms.php:185
94
+ msgctxt "amount of entries"
95
+ msgid "Anonymize selected entry"
96
+ msgid_plural "Anonymize selected entry/entries"
97
+ msgstr[0] "Geselecteerde inzending anonimiseren"
98
+ msgstr[1] "Geselecteerde inzending(en) anonimiseren"
99
 
100
+ #: Integrations/Plugins/ContactForm.php:182
101
  msgctxt "admin"
102
+ msgid "draft"
103
+ msgstr "concept"
104
 
105
+ #: Integrations/Plugins/ContactForm.php:182
106
  msgctxt "admin"
107
+ msgid "published"
108
+ msgstr "gepubliceerd"
109
 
110
+ #: Integrations/Plugins/ContactForm.php:425
111
+ #, php-format
112
+ msgid ""
113
+ "GDPR accepted on:\n"
114
+ "%1s"
115
+ msgstr ""
116
+ "AVG geaccepteerd op:\n"
117
+ "%1s"
118
 
119
+ #: Integrations/Plugins/GravityForms.php:92
120
+ #, fuzzy, php-format
121
+ #| msgid "No comments found with email address%1s."
122
+ msgid "No form entries found with email address%1s."
123
+ msgstr "Geen reacties gevonden met e-mailadres%1s."
124
 
125
+ #: Integrations/Plugins/GravityForms.php:151
126
  msgctxt "admin"
127
+ msgid "Gravity Forms"
128
+ msgstr "Gravity Forms"
129
 
130
+ #: Integrations/Plugins/GravityForms.php:204
131
  msgctxt "admin"
132
+ msgid "disabled"
133
+ msgstr "uitgeschakeld"
134
 
135
+ #: Integrations/Plugins/GravityForms.php:204
136
  msgctxt "admin"
137
+ msgid "enabled"
138
+ msgstr "ingeschakeld"
139
 
140
+ #: Integrations/Plugins/WooCommerce.php:87
141
+ #, fuzzy, php-format
142
+ #| msgid "No comments found with email address%1s."
143
+ msgid "No orders found with email address%1s."
144
+ msgstr "Geen reacties gevonden met e-mailadres%1s."
145
 
146
+ #: Integrations/Plugins/WooCommerce.php:105
147
+ msgid "Orders"
148
+ msgstr "Bestellingen"
 
149
 
150
+ #: Integrations/Plugins/WooCommerce.php:108
151
  msgctxt "admin"
152
+ msgid "WooCommerce"
153
+ msgstr "WooCommerce "
154
 
155
+ #: Integrations/Plugins/WooCommerce.php:125
156
  msgctxt "admin"
157
+ msgid ""
158
+ "When activated the GDPR checkbox will be added at the end of the WooCommerce "
159
+ "checkout form."
160
+ msgstr ""
161
+ "Indien geactiveerd, wordt het AVG-selectievakje toegevoegd aan het einde van "
162
+ "het WooCommerce-afrekenformulier."
163
 
164
+ #: Integrations/Plugins/WooCommerce.php:136
165
+ msgctxt "amount of shop orders"
166
+ msgid "Anonymize selected shop order"
167
+ msgid_plural "Anonymize selected shop order(s)"
168
+ msgstr[0] "Geselecteerde winkel bestelling anonimiseren"
169
+ msgstr[1] "Geselecteerde winkel bestelling(en) anonimiseren"
170
 
171
+ #: Integrations/Plugins/WooCommerce.php:199
172
+ msgid "GDPR accepted on:"
173
+ msgstr "GDPR geaccepteerd op:"
 
174
 
175
+ #: Integrations/WPComments.php:96
176
+ #, php-format
177
+ msgid "No comments found with email address%1s."
178
+ msgstr "Geen reacties gevonden met e-mailadres%1s."
179
 
180
+ #: Integrations/WPComments.php:109
181
+ msgid "Comments"
182
+ msgstr "Reacties"
 
183
 
184
+ #: Integrations/WPComments.php:112
185
  msgctxt "admin"
186
+ msgid "WordPress Comments"
187
+ msgstr "WordPress-reacties"
188
 
189
+ #: Integrations/WPComments.php:119
190
  msgctxt "admin"
191
+ msgid ""
192
+ "When activated the GDPR checkbox will be added automatically, just above the "
193
+ "submit button."
194
+ msgstr ""
195
+ "Wanneer het AVG-selectievakje aangevinkt is, zal deze automatisch boven de "
196
+ "verzendknop geplaatst worden."
197
 
198
+ #: Integrations/WPComments.php:130
199
+ msgctxt "amount of comments"
200
+ msgid "Anonymize selected comment"
201
+ msgid_plural "Anonymize selected comment(s)"
202
+ msgstr[0] "Geselecteerde reactie anonimiseren"
203
+ msgstr[1] "Geselecteerde reactie(s) anonimiseren"
204
 
205
+ #: Integrations/WPComments.php:148
206
  msgctxt "admin"
207
+ msgid ""
208
+ "Please disable the custom comments form in Jetpack to make your WordPress "
209
+ "Comments GDPR compliant."
210
+ msgstr ""
211
+ "Schakel het aangepaste reactieformulier in Jetpack uit, om je WordPress-"
212
+ "reacties te laten voldoen aan de AVG."
213
 
214
+ #: Integrations/WPComments.php:170
215
+ msgid "This checkbox is checked because you are an admin"
216
+ msgstr "Dit selectievakje is aangevinkt omdat je een beheerder bent"
 
217
 
218
+ #: Integrations/WPComments.php:198
219
+ msgid "Comment Submission Failure"
220
+ msgstr "Versturen van de reactie is mislukt"
 
221
 
222
+ #: Integrations/WPComments.php:221
223
  msgctxt "admin"
224
+ msgid "GDPR accepted on"
225
+ msgstr "AVG geaccepteerd op"
226
 
227
+ #: Integrations/WPRegistration.php:96
228
+ #, fuzzy, php-format
229
+ #| msgid "No comments found with email address%1s."
230
+ msgid "No users found with email address%1s."
231
+ msgstr "Geen reacties gevonden met e-mailadres%1s."
232
 
233
+ #: Integrations/WPRegistration.php:109
234
+ msgid "Users"
235
+ msgstr "Gebruikers"
 
236
 
237
+ #: Integrations/WPRegistration.php:112
238
  msgctxt "admin"
239
+ msgid "WordPress Registration"
240
+ msgstr "WordPress-registratie"
241
 
242
+ #: Integrations/WPRegistration.php:119
243
  msgctxt "admin"
244
+ msgid ""
245
+ "When activated the GDPR checkbox will be added automatically, just above the "
246
+ "register button."
247
+ msgstr ""
248
+ "Wanneer geactiveerd, wordt het AVG selectievakje automatisch toegevoegd net "
249
+ "boven de knop Registreren."
250
 
251
+ #: Integrations/WPRegistration.php:130
252
+ msgctxt "amount of users"
253
+ msgid "Anonymize selected user"
254
+ msgid_plural "Anonymize selected user(s)"
255
+ msgstr[0] "Geselecteerde gebruiker anonimiseren"
256
+ msgstr[1] "Geselecteerde gebruiker(s) anonimiseren"
257
 
258
+ #: Integrations/WPRegistration.php:167 Templates/Front/Elements/error.php:12
259
+ #, php-format
260
+ msgid "<strong>ERROR</strong>: %1s"
261
+ msgstr "<strong>FOUT</strong>: %1s"
 
262
 
263
+ #: Integrations/WPRegistration.php:220
264
+ msgid "User has given consent when registering"
265
+ msgstr "Gebruiker heeft toestemming gegeven bij het registreren"
 
266
 
267
+ #: Objects/Data/Comment.php:55
268
+ msgid "Comment"
269
+ msgstr "Reactie"
 
270
 
271
+ #: Objects/Data/Data.php:48
272
+ msgid "Email Address is required."
273
+ msgstr "E-mailadres is verplicht."
 
274
 
275
+ #: Objects/Data/Data.php:70
276
+ msgid "Username"
277
+ msgstr "Gebruikersnaam"
 
278
 
279
+ #: Objects/Data/Data.php:71
280
+ msgid "Display Name"
281
+ msgstr "Weergavenaam"
 
282
 
283
+ #: Objects/Data/Data.php:72 Objects/Data/Data.php:87 Objects/Data/Data.php:96
284
+ #: Objects/Data/Data.php:108
285
+ msgid "Email Address"
286
+ msgstr "E-mailadres"
287
 
288
+ #: Objects/Data/Data.php:73
289
+ msgid "Website"
290
+ msgstr "Site"
 
 
 
291
 
292
+ #: Objects/Data/Data.php:74
293
+ msgid "Registered on"
294
+ msgstr "Geregistreerd op"
 
295
 
296
+ #: Objects/Data/Data.php:85
297
+ msgid "Author"
298
+ msgstr "Auteur"
 
 
 
299
 
300
+ #: Objects/Data/Data.php:86
301
+ msgid "Content"
302
+ msgstr "Inhoud"
 
303
 
304
+ #: Objects/Data/Data.php:88 Objects/Data/Data.php:109
305
+ msgid "IP Address"
306
+ msgstr "IP-adres"
 
307
 
308
+ #: Objects/Data/Data.php:89 Objects/Data/Data.php:106
309
+ msgid "Date"
310
+ msgstr "Datum"
 
311
 
312
+ #: Objects/Data/Data.php:95 Objects/Data/WooCommerceOrder.php:82
313
+ msgid "Order"
314
+ msgstr "Volgorde"
 
315
 
316
+ #: Objects/Data/Data.php:97
317
+ msgid "Name"
318
+ msgstr "Naam"
 
319
 
320
+ #: Objects/Data/Data.php:98
321
+ msgid "Address"
322
+ msgstr "Adres"
 
323
 
324
+ #: Objects/Data/Data.php:99
325
+ msgid "Postcode / ZIP"
326
+ msgstr "Postcode / ZIP"
 
327
 
328
+ #: Objects/Data/Data.php:100
329
+ msgid "City"
330
+ msgstr "Plaats"
 
331
 
332
+ #: Objects/Data/Data.php:107
333
+ msgid "Form"
334
+ msgstr "Formulier"
 
335
 
336
+ #: Objects/Data/Data.php:250
337
+ msgid "Anonymize selected data"
338
+ msgstr "Geselecteerde gegevens anonimiseren"
 
339
 
340
+ #: Objects/Data/User.php:56
341
+ msgid "Registration"
342
+ msgstr "Registratie"
343
+
344
+ #: Objects/DataProcessor.php:310
345
  msgctxt "admin"
346
+ msgid "Wrap my code in <script> tags"
347
+ msgstr "Sluit mijn code in met <script> tags"
 
 
348
 
349
+ #: Objects/DataProcessor.php:311
350
  msgctxt "admin"
351
+ msgid "Do not wrap my code"
352
+ msgstr "Sluit mijn stuk code niet in."
 
 
353
 
354
+ #: Objects/DataProcessor.php:321
355
  msgctxt "admin"
356
+ msgid "Head (in the <head> tag)"
357
+ msgstr "Head (in de <head>-tag)"
 
 
358
 
359
+ #: Objects/DataProcessor.php:322
360
  msgctxt "admin"
361
+ msgid "Body (direct after the <body> tag)"
362
+ msgstr "Body (direct na de <body>-tag)"
 
 
363
 
364
+ #: Objects/DataProcessor.php:323
365
  msgctxt "admin"
366
+ msgid "Footer (at the end of the <body> tag)"
367
+ msgstr "Footer (aan het einde van de <body>-tag)"
368
 
369
+ #: Objects/RequestDelete.php:368 Objects/RequestDelete.php:374
370
+ msgid "Unable to locate request."
371
+ msgstr "Kan aanvraag niet vinden."
372
 
373
+ #: Objects/RequestDelete.php:381 WordPress/Ajax/ProcessRequest.php:83
374
+ msgid "No requests to process."
375
+ msgstr "Geen aanvragen om te verwerken."
376
 
377
+ #: Objects/RequestDelete.php:390
378
  msgctxt "admin"
379
+ msgid "This request has already been processed."
380
+ msgstr "Dit verzoek is reeds verwerkt."
381
 
382
+ #: Objects/RequestDelete.php:397
383
  msgctxt "admin"
384
+ msgid "You're not allowed to edit users."
385
+ msgstr "Je hebt geen toestemming om gebruikers te bewerken."
386
 
387
+ #: Objects/RequestDelete.php:403
388
  msgctxt "admin"
389
+ msgid "This user doesn't exist."
390
+ msgstr "Deze gebruiker bestaat niet."
391
 
392
+ #: Objects/RequestDelete.php:416
393
  msgctxt "admin"
394
+ msgid "You're not allowed to edit comments."
395
+ msgstr "Je hebt geen toestemming om reacties te bewerken."
396
 
397
+ #: Objects/RequestDelete.php:422
398
  msgctxt "admin"
399
+ msgid "This comment doesn't exist."
400
+ msgstr "Deze reactie bestaat niet."
401
 
402
+ #: Objects/RequestDelete.php:431
403
  msgctxt "admin"
404
+ msgid "You're not allowed to edit WooCommerce orders."
405
+ msgstr "Je hebt geen toestemming om WooCommerce-bestellingen te bewerken."
406
 
407
+ #: Objects/RequestDelete.php:440
408
  msgctxt "admin"
409
+ msgid "You're not allowed to edit form entries."
410
+ msgstr "Je hebt geen toestemming om formulierinzendingen te bewerken."
411
 
412
+ #: Objects/RequestDelete.php:454
413
+ #, php-format
414
+ msgid "%1s #%2s with email address %3s."
415
+ msgstr "%1s #%2s met e-mailadres %3s."
416
 
417
+ #: Objects/RequestDelete.php:474
418
+ #, php-format
419
+ msgid "%s - Your request"
420
+ msgstr "%s - Jouw verzoek"
421
 
422
+ #: Objects/RequestDelete.php:478
423
+ #, php-format
424
+ msgid ""
425
+ "We have successfully processed your request and your data has been "
426
+ "anonymized on %s."
427
+ msgstr ""
428
+ "We hebben je verzoek succesvol verwerkt en je data is geanonimiseerd op %s."
429
 
430
+ #: Objects/RequestDelete.php:479
431
+ msgid "The following has been processed:"
432
+ msgstr "Het volgende is verwerkt:"
 
433
 
434
+ #: Objects/RequestDelete.php:491
435
  msgctxt "admin"
436
+ msgid "Successfully sent a confirmation mail to the user."
437
+ msgstr "Een bevestigingsmail is succesvol verstuurd naar de gebruiker."
438
 
439
+ #: Templates/Admin/Elements/updatecount.php:10
440
  msgctxt "admin"
441
+ msgid "Update available"
442
+ msgstr "Update beschikbaar"
443
 
444
+ #: Templates/Admin/Form/field-pageselect.php:22
445
  msgctxt "admin"
446
+ msgid "Select a page"
447
+ msgstr "Selecteer een pagina"
448
 
449
+ #: Templates/Admin/Form/field-pageselect.php:28
450
  msgctxt "admin"
451
+ msgid "Edit page"
452
+ msgstr "Pagina bewerken"
 
 
 
 
 
 
 
 
 
 
 
 
453
 
454
+ #: Templates/Admin/Form/field-todo.php:8
455
+ #, php-format
456
  msgctxt "admin"
457
+ msgid "No render method yet, please add one in %1s"
458
+ msgstr "Nog geen rendermethode, voeg er een toe in %1s"
459
 
460
+ #: Templates/Admin/Pages/Dashboard/main.php:25
461
+ #, php-format
462
  msgctxt "admin"
463
+ msgid "%1s Active checkbox"
464
+ msgid_plural "%1s Active checkboxes"
465
+ msgstr[0] "%1s Actief selectievakje"
466
+ msgstr[1] "%1s Actieve selectievakjes"
467
 
468
+ #: Templates/Admin/Pages/Dashboard/main.php:26
469
+ #, fuzzy, php-format
470
+ #| msgctxt "admin"
471
+ #| msgid "%1s form doesn’t seem to have a checkbox enabled"
472
+ #| msgid_plural "%1s forms don’t seem to have a checkbox enabled"
473
  msgctxt "admin"
474
+ msgid "%1s form doesn’t seem to have a checkbox enabled"
475
+ msgid_plural "%1s forms don’t seem to have a checkbox enabled"
476
+ msgstr[0] "%1s formulier lijkt geen selectievakje te hebben ingeschakeld"
477
+ msgstr[1] "3 formulieren lijken geen selectievakje te hebben ingeschakeld"
478
 
479
+ #: Templates/Admin/Pages/Dashboard/main.php:28
480
  msgctxt "admin"
481
+ msgid "Manage checkboxes"
482
+ msgstr "Beheer selectievakjes"
483
 
484
+ #: Templates/Admin/Pages/Dashboard/main.php:35
485
+ #, php-format
486
  msgctxt "admin"
487
+ msgid "%1s Active data processor"
488
+ msgid_plural "%1s Active data processors"
489
+ msgstr[0] "%1s Actieve gegevensverwerker"
490
+ msgstr[1] "%1s Actieve gegevensverwerkers"
491
 
492
+ #: Templates/Admin/Pages/Dashboard/main.php:36
493
+ #: Templates/Admin/Pages/Processors/footer.php:27
494
+ #: WordPress/Ajax/UpdateProcessorMode.php:68
495
+ #, php-format
496
  msgctxt "admin"
497
+ msgid "The consent bar is %1s"
498
+ msgstr "De instemmingsbalk is %1s"
499
 
500
+ #: Templates/Admin/Pages/Dashboard/main.php:36
501
  msgctxt "admin"
502
+ msgid "showing"
503
+ msgstr "laten zien"
504
 
505
+ #: Templates/Admin/Pages/Dashboard/main.php:36
506
  msgctxt "admin"
507
+ msgid "not showing"
508
+ msgstr "niet laten zien"
509
 
510
+ #: Templates/Admin/Pages/Dashboard/main.php:38
511
  msgctxt "admin"
512
+ msgid "Manage data processors"
513
+ msgstr "Beheer gegevensverwerkers"
514
 
515
+ #: Templates/Admin/Pages/Dashboard/main.php:45
516
+ #, php-format
517
  msgctxt "admin"
518
+ msgid "%1s Data request"
519
+ msgid_plural "%1s Data requests"
520
+ msgstr[0] "%1s Gegevens aanvraag"
521
+ msgstr[1] "%1s Gegevens aanvragen"
522
 
523
+ #: Templates/Admin/Pages/Dashboard/main.php:46
524
+ #, php-format
525
  msgctxt "admin"
526
+ msgid "Last request is from %1s"
527
+ msgstr "Laatste aanvraag is van %1s"
528
 
529
+ #: Templates/Admin/Pages/Dashboard/main.php:48
530
  msgctxt "admin"
531
+ msgid "Manage data requests"
532
+ msgstr "Beheer gegevens aanvragen"
533
 
534
+ #: Templates/Admin/Pages/Dashboard/main.php:58 Templates/Admin/header.php:16
535
  msgctxt "admin"
536
+ msgid "Upgrade to business"
537
+ msgstr "Upgraden naar zakelijk"
538
 
539
+ #: Templates/Admin/Pages/Dashboard/main.php:59
540
  msgctxt "admin"
541
+ msgid "Check out the business version of Cookie Information"
542
+ msgstr "Bekijk de zakelijke versie van Cookie Information"
543
 
544
+ #: Templates/Admin/Pages/Dashboard/main.php:61
545
  msgctxt "admin"
546
+ msgid "Explore all business features"
547
+ msgstr "Ontdek alle zakelijke functies"
548
 
549
+ #: Templates/Admin/Pages/Dashboard/main.php:71
550
+ #: WordPress/Admin/Pages/PageDashboard.php:46
551
+ #: WordPress/Admin/Pages/PageDashboard.php:73
552
  msgctxt "admin"
553
+ msgid "Dashboard"
554
+ msgstr "Dashboard"
555
 
556
+ #: Templates/Admin/Pages/Premium/main.php:27
557
  msgctxt "admin"
558
+ msgid "Enable business mode"
559
+ msgstr "Zakelijke modus activeren"
560
 
561
+ #: Templates/Admin/Pages/Premium/main.php:37
562
  msgctxt "admin"
563
+ msgid "Upgrade today and unlock fully automatic GDPR compliance"
564
+ msgstr "Upgrade vandaag nog en ontgrendel volledig automatische GDPR naleving"
565
 
566
+ #: Templates/Admin/Pages/Premium/main.php:40
567
  msgctxt "admin"
568
+ msgid ""
569
+ "Eliminate the risk of being fined by demonstrating full compliance with "
570
+ "local and global data privacy guidelines and regulations"
571
+ msgstr ""
572
+ "Elimineer het risico op een boete door aan te tonen dat je volledig voldoet "
573
+ "aan de lokale en wereldwijde richtlijnen en voorschriften voor "
574
+ "gegevensprivacy"
575
 
576
+ #: Templates/Admin/Pages/Premium/main.php:41
 
577
  msgctxt "admin"
578
+ msgid ""
579
+ "Automatically update consent texts in more than 40 languages based on "
580
+ "frequent scans of your website."
581
+ msgstr ""
582
+ "Update automatisch instemmingsteksten in meer dan 40 talen op basis van "
583
+ "frequente scans van je site."
584
 
585
+ #: Templates/Admin/Pages/Premium/main.php:42
 
586
  msgctxt "admin"
587
+ msgid ""
588
+ "Get an intuitive and fully customizable consent pop-up that is good for SEO, "
589
+ "allows you to follow GDPR and Google’s and Facebook’s terms of service, "
590
+ "which now require you to have a GDPR compliant consent pop-up."
591
+ msgstr ""
592
+ "Ontvang een intuïtieve en volledig aanpasbare toestemmingspop-up die goed is "
593
+ "voor SEO, waarmee u voldoet aan de AVG en de servicevoorwaarden van Google "
594
+ "en Facebook, die nu vereisen dat u een AVG-conforme toestemmingspop-up heeft."
595
 
596
+ #: Templates/Admin/Pages/Premium/main.php:43
 
597
  msgctxt "admin"
598
+ msgid ""
599
+ "Fill your marketing funnel with compliant data, with integrations to Google "
600
+ "Ads, Analytics, and Tag Manager, gaining insights into customer journeys "
601
+ "without compromising user trust."
602
+ msgstr ""
603
+ "Vul je marketing funnel met compatibele gegevens, met integraties met Google "
604
+ "Ads, Analytics en Tag Manager, om inzicht te krijgen in klantreizen zonder "
605
+ "het vertrouwen van gebruikers in gevaar te brengen."
606
 
607
+ #: Templates/Admin/Pages/Premium/main.php:44
 
608
  msgctxt "admin"
609
+ msgid ""
610
+ "Put your visitors in control of their data to generate valuable trust and "
611
+ "align with good data ethics while staying compliant."
612
+ msgstr ""
613
+ "Geef je bezoekers de controle over hun gegevens om waardevol vertrouwen te "
614
+ "genereren en in overeenstemming te zijn met goede gegevensethiek terwijl ze "
615
+ "compliant blijven."
616
 
617
+ #: Templates/Admin/Pages/Premium/main.php:45
618
+ #, php-format
619
  msgctxt "admin"
620
+ msgid "Top security, hosted in EU and 99,95% uptime."
621
+ msgstr "Topbeveiliging, gehost in de EU en 99,95% uptime."
622
 
623
+ #: Templates/Admin/Pages/Premium/main.php:49
 
624
  msgctxt "admin"
625
+ msgid "Get started for free"
626
+ msgstr "Ga gratis aan de slag"
627
 
628
+ #: Templates/Admin/Pages/Processors/Edit/main.php:16
629
  msgctxt "admin"
630
+ msgid "Edit processor"
631
+ msgstr "Verwerker aanpassen"
632
 
633
+ #: Templates/Admin/Pages/Processors/Edit/main.php:16
 
 
 
634
  msgctxt "admin"
635
+ msgid "New processor"
636
+ msgstr "Nieuwe verwerker"
637
 
638
+ #: Templates/Admin/Pages/Processors/Edit/main.php:26
639
+ #: Templates/Admin/Pages/Processors/item-required.php:13
640
  msgctxt "admin"
641
+ msgid "Required"
642
+ msgstr "Vereist"
643
 
644
+ #: Templates/Admin/Pages/Processors/Edit/main.php:31
645
  msgctxt "admin"
646
+ msgid "Active processor?"
647
+ msgstr "Actieve verwerker?"
648
 
649
+ #: Templates/Admin/Pages/Processors/Edit/main.php:35
650
  msgctxt "admin"
651
+ msgid "ID"
652
+ msgstr "ID"
653
 
654
+ #: Templates/Admin/Pages/Processors/Edit/main.php:42
655
  msgctxt "admin"
656
+ msgid "Title of processor"
657
+ msgstr "Titel van verwerker"
658
 
659
+ #: Templates/Admin/Pages/Processors/Edit/main.php:45
660
+ #: WordPress/Admin/Pages/PageSettings.php:297
661
  msgctxt "admin"
662
+ msgid "Title"
663
+ msgstr "Titel"
664
 
665
+ #: Templates/Admin/Pages/Processors/Edit/main.php:46
666
  msgctxt "admin"
667
+ msgid ""
668
+ "Name your processor wisely, the name of the processor is shown in the popup "
669
+ "of the processorbar. For example name it \"Google Analytics\" or "
670
+ "\"Advertisement\""
671
+ msgstr ""
672
+ "Geef je processor een verstandige naam, de naam van de processor wordt "
673
+ "weergegeven in de pop-up van de toestemmingsbalk. Noem het bijvoorbeeld "
674
+ "\"Google Analytics\" of \"Advertentie\""
675
 
676
+ #: Templates/Admin/Pages/Processors/Edit/main.php:51
677
  msgctxt "admin"
678
+ msgid "Description"
679
+ msgstr "Beschrijving"
680
 
681
+ #: Templates/Admin/Pages/Processors/Edit/main.php:53
682
  msgctxt "admin"
683
+ msgid "A short description of the processor"
684
+ msgstr "Een korte omschrijving van de verwerker"
685
 
686
+ #: Templates/Admin/Pages/Processors/Edit/main.php:54
687
+ #, php-format
688
  msgctxt "admin"
689
+ msgid ""
690
+ "Describe your processor script as thoroughly as possible. %1s will not work "
691
+ "here."
692
+ msgstr ""
693
+ "Beschrijf je verwerkingsscript zo uitvoerig mogelijk. %1s zal hier niet "
694
+ "werken."
695
 
696
+ #: Templates/Admin/Pages/Processors/Edit/main.php:59
697
  msgctxt "admin"
698
+ msgid "Code wrap"
699
+ msgstr "Sluit code in"
700
 
701
+ #: Templates/Admin/Pages/Processors/Edit/main.php:67
 
 
 
 
 
702
  msgctxt "admin"
703
+ msgid "Placement"
704
+ msgstr "Plaatsing"
705
 
706
+ #: Templates/Admin/Pages/Processors/Edit/main.php:76
707
  msgctxt "admin"
708
+ msgid "Code snippet"
709
+ msgstr "Code fragmenten"
710
 
711
+ #: Templates/Admin/Pages/Processors/Edit/main.php:84
712
  msgctxt "admin"
713
+ msgid "Save processor"
714
+ msgstr "Verwerker opslaan"
715
 
716
+ #: Templates/Admin/Pages/Processors/footer.php:17 Utils/Banner.php:25
 
717
  msgctxt "admin"
718
+ msgid "active"
719
+ msgstr "actief"
720
 
721
+ #: Templates/Admin/Pages/Processors/footer.php:17 Utils/Banner.php:25
722
  msgctxt "admin"
723
+ msgid "not active"
724
+ msgstr "niet actief"
725
 
726
+ #: Templates/Admin/Pages/Processors/footer.php:26
727
+ #: Templates/Admin/Pages/Settings/consent.php:17
728
  msgctxt "admin"
729
+ msgid "Consent bar"
730
+ msgstr "Instemmingsbalk"
731
 
732
+ #: Templates/Admin/Pages/Processors/footer.php:28
733
  msgctxt "admin"
734
+ msgid "Toggle consent bar"
735
+ msgstr "Toestemmingsbalk wisselen"
736
 
737
+ #: Templates/Admin/Pages/Processors/footer.php:29
738
  msgctxt "admin"
739
+ msgid ""
740
+ "You can disable the consent bar, this means that all data processors are "
741
+ "deactivated."
742
+ msgstr ""
743
+ "Je kan de instemmingsbalk uitschakelen, dit betekent dat alle "
744
+ "gegevensverwerkers zullen worden uitgeschakeld."
745
 
746
+ #: Templates/Admin/Pages/Processors/footer.php:29
747
+ #: WordPress/Ajax/UpdateProcessorMode.php:69
748
  msgctxt "admin"
749
+ msgid "To enable the consent bar, activate one (or more) data processor(s)."
750
+ msgstr ""
751
+ "Activeer een (of meer) gegevensverwerker(s) om de instemmingsbalk in te "
752
+ "schakelen."
753
 
754
+ #: Templates/Admin/Pages/Processors/footer.php:32
755
  msgctxt "admin"
756
+ msgid "Reset consent bar"
757
+ msgstr "Instemmingsbalk resetten"
758
 
759
+ #: Templates/Admin/Pages/Processors/footer.php:33
 
760
  msgctxt "admin"
761
+ msgid ""
762
+ "Want to reset the consent bar? This means that the consent bar will appear "
763
+ "again for all users"
764
+ msgstr ""
765
+ "Wil je de instemmingsbalk resetten? Dit betekent dat de instemmingsbalk "
766
+ "opnieuw wordt weergegeven voor alle gebruikers"
767
 
768
+ #: Templates/Admin/Pages/Processors/footer.php:35
769
  msgctxt "admin"
770
+ msgid "Reset"
771
+ msgstr "Herstellen"
772
 
773
+ #: Templates/Admin/Pages/Processors/footer.php:40
774
  msgctxt "admin"
775
+ msgid "Change the look"
776
+ msgstr "Verander het uiterlijk"
777
 
778
+ #: Templates/Admin/Pages/Processors/footer.php:41
779
  msgctxt "admin"
780
+ msgid "Change the colors of the consent bar and the settings."
781
+ msgstr "Verander de kleuren van de instemmingsbalk en de instellingen."
782
 
783
+ #: Templates/Admin/Pages/Processors/footer.php:44
 
 
784
  msgctxt "admin"
785
+ msgid "Change settings"
786
+ msgstr "Instellingen wijzigen"
787
 
788
+ #: Templates/Admin/Pages/Processors/footer.php:54 WordPress/Admin.php:115
789
+ #: WordPress/Admin.php:129 WordPress/Admin/Pages/PageDashboard.php:84
790
+ #: WordPress/Admin/Pages/PageSettings.php:46
791
  msgctxt "admin"
792
+ msgid "Settings"
793
+ msgstr "Instellingen"
794
 
795
+ #: Templates/Admin/Pages/Processors/item-required.php:11
796
  msgctxt "admin"
797
+ msgid "Not required"
798
+ msgstr "Niet vereist"
799
 
800
+ #: Templates/Admin/Pages/Processors/item.php:21
801
  msgctxt "admin"
802
+ msgid "never"
803
+ msgstr "nooit"
804
 
805
+ #: Templates/Admin/Pages/Processors/item.php:29
806
+ #, php-format
807
  msgctxt "admin"
808
+ msgid "(Last edited on %1s)"
809
+ msgstr "(Laatst bewerkt op %1s)"
810
 
811
+ #: Templates/Admin/Pages/Processors/item.php:42
812
  msgctxt "admin"
813
+ msgid "Edit"
814
+ msgstr "Bewerk"
815
 
816
+ #: Templates/Admin/Pages/Processors/item.php:48
817
+ #: Templates/Admin/Pages/Requests/main.php:116
818
  msgctxt "admin"
819
+ msgid "Delete"
820
+ msgstr "Verwijderen"
821
 
822
+ #: Templates/Admin/Pages/Processors/item.php:53
823
  msgctxt "admin"
824
+ msgid "Are you sure you want to delete this processor?"
825
+ msgstr "Weet je zeker dat je deze gegevensverwerker wil verwijderen?"
826
 
827
+ #: Templates/Admin/Pages/Processors/item.php:58
828
+ #: Templates/Admin/Pages/Requests/main.php:136 Utils/AdminForm.php:107
829
  msgctxt "admin"
830
+ msgid "Yes"
831
+ msgstr "Ja"
832
 
833
+ #: Templates/Admin/Pages/Processors/item.php:64
834
+ #: Templates/Admin/Pages/Requests/main.php:142
835
  msgctxt "admin"
836
+ msgid "Cancel"
837
+ msgstr "Annuleren"
838
 
839
+ #: Templates/Admin/Pages/Processors/main.php:30
840
+ #, php-format
841
  msgctxt "admin"
842
+ msgid "Active data processors (%1$s)"
843
+ msgstr "Active gegevensverwerkers (%1$s)"
 
 
 
 
 
844
 
845
+ #: Templates/Admin/Pages/Processors/main.php:36
846
+ #, php-format
847
  msgctxt "admin"
848
+ msgid "Disabled data processors (%1$s)"
849
+ msgstr "Uitgeschakelde gegevensverwerkers (%1$s)"
850
 
851
+ #: Templates/Admin/Pages/Processors/main.php:60
 
852
  msgctxt "admin"
853
+ msgid "Data processors"
854
+ msgstr "Gegevensverwerker"
855
 
856
+ #: Templates/Admin/Pages/Processors/main.php:63
857
  msgctxt "admin"
858
+ msgid "Add data processor"
859
+ msgstr "Gegevensverwerker toevoegen"
860
 
861
  #: Templates/Admin/Pages/Requests/Edit/main.php:19
862
+ #, php-format
863
  msgctxt "admin"
864
  msgid "This request was submitted by %1s on %2s."
865
  msgstr "Deze aanvraag was ingediend door %1s op %2s."
866
 
867
+ #: Templates/Admin/Pages/Requests/Edit/main.php:29
868
+ #, php-format
869
  msgctxt "admin"
870
+ msgid "The data wil be anonymized in %1s when no action is taken."
871
+ msgstr ""
872
+ "De gegevens worden geanonimiseerd in %1s als er geen actie wordt ondernomen."
873
 
874
+ #: Templates/Admin/Pages/Requests/Edit/main.php:33
875
+ #: Templates/Admin/Pages/Requests/Edit/main.php:37
876
  msgctxt "admin"
877
+ msgid "Cancel request"
878
+ msgstr "Annuleer aanvraag"
879
 
880
+ #: Templates/Admin/Pages/Requests/Edit/main.php:34
881
  msgctxt "admin"
882
+ msgid ""
883
+ "If you cancel this request, the user can not choose anymore which data he/"
884
+ "she/they would like to be anonymized. The user can submit a new request "
885
+ "though."
886
+ msgstr ""
887
+ "Als je deze aanvraag annuleert, kan de gebruiker niet meer kiezen welke "
888
+ "gegevens hij/zij/hen wil laten anonimiseren. De gebruiker kan wel een nieuwe "
889
+ "aanvraag indienen."
890
 
891
+ #: Templates/Admin/Pages/Requests/Edit/main.php:36
892
+ #: Templates/Admin/Pages/Requests/Edit/main.php:43
893
+ msgid "All requests have been processed."
894
+ msgstr "Alle aanvragen zijn verwerkt."
895
 
896
+ #: Templates/Admin/Pages/Requests/Edit/main.php:40
897
+ #: Templates/Admin/Pages/Requests/Edit/main.php:44
898
  msgctxt "admin"
899
+ msgid "Anonymize all"
900
+ msgstr "Alles anonimiseren"
901
 
902
+ #: Templates/Admin/Pages/Requests/Edit/main.php:41
 
903
  msgctxt "admin"
904
+ msgid "Anonymize all data that is found for this request."
905
+ msgstr "Anonimiseer alle gegevens die bij dit verzoek zijn gevonden."
906
 
907
+ #: Templates/Admin/Pages/Requests/Edit/main.php:61
908
+ #, php-format
909
  msgctxt "admin"
910
+ msgid "Request by %1s"
911
+ msgstr "Verzoek door %1s"
912
 
913
+ #: Templates/Admin/Pages/Requests/Edit/main.php:74
 
914
  msgctxt "admin"
915
+ msgid "Found data"
916
+ msgstr "Gevonden gegevens"
917
 
918
+ #: Templates/Admin/Pages/Requests/Edit/main.php:84
919
+ #, php-format
920
  msgctxt "admin"
921
+ msgid "%1s entries requested, %2s anonymized"
922
+ msgstr "%1s inzendingen aangevraagd, %2s geanonimiseerd"
923
 
924
+ #: Templates/Admin/Pages/Requests/Edit/main.php:99
925
  msgctxt "admin"
926
+ msgid "Actions"
927
+ msgstr "Acties"
928
 
929
+ #: Templates/Admin/Pages/Requests/main.php:15
930
+ #: Templates/Admin/Pages/Requests/main.php:44
931
  msgctxt "admin"
932
+ msgid "Active requests"
933
+ msgstr "Actieve aanvragen"
934
 
935
+ #: Templates/Admin/Pages/Requests/main.php:16
936
  msgctxt "admin"
937
+ msgid "No active requests to manage."
938
+ msgstr "Geen actieve aanvragen om te beheren."
939
 
940
+ #: Templates/Admin/Pages/Requests/main.php:20
 
 
941
  msgctxt "admin"
942
+ msgid "Expired requests"
943
+ msgstr "Verlopen aanvragen"
944
 
945
+ #: Templates/Admin/Pages/Requests/main.php:21
946
  msgctxt "admin"
947
+ msgid "No expired requests here."
948
+ msgstr "Geen verlopen aanvragen hier."
949
 
950
+ #: Templates/Admin/Pages/Requests/main.php:32
951
+ #: Templates/Admin/Pages/Requests/main.php:98
952
+ #: WordPress/Admin/Pages/PageRequests.php:39
953
  msgctxt "admin"
954
+ msgid "Requests"
955
+ msgstr "Aanvragen"
956
 
957
+ #: Templates/Admin/Pages/Requests/main.php:35
958
  msgctxt "admin"
959
+ msgid ""
960
+ "Here are the requests that are done via the request form. Requests are "
961
+ "anonymized automatically after 30 days when no action is taken."
962
+ msgstr ""
963
+ "Hier zijn de aanvragen die via het aanvragen formulier zijn gedaan. "
964
+ "Aanvragen worden automatisch geanonimiseerd na 30 dagen als er geen actie "
965
+ "wordt ondernomen."
966
 
967
+ #: Templates/Admin/Pages/Requests/main.php:90
968
  msgctxt "admin"
969
+ msgid "Date of request"
970
+ msgstr "Datum van aanvraag"
971
 
972
+ #: Templates/Admin/Pages/Requests/main.php:94
973
  msgctxt "admin"
974
+ msgid "IP Address"
975
+ msgstr "IP-adres"
976
 
977
+ #: Templates/Admin/Pages/Requests/main.php:109
978
+ #: Templates/Admin/Pages/Settings/Integrations/item-manage.php:25
979
  msgctxt "admin"
980
+ msgid "Manage"
981
+ msgstr "Beheren"
982
 
983
+ #: Templates/Admin/Pages/Requests/main.php:131
 
984
  msgctxt "admin"
985
+ msgid "Are you sure you want to delete this request?"
986
+ msgstr "Weet je zeker dat je deze aanvraag wilt verwijderen?"
987
 
988
+ #: Templates/Admin/Pages/Settings/Integrations/item-active.php:13
989
  msgctxt "admin"
990
+ msgid "Active"
991
+ msgstr "Actief"
992
 
993
+ #: Templates/Admin/Pages/Settings/Integrations/item-content.php:51
994
  msgctxt "admin"
995
+ msgid "Disable integration"
996
+ msgstr "Integratie deactiveren"
997
 
998
+ #: Templates/Admin/Pages/Settings/Integrations/item-form.php:28
999
+ #, php-format
1000
  msgctxt "admin"
1001
+ msgid "Form: %1s"
1002
+ msgstr "Formulier: %1s"
1003
 
1004
+ #: Templates/Admin/Pages/Settings/Integrations/item-form.php:31
1005
  msgctxt "admin"
1006
+ msgid "Activate for this form"
1007
+ msgstr "Activeren voor dit formulier"
1008
 
1009
+ #: Templates/Admin/Pages/Settings/Integrations/item-form.php:39
1010
  msgctxt "admin"
1011
+ msgid "Change the text and messages of the checkbox"
1012
+ msgstr "Verander de tekst en berichten van het selectievakje"
1013
 
1014
+ #: Templates/Admin/Pages/Settings/Integrations/item-form.php:43
1015
  msgctxt "admin"
1016
+ msgid "Change the text of the checkbox"
1017
+ msgstr "Verander de tekst van het selectievakje"
1018
 
1019
+ #: Templates/Admin/Pages/Settings/Integrations/item-form.php:51
1020
  msgctxt "admin"
1021
+ msgid "Error message"
1022
+ msgstr "Foutbericht"
1023
 
1024
+ #: Templates/Admin/Pages/Settings/Integrations/item-form.php:58
1025
  msgctxt "admin"
1026
+ msgid "Required message"
1027
+ msgstr "Vereist bericht"
1028
 
1029
+ #: Templates/Admin/Pages/Settings/Integrations/item-form.php:58
1030
  msgctxt "admin"
1031
+ msgid "HTML is not allowed because of technical limitations with tooltips."
1032
+ msgstr "HTML is niet toegestaan vanwege technische beperkingen met tooltips."
1033
 
1034
+ #: Templates/Admin/Pages/Settings/Integrations/item-manage.php:23
1035
  msgctxt "admin"
1036
+ msgid "Activate"
1037
+ msgstr "Activeer"
1038
 
1039
+ #: Templates/Admin/Pages/Settings/consent.php:26
1040
+ #: Templates/Admin/Pages/Settings/consent.php:39
1041
  msgctxt "admin"
1042
+ msgid "Bar Settings"
1043
+ msgstr "Balk-instellingen"
1044
 
1045
+ #: Templates/Admin/Pages/Settings/consent.php:33
1046
+ #, php-format
1047
  msgctxt "admin"
1048
+ msgid "Style your Consent Bar and Consent Pop-up at %1s."
1049
+ msgstr "Stijl je instemmingsbalk en instemming pop-up op %1s."
1050
 
1051
+ #: Templates/Admin/Pages/Settings/consent.php:33
1052
  msgctxt "admin"
1053
+ msgid "your Cookie Information account"
1054
+ msgstr "je Cookie Information-account"
1055
 
1056
+ #: Templates/Admin/Pages/Settings/consent.php:44
 
1057
  msgctxt "admin"
1058
+ msgid "Preview"
1059
+ msgstr "Voorbeeld"
1060
 
1061
+ #: Templates/Admin/Pages/Settings/consent.php:143
1062
  msgctxt "admin"
1063
+ msgid "Consent Pop-up Settings"
1064
+ msgstr "Instemming pop-up instellingen"
1065
 
1066
+ #: Templates/Admin/Pages/Settings/integrations.php:12
1067
+ #: WordPress/Admin/Pages/PageSettings.php:122
1068
  msgctxt "admin"
1069
+ msgid "Integrations"
1070
+ msgstr "Integraties"
1071
 
1072
+ #: Templates/Admin/Pages/Settings/integrations.php:13
1073
  msgctxt "admin"
1074
+ msgid ""
1075
+ "Integrate GDPR Consent Compliance into forms that you use on your website. "
1076
+ "By enabling the integrations a checkbox will be added. You can manage per "
1077
+ "integration what text to display."
1078
+ msgstr ""
1079
+ "Integreer GDPR instemming in de formulieren die op je site worden gebruikt. "
1080
+ "Door de integraties in te schakelen, wordt er een selectievakje toegevoegd. "
1081
+ "Je kan per integratie beheren welke tekst je wil weergeven."
1082
 
1083
+ #: Templates/Admin/Pages/Settings/main.php:81
 
1084
  msgctxt "admin"
1085
+ msgid "Need a refresh?"
1086
+ msgstr "Een opfrisser nodig?"
1087
 
1088
+ #: Templates/Admin/Pages/Settings/main.php:82
1089
  msgctxt "admin"
1090
+ msgid ""
1091
+ "Start the first time setup and we will give you a tour of the plugins "
1092
+ "features!"
1093
+ msgstr ""
1094
+ "Start de wizard en we geven je een rondleiding door de functies van de "
1095
+ "plugin!"
1096
 
1097
+ #: Templates/Admin/Pages/Settings/main.php:85
1098
  msgctxt "admin"
1099
+ msgid "Start the wizard"
1100
+ msgstr "Start de wizard"
1101
 
1102
+ #: Templates/Admin/Pages/Settings/policy.php:16
1103
+ #: Templates/Admin/Pages/Wizard/Steps/privacy.php:9
1104
+ #: Templates/Admin/Pages/Wizard/Steps/privacy.php:11
1105
+ #: WordPress/Admin/Pages/PageSettings.php:152
1106
  msgctxt "admin"
1107
+ msgid "Privacy policy"
1108
+ msgstr "Privacybeleid"
1109
 
1110
+ #: Templates/Admin/Pages/Settings/policy.php:21
1111
  msgctxt "admin"
1112
+ msgid "Privacy policy link settings"
1113
+ msgstr "Privacybeleid link instellingen"
1114
 
1115
+ #: Templates/Admin/Pages/Settings/policy.php:27
1116
+ #: WordPress/Admin/Pages/PageSettings.php:148
1117
  msgctxt "admin"
1118
+ msgid "Privacy policy link text"
1119
+ msgstr "Privacybeleid link tekst"
1120
 
1121
+ #: Templates/Admin/Pages/Settings/policy.php:35
1122
  msgctxt "admin"
1123
+ msgid "External privacy policy?"
1124
+ msgstr "Extern privacybeleid?"
1125
 
1126
+ #: Templates/Admin/Pages/Settings/policy.php:43
1127
+ #: WordPress/Admin/Pages/PageSettings.php:171
1128
  msgctxt "admin"
1129
+ msgid "Privacy policy page"
1130
+ msgstr "Privacybeleidspagina"
1131
 
1132
+ #: Templates/Admin/Pages/Settings/policy.php:49
1133
+ #: WordPress/Admin/Pages/PageSettings.php:180
1134
  msgctxt "admin"
1135
+ msgid "Privacy policy url"
1136
+ msgstr "Privacybeleid URL"
1137
 
1138
+ #: Templates/Admin/Pages/Settings/request.php:14
1139
+ #: WordPress/Admin/Pages/PageSettings.php:119
1140
  msgctxt "admin"
1141
+ msgid "Request User"
1142
+ msgstr "Vraag gebruiker op"
1143
 
1144
+ #: Templates/Admin/Pages/Settings/request.php:22
1145
+ #: Templates/Admin/Pages/Settings/request.php:29
1146
  msgctxt "admin"
1147
+ msgid "Request User data"
1148
+ msgstr "Vraag gebruikersdata op"
1149
 
1150
+ #: Templates/Admin/Pages/Settings/request.php:24
1151
  msgctxt "admin"
1152
+ msgid ""
1153
+ "Allow your site's visitors to request their data stored in the WordPress "
1154
+ "database (comments, WooCommerce orders etc.). Data found is send to their "
1155
+ "email address and allows them to put in an additional request to have the "
1156
+ "data anonymized."
1157
+ msgstr ""
1158
+ "Sta je sitebezoekers toe om hun data, die opgeslagen is in de WordPress-"
1159
+ "database (reacties, WooCommerce-bestellingen, etc.), op te vragen. Gevonden "
1160
+ "data wordt verstuurd naar hun e-mailadres en stelt ze in staat om een "
1161
+ "anonimiseringsverzoek in te dienen."
1162
 
1163
+ #: Templates/Admin/Pages/Wizard/Steps/ci.php:9
1164
+ #: WordPress/Admin/Pages/PageAdmin.php:31
 
1165
  msgctxt "admin"
1166
+ msgid "Cookie Information"
1167
+ msgstr "Cookie Informatie"
1168
 
1169
+ #: Templates/Admin/Pages/Wizard/Steps/ci.php:11
1170
+ #: Templates/Admin/Pages/Wizard/Steps/ci.php:57
1171
+ #, fuzzy
1172
+ #| msgctxt "admin"
1173
+ #| msgid "Try Cookie Information"
1174
  msgctxt "admin"
1175
+ msgid "Sign up for Cookie Information"
1176
+ msgstr "Probeer Cookie Information"
1177
 
1178
+ #: Templates/Admin/Pages/Wizard/Steps/ci.php:15
1179
  msgctxt "admin"
1180
+ msgid ""
1181
+ "Data privacy regulations have become much stricter. Upgrade your WP GDPR "
1182
+ "Compliance plugin to Business and secure your website’s GDPR cookie "
1183
+ "compliance."
1184
+ msgstr ""
1185
 
1186
+ #: Templates/Admin/Pages/Wizard/Steps/ci.php:18
1187
  msgctxt "admin"
1188
+ msgid " Features include:"
1189
+ msgstr ""
1190
 
1191
+ #: Templates/Admin/Pages/Wizard/Steps/ci.php:21
1192
+ #, fuzzy
1193
+ #| msgctxt "admin"
1194
+ #| msgid "Consent pop-up"
1195
  msgctxt "admin"
1196
+ msgid "Customizable consent pop-ups"
1197
+ msgstr "Instemming pop-up"
1198
 
1199
+ #: Templates/Admin/Pages/Wizard/Steps/ci.php:24
1200
  msgctxt "admin"
1201
+ msgid "Automated cookie policies"
1202
+ msgstr ""
 
 
1203
 
1204
+ #: Templates/Admin/Pages/Wizard/Steps/ci.php:27
1205
  msgctxt "admin"
1206
+ msgid "Integration to Google Products"
1207
+ msgstr ""
1208
 
1209
+ #: Templates/Admin/Pages/Wizard/Steps/ci.php:30
1210
  msgctxt "admin"
1211
+ msgid "And much more!"
1212
+ msgstr ""
1213
 
1214
+ #: Templates/Admin/Pages/Wizard/Steps/ci.php:35
1215
  msgctxt "admin"
1216
+ msgid "How are you planning to use this plugin?"
1217
+ msgstr ""
1218
 
1219
+ #: Templates/Admin/Pages/Wizard/Steps/ci.php:38
1220
+ #, fuzzy
1221
+ #| msgctxt "admin"
1222
+ #| msgid "Explore all business features"
1223
  msgctxt "admin"
1224
+ msgid "For a business website"
1225
+ msgstr "Ontdek alle zakelijke functies"
1226
 
1227
+ #: Templates/Admin/Pages/Wizard/Steps/ci.php:46
1228
  msgctxt "admin"
1229
+ msgid "For my personal website"
1230
+ msgstr ""
 
 
1231
 
1232
+ #: Templates/Admin/Pages/Wizard/Steps/ci.php:55
1233
  msgctxt "admin"
1234
+ msgid ""
1235
+ "Great! We recommend upgrading to the business version of Cookie Information "
1236
+ "for the best GDPR compliance possible, especially when operating within the "
1237
+ "EU."
1238
+ msgstr ""
1239
 
1240
+ #: Templates/Admin/Pages/Wizard/Steps/ci.php:56
1241
  msgctxt "admin"
1242
+ msgid ""
1243
+ "Awesome! For personal use it might be worth it to upgrade. Dont hesitate to "
1244
+ "check out the business features. There is a 30 day free trial to get you "
1245
+ "started!"
1246
+ msgstr ""
1247
 
1248
+ #: Templates/Admin/Pages/Wizard/Steps/consent.php:9
1249
  msgctxt "admin"
1250
+ msgid "Setup first consent"
1251
+ msgstr "Eerste toestemming instellen"
 
 
1252
 
1253
+ #: Templates/Admin/Pages/Wizard/Steps/consent.php:11
1254
  msgctxt "admin"
1255
+ msgid "Setup your first consent"
1256
+ msgstr "Stel je eerste instemming in"
1257
 
1258
+ #: Templates/Admin/Pages/Wizard/Steps/consent.php:13
1259
  msgctxt "admin"
1260
+ msgid ""
1261
+ "Most websites use services and plugins for statistical and marketing that "
1262
+ "require the user's consent to comply with GDPR. Here you can add the first "
1263
+ "of the services you use. You can always change this later."
1264
+ msgstr ""
1265
+ "De meeste sites gebruiken services en plugins voor statistieken en marketing "
1266
+ "die toestemming van de gebruiker nodig hebben om te voldoen aan de eisen van "
1267
+ "GDPR. Hier kun je de eerste services die je gebruikt toevoegen. Je kunt dit "
1268
+ "later altijd wijzigen."
1269
 
1270
+ #: Templates/Admin/Pages/Wizard/Steps/done.php:12
1271
  msgctxt "admin"
1272
+ msgid "Done"
1273
+ msgstr "Gereed"
1274
 
1275
+ #: Templates/Admin/Pages/Wizard/Steps/done.php:14
1276
  msgctxt "admin"
1277
+ msgid "That's it!"
1278
+ msgstr "Dat is het!"
1279
 
1280
+ #: Templates/Admin/Pages/Wizard/Steps/done.php:16
1281
  msgctxt "admin"
1282
+ msgid ""
1283
+ "That's it, we're done. We just setup your site and now you are more "
1284
+ "compliant already. Next steps are to check if all your consents are setup "
1285
+ "and check your pages."
1286
+ msgstr ""
1287
+ "Dat was het, we zijn klaar. We hebben nog maar net je site ingesteld en je "
1288
+ "site voldoet nu al meer aan de GDPR. De volgende stappen het controleren of "
1289
+ "al je toestemmingen zijn ingesteld en het controleren van je pagina's."
1290
 
1291
+ #: Templates/Admin/Pages/Wizard/Steps/done.php:19
1292
  msgctxt "admin"
1293
+ msgid "Add a new consent"
1294
+ msgstr "Nieuwe toestemming toevoegen"
1295
 
1296
+ #: Templates/Admin/Pages/Wizard/Steps/done.php:22
1297
  msgctxt "admin"
1298
+ msgid "Style your consent bar"
1299
+ msgstr "Stijl je instemmingsbalk"
1300
 
1301
+ #: Templates/Admin/Pages/Wizard/Steps/done.php:25
1302
  msgctxt "admin"
1303
+ msgid "Manage your Privacy Policy page"
1304
+ msgstr "Je privacybeleidspagina beheren"
1305
 
1306
+ #: Templates/Admin/Pages/Wizard/Steps/privacy.php:13
1307
  msgctxt "admin"
1308
+ msgid ""
1309
+ "You are required to have a privacy policy on your website to comply with "
1310
+ "GDPR guidelines. Here you can add a link from your consent pop to your "
1311
+ "privacy policy."
1312
+ msgstr ""
1313
+ "Conform de GDPR-richtlijnen, ben je verplicht om een privacybeleidspagina op "
1314
+ "je website te hebben. Hier kun je een link toevoegen van je consentbalk naar "
1315
+ "je privacybeleid."
1316
 
1317
+ #: Templates/Admin/Pages/Wizard/Steps/welcome.php:13
1318
  msgctxt "admin"
1319
+ msgid "Welcome"
1320
+ msgstr "Welkom"
1321
 
1322
+ #: Templates/Admin/Pages/Wizard/Steps/welcome.php:15
1323
  msgctxt "admin"
1324
+ msgid "Welcome to Cookie Information"
1325
+ msgstr "Welkom bij Cookie Information"
1326
 
1327
+ #: Templates/Admin/Pages/Wizard/Steps/welcome.php:18
1328
  msgctxt "admin"
1329
+ msgid ""
1330
+ "Thank you very much for choosing this plugin to help you with your GDPR "
1331
+ "Compliance. In this wizard we help you to setup the plugin so you can "
1332
+ "quickly start with making your website more compliant."
1333
+ msgstr ""
1334
+ "Bedankt dat je hebt gekozen voor deze plugin om je te helpen te voldoen aan "
1335
+ "de GDPR. In deze wizard helpen we je om te plugin in te stellen, zodat je "
1336
+ "snel aan de slag kan om je website meer te laten voldoen aan de GDPR."
1337
 
1338
+ #: Templates/Admin/Pages/Wizard/Steps/welcome.php:26
1339
  msgctxt "admin"
1340
+ msgid "We have some news to share"
1341
+ msgstr "We willen wat nieuws met je delen"
 
 
 
 
1342
 
1343
+ #: Templates/Admin/Pages/Wizard/Steps/welcome.php:30
1344
  msgctxt "admin"
1345
+ msgid ""
1346
+ "We are happy to announce that WP GDPR Compliance has been acquired by the "
1347
+ "leading Consent Management Platform, Cookie Information. This will create "
1348
+ "tremendous benefits for all of the more than 200.000 websites using this "
1349
+ "plugin."
1350
+ msgstr ""
1351
+ "We zijn blij om bekend te maken dat WP GDPR Compliance is overgenomen door "
1352
+ "het toonaangevende Consent Management Platform, Cookie Information. Dit zal "
1353
+ "enorme voordelen geven voor alle van de meer dan 200.000 sites die deze "
1354
+ "plugin gebruiken."
1355
 
1356
+ #: Templates/Admin/Pages/Wizard/Steps/welcome.php:31
1357
  msgctxt "admin"
1358
+ msgid ""
1359
+ "You will get free upgrades to this plugin, and we will also expand the "
1360
+ "plugin with features targeted to business users that allow you to easier "
1361
+ "comply with GDPR. Planned features include cookie scanning, language support "
1362
+ "for 40+ languages, and much more. If you want to get a taste of what you can "
1363
+ "expect, you can try the full suite of Cookie Information for 30 days free "
1364
+ "and without a credit card."
1365
+ msgstr ""
1366
+ "Je krijgt gratis upgrades voor deze plugin, en we zullen de plugin ook "
1367
+ "uitbreiden met functies die gericht zijn op zakelijke gebruikers en waarmee "
1368
+ "je gemakkelijker aan de GDPR kunt voldoen. Geplande functies zijn onder meer "
1369
+ "cookie scanning, taalondersteuning voor 40+ talen, en nog veel meer. Als je "
1370
+ "een voorproefje wilt krijgen van wat je kunt verwachten, kun je de volledige "
1371
+ "suite van Cookie Information 30 dagen gratis en zonder credit card "
1372
+ "uitproberen."
1373
 
1374
+ #: Templates/Admin/Pages/Wizard/Steps/welcome.php:35
1375
  msgctxt "admin"
1376
+ msgid "Try Cookie Information"
1377
+ msgstr "Probeer Cookie Information"
 
 
 
 
 
 
 
 
1378
 
1379
+ #: Templates/Admin/Pages/Wizard/main.php:20
1380
  msgctxt "admin"
1381
+ msgid ""
1382
+ "First time setup wizard - Cookie Information | Free WP GDPR Consent Plugin"
1383
+ msgstr ""
1384
+ "Eerste keer instellen Wizard - Cookie information | Gratis WP GDPR "
1385
+ "instemming plugin"
1386
 
1387
+ #: Templates/Admin/Pages/Wizard/main.php:47
1388
  msgctxt "admin"
1389
+ msgid "Previous step"
1390
+ msgstr "Vorige stap"
1391
 
1392
+ #: Templates/Admin/Pages/Wizard/main.php:56
1393
  msgctxt "admin"
1394
+ msgid "Next step"
1395
+ msgstr "Volgende stap"
1396
 
1397
+ #: Templates/Admin/Pages/Wizard/main.php:61
1398
  msgctxt "admin"
1399
+ msgid "Finish wizard"
1400
+ msgstr "Wizard voltooien"
1401
 
1402
+ #: Templates/Admin/Pages/Wizard/main.php:78
1403
  msgctxt "admin"
1404
+ msgid "I want to do this later"
1405
+ msgstr "Ik wil dit later doen"
 
 
 
 
1406
 
1407
+ #: Templates/Admin/Pages/dashboard.php:57
1408
+ msgctxt "admin"
1409
+ msgid "F jS, Y"
1410
+ msgstr "F jS, Y"
1411
 
1412
+ #: Templates/Admin/Pages/dashboard.php:66
1413
+ msgctxt "admin"
1414
+ msgid "Dashboard navigation"
1415
+ msgstr "Dashboardnavigatie"
1416
 
1417
+ #: Templates/Admin/Wizard/Intro.php:10
1418
+ msgctxt "admin"
1419
+ msgid ""
1420
+ "We will significantly extend the features of this plugin to protect our "
1421
+ "community against the increasing pressure from Data Protection Agencies, "
1422
+ "giving hefty fines for non-compliant cookie consents. To enable business "
1423
+ "users to comply with GDPR, we will offer a business solution that easily "
1424
+ "allows you to become compliant and avoid fines."
1425
+ msgstr ""
1426
+ "We zullen de functies van deze plugin aanzienlijk uitbreiden om onze "
1427
+ "community te beschermen tegen de toenemende druk van gegevensbescherming "
1428
+ "instanties, waarbij hoge boetes worden opgelegd voor niet-conforme cookie "
1429
+ "instemmingen. Om zakelijke gebruikers in staat te stellen te voldoen aan de "
1430
+ "GDPR, bieden we een zakelijke oplossing waarmee je eenvoudig compliant kunt "
1431
+ "worden en boetes kunt voorkomen."
1432
 
1433
+ #: Templates/Admin/Wizard/Intro.php:12
1434
+ #, fuzzy, php-format
1435
+ #| msgctxt "admin"
1436
+ #| msgid ""
1437
+ #| "If you run a business within the EU, we strongly recommend changing to "
1438
+ #| "the business version to secure 100% compliance. Features include "
1439
+ #| "customizable consent pop-ups, automated cookie policies, integration to "
1440
+ #| "Google Product, and much more."
1441
  msgctxt "admin"
1442
+ msgid ""
1443
+ "If you run a business within the EU, we strongly recommend changing to the "
1444
+ "business version to secure 100% compliance. Features include customizable "
1445
+ "consent pop-ups, automated cookie policies, integration to Google Products, "
1446
+ "and much more."
1447
+ msgstr ""
1448
+ "Als je een bedrijf hebt binnen de EU, raden we je ten zeerste aan over te "
1449
+ "stappen naar de zakelijke versie om 100% naleving te garanderen. Functies "
1450
+ "omvatten aanpasbare pop-ups voor toestemming, Automatisch gegenereerd "
1451
+ "cookiebeleid, integratie met Google product en nog veel meer."
1452
 
1453
+ #: Templates/Admin/Wizard/Intro.php:14
1454
  msgctxt "admin"
1455
+ msgid ""
1456
+ "If you want to get a taste of what you can expect, you can try the full "
1457
+ "suite of Cookie Information for 30 days free"
1458
+ msgstr ""
1459
+ "Als je een voorproefje wilt krijgen van wat je kan verwachten, kan je het "
1460
+ "volledige pakket Cookie Information 30 dagen gratis uitproberen"
1461
 
1462
+ #: Templates/Admin/Wizard/Intro.php:16
1463
+ msgctxt "admin"
1464
+ msgid "It appears you have not yet completed the first time setup."
1465
+ msgstr "Het lijkt erop dat je de installatiewizard nog niet hebt afgerond."
 
 
1466
 
1467
+ #: Templates/Admin/Wizard/Intro.php:17
1468
  msgctxt "admin"
1469
+ msgid "Let's get you all set up!"
1470
+ msgstr "Laten we beginnen!"
1471
 
1472
+ #: Templates/Admin/header.php:25
1473
+ msgctxt "admin"
1474
+ msgid "Plugin help"
1475
+ msgstr "Pluginhulp"
 
 
1476
 
1477
+ #: Templates/Admin/header.php:28
1478
  msgctxt "admin"
1479
+ msgid "About"
1480
+ msgstr "Over"
1481
 
1482
+ #: Templates/Admin/header.php:31
1483
  msgctxt "admin"
1484
+ msgid "FAQ"
1485
+ msgstr "FAQ"
1486
 
1487
+ #: Templates/Admin/header.php:34
1488
+ msgctxt "admin"
1489
+ msgid "Support"
1490
+ msgstr "Ondersteuning"
1491
 
1492
+ #: Templates/Admin/modal.php:12
1493
+ #, fuzzy
1494
+ #| msgctxt "admin"
1495
+ #| msgid "Try Cookie Information"
1496
  msgctxt "admin"
1497
+ msgid "Sign up for Cookie information"
1498
+ msgstr "Probeer Cookie Information"
1499
 
1500
+ #: Templates/Admin/modal.php:14 Templates/Front/Consent/modal.php:17
1501
+ msgid "Close popup"
1502
+ msgstr "Pop-up sluiten"
 
1503
 
1504
+ #: Templates/Admin/modal.php:19
1505
+ msgid "Back"
1506
+ msgstr ""
 
1507
 
1508
+ #: Templates/Admin/modal.php:27
1509
+ msgctxt "admin"
1510
  msgid ""
1511
+ "GDPR requrirements are different based on who you are. Please chose below "
1512
+ "and we will make sure you comply to GDPR."
1513
  msgstr ""
 
 
1514
 
1515
+ #: Templates/Admin/modal.php:35
1516
  msgctxt "admin"
1517
+ msgid "Is this your personal site?"
1518
+ msgstr ""
1519
 
1520
+ #: Templates/Admin/modal.php:39
1521
  msgctxt "admin"
1522
+ msgid "Keep using the plugin for free"
1523
+ msgstr ""
 
 
 
 
 
 
 
 
1524
 
1525
+ #: Templates/Admin/modal.php:48
 
1526
  msgctxt "admin"
1527
+ msgid "Is this your business site?"
1528
+ msgstr ""
1529
 
1530
+ #: Templates/Admin/modal.php:52
1531
+ #, fuzzy
1532
+ #| msgid "Registered on"
1533
  msgctxt "admin"
1534
+ msgid "Register account"
1535
+ msgstr "Geregistreerd op"
 
 
 
 
 
1536
 
1537
+ #: Templates/Admin/modal.php:63
1538
+ #, fuzzy
1539
+ #| msgctxt "admin"
1540
+ #| msgid "Try Cookie Information"
1541
  msgctxt "admin"
1542
+ msgid "Signup for Cookie Information"
1543
+ msgstr "Probeer Cookie Information"
1544
 
1545
+ #: Templates/Admin/page-after.php:8
1546
+ #, php-format
1547
  msgctxt "admin"
1548
+ msgid "Powered by %1s"
1549
+ msgstr "Mogelijk gemaakt door %1s"
1550
 
1551
+ #: Templates/Admin/page-after.php:8
1552
  msgctxt "admin"
1553
+ msgid "Cookie Information, Consent Management Platform"
1554
+ msgstr "Cookie Information, platform voor instemmingsbeheer"
1555
 
1556
+ #: Templates/Email/access_request.php:14
1557
+ #, php-format
1558
+ msgid "You have requested to access your data on %1s."
1559
+ msgstr "Je hebt toegang tot jouw data verzocht op %1s."
1560
 
1561
+ #: Templates/Email/access_request.php:16
1562
+ #, php-format
1563
+ msgid "Please visit this %1s to view the data linked to the email address %2s."
1564
+ msgstr "Bezoek deze %1s om de data gekoppeld met e-mailadres %2s te bekijken."
1565
 
1566
+ #: Templates/Email/access_request.php:18
1567
+ msgid ""
1568
+ "This page is available for 24 hours and can only be reached from the same "
1569
+ "device, IP address and browser session you requested from."
1570
+ msgstr ""
1571
+ "Deze pagina is 24 uur beschikbaar en kan alleen benaderd worden vanaf "
1572
+ "hetzelfde apparaat, IP-adres en browsersessie waarvandaan je het verzoek "
1573
+ "gedaan hebt."
1574
 
1575
+ #: Templates/Email/access_request.php:20
1576
+ #, php-format
1577
+ msgid ""
1578
+ "If your link is invalid you can fill in a new request after 24 hours: %1s."
1579
+ msgstr ""
1580
+ "Indien je link ongeldig is, kun je een nieuw verzoek indienen na 24 uur: %1s."
1581
 
1582
+ #: Templates/Email/delete_request.php:12
1583
+ #, php-format
1584
+ msgid "You have received a new anonymize request on %1s."
1585
+ msgstr "Je hebt een nieuw anonimiseringsverzoek ontvangen op %1s."
1586
+
1587
+ #: Templates/Email/delete_request.php:14
1588
+ #, php-format
1589
+ msgid "You can manage this request in the admin panel: %1s"
1590
+ msgstr "Je kunt dit verzoek beheren in het beheerscherm: %1s"
1591
+
1592
+ #: Templates/Front/Consent/modal-content-option.php:19
1593
+ msgid "Enable?"
1594
+ msgstr "Inschakelen?"
1595
+
1596
+ #: Templates/Front/Consent/modal-content.php:27
1597
+ msgid "(no title)"
1598
+ msgstr "(geen titel)"
1599
+
1600
+ #: Templates/Front/Consent/modal-content.php:63
1601
+ msgid "Powered by Cookie Information"
1602
+ msgstr "Mogelijk gemaakt door Cookie Information"
1603
+
1604
+ #: Templates/Front/Consent/modal.php:16
1605
+ msgid "Privacy settings"
1606
+ msgstr "Privacy-instellingen"
1607
+
1608
+ #: Templates/Front/Form/AccessRequest/main.php:7
1609
+ #: WordPress/Shortcodes/RequestAccessForm.php:56
1610
+ msgid "Your Email Address"
1611
+ msgstr "Jouw e-mailadres"
1612
 
1613
+ #: Templates/Front/Form/AccessRequest/main.php:9
1614
+ #: WordPress/Shortcodes/RequestAccessForm.php:58
1615
+ msgid "Send"
1616
+ msgstr "Verstuur"
1617
+
1618
+ #: Utils/AdminForm.php:106
1619
  msgctxt "admin"
1620
+ msgid "No"
1621
+ msgstr "Nee"
1622
 
1623
+ #: Utils/AdminForm.php:116
1624
  msgctxt "admin"
1625
+ msgid "Disable"
1626
+ msgstr "Deactiveren"
1627
 
1628
+ #: Utils/AdminForm.php:117
1629
  msgctxt "admin"
1630
+ msgid "Enable"
1631
+ msgstr "Inschakelen"
1632
 
1633
+ #: Utils/AdminForm.php:454
1634
  msgctxt "admin"
1635
+ msgid "Save settings"
1636
+ msgstr "Instellingen opslaan"
1637
 
1638
+ #: Utils/AdminHelper.php:265
1639
  msgctxt "admin"
1640
+ msgid "Note"
1641
+ msgstr "Opmerking"
1642
 
1643
+ #: Utils/AdminHelper.php:266
1644
  msgctxt "admin"
1645
+ msgid "No HTML allowed due to plugin limitations."
1646
+ msgstr "Geen HTML toegestaan vanwege pluginbeperkingen."
1647
 
1648
+ #: Utils/AdminHelper.php:289
1649
+ #, php-format
1650
+ msgid "You can use: %1s"
1651
+ msgstr "Je kunt gebruik maken van: %1s"
1652
+
1653
+ #: Utils/Anonymous.php:32
1654
  msgctxt "admin"
1655
+ msgid "Anonymous"
1656
+ msgstr "Anoniem"
1657
 
1658
+ #: Utils/Banner.php:16
1659
+ #, php-format
1660
  msgctxt "admin"
1661
+ msgid "Consent pop-up is %1s"
1662
+ msgstr "Instemming pop-up is %1s"
1663
 
1664
+ #: Utils/Banner.php:34
1665
+ msgctxt "admin"
1666
+ msgid "business"
1667
+ msgstr "zakelijk"
1668
 
1669
+ #: Utils/Banner.php:34
1670
+ msgctxt "admin"
1671
+ msgid "free"
1672
+ msgstr "gratis"
1673
 
1674
+ #: Utils/Banner.php:44
1675
+ #, php-format
1676
+ msgctxt "admin"
1677
+ msgid "Currently in %1s mode"
1678
+ msgstr "Momenteel in %1s modus"
1679
 
1680
+ #: Utils/Elements.php:47
1681
+ #, php-format
1682
+ msgctxt "admin"
1683
+ msgid "<strong>ERROR</strong>: %1$s"
1684
+ msgstr "<strong>FOUT</strong>: %1$s"
1685
 
1686
+ #: Utils/Elements.php:148
1687
+ #, php-format
1688
  msgctxt "admin"
1689
+ msgid "<strong>NOTE:</strong> %1$s"
1690
+ msgstr "<strong>Opmerking:</strong> %1$s"
1691
 
1692
+ #: Utils/FormHandler.php:28
1693
+ msgctxt "admin"
1694
+ msgid "Consent could not be found."
1695
+ msgstr "Instemming niet gevonden."
1696
 
1697
+ #: Utils/FormHandler.php:35
1698
+ msgctxt "admin"
1699
+ msgid "Something went wrong."
1700
+ msgstr "Er is iets fout gegaan."
1701
 
1702
+ #: Utils/FormHandler.php:40
1703
  msgctxt "admin"
1704
+ msgid "Consent deleted."
1705
+ msgstr "Toestemming verwijderd."
1706
 
1707
+ #: Utils/Integration.php:75
1708
+ msgid "Please accept the privacy policy"
1709
+ msgstr "Accepteer het privacybeleid"
1710
 
1711
  #: Utils/Integration.php:76
1712
  msgid "You need to accept this checkbox"
1713
  msgstr "Je moet dit selectievakje accepteren"
1714
 
1715
+ #: Utils/Redirect.php:18
1716
+ #, php-format
1717
+ msgid "Redirecting to %s"
1718
+ msgstr "Doorsturen naar %s"
1719
 
1720
+ #: Utils/Request.php:107
1721
+ #, php-format
1722
+ msgid "No data found with email address%1s."
1723
+ msgstr "Geen gebruikers gevonden met e-mailadres%1s."
1724
 
1725
+ #: Utils/Request.php:196
1726
+ msgctxt "admin"
1727
+ msgid "0 seconds"
1728
+ msgstr "0 seconden"
1729
 
1730
+ #: Utils/Request.php:233
1731
+ #, php-format
1732
+ msgctxt "admin"
1733
+ msgid "1 year"
1734
+ msgid_plural "%1s years"
1735
+ msgstr[0] "1 jaar"
1736
+ msgstr[1] "%1s jaren"
1737
 
1738
+ #: Utils/Request.php:237
1739
+ #, php-format
1740
+ msgctxt "admin"
1741
+ msgid "1 month"
1742
+ msgid_plural "%1s months"
1743
+ msgstr[0] "1 maand"
1744
+ msgstr[1] "%1s maanden"
1745
 
1746
+ #: Utils/Request.php:241
1747
+ #, php-format
1748
+ msgctxt "admin"
1749
+ msgid "1 day"
1750
+ msgid_plural "%1s days"
1751
+ msgstr[0] "1 dag"
1752
+ msgstr[1] "%1s dagen"
1753
 
1754
+ #: Utils/Request.php:245
1755
+ #, php-format
1756
+ msgctxt "admin"
1757
+ msgid "1 hour"
1758
+ msgid_plural "%1s hours"
1759
+ msgstr[0] "1 uur"
1760
+ msgstr[1] "%1s uur"
1761
 
1762
+ #: Utils/Request.php:258
1763
+ #, php-format
1764
+ msgctxt "admin"
1765
+ msgid "%1s and %2s"
1766
+ msgstr "%1s en %2s"
1767
 
1768
+ #: Utils/Wizard.php:124
1769
+ msgctxt "admin"
1770
+ msgid "First time setup Wizard"
1771
+ msgstr ""
1772
 
1773
+ #: Utils/Wizard.php:125
1774
+ #, php-format
1775
+ msgctxt "admin"
1776
+ msgid "<strong>Hey!</strong> Thank you for installing %s!"
1777
+ msgstr ""
1778
 
1779
+ #: Utils/Wizard.php:125
1780
+ #, fuzzy, php-format
1781
+ #| msgctxt "admin"
1782
+ #| msgid ""
1783
+ #| "To update the settings and read about what this plugin can do, go to our "
1784
+ #| "%1s page."
1785
+ msgctxt "admin"
1786
+ msgid "To setup the plugin and see what this plugin can do, go to our %1s."
1787
+ msgstr ""
1788
+ "Ga naar onze %1s pagina om de instellingen bij te werken en te lezen wat "
1789
+ "deze plug-in kan doen."
1790
 
1791
+ #: Utils/Wizard.php:132
1792
+ msgctxt "admin"
1793
+ msgid "WP GDPR Compliance will become even better!"
1794
+ msgstr "WP GDPR Compliance wordt alleen maar beter!"
1795
 
1796
+ #: WordPress/Admin.php:115
1797
+ #, php-format
1798
+ msgctxt "admin"
1799
+ msgid "%1s Settings"
1800
+ msgstr "%1s Instellingen"
1801
 
1802
+ #: WordPress/Admin.php:131
1803
+ #, php-format
1804
+ msgctxt "admin"
1805
+ msgid "<strong>Awesome!</strong> You have activated the %1s plugin."
1806
+ msgstr "<strong>Geweldig!</strong> Je hebt de plugin %1s geactiveerd."
1807
 
1808
+ #: WordPress/Admin.php:131
1809
+ #, php-format
1810
+ msgctxt "admin"
1811
+ msgid ""
1812
+ "To update the settings and read about what this plugin can do, go to our %1s "
1813
+ "page."
1814
+ msgstr ""
1815
+ "Ga naar onze %1s pagina om de instellingen bij te werken en te lezen wat "
1816
+ "deze plug-in kan doen."
1817
 
1818
+ #: WordPress/Admin/Actions.php:38
1819
+ msgctxt "admin"
1820
+ msgid "Consent updated."
1821
+ msgstr "Instemming geüpdatet."
1822
 
1823
+ #: WordPress/Admin/Pages/PageDashboard.php:78
1824
  msgctxt "admin"
1825
+ msgid "Consent pop-up"
1826
+ msgstr "Instemming pop-up"
1827
 
1828
+ #: WordPress/Admin/Pages/PageDashboard.php:80
1829
+ msgctxt "admin"
1830
+ msgid ""
1831
+ "Manually add data processors to the consent pop-up or let the business "
1832
+ "version do it automatically. This allows visitors to choose which services "
1833
+ "they will give their consent to."
1834
+ msgstr ""
1835
+ "Voeg handmatig gegevensverwerkers toe aan de pop-up voor toestemming of laat "
1836
+ "de zakelijke versie dit automatisch doen. Hierdoor kunnen bezoekers kiezen "
1837
+ "voor welke diensten ze toestemming geven."
1838
 
1839
+ #: WordPress/Admin/Pages/PageDashboard.php:86
1840
+ msgctxt "admin"
1841
+ msgid ""
1842
+ "Change settings of the Privacy Policy, Consent Bar, Request User data form "
1843
+ "and Integrations."
1844
+ msgstr ""
1845
+ "Wijzig de instellingen van het privacybeleid, de instemmingsbalk, het "
1846
+ "gegevens aanvraagformulier en de integraties."
1847
 
1848
+ #: WordPress/Admin/Pages/PageDashboard.php:90
1849
+ msgctxt "admin"
1850
+ msgid "Business"
1851
+ msgstr "Zakelijk"
1852
 
1853
+ #: WordPress/Admin/Pages/PageRequests.php:51
1854
+ #, php-format
1855
+ msgctxt "admin"
1856
+ msgid "1 request to process"
1857
+ msgid_plural "%1s requests to process"
1858
+ msgstr[0] "1 aanvraag om te verwerken"
1859
+ msgstr[1] "%1s aanvragen om te verwerken"
1860
 
1861
+ #: WordPress/Admin/Pages/PageRequests.php:126
1862
+ msgctxt "admin"
1863
+ msgid "Request cancelled."
1864
+ msgstr "Aanvraag geannuleerd."
1865
 
1866
+ #: WordPress/Admin/Pages/PageRequests.php:153
1867
+ #: WordPress/Admin/Pages/PageRequests.php:160
1868
+ #: WordPress/Ajax/DeleteRequest.php:44 WordPress/Ajax/ProcessRequest.php:58
1869
+ msgctxt "admin"
1870
+ msgid "Unable to locate request."
1871
+ msgstr "Kan aanvraag niet vinden."
1872
 
1873
+ #: WordPress/Admin/Pages/PageSettings.php:113
1874
+ msgctxt "admin"
1875
+ msgid "Privacy Policy"
1876
+ msgstr "Privacybeleid"
1877
 
1878
+ #: WordPress/Admin/Pages/PageSettings.php:116
1879
+ msgctxt "admin"
1880
+ msgid "Consent Bar"
1881
+ msgstr "Instemming balk"
1882
 
1883
+ #: WordPress/Admin/Pages/PageSettings.php:153
1884
+ #, php-format
1885
+ msgctxt "admin"
1886
+ msgid "This text will be used to replace the %1s variable."
1887
+ msgstr "Deze tekst zal worden gebruikt om het %1s variabelen te vervangen."
1888
 
1889
+ #: WordPress/Admin/Pages/PageSettings.php:159
1890
+ msgctxt "admin"
1891
+ msgid "Use external privacy policy"
1892
+ msgstr "Gebruik een extern privacybeleid"
1893
 
1894
+ #: WordPress/Admin/Pages/PageSettings.php:164
1895
+ msgctxt "admin"
1896
+ msgid ""
1897
+ "Enabling this will allow you to use an external Privacy Policy instance."
1898
+ msgstr ""
1899
+ "Wanneer je dit inschakelt, kun je een externe privacybeleidpagina gebruiken."
1900
 
1901
+ #: WordPress/Admin/Pages/PageSettings.php:174
1902
+ msgctxt "admin"
1903
+ msgid "Select the page where the Privacy Policy is written."
1904
+ msgstr "Selecteer de pagina waar het privacybeleid is geschreven."
1905
 
1906
+ #: WordPress/Admin/Pages/PageSettings.php:184
1907
+ msgctxt "admin"
1908
+ msgid "Enter the url where the Privacy Policy is written"
1909
+ msgstr "Voer de url in waar het privacybeleid is geschreven"
1910
+
1911
+ #: WordPress/Admin/Pages/PageSettings.php:194
1912
+ #: WordPress/Admin/Pages/PageSettings.php:306
1913
+ msgctxt "admin"
1914
+ msgid "Explanation"
1915
+ msgstr "Uitleg"
1916
+
1917
+ #: WordPress/Admin/Pages/PageSettings.php:203
1918
+ msgctxt "admin"
1919
+ msgid "Font"
1920
+ msgstr "Lettertype"
1921
+
1922
+ #: WordPress/Admin/Pages/PageSettings.php:213
1923
+ msgctxt "admin"
1924
+ msgid "Google Fonts API key"
1925
+ msgstr "Google Fonts API-sleutel"
1926
+
1927
+ #: WordPress/Admin/Pages/PageSettings.php:217
1928
+ msgctxt "admin"
1929
+ msgid "Google fonts API key"
1930
+ msgstr "Google Fonts API-sleutel"
1931
+
1932
+ #: WordPress/Admin/Pages/PageSettings.php:223
1933
+ msgctxt "admin"
1934
+ msgid "Position"
1935
+ msgstr "Positie"
1936
+
1937
+ #: WordPress/Admin/Pages/PageSettings.php:233
1938
+ msgctxt "admin"
1939
+ msgid "Animation"
1940
+ msgstr "Animatie"
1941
+
1942
+ #: WordPress/Admin/Pages/PageSettings.php:243
1943
+ msgctxt "admin"
1944
+ msgid "Accept button text"
1945
+ msgstr "Accepteren knop tekst"
1946
+
1947
+ #: WordPress/Admin/Pages/PageSettings.php:252
1948
+ msgctxt "admin"
1949
+ msgid "Settings button text"
1950
+ msgstr "Instellingen knoptekst"
1951
+
1952
+ #: WordPress/Admin/Pages/PageSettings.php:261
1953
+ msgctxt "admin"
1954
+ msgid "Bar color"
1955
+ msgstr "Balk-kleur"
1956
+
1957
+ #: WordPress/Admin/Pages/PageSettings.php:270
1958
+ msgctxt "admin"
1959
+ msgid "Text color"
1960
+ msgstr "Tekstkleur"
1961
+
1962
+ #: WordPress/Admin/Pages/PageSettings.php:279
1963
+ msgctxt "admin"
1964
+ msgid "Button background"
1965
+ msgstr "Knop achtergrond"
1966
+
1967
+ #: WordPress/Admin/Pages/PageSettings.php:288
1968
+ msgctxt "admin"
1969
+ msgid "Button text color"
1970
+ msgstr "Tekstkleur knop"
1971
+
1972
+ #: WordPress/Admin/Pages/PageSettings.php:320
1973
+ msgctxt "admin"
1974
+ msgid "Activate request form"
1975
+ msgstr "Activeer aanvraagformulier"
1976
 
1977
  #: WordPress/Admin/Pages/PageSettings.php:325
1978
+ #, php-format
1979
  msgctxt "admin"
1980
+ msgid ""
1981
+ "Enabling this will create one private page containing the necessary "
1982
+ "shortcode: %1s. You can determine when and how to publish this page yourself."
1983
+ msgstr ""
1984
+ "Dit inschakelen creëert een privépagina die de benodigde shortcode %1s "
1985
+ "bevat. Je kunt zelf beslissen wanneer en hoe je deze pagina wilt publiceren."
1986
 
1987
+ #: WordPress/Admin/Pages/PageSettings.php:331
1988
  msgctxt "admin"
1989
+ msgid "Checkbox text"
1990
+ msgstr "Selectievakje-tekst"
1991
 
1992
+ #: WordPress/Admin/Pages/PageSettings.php:340
1993
+ msgctxt "admin"
1994
+ msgid "Request access page"
1995
+ msgstr "Toegang-aanvragen-pagina"
1996
 
1997
+ #: WordPress/Admin/Pages/PageSettings.php:345
1998
+ msgctxt "admin"
1999
+ msgid ""
2000
+ "Visitors will receive a link to this page on which the visitor can view all "
2001
+ "the data stored which is associated with their email address."
2002
+ msgstr ""
2003
+ "Bezoekers krijgen een link naar deze pagina waarop de bezoeker alle "
2004
+ "opgeslagen gegevens kan bekijken die aan zijn e-mailadres zijn gekoppeld."
2005
 
2006
+ #: WordPress/Admin/Pages/PageSettings.php:346
2007
+ msgctxt "admin"
2008
+ msgid ""
2009
+ "Please make sure that the access request form shortcode "
2010
+ "[wpgdprc_access_request_form] is active on the selected page"
2011
+ msgstr ""
2012
+ "Zorg ervoor dat de aanvraagformulier-shortcode [wpgdprc_access_request_form] "
2013
+ "actief is op de geselecteerde pagina"
2014
 
2015
+ #: WordPress/Admin/Pages/PageSettings.php:353
2016
+ msgctxt "admin"
2017
+ msgid "Anonymize request explanation"
2018
+ msgstr "Anonimiseer aanvraag uitleg"
2019
 
2020
+ #: WordPress/Admin/Pages/PageWizard.php:53
2021
+ msgctxt "admin"
2022
+ msgid "Wizard"
2023
+ msgstr "Wizard"
2024
+
2025
+ #: WordPress/Ajax/AbstractAjax.php:77
2026
+ msgid "Missing data."
2027
+ msgstr "Ontbrekende data."
2028
+
2029
+ #: WordPress/Ajax/DeleteRequest.php:48
2030
+ msgctxt "admin"
2031
+ msgid "Request deleted."
2032
+ msgstr "Aanvraag verwijderd."
2033
+
2034
+ #: WordPress/Ajax/DeleteRequest.php:48
2035
+ msgctxt "admin"
2036
+ msgid "Unable to delete request."
2037
+ msgstr "Kan aanvraag niet verwijderen."
2038
+
2039
+ #: WordPress/Ajax/ProcessAction.php:67
2040
+ msgid "Missing type."
2041
+ msgstr "Ontbrekend type."
2042
+
2043
+ #: WordPress/Ajax/ProcessAction.php:77
2044
+ msgid "Missing or incorrect email address."
2045
+ msgstr "Missend of foutief e-mailadres."
2046
+
2047
+ #: WordPress/Ajax/ProcessAction.php:82
2048
+ msgid "You need to accept the privacy checkbox."
2049
+ msgstr "Je moet het privacy-selectievakje accepteren."
2050
+
2051
+ #: WordPress/Ajax/ProcessAction.php:87
2052
+ msgid ""
2053
+ "You have already requested your data. Please check your mailbox. After 24 "
2054
+ "hours you can put in a new request."
2055
+ msgstr ""
2056
+ "Je hebt jouw data al opgevraagd. Controleer je postvak in. Na 24 uur kan je "
2057
+ "een nieuwe verzoek indienen."
2058
+
2059
+ #: WordPress/Ajax/ProcessAction.php:101 WordPress/Ajax/ProcessAction.php:167
2060
+ msgid "Something went wrong while saving the request. Please try again."
2061
+ msgstr ""
2062
+ "Er is iets fout gegaan tijdens het opslaan van het verzoek. Probeer opnieuw."
2063
+
2064
+ #: WordPress/Ajax/ProcessAction.php:112
2065
+ #, php-format
2066
+ msgid "%1s - Your data request"
2067
+ msgstr "%1s - Jouw gegevensaanvraag"
2068
+
2069
+ #: WordPress/Ajax/ProcessAction.php:116
2070
+ msgid "page"
2071
+ msgstr "pagina"
2072
+
2073
+ #: WordPress/Ajax/ProcessAction.php:134
2074
+ msgid "Missing token."
2075
+ msgstr "Ontbrekend token."
2076
+
2077
+ #: WordPress/Ajax/ProcessAction.php:139
2078
+ msgid "No value selected."
2079
+ msgstr "Geen waarde geselecteerd."
2080
+
2081
+ #: WordPress/Ajax/ProcessAction.php:145
2082
+ msgid "Missing or invalid type."
2083
+ msgstr "Missend of ongeldig type."
2084
+
2085
+ #: WordPress/Ajax/ProcessAction.php:150
2086
+ msgid "No session found."
2087
+ msgstr "Geen sessie gevonden."
2088
+
2089
+ #: WordPress/Ajax/ProcessAction.php:154
2090
+ msgid "Session doesn't match."
2091
+ msgstr "Sessie komt niet overeen."
2092
 
2093
+ #: WordPress/Ajax/ProcessAction.php:172
2094
+ #, php-format
2095
+ msgid "%1s - New anonymize request"
2096
+ msgstr "%1s - Nieuw anonimiseringsverzoek"
2097
 
2098
+ #: WordPress/Ajax/ProcessAction.php:175
2099
+ msgid "Requests"
2100
+ msgstr "Verzoeken"
2101
 
2102
+ #: WordPress/Ajax/ProcessAction.php:216
2103
+ msgid "Success. You will receive an email with your data shortly."
2104
+ msgstr "Gelukt. Je ontvangt een e-mail met jouw data zo snel mogelijk."
2105
 
2106
+ #: WordPress/Ajax/ProcessRequest.php:53
2107
+ msgctxt "admin"
2108
+ msgid "The access request functionality is not enabled."
2109
+ msgstr "De verzoek-tot-toegang-functionaliteit is niet ingeschakeld."
2110
 
2111
+ #: WordPress/Ajax/ProcessRequest.php:62
2112
+ msgctxt "admin"
2113
+ msgid "Data anonymized."
2114
+ msgstr "Gegevens geanonimiseerd."
2115
 
2116
+ #: WordPress/Ajax/ProcessRequest.php:62
2117
+ msgctxt "admin"
2118
+ msgid "Unable to (fully) anonymize all data."
2119
+ msgstr "Kan niet (alle) gegevens anonimiseren."
2120
 
2121
+ #: WordPress/Ajax/ResetConsent.php:45
2122
+ msgctxt "admin"
2123
+ msgid "Unable to reset consent"
2124
+ msgstr "Kan instemming niet resetten"
2125
 
2126
+ #: WordPress/Ajax/ResetConsent.php:48
2127
+ msgctxt "admin"
2128
+ msgid "Consent has been reset"
2129
+ msgstr "Instemming is gereset"
2130
 
2131
+ #: WordPress/Ajax/UpdateProcessorMode.php:59
2132
+ msgctxt "admin"
2133
+ msgid "No active data processors."
2134
+ msgstr "Geen active gegevens processoren."
2135
 
2136
+ #: WordPress/Config.php:89
2137
+ msgid ""
2138
+ "By using this form you agree with the storage and handling of your data by "
2139
+ "this website."
2140
+ msgstr ""
2141
+ "Wanneer je dit formulier gebruikt, ga je akkoord met de opslag en verwerking "
2142
+ "van jouw gegevens door deze website."
2143
 
2144
+ #: WordPress/Config.php:97
2145
+ #, php-format
2146
+ msgid ""
2147
+ "Below we show you all of the data stored by %1s on %1s. Select the data you "
2148
+ "wish the site owner to anonymize so it cannot be linked to your email "
2149
+ "address any longer. It is the site's owner responsibility to act upon your "
2150
+ "request. When your data is anonymized you will receive an email confirmation."
2151
+ msgstr ""
2152
+ "Hieronder tonen we alle data die opgeslagen is door %1s op %1s. Selecteer de "
2153
+ "data waarvan je wilt dat de site eigenaar deze anonimiseert, waardoor het "
2154
+ "niet langer aan jouw e-mailadres gekoppeld kan worden. Het is de "
2155
+ "verantwoordelijkheid van de site-eigenaar om op dit verzoek te reageren. "
2156
+ "Zodra jouw data geanonimiseerd is, ontvang je een melding via e-mail."
2157
 
2158
+ #: WordPress/Config.php:107
2159
  msgctxt "admin"
2160
+ msgid "Welcome to Cookie Information | Free WP GDPR Consent Plugin"
2161
+ msgstr "Welkom bij Cookie Information | Gratis WP GDPR instemming plugin"
2162
 
2163
+ #: WordPress/Config.php:114
2164
  msgctxt "admin"
2165
+ msgid "try it out here"
2166
+ msgstr "probeer het hier uit"
2167
 
2168
+ #: WordPress/Config.php:116
2169
+ #, php-format
2170
  msgctxt "admin"
2171
+ msgid ""
2172
+ "Thank you very much for choosing this plugin to help you with your GDPR "
2173
+ "Compliance. This is a free tool that offers Compliance. We also provide a "
2174
+ "version that automates many of these tasks and makes sure that you are "
2175
+ "always up to date: %1s"
2176
+ msgstr ""
2177
+ "Hartelijk dank voor het kiezen van deze plugin om je te helpen bij je GDPR "
2178
+ "naleving. Dit is een gratis tool die nakoming biedt. We bieden ook een "
2179
+ "versie die veel van deze taken automatiseert en ervoor zorgt dat je altijd "
2180
+ "up-to-date bent: %1s"
2181
 
2182
+ #: WordPress/Cron.php:32
2183
  msgctxt "admin"
2184
+ msgid "Once a month"
2185
+ msgstr "Eens per maand"
2186
 
2187
+ #: WordPress/Front/Consent/Modal.php:67
2188
+ msgid ""
2189
+ "These settings will only apply to the browser and device you are currently "
2190
+ "using."
2191
+ msgstr ""
2192
+ "Deze instellingen zijn alleen geldig voor de browser en het apparaat dat je "
2193
+ "nu gebruikt."
2194
 
2195
+ #: WordPress/Front/Consent/Modal.php:76
2196
+ msgid "Save my settings"
2197
+ msgstr "Bewaar mijn instellingen"
2198
 
2199
+ #: WordPress/Settings.php:61
2200
+ msgid "https://www.example.com"
2201
+ msgstr "http://www.example.com"
2202
 
2203
+ #: WordPress/Settings.php:70
2204
+ msgid "More information"
2205
+ msgstr "Meer informatie"
2206
 
2207
+ #: WordPress/Settings.php:70 WordPress/Shortcodes/ProcessorSettingsLink.php:50
2208
+ #: WordPress/Shortcodes/ProcessorSettingsLink.php:64
2209
+ msgid "My settings"
2210
+ msgstr "Mijn instellingen"
2211
 
2212
+ #: WordPress/Settings.php:72
2213
+ msgid ""
2214
+ "This site uses functional cookies and external scripts to improve your "
2215
+ "experience."
2216
+ msgstr ""
2217
+ "Deze site gebruikt functionele cookies en externe scripts om je beleving te "
2218
+ "verbeteren."
2219
 
2220
+ #: WordPress/Settings.php:73
2221
+ msgid "Accept"
2222
+ msgstr "Accepteer"
2223
 
2224
+ #: WordPress/Settings.php:83
2225
+ msgid "Privacy Settings"
2226
+ msgstr "Privacy-instellingen"
2227
 
2228
+ #: WordPress/Settings.php:85
2229
+ msgid ""
2230
+ "This site uses functional cookies and external scripts to improve your "
2231
+ "experience. Which cookies and scripts are used and how they impact your "
2232
+ "visit is specified on the left. You may change your settings at any time. "
2233
+ "Your choices will not impact your visit."
2234
+ msgstr ""
2235
+ "Deze site gebruikt functionele cookies en externe scripts om uw ervaring te "
2236
+ "verbeteren. Welke cookies en scripts worden gebruikt en hoe deze je bezoek "
2237
+ "beïnvloeden, wordt aan de linkerkant gespecificeerd. Je kunt je instellingen "
2238
+ "op elk gewenst moment wijzigen. Je keuzes hebben geen invloed op uw bezoek."
2239
 
2240
+ #: WordPress/Settings.php:280
2241
+ msgctxt "admin"
2242
+ msgid "Use the font of my website"
2243
+ msgstr "Gebruik het lettertype van mijn site"
2244
 
2245
+ #: WordPress/Settings.php:292
2246
+ msgctxt "admin"
2247
+ msgid "Bottom"
2248
+ msgstr "Bodem"
2249
 
2250
+ #: WordPress/Settings.php:293
2251
+ msgctxt "admin"
2252
+ msgid "Top"
2253
+ msgstr "Boven"
2254
 
2255
+ #: WordPress/Settings.php:303
2256
+ msgctxt "admin"
2257
+ msgid "Fade out"
2258
+ msgstr "Vervagen"
2259
 
2260
+ #: WordPress/Settings.php:304
2261
  msgctxt "admin"
2262
+ msgid "Bounce out"
2263
+ msgstr "Stuiter uit"
2264
 
2265
+ #: WordPress/Settings.php:305
2266
+ msgctxt "admin"
2267
+ msgid "Zoom out"
2268
+ msgstr "Uitzoomen"
2269
 
2270
+ #: WordPress/Settings.php:306
2271
+ msgctxt "admin"
2272
+ msgid "Instant (no animation)"
2273
+ msgstr "Direct (geen animatie)"
2274
 
2275
+ #: WordPress/Shortcodes/ProcessorSettingsLink.php:46
2276
  msgctxt "admin"
2277
+ msgid ""
2278
+ "You need to make sure you have added at least one (1) active data processor."
2279
+ msgstr ""
2280
+ "Je moet ervoor zorgen dat je ten minste één (1) actieve gegevensverwerker "
2281
+ "hebt toegevoegd."
2282
 
2283
+ #: WordPress/Shortcodes/ProcessorSettingsLink.php:67
2284
+ #, php-format
2285
+ msgid ""
2286
+ "Let your visitors re-access their settings by placing a link to the modal "
2287
+ "with the shortcode %1s or add the \"%2s\" class to a menu item."
2288
+ msgstr ""
2289
+ "Laat je bezoekers weer toegang krijgen tot hun instellingen door een link "
2290
+ "naar het venster te plaatsen met de shortcode %1s of voeg de class \"%2s\" "
2291
+ "toe aan een menu-item."
2292
 
2293
+ #: WordPress/Shortcodes/RequestAccessForm.php:42
2294
+ #, php-format
2295
+ msgid ""
2296
+ "The request form has been disabled, you can enable it <a href=\"%s\">here</"
2297
+ "a>."
2298
+ msgstr ""
2299
+ "Het aanvraagformulier is uitgeschakeld, je kan het <a href=\"%s\">hier</a> "
2300
+ "inschakelen."
2301
 
2302
+ #: WordPress/Shortcodes/RequestAccessForm.php:102
2303
+ msgid "No data is stored in relation to this email address"
2304
+ msgstr "Geen gegevens zijn opgeslagen met betrekking tot dit e-mailadres"
2305
 
2306
+ #: WordPress/Shortcodes/RequestAccessForm.php:120
2307
+ msgid "This request is expired or doesn't exist."
2308
+ msgstr "Dit verzoek is verlopen of bestaat niet."
2309
 
2310
+ #: WordPress/Shortcodes/RequestAccessForm.php:126
2311
+ #, php-format
2312
+ msgid "If needed, you can put in a new request here: %1s"
2313
+ msgstr "Indien nodig, kan je hier een nieuwe aanvraag indienen: %1s"
2314
 
2315
+ #: WordPress/Shortcodes/RequestAccessForm.php:138
2316
+ msgid ""
2317
+ "You are only able to view your data when visiting this page on the same "
2318
+ "device with the same IP and in the same browser session as when you "
2319
+ "performed your request. This is an extra security measure to keep your data "
2320
+ "safe."
2321
+ msgstr ""
2322
+ "Je kunt alleen jouw data bekijken, als je deze pagina bezoekt op hetzelfde "
2323
+ "apparaat met hetzelfde IP-adres en in dezelfde browsersessie vanwaar je het "
2324
+ "verzoek gedaan hebt. Dit is een extra beveiligingsmaatregel om jouw data "
2325
+ "veilig te houden."
2326
 
2327
+ #: WordPress/Shortcodes/RequestAccessForm.php:144
2328
+ #, php-format
2329
+ msgid "If needed, you can put in a new request after 24 hours here: %1s"
2330
+ msgstr "Indien nodig kun je hier na 24 uur een nieuw verzoek indienen: %1s"
2331
 
2332
+ #. Plugin Name of the plugin/theme
2333
+ msgid "Cookie Information | Free WP GDPR Consent Plugin"
2334
+ msgstr "Cookie Information | Gratis WP GDPR Consent Plugin"
2335
 
2336
+ #. Plugin URI of the plugin/theme
2337
+ #. Author URI of the plugin/theme
2338
+ msgid "https://cookieinformation.com/"
2339
+ msgstr "https://cookieinformation.com/"
2340
 
2341
+ #. Description of the plugin/theme
2342
+ msgid ""
2343
+ "This plugin assists website and web shop owners to comply with European "
2344
+ "privacy regulations known as GDPR. By May 24th, 2018 your website or shop "
2345
+ "has to comply to avoid large fines."
2346
+ msgstr ""
2347
+ "Deze plugin helpt website- en webshop-eigenaren om te voldoen aan de "
2348
+ "Europese privacyregels (bekend als AVG). Vanaf 24 mei 2018 moet je website "
2349
+ "of webshop aan deze regels voldoen om hoge boetes te voorkomen."
2350
 
2351
+ #. Author of the plugin/theme
2352
+ msgid "Cookie Information"
2353
+ msgstr "Cookie Information"
2354
 
2355
+ #~ msgid "https://www.wpgdprc.com/"
2356
+ #~ msgstr "https://www.wpgdprc.com/"
 
Resources/languages/wp-gdpr-compliance.pot CHANGED
@@ -3,7 +3,7 @@ msgid ""
3
  msgstr ""
4
  "Plural-Forms: nplurals=INTEGER; plural=EXPRESSION;\n"
5
  "Project-Id-Version: WP GDPR Compliance v2\n"
6
- "POT-Creation-Date: 2021-10-14 16:05+0200\n"
7
  "PO-Revision-Date: 2020-06-24 17:01+0200\n"
8
  "Last-Translator: Saskia Bouten <saskia@van-ons.nl>\n"
9
  "Language-Team: Saskia Bouten <saskia@van-ons.nl>\n"
@@ -35,29 +35,29 @@ msgstr ""
35
  msgid "Privacy Policy"
36
  msgstr ""
37
 
38
- #: Integrations/Plugins/AbstractPlugin.php:125
39
  #, php-format
40
  msgctxt "admin"
41
  msgid "Currently the %1s plugin is not installed."
42
  msgstr ""
43
 
44
- #: Integrations/Plugins/AbstractPlugin.php:134
45
  msgctxt "admin"
46
  msgid "not activated"
47
  msgstr ""
48
 
49
- #: Integrations/Plugins/AbstractPlugin.php:136
50
  #, php-format
51
  msgctxt "admin"
52
  msgid "Currently the %1s plugin is installed, but %2s."
53
  msgstr ""
54
 
55
- #: Integrations/Plugins/AbstractPlugin.php:145
56
  msgctxt "admin"
57
  msgid "this version is not supported"
58
  msgstr ""
59
 
60
- #: Integrations/Plugins/AbstractPlugin.php:147
61
  #, php-format
62
  msgctxt "admin"
63
  msgid ""
@@ -65,7 +65,7 @@ msgid ""
65
  "from version %3s and up."
66
  msgstr ""
67
 
68
- #: Integrations/Plugins/AbstractPlugin.php:155
69
  #, php-format
70
  msgctxt "admin"
71
  msgid ""
@@ -745,8 +745,8 @@ msgctxt "admin"
745
  msgid "Change settings"
746
  msgstr ""
747
 
748
- #: Templates/Admin/Pages/Processors/footer.php:54 WordPress/Admin.php:95
749
- #: WordPress/Admin.php:109 WordPress/Admin/Pages/PageDashboard.php:82
750
  #: WordPress/Admin/Pages/PageSettings.php:46
751
  msgctxt "admin"
752
  msgid "Settings"
@@ -964,22 +964,22 @@ msgctxt "admin"
964
  msgid "Change the text and messages of the checkbox"
965
  msgstr ""
966
 
967
- #: Templates/Admin/Pages/Settings/Integrations/item-form.php:42
968
  msgctxt "admin"
969
  msgid "Change the text of the checkbox"
970
  msgstr ""
971
 
972
- #: Templates/Admin/Pages/Settings/Integrations/item-form.php:50
973
  msgctxt "admin"
974
  msgid "Error message"
975
  msgstr ""
976
 
977
- #: Templates/Admin/Pages/Settings/Integrations/item-form.php:57
978
  msgctxt "admin"
979
  msgid "Required message"
980
  msgstr ""
981
 
982
- #: Templates/Admin/Pages/Settings/Integrations/item-form.php:57
983
  msgctxt "admin"
984
  msgid "HTML is not allowed because of technical limitations with tooltips."
985
  msgstr ""
@@ -1176,7 +1176,8 @@ msgstr ""
1176
  msgctxt "admin"
1177
  msgid ""
1178
  "Awesome! For personal use it might be worth it to upgrade. Dont hesitate to "
1179
- "check out the business features."
 
1180
  msgstr ""
1181
 
1182
  #: Templates/Admin/Pages/Wizard/Steps/consent.php:9
@@ -1379,6 +1380,51 @@ msgctxt "admin"
1379
  msgid "Support"
1380
  msgstr ""
1381
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1382
  #: Templates/Admin/page-after.php:8
1383
  #, php-format
1384
  msgctxt "admin"
@@ -1438,10 +1484,6 @@ msgstr ""
1438
  msgid "Privacy settings"
1439
  msgstr ""
1440
 
1441
- #: Templates/Front/Consent/modal.php:17
1442
- msgid "Close popup"
1443
- msgstr ""
1444
-
1445
  #: Templates/Front/Form/AccessRequest/main.php:7
1446
  #: WordPress/Shortcodes/RequestAccessForm.php:56
1447
  msgid "Your Email Address"
@@ -1520,7 +1562,7 @@ msgctxt "admin"
1520
  msgid "<strong>ERROR</strong>: %1$s"
1521
  msgstr ""
1522
 
1523
- #: Utils/Elements.php:147
1524
  #, php-format
1525
  msgctxt "admin"
1526
  msgid "<strong>NOTE:</strong> %1$s"
@@ -1624,19 +1666,19 @@ msgctxt "admin"
1624
  msgid "WP GDPR Compliance will become even better!"
1625
  msgstr ""
1626
 
1627
- #: WordPress/Admin.php:95
1628
  #, php-format
1629
  msgctxt "admin"
1630
  msgid "%1s Settings"
1631
  msgstr ""
1632
 
1633
- #: WordPress/Admin.php:111
1634
  #, php-format
1635
  msgctxt "admin"
1636
  msgid "<strong>Awesome!</strong> You have activated the %1s plugin."
1637
  msgstr ""
1638
 
1639
- #: WordPress/Admin.php:111
1640
  #, php-format
1641
  msgctxt "admin"
1642
  msgid ""
@@ -1649,12 +1691,12 @@ msgctxt "admin"
1649
  msgid "Consent updated."
1650
  msgstr ""
1651
 
1652
- #: WordPress/Admin/Pages/PageDashboard.php:77
1653
  msgctxt "admin"
1654
  msgid "Consent pop-up"
1655
  msgstr ""
1656
 
1657
- #: WordPress/Admin/Pages/PageDashboard.php:79
1658
  msgctxt "admin"
1659
  msgid ""
1660
  "Manually add data processors to the consent pop-up or let the business "
@@ -1662,14 +1704,14 @@ msgid ""
1662
  "they will give their consent to."
1663
  msgstr ""
1664
 
1665
- #: WordPress/Admin/Pages/PageDashboard.php:84
1666
  msgctxt "admin"
1667
  msgid ""
1668
  "Change settings of the Privacy Policy, Consent Bar, Request User data form "
1669
  "and Integrations."
1670
  msgstr ""
1671
 
1672
- #: WordPress/Admin/Pages/PageDashboard.php:87
1673
  msgctxt "admin"
1674
  msgid "Business"
1675
  msgstr ""
@@ -2118,7 +2160,8 @@ msgid "Cookie Information | Free WP GDPR Consent Plugin"
2118
  msgstr ""
2119
 
2120
  #. Plugin URI of the plugin/theme
2121
- msgid "https://www.wpgdprc.com/"
 
2122
  msgstr ""
2123
 
2124
  #. Description of the plugin/theme
@@ -2131,7 +2174,3 @@ msgstr ""
2131
  #. Author of the plugin/theme
2132
  msgid "Cookie Information"
2133
  msgstr ""
2134
-
2135
- #. Author URI of the plugin/theme
2136
- msgid "https://cookieinformation.com/"
2137
- msgstr ""
3
  msgstr ""
4
  "Plural-Forms: nplurals=INTEGER; plural=EXPRESSION;\n"
5
  "Project-Id-Version: WP GDPR Compliance v2\n"
6
+ "POT-Creation-Date: 2021-11-09 13:03+0100\n"
7
  "PO-Revision-Date: 2020-06-24 17:01+0200\n"
8
  "Last-Translator: Saskia Bouten <saskia@van-ons.nl>\n"
9
  "Language-Team: Saskia Bouten <saskia@van-ons.nl>\n"
35
  msgid "Privacy Policy"
36
  msgstr ""
37
 
38
+ #: Integrations/Plugins/AbstractPlugin.php:131
39
  #, php-format
40
  msgctxt "admin"
41
  msgid "Currently the %1s plugin is not installed."
42
  msgstr ""
43
 
44
+ #: Integrations/Plugins/AbstractPlugin.php:140
45
  msgctxt "admin"
46
  msgid "not activated"
47
  msgstr ""
48
 
49
+ #: Integrations/Plugins/AbstractPlugin.php:142
50
  #, php-format
51
  msgctxt "admin"
52
  msgid "Currently the %1s plugin is installed, but %2s."
53
  msgstr ""
54
 
55
+ #: Integrations/Plugins/AbstractPlugin.php:151
56
  msgctxt "admin"
57
  msgid "this version is not supported"
58
  msgstr ""
59
 
60
+ #: Integrations/Plugins/AbstractPlugin.php:153
61
  #, php-format
62
  msgctxt "admin"
63
  msgid ""
65
  "from version %3s and up."
66
  msgstr ""
67
 
68
+ #: Integrations/Plugins/AbstractPlugin.php:161
69
  #, php-format
70
  msgctxt "admin"
71
  msgid ""
745
  msgid "Change settings"
746
  msgstr ""
747
 
748
+ #: Templates/Admin/Pages/Processors/footer.php:54 WordPress/Admin.php:115
749
+ #: WordPress/Admin.php:129 WordPress/Admin/Pages/PageDashboard.php:84
750
  #: WordPress/Admin/Pages/PageSettings.php:46
751
  msgctxt "admin"
752
  msgid "Settings"
964
  msgid "Change the text and messages of the checkbox"
965
  msgstr ""
966
 
967
+ #: Templates/Admin/Pages/Settings/Integrations/item-form.php:43
968
  msgctxt "admin"
969
  msgid "Change the text of the checkbox"
970
  msgstr ""
971
 
972
+ #: Templates/Admin/Pages/Settings/Integrations/item-form.php:51
973
  msgctxt "admin"
974
  msgid "Error message"
975
  msgstr ""
976
 
977
+ #: Templates/Admin/Pages/Settings/Integrations/item-form.php:58
978
  msgctxt "admin"
979
  msgid "Required message"
980
  msgstr ""
981
 
982
+ #: Templates/Admin/Pages/Settings/Integrations/item-form.php:58
983
  msgctxt "admin"
984
  msgid "HTML is not allowed because of technical limitations with tooltips."
985
  msgstr ""
1176
  msgctxt "admin"
1177
  msgid ""
1178
  "Awesome! For personal use it might be worth it to upgrade. Dont hesitate to "
1179
+ "check out the business features. There is a 30 day free trial to get you "
1180
+ "started!"
1181
  msgstr ""
1182
 
1183
  #: Templates/Admin/Pages/Wizard/Steps/consent.php:9
1380
  msgid "Support"
1381
  msgstr ""
1382
 
1383
+ #: Templates/Admin/modal.php:12
1384
+ msgctxt "admin"
1385
+ msgid "Sign up for Cookie information"
1386
+ msgstr ""
1387
+
1388
+ #: Templates/Admin/modal.php:14 Templates/Front/Consent/modal.php:17
1389
+ msgid "Close popup"
1390
+ msgstr ""
1391
+
1392
+ #: Templates/Admin/modal.php:19
1393
+ msgid "Back"
1394
+ msgstr ""
1395
+
1396
+ #: Templates/Admin/modal.php:27
1397
+ msgctxt "admin"
1398
+ msgid ""
1399
+ "GDPR requrirements are different based on who you are. Please chose below "
1400
+ "and we will make sure you comply to GDPR."
1401
+ msgstr ""
1402
+
1403
+ #: Templates/Admin/modal.php:35
1404
+ msgctxt "admin"
1405
+ msgid "Is this your personal site?"
1406
+ msgstr ""
1407
+
1408
+ #: Templates/Admin/modal.php:39
1409
+ msgctxt "admin"
1410
+ msgid "Keep using the plugin for free"
1411
+ msgstr ""
1412
+
1413
+ #: Templates/Admin/modal.php:48
1414
+ msgctxt "admin"
1415
+ msgid "Is this your business site?"
1416
+ msgstr ""
1417
+
1418
+ #: Templates/Admin/modal.php:52
1419
+ msgctxt "admin"
1420
+ msgid "Register account"
1421
+ msgstr ""
1422
+
1423
+ #: Templates/Admin/modal.php:63
1424
+ msgctxt "admin"
1425
+ msgid "Signup for Cookie Information"
1426
+ msgstr ""
1427
+
1428
  #: Templates/Admin/page-after.php:8
1429
  #, php-format
1430
  msgctxt "admin"
1484
  msgid "Privacy settings"
1485
  msgstr ""
1486
 
 
 
 
 
1487
  #: Templates/Front/Form/AccessRequest/main.php:7
1488
  #: WordPress/Shortcodes/RequestAccessForm.php:56
1489
  msgid "Your Email Address"
1562
  msgid "<strong>ERROR</strong>: %1$s"
1563
  msgstr ""
1564
 
1565
+ #: Utils/Elements.php:148
1566
  #, php-format
1567
  msgctxt "admin"
1568
  msgid "<strong>NOTE:</strong> %1$s"
1666
  msgid "WP GDPR Compliance will become even better!"
1667
  msgstr ""
1668
 
1669
+ #: WordPress/Admin.php:115
1670
  #, php-format
1671
  msgctxt "admin"
1672
  msgid "%1s Settings"
1673
  msgstr ""
1674
 
1675
+ #: WordPress/Admin.php:131
1676
  #, php-format
1677
  msgctxt "admin"
1678
  msgid "<strong>Awesome!</strong> You have activated the %1s plugin."
1679
  msgstr ""
1680
 
1681
+ #: WordPress/Admin.php:131
1682
  #, php-format
1683
  msgctxt "admin"
1684
  msgid ""
1691
  msgid "Consent updated."
1692
  msgstr ""
1693
 
1694
+ #: WordPress/Admin/Pages/PageDashboard.php:78
1695
  msgctxt "admin"
1696
  msgid "Consent pop-up"
1697
  msgstr ""
1698
 
1699
+ #: WordPress/Admin/Pages/PageDashboard.php:80
1700
  msgctxt "admin"
1701
  msgid ""
1702
  "Manually add data processors to the consent pop-up or let the business "
1704
  "they will give their consent to."
1705
  msgstr ""
1706
 
1707
+ #: WordPress/Admin/Pages/PageDashboard.php:86
1708
  msgctxt "admin"
1709
  msgid ""
1710
  "Change settings of the Privacy Policy, Consent Bar, Request User data form "
1711
  "and Integrations."
1712
  msgstr ""
1713
 
1714
+ #: WordPress/Admin/Pages/PageDashboard.php:90
1715
  msgctxt "admin"
1716
  msgid "Business"
1717
  msgstr ""
2160
  msgstr ""
2161
 
2162
  #. Plugin URI of the plugin/theme
2163
+ #. Author URI of the plugin/theme
2164
+ msgid "https://cookieinformation.com/"
2165
  msgstr ""
2166
 
2167
  #. Description of the plugin/theme
2174
  #. Author of the plugin/theme
2175
  msgid "Cookie Information"
2176
  msgstr ""
 
 
 
 
Resources/scss/front/_modal.scss CHANGED
@@ -21,6 +21,10 @@
21
  animation: wpgdprcFadeOut 0.3s cubic-bezier(0, 0, 0.2, 1);
22
  }
23
 
 
 
 
 
24
  .wpgdprc-consent-modal__overlay {
25
  will-change: transform;
26
  display: flex;
@@ -57,7 +61,6 @@
57
  }
58
 
59
  :root .wpgdprc-consent-modal__title {
60
- font-family: $heading-font-family;
61
  font-size: rem-calc(20);
62
  font-weight: bold;
63
  color: $color-black;
@@ -88,8 +91,8 @@
88
  transition: all $transition;
89
 
90
  @include hocus {
91
- background-color: var(--wp-gdpr--button--background-color--darken);
92
- color: var(--wp-gdpr--button--color);
93
  box-shadow: $shadow;
94
  }
95
 
@@ -161,12 +164,12 @@
161
  outline: none;
162
 
163
  @include hocus {
164
- color: var(--wp-gdpr--button--background-color--darken);;
165
  }
166
  }
167
 
168
  :root .wpgdprc button.wpgdprc-consent-modal__navigation-button--active {
169
- color: var(--wp-gdpr--button--background-color);
170
  font-weight: bold;
171
  }
172
 
@@ -201,12 +204,11 @@
201
  :root & .wpgdprc-button:not(.has-background) {
202
  @include vo-button;
203
 
204
- color: var(--wp-gdpr--button--color);
205
- background-color: var(--wp-gdpr--button--background-color);
206
 
207
  @include hocus {
208
- background-color: var(--wp-gdpr--button--background-color--darken);
209
- border-color: var(--wp-gdpr--button--background-color--darken);
210
  }
211
  }
212
  }
21
  animation: wpgdprcFadeOut 0.3s cubic-bezier(0, 0, 0.2, 1);
22
  }
23
 
24
+ .wpgdprc-consent-modal {
25
+ font-family: var(--wp-gdpr--bar--font-family, inherit); // should default to the global font off the site.
26
+ }
27
+
28
  .wpgdprc-consent-modal__overlay {
29
  will-change: transform;
30
  display: flex;
61
  }
62
 
63
  :root .wpgdprc-consent-modal__title {
 
64
  font-size: rem-calc(20);
65
  font-weight: bold;
66
  color: $color-black;
91
  transition: all $transition;
92
 
93
  @include hocus {
94
+ color: $color-white;
95
+ background-color: $color-primary;
96
  box-shadow: $shadow;
97
  }
98
 
164
  outline: none;
165
 
166
  @include hocus {
167
+ color: $color-primary;
168
  }
169
  }
170
 
171
  :root .wpgdprc button.wpgdprc-consent-modal__navigation-button--active {
172
+ color: $color-primary;
173
  font-weight: bold;
174
  }
175
 
204
  :root & .wpgdprc-button:not(.has-background) {
205
  @include vo-button;
206
 
207
+ color: $color-white;
208
+ background-color: $color-primary;
209
 
210
  @include hocus {
211
+ background-color: darken($color-primary, 15%);
 
212
  }
213
  }
214
  }
Resources/scss/global/_fonts.scss CHANGED
@@ -2,71 +2,4 @@
2
  * Custom fonts
3
  * ----------------------------------------------------------------------------
4
  */
5
- $font-primary: 'Sofia Pro', 'Helvetica Neue', Helvetica, Roboto, Arial, sans-serif;
6
-
7
- // Regular
8
-
9
- @font-face {
10
- font-family: 'Sofia Pro';
11
- src: url('../fonts/sofia/SofiaPro.woff2') format('woff2'),
12
- url('../fonts/sofia/SofiaPro.woff') format('woff');
13
- font-weight: 400;
14
- font-style: normal;
15
- font-display: swap;
16
- }
17
-
18
- // Italic
19
-
20
- @font-face {
21
- font-family: 'Sofia Pro';
22
- src: url('../fonts/sofia/SofiaPro-Italic.woff2') format('woff2'),
23
- url('../fonts/sofia/SofiaPro-Italic.woff') format('woff');
24
- font-weight: 400;
25
- font-style: italic;
26
- font-display: swap;
27
- }
28
-
29
- // Medium
30
-
31
- @font-face {
32
- font-family: 'Sofia Pro';
33
- src: url('../fonts/sofia/SofiaPro-Medium.woff2') format('woff2'),
34
- url('../fonts/sofia/SofiaPro-Medium.woff') format('woff');
35
- font-weight: 500;
36
- font-style: normal;
37
- font-display: swap;
38
- }
39
-
40
- // SemiBold
41
-
42
- @font-face {
43
- font-family: 'Sofia Pro';
44
- src: url('../fonts/sofia/SofiaPro-SemiBold.woff2') format('woff2'),
45
- url('../fonts/sofia/SofiaPro-SemiBold.woff') format('woff');
46
- font-weight: 600;
47
- font-style: normal;
48
- font-display: swap;
49
- }
50
-
51
- // SemiBold Italic
52
-
53
- @font-face {
54
- font-family: 'Sofia Pro';
55
- src: url('../fonts/sofia/SofiaPro-SemiBoldItalic.woff2') format('woff2'),
56
- url('../fonts/sofia/SofiaPro-SemiBoldItalic.woff') format('woff');
57
- font-weight: 600;
58
- font-style: italic;
59
- font-display: swap;
60
- }
61
-
62
-
63
- // Bold
64
-
65
- @font-face {
66
- font-family: 'Sofia Pro';
67
- src: url('../fonts/sofia/SofiaPro-Bold.woff2') format('woff2'),
68
- url('../fonts/sofia/SofiaPro-Bold.woff') format('woff');
69
- font-weight: 700;
70
- font-style: normal;
71
- font-display: swap;
72
- }
2
  * Custom fonts
3
  * ----------------------------------------------------------------------------
4
  */
5
+ $font-primary: 'sofia-pro', 'Helvetica Neue', Helvetica, Roboto, Arial, sans-serif;
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
Templates/Admin/Pages/Dashboard/main.php CHANGED
@@ -60,6 +60,7 @@ if( !Settings::isPremium() ) {
60
  'link' => [
61
  'title' => _x('Explore all business features', 'admin', 'wp-gdpr-compliance'),
62
  'url' => Config::premiumUrl(),
 
63
  ],
64
  'class' => 'wpgdprc-tile--primary',
65
  'manage' => false,
@@ -79,12 +80,13 @@ if( !Settings::isPremium() ) {
79
  <div class="cell large-6 xxlarge-3">
80
  <?php
81
  Template::render('Admin/Pages/Dashboard/tile', [
82
- 'class' => implode(' ', [ 'wpgdprc-tile--' . $key, $item['class'] ]),
83
- 'title_class' => !empty($item['manange']) ? ' h3' : '',
84
- 'title' => !empty($item['title']) ? $item['title'] : '',
85
- 'text' => !empty($item['text']) ? $item['text'] : '',
86
- 'link_title' => !empty($item['link']['title']) ? $item['link']['title'] : '',
87
- 'link_url' => !empty($item['link']['url']) ? $item['link']['url'] : '',
 
88
  ]);
89
  ?>
90
  </div>
60
  'link' => [
61
  'title' => _x('Explore all business features', 'admin', 'wp-gdpr-compliance'),
62
  'url' => Config::premiumUrl(),
63
+ 'attributes' => ['target' => '_blank'],
64
  ],
65
  'class' => 'wpgdprc-tile--primary',
66
  'manage' => false,
80
  <div class="cell large-6 xxlarge-3">
81
  <?php
82
  Template::render('Admin/Pages/Dashboard/tile', [
83
+ 'class' => implode(' ', [ 'wpgdprc-tile--' . $key, $item['class'] ]),
84
+ 'title_class' => !empty($item['manange']) ? ' h3' : '',
85
+ 'title' => !empty($item['title']) ? $item['title'] : '',
86
+ 'text' => !empty($item['text']) ? $item['text'] : '',
87
+ 'link_title' => !empty($item['link']['title']) ? $item['link']['title'] : '',
88
+ 'link_url' => !empty($item['link']['url']) ? $item['link']['url'] : '',
89
+ 'link_attributes' => !empty($item['link']['attributes']) ? $item['link']['attributes'] : [],
90
  ]);
91
  ?>
92
  </div>
Templates/Admin/Pages/Dashboard/tile.php CHANGED
@@ -10,6 +10,7 @@ use WPGDPRC\Utils\Template;
10
  * @var string $text
11
  * @var string $link_title
12
  * @var string $link_url
 
13
  */
14
 
15
  $link_class = strpos($class, '--primary') ? 'wpgdprc-link--white' : '';
@@ -18,7 +19,8 @@ if( !empty($link_title) && !empty($link_url) ) {
18
  $footer = Elements::getLink(
19
  $link_url,
20
  Template::getIcon(!empty($link_class) ? 'arrow-right' : 'cog') . $link_title,
21
- [ 'class' => implode(' ', [ 'wpgdprc-tile__link', 'wpgdprc-link', esc_attr($link_class) ]) ]
 
22
  );
23
  }
24
 
10
  * @var string $text
11
  * @var string $link_title
12
  * @var string $link_url
13
+ * @var string $link_attributes
14
  */
15
 
16
  $link_class = strpos($class, '--primary') ? 'wpgdprc-link--white' : '';
19
  $footer = Elements::getLink(
20
  $link_url,
21
  Template::getIcon(!empty($link_class) ? 'arrow-right' : 'cog') . $link_title,
22
+ array_merge([ 'class' => implode(' ', [ 'wpgdprc-tile__link', 'wpgdprc-link', esc_attr($link_class) ]) ], $link_attributes),
23
+ true
24
  );
25
  }
26
 
Templates/Admin/Pages/Premium/main.php CHANGED
@@ -37,7 +37,7 @@ use WPGDPRC\WordPress\Settings;
37
  <?php echo _x( 'Upgrade today and unlock fully automatic GDPR compliance', 'admin', 'wp-gdpr-compliance' ); ?>
38
  </h3>
39
  <?php echo implode( '<br><br>', [
40
- sprintf( "<strong>%s</strong>", _x( 'Eliminate the risk of being fined by demonstrating full compliance with local and global data privacy guidelines and regulations', 'admin', 'wp-gdpr-compliance' ) ),
41
  _x( 'Automatically update consent texts in more than 40 languages based on frequent scans of your website.', 'admin', 'wp-gdpr-compliance' ),
42
  _x( 'Get an intuitive and fully customizable consent pop-up that is good for SEO, allows you to follow GDPR and Google’s and Facebook’s terms of service, which now require you to have a GDPR compliant consent pop-up.', 'admin', 'wp-gdpr-compliance' ),
43
  _x( 'Fill your marketing funnel with compliant data, with integrations to Google Ads, Analytics, and Tag Manager, gaining insights into customer journeys without compromising user trust.', 'admin', 'wp-gdpr-compliance' ),
37
  <?php echo _x( 'Upgrade today and unlock fully automatic GDPR compliance', 'admin', 'wp-gdpr-compliance' ); ?>
38
  </h3>
39
  <?php echo implode( '<br><br>', [
40
+ sprintf( "<strong>%s</strong>", _x( 'Eliminate the risk of being fined by demonstrating full compliance with local and global data privacy guidelines and regulations.', 'admin', 'wp-gdpr-compliance' ) ),
41
  _x( 'Automatically update consent texts in more than 40 languages based on frequent scans of your website.', 'admin', 'wp-gdpr-compliance' ),
42
  _x( 'Get an intuitive and fully customizable consent pop-up that is good for SEO, allows you to follow GDPR and Google’s and Facebook’s terms of service, which now require you to have a GDPR compliant consent pop-up.', 'admin', 'wp-gdpr-compliance' ),
43
  _x( 'Fill your marketing funnel with compliant data, with integrations to Google Ads, Analytics, and Tag Manager, gaining insights into customer journeys without compromising user trust.', 'admin', 'wp-gdpr-compliance' ),
Templates/Admin/Pages/Processors/footer.php CHANGED
@@ -30,7 +30,7 @@ $tiles = [
30
  ],
31
  [
32
  'title' => _x('Reset consent bar', 'admin', 'wp-gdpr-compliance'),
33
- 'text' => _x('Want to reset the consent bar? This means that the consent bar will appear again for all users', 'admin', 'wp-gdpr-compliance'),
34
  'footer' => Elements::getButton(
35
  _x('Reset', 'admin', 'wp-gdpr-compliance') . Template::getIcon('sync'),
36
  [ 'class' => 'wpgdprc-button wpgdprc-button--icon wpgdprc-button--white wpgdprc-button--small', 'data-action' => 'reset-consent' ]
30
  ],
31
  [
32
  'title' => _x('Reset consent bar', 'admin', 'wp-gdpr-compliance'),
33
+ 'text' => _x('Want to reset the consent bar? This means that the consent bar will appear again for all users.', 'admin', 'wp-gdpr-compliance'),
34
  'footer' => Elements::getButton(
35
  _x('Reset', 'admin', 'wp-gdpr-compliance') . Template::getIcon('sync'),
36
  [ 'class' => 'wpgdprc-button wpgdprc-button--icon wpgdprc-button--white wpgdprc-button--small', 'data-action' => 'reset-consent' ]
Templates/Admin/Pages/Settings/consent.php CHANGED
@@ -3,7 +3,6 @@
3
  use WPGDPRC\Objects\DataProcessor;
4
  use WPGDPRC\Utils\AdminForm;
5
  use WPGDPRC\WordPress\Admin\Pages\PageSettings;
6
- use WPGDPRC\WordPress\Plugin;
7
  use WPGDPRC\WordPress\Settings;
8
 
9
  $section = PageSettings::SECTION_CONSENT;
@@ -23,7 +22,7 @@ $premium = Settings::isPremium();
23
  <div class="wpgdprc-form__intro">
24
  <div class="wpgdprc-form__title-container">
25
  <h4 class="wpgdprc-form__title h3">
26
- <?php _ex('Bar Settings', 'admin', 'wp-gdpr-compliance'); ?>
27
  </h4>
28
  </div>
29
  <p class="wpgdprc-form__text <?php if( $premium ) echo 'hidden'; ?>">
@@ -36,11 +35,21 @@ $premium = Settings::isPremium();
36
  </div>
37
  <div class="cell wpgdprc-form--fields <?php if( $premium ) echo 'hidden'; ?>">
38
  <fieldset>
39
- <legend class="screen-reader-text"><?php _ex('Bar Settings', 'admin', 'wp-gdpr-compliance'); ?></legend>
40
 
41
- <div class="grid-x grid-margin-x grid-margin-y">
42
- <div class="cell">
43
- <div class="wpgdprc-form__field">
 
 
 
 
 
 
 
 
 
 
44
  <span class="wpgdprc-form__label"><?php _ex('Preview', 'admin', 'wp-gdpr-compliance'); ?></span>
45
  <?php DataProcessor::renderBar(); ?>
46
  </div>
@@ -56,14 +65,6 @@ $premium = Settings::isPremium();
56
  <?php endif; ?>
57
  </div>
58
 
59
- <div class="cell large-6">
60
- <?php if( isset($fields[ Settings::KEY_CONSENT_FONT ]) ) : ?>
61
- <div class="wpgdprc-form__field wpgdprc-form__field--font">
62
- <?php AdminForm::renderSettingFieldFromArray($fields[ Settings::KEY_CONSENT_FONT ]); ?>
63
- </div>
64
- <?php endif; ?>
65
- </div>
66
-
67
  <div class="cell large-6">
68
  <?php if( isset($fields[ Settings::KEY_CONSENT_POSITION ]) ) : ?>
69
  <div class="wpgdprc-form__field">
@@ -72,14 +73,6 @@ $premium = Settings::isPremium();
72
  <?php endif; ?>
73
  </div>
74
 
75
- <!-- <div class="cell">-->
76
- <!-- --><?php //if( isset($fields[ Settings::KEY_CONSENT_API_KEY ]) ) : ?>
77
- <!-- <div class="wpgdprc-form__field wpgdprc-form__field--explaintext">-->
78
- <!-- --><?php //AdminForm::renderSettingFieldFromArray($fields[ Settings::KEY_CONSENT_API_KEY ]); ?>
79
- <!-- </div>-->
80
- <!-- --><?php //endif; ?>
81
- <!-- </div>-->
82
-
83
  </div>
84
  </div>
85
  <div class="cell large-5">
@@ -140,7 +133,7 @@ $premium = Settings::isPremium();
140
  </div>
141
  <div class="cell wpgdprc-form--fields large-7 <?php if( $premium ) echo 'hidden'; ?>">
142
  <fieldset class="wpgdprc-form__block wpgdprc-form__block--modal-settings">
143
- <legend class="wpgdprc-form__legend h3"><?php _ex('Consent Pop-up Settings', 'admin', 'wp-gdpr-compliance'); ?></legend>
144
 
145
  <?php if( isset($fields[ Settings::KEY_CONSENT_MODAL_TITLE ]) ) : ?>
146
  <div class="wpgdprc-form__field">
3
  use WPGDPRC\Objects\DataProcessor;
4
  use WPGDPRC\Utils\AdminForm;
5
  use WPGDPRC\WordPress\Admin\Pages\PageSettings;
 
6
  use WPGDPRC\WordPress\Settings;
7
 
8
  $section = PageSettings::SECTION_CONSENT;
22
  <div class="wpgdprc-form__intro">
23
  <div class="wpgdprc-form__title-container">
24
  <h4 class="wpgdprc-form__title h3">
25
+ <?php _ex('Consent bar & pop-up settings', 'admin', 'wp-gdpr-compliance'); ?>
26
  </h4>
27
  </div>
28
  <p class="wpgdprc-form__text <?php if( $premium ) echo 'hidden'; ?>">
35
  </div>
36
  <div class="cell wpgdprc-form--fields <?php if( $premium ) echo 'hidden'; ?>">
37
  <fieldset>
38
+ <div class="grid-x grid-margin-x grid-margin-y">
39
 
40
+ <div class="cell wpgdprc-form--fields large-7">
41
+ <div class="cell">
42
+ <?php if( isset($fields[ Settings::KEY_CONSENT_FONT ]) ) : ?>
43
+ <div class="wpgdprc-form__field wpgdprc-form__field--font">
44
+ <?php AdminForm::renderSettingFieldFromArray($fields[ Settings::KEY_CONSENT_FONT ]); ?>
45
+ </div>
46
+ <?php endif; ?>
47
+ </div>
48
+ </div>
49
+
50
+ <div class="cell">
51
+ <legend class="wpgdprc-form__legend h3"><?php _ex('Consent bar settings', 'admin', 'wp-gdpr-compliance'); ?></legend>
52
+ <div class="wpgdprc-form__field">
53
  <span class="wpgdprc-form__label"><?php _ex('Preview', 'admin', 'wp-gdpr-compliance'); ?></span>
54
  <?php DataProcessor::renderBar(); ?>
55
  </div>
65
  <?php endif; ?>
66
  </div>
67
 
 
 
 
 
 
 
 
 
68
  <div class="cell large-6">
69
  <?php if( isset($fields[ Settings::KEY_CONSENT_POSITION ]) ) : ?>
70
  <div class="wpgdprc-form__field">
73
  <?php endif; ?>
74
  </div>
75
 
 
 
 
 
 
 
 
 
76
  </div>
77
  </div>
78
  <div class="cell large-5">
133
  </div>
134
  <div class="cell wpgdprc-form--fields large-7 <?php if( $premium ) echo 'hidden'; ?>">
135
  <fieldset class="wpgdprc-form__block wpgdprc-form__block--modal-settings">
136
+ <legend class="wpgdprc-form__legend h3"><?php _ex('Consent pop-up settings', 'admin', 'wp-gdpr-compliance'); ?></legend>
137
 
138
  <?php if( isset($fields[ Settings::KEY_CONSENT_MODAL_TITLE ]) ) : ?>
139
  <div class="wpgdprc-form__field">
Templates/Admin/Pages/Settings/integrations.php CHANGED
@@ -10,7 +10,7 @@ Integration::handleForm();
10
 
11
  <header class="wpgdprc-content__header">
12
  <h2 class="wpgdprc-content__title"><?php _ex( 'Integrations', 'admin', 'wp-gdpr-compliance' ); ?></h2>
13
- <p class="wpgdprc-content__text"><?php _ex( 'Integrate GDPR Consent Compliance into forms that you use on your website. By enabling the integrations a checkbox will be added. You can manage per integration what text to display.', 'admin', 'wp-gdpr-compliance' ); ?></p>
14
  </header>
15
 
16
  <section class="wpgdprc-integrations">
10
 
11
  <header class="wpgdprc-content__header">
12
  <h2 class="wpgdprc-content__title"><?php _ex( 'Integrations', 'admin', 'wp-gdpr-compliance' ); ?></h2>
13
+ <p class="wpgdprc-content__text"><?php _ex( 'Integrate GDPR Consent Compliance into forms that you use on your website. By enabling the integrations a checkbox will be added. You can manage what text to display per integration.', 'admin', 'wp-gdpr-compliance' ); ?></p>
14
  </header>
15
 
16
  <section class="wpgdprc-integrations">
Templates/Admin/Pages/Settings/request.php CHANGED
@@ -19,7 +19,7 @@ $fields = PageSettings::getSectionFields($section);
19
  <div class="cell">
20
  <div class="wpgdprc-form__intro">
21
  <h4 class="wpgdprc-form__title h3">
22
- <?php _ex('Request User data', 'admin', 'wp-gdpr-compliance'); ?>
23
  </h4>
24
  <p class="wpgdprc-form__text"><?php _ex("Allow your site's visitors to request their data stored in the WordPress database (comments, WooCommerce orders etc.). Data found is send to their email address and allows them to put in an additional request to have the data anonymized.", 'admin', 'wp-gdpr-compliance'); ?></p>
25
  </div>
19
  <div class="cell">
20
  <div class="wpgdprc-form__intro">
21
  <h4 class="wpgdprc-form__title h3">
22
+ <?php _ex('Request user data form', 'admin', 'wp-gdpr-compliance'); ?>
23
  </h4>
24
  <p class="wpgdprc-form__text"><?php _ex("Allow your site's visitors to request their data stored in the WordPress database (comments, WooCommerce orders etc.). Data found is send to their email address and allows them to put in an additional request to have the data anonymized.", 'admin', 'wp-gdpr-compliance'); ?></p>
25
  </div>
Templates/Admin/header.php CHANGED
@@ -27,9 +27,9 @@ use WPGDPRC\Utils\Banner;
27
  <li>
28
  <?php Elements::link( Config::aboutUrl(), _x( 'About', 'admin', 'wp-gdpr-compliance' ), [ 'target' => '_blank' ] ); ?>
29
  </li>
30
- <li>
31
- <?php Elements::link( Config::faqUrl(), _x( 'FAQ', 'admin', 'wp-gdpr-compliance' ), [ 'target' => '_blank' ] ); ?>
32
- </li>
33
  <li>
34
  <?php Elements::link( Config::supportUrl(), _x( 'Support', 'admin', 'wp-gdpr-compliance' ), [ 'target' => '_blank' ] ); ?>
35
  </li>
27
  <li>
28
  <?php Elements::link( Config::aboutUrl(), _x( 'About', 'admin', 'wp-gdpr-compliance' ), [ 'target' => '_blank' ] ); ?>
29
  </li>
30
+ <!-- <li>-->
31
+ <!-- --><?php //Elements::link( Config::faqUrl(), _x( 'FAQ', 'admin', 'wp-gdpr-compliance' ), [ 'target' => '_blank' ] ); ?>
32
+ <!-- </li>-->
33
  <li>
34
  <?php Elements::link( Config::supportUrl(), _x( 'Support', 'admin', 'wp-gdpr-compliance' ), [ 'target' => '_blank' ] ); ?>
35
  </li>
Templates/Front/Consent/bar.php CHANGED
@@ -22,7 +22,7 @@ $class .= $position ? "wpgdprc-consent-bar--position-{$position}" : '';
22
  <div class="wpgdprc-consent-bar__notice"><?php echo $explanation; ?></div>
23
  </div>
24
  <div class="wpgdprc-consent-bar__column wpgdprc-consent-bar__column--settings">
25
- <button class="wpgdprc-button wpgdprc-button--settings"
26
  data-micromodal-trigger="wpgdprc-consent-modal"
27
  aria-expanded="false"
28
  aria-haspopup="true"
@@ -31,7 +31,7 @@ $class .= $position ? "wpgdprc-consent-bar--position-{$position}" : '';
31
  </button>
32
  </div>
33
  <div class="wpgdprc-consent-bar__column wpgdprc-consent-bar__column--accept">
34
- <button class="wpgdprc-button wpgdprc-button--accept">
35
  <?php echo $accept_button; ?>
36
  </button>
37
  </div>
22
  <div class="wpgdprc-consent-bar__notice"><?php echo $explanation; ?></div>
23
  </div>
24
  <div class="wpgdprc-consent-bar__column wpgdprc-consent-bar__column--settings">
25
+ <button type="button" class="wpgdprc-button wpgdprc-button--settings"
26
  data-micromodal-trigger="wpgdprc-consent-modal"
27
  aria-expanded="false"
28
  aria-haspopup="true"
31
  </button>
32
  </div>
33
  <div class="wpgdprc-consent-bar__column wpgdprc-consent-bar__column--accept">
34
+ <button type="button" class="wpgdprc-button wpgdprc-button--accept">
35
  <?php echo $accept_button; ?>
36
  </button>
37
  </div>
WordPress/Admin.php CHANGED
@@ -95,6 +95,8 @@ class Admin {
95
  $handle = Plugin::enqueueStyle('admin.css');
96
  wp_add_inline_style($handle, ConsentBar::listCustomStyleVars());
97
 
 
 
98
  // enqueue Google font style
99
  $google_font = ConsentBar::getGoogleFontUrl();
100
  if( $google_font ) {
95
  $handle = Plugin::enqueueStyle('admin.css');
96
  wp_add_inline_style($handle, ConsentBar::listCustomStyleVars());
97
 
98
+ Plugin::enqueueExternalStyle('https://use.typekit.net/bxb3nkp.css');
99
+
100
  // enqueue Google font style
101
  $google_font = ConsentBar::getGoogleFontUrl();
102
  if( $google_font ) {
WordPress/Admin/Pages/PageDashboard.php CHANGED
@@ -83,7 +83,7 @@ class PageDashboard extends AbstractPage {
83
  self::TAB_SETTINGS => [
84
  'title' => _x('Settings', 'admin', 'wp-gdpr-compliance'),
85
  'slug' => sanitize_title('Settings'),
86
- 'intro' => _x('Change settings of the Privacy Policy, Consent Bar, Request User data form and Integrations.', 'admin', 'wp-gdpr-compliance'),
87
  'icon' => 'cog'
88
  ],
89
  self::TAB_PREMIUM => [
83
  self::TAB_SETTINGS => [
84
  'title' => _x('Settings', 'admin', 'wp-gdpr-compliance'),
85
  'slug' => sanitize_title('Settings'),
86
+ 'intro' => _x('Change settings of the Privacy Policy, Consent bar and pop-up, Request user data form and Integrations.', 'admin', 'wp-gdpr-compliance'),
87
  'icon' => 'cog'
88
  ],
89
  self::TAB_PREMIUM => [
WordPress/Admin/Pages/PageSettings.php CHANGED
@@ -113,10 +113,10 @@ class PageSettings extends AbstractPage {
113
  'title' => _x( 'Privacy Policy', 'admin', 'wp-gdpr-compliance' ),
114
  ],
115
  self::SECTION_CONSENT => [
116
- 'title' => _x( 'Consent Bar', 'admin', 'wp-gdpr-compliance' ),
117
  ],
118
  self::SECTION_REQUEST => [
119
- 'title' => _x( 'Request User', 'admin', 'wp-gdpr-compliance' ),
120
  ],
121
  self::SECTION_INTEGRATE => [
122
  'title' => _x( 'Integrations', 'admin', 'wp-gdpr-compliance' ),
@@ -181,7 +181,7 @@ class PageSettings extends AbstractPage {
181
  'sr_only' => true,
182
  'args' => [
183
  'class' => 'regular-text',
184
- 'description' => _x( 'Enter the url where the Privacy Policy is written', 'admin', 'wp-gdpr-compliance' ),
185
  ],
186
  ],
187
  ];
@@ -200,7 +200,7 @@ class PageSettings extends AbstractPage {
200
  Settings::KEY_CONSENT_FONT => [
201
  'key' => Settings::KEY_CONSENT_FONT,
202
  'type' => 'select',
203
- 'label' => _x( 'Font', 'admin', 'wp-gdpr-compliance' ),
204
  'sr_only' => false,
205
  'args' => [
206
  'class' => 'regular-text',
@@ -343,7 +343,8 @@ class PageSettings extends AbstractPage {
343
  'post_status' => [ 'publish', 'draft', 'private' ],
344
  'description' => implode( ' ', [
345
  _x( 'Visitors will receive a link to this page on which the visitor can view all the data stored which is associated with their email address.', 'admin', 'wp-gdpr-compliance' ),
346
- sprintf( '<br><strong>%s</strong>', _x( 'Please make sure that the access request form shortcode [wpgdprc_access_request_form] is active on the selected page', 'admin', 'wp-gdpr-compliance' ) )
 
347
  ] ),
348
  ],
349
  ],
113
  'title' => _x( 'Privacy Policy', 'admin', 'wp-gdpr-compliance' ),
114
  ],
115
  self::SECTION_CONSENT => [
116
+ 'title' => _x( 'Consent bar & pop-up', 'admin', 'wp-gdpr-compliance' ),
117
  ],
118
  self::SECTION_REQUEST => [
119
+ 'title' => _x( 'Request user data form', 'admin', 'wp-gdpr-compliance' ),
120
  ],
121
  self::SECTION_INTEGRATE => [
122
  'title' => _x( 'Integrations', 'admin', 'wp-gdpr-compliance' ),
181
  'sr_only' => true,
182
  'args' => [
183
  'class' => 'regular-text',
184
+ 'description' => _x( 'Enter the url where the Privacy Policy is written.', 'admin', 'wp-gdpr-compliance' ),
185
  ],
186
  ],
187
  ];
200
  Settings::KEY_CONSENT_FONT => [
201
  'key' => Settings::KEY_CONSENT_FONT,
202
  'type' => 'select',
203
+ 'label' => _x( 'Font family for bar and pop-up', 'admin', 'wp-gdpr-compliance' ),
204
  'sr_only' => false,
205
  'args' => [
206
  'class' => 'regular-text',
343
  'post_status' => [ 'publish', 'draft', 'private' ],
344
  'description' => implode( ' ', [
345
  _x( 'Visitors will receive a link to this page on which the visitor can view all the data stored which is associated with their email address.', 'admin', 'wp-gdpr-compliance' ),
346
+ '<br>',
347
+ sprintf(_x( 'Please make sure that the access request form shortcode %s is active on the selected page', 'admin', 'wp-gdpr-compliance' ), '<strong>[wpgdprc_access_request_form]</strong>' )
348
  ] ),
349
  ],
350
  ],
WordPress/Config.php CHANGED
@@ -51,7 +51,7 @@ class Config {
51
  * @return string
52
  */
53
  public static function faqUrl(): string {
54
- return Helper::getPremiumAlternative( 'https://www.wpgdprc.com/faq/', self::addUTMParams( 'https://support.cookieinformation.com/en/collections/2554611-6-faq-legal-and-more' ) );
55
  }
56
 
57
  /**
51
  * @return string
52
  */
53
  public static function faqUrl(): string {
54
+ return self::addUTMParams( 'https://support.cookieinformation.com/en/collections/2554611-6-faq-legal-and-more' );
55
  }
56
 
57
  /**
WordPress/Plugin.php CHANGED
@@ -6,13 +6,9 @@ use WPGDPRC\Integrations\Plugins\GravityForms;
6
  use WPGDPRC\Objects\DataProcessor;
7
  use WPGDPRC\Objects\Log;
8
  use WPGDPRC\Objects\RequestAccess;
9
- use WPGDPRC\Objects\RequestDelete;
10
- use WPGDPRC\Utils\AdminHelper;
11
  use WPGDPRC\Utils\Helper;
12
  use WPGDPRC\Utils\Integration;
13
  use WPGDPRC\Utils\UserTypeHelper;
14
- use WPGDPRC\Utils\Wizard;
15
- use WPGDPRC\WordPress\Admin\Pages\PageWizard;
16
 
17
  /**
18
  * Class Plugin
@@ -174,6 +170,20 @@ class Plugin {
174
  return $handle;
175
  }
176
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
177
  /**
178
  * @param string $file
179
  * @param array $dependencies
6
  use WPGDPRC\Objects\DataProcessor;
7
  use WPGDPRC\Objects\Log;
8
  use WPGDPRC\Objects\RequestAccess;
 
 
9
  use WPGDPRC\Utils\Helper;
10
  use WPGDPRC\Utils\Integration;
11
  use WPGDPRC\Utils\UserTypeHelper;
 
 
12
 
13
  /**
14
  * Class Plugin
170
  return $handle;
171
  }
172
 
173
+ /**
174
+ * @param string $url
175
+ * @param array $dependencies
176
+ * @return false|string
177
+ */
178
+ public static function enqueueExternalStyle( $url = '', $dependencies = [] ) {
179
+ if( empty($url) ) return false;
180
+
181
+ $parsedUrl = parse_url($url);
182
+ $handle = sanitize_title_with_dashes(Plugin::PREFIX . '-' . $parsedUrl['hostname'] ?? Plugin::PREFIX . $parsedUrl['path'] ?? Plugin::PREFIX);
183
+ wp_enqueue_style($handle, $url, $dependencies, Plugin::VERSION);
184
+ return $handle;
185
+ }
186
+
187
  /**
188
  * @param string $file
189
  * @param array $dependencies
readme.txt CHANGED
@@ -4,7 +4,7 @@ Tags: gdpr, law, regulations, compliance, data, protection, privacy, data protec
4
  Requires at least: 5.3
5
  Tested up to: 5.8
6
  Requires PHP: 7.0
7
- Stable tag: 2.0.3
8
  License: GPLv2 or later
9
  License URI: https://www.gnu.org/licenses/gpl-2.0.html
10
 
@@ -26,19 +26,12 @@ This plugin assists website and webshop owners to comply with European privacy r
26
 
27
  Cookie Information GDPR Consent Plugin supports Contact Form 7, Gravity Forms, WooCommerce, WordPress user registration and WordPress Comments.
28
 
29
- Documentation
30
- [https://www.wpgdprc.com/documentation/](https://www.wpgdprc.com/documentation/ "WP GDPR Compliance documentation")
31
-
32
  == Installation ==
33
 
34
  1. Upload the plugin files to the `/wp-content/plugins/wp-gdpr-compliance` directory, or install the plugin through the WordPress plugins screen directly.
35
  2. Activate the plugin through the 'Plugins' screen in WordPress
36
  3. Go to Cookie Information
37
 
38
- == Frequently Asked Questions ==
39
-
40
- You'll find answers to many of your questions on [https://www.wpgdprc.com/faq/](https://www.wpgdprc.com/faq/ "Frequently Asked Questions")
41
-
42
  == Screenshots ==
43
 
44
  1. Ask your visitors for permission to enable certain scripts for tracking or advertising purposes.
@@ -48,6 +41,13 @@ You'll find answers to many of your questions on [https://www.wpgdprc.com/faq/](
48
 
49
  == Changelog ==
50
 
 
 
 
 
 
 
 
51
  = 2.0.3 =
52
  *Release date: 9th November 2021*
53
  * Completely removed Font Awesome.
4
  Requires at least: 5.3
5
  Tested up to: 5.8
6
  Requires PHP: 7.0
7
+ Stable tag: 2.0.4
8
  License: GPLv2 or later
9
  License URI: https://www.gnu.org/licenses/gpl-2.0.html
10
 
26
 
27
  Cookie Information GDPR Consent Plugin supports Contact Form 7, Gravity Forms, WooCommerce, WordPress user registration and WordPress Comments.
28
 
 
 
 
29
  == Installation ==
30
 
31
  1. Upload the plugin files to the `/wp-content/plugins/wp-gdpr-compliance` directory, or install the plugin through the WordPress plugins screen directly.
32
  2. Activate the plugin through the 'Plugins' screen in WordPress
33
  3. Go to Cookie Information
34
 
 
 
 
 
35
  == Screenshots ==
36
 
37
  1. Ask your visitors for permission to enable certain scripts for tracking or advertising purposes.
41
 
42
  == Changelog ==
43
 
44
+ = 2.0.4 =
45
+ *Release date: 15th November 2021*
46
+ * Improved the consent popup to also use the chosen font settings.
47
+ * Smaller frontend css.
48
+ * Fixed edge case of iframes in a noscript tag not bening loaded properly.
49
+ * Copy updates.
50
+
51
  = 2.0.3 =
52
  *Release date: 9th November 2021*
53
  * Completely removed Font Awesome.
wp-gdpr-compliance.php CHANGED
@@ -1,11 +1,11 @@
1
  <?php
2
  /**
3
  * Plugin Name: Cookie Information | Free WP GDPR Consent Plugin
4
- * Plugin URI: https://www.wpgdprc.com/
5
  * Description: This plugin assists website and web shop owners to comply with European privacy regulations known as GDPR. By May 24th, 2018 your website or shop has to comply to avoid large fines.
6
  * Author: Cookie Information
7
  * Author URI: https://cookieinformation.com/
8
- * Version: 2.0.3
9
  * Text Domain: wp-gdpr-compliance
10
  * Domain Path: /Resources/languages
11
  * Requires at least: 5.3
@@ -33,7 +33,7 @@ spl_autoload_register(__NAMESPACE__ . '\\autoload');
33
  define('WPGDPRC_ROOT', dirname(__FILE__) . '/');
34
  define('WPGDPRC_ROOT_FILE', __FILE__);
35
  define('WPGDPRC_FILE', plugin_basename(__FILE__));
36
- define('WPGDPRC_VERSION', '2.0.3');
37
  define('WPGDPRC_PREFIX', strtolower(__NAMESPACE__));
38
 
39
  // register activation & deactivation hook to add/remove plugin specific database options
1
  <?php
2
  /**
3
  * Plugin Name: Cookie Information | Free WP GDPR Consent Plugin
4
+ * Plugin URI: https://cookieinformation.com/
5
  * Description: This plugin assists website and web shop owners to comply with European privacy regulations known as GDPR. By May 24th, 2018 your website or shop has to comply to avoid large fines.
6
  * Author: Cookie Information
7
  * Author URI: https://cookieinformation.com/
8
+ * Version: 2.0.4
9
  * Text Domain: wp-gdpr-compliance
10
  * Domain Path: /Resources/languages
11
  * Requires at least: 5.3
33
  define('WPGDPRC_ROOT', dirname(__FILE__) . '/');
34
  define('WPGDPRC_ROOT_FILE', __FILE__);
35
  define('WPGDPRC_FILE', plugin_basename(__FILE__));
36
+ define('WPGDPRC_VERSION', '2.0.4');
37
  define('WPGDPRC_PREFIX', strtolower(__NAMESPACE__));
38
 
39
  // register activation & deactivation hook to add/remove plugin specific database options