"use strict";(self.webpackChunk_termly_web_resource_blocker=self.webpackChunk_termly_web_resource_blocker||[]).push([[685],{3685:(e,t,n)=>{n.r(t),n.d(t,{default:()=>C});var r=n(6896),l=n(9947),s=n.n(l),A=n(9809),m=n(9070),o=n(1564),i=n.n(o),y=n(4788);i()(y.Z,{insert:"head",singleton:!1});const a=y.Z.locals||{};var c=n(7029),d=n(1693);const C=function(){const e=(0,A.e)();!function(e){let{isEnabled:t}=e;const{acceptAll:n}=(0,d.Z)(),{closeAllUI:l}=(0,c.B)();(0,r.useEffect)((()=>{if(!t)return;const e=e=>{(function(){const{body:e,documentElement:t}=window.document,n=.5*(t.scrollHeight-window.innerHeight);return e.scrollTop>=n||t.scrollTop>=n})()&&(l(),n())};return window.addEventListener("scroll",e),()=>{window.removeEventListener("scroll",e)}}),[n,l,t])}({isEnabled:e.enable_consent_by_scroll});const t=s()(a["termly-".concat(e.display_style)],a[e.size],a[e.position]);return r.createElement(m.Z,{className:t,stylesOverrides:a})}},4788:(e,t,n)=>{n.d(t,{Z:()=>m});var r=n(6056),l=n.n(r),s=n(3650),A=n.n(s)()(l());A.push([e.id,".termly-styles-termly-tooltip-c26ee2,.termly-styles-termly-stretch-c62824,.termly-styles-termly-banner-e1ed59{display:block;border-radius:5px;box-sizing:border-box;opacity:1;position:fixed;z-index:var(--termly-z-index);border-width:0;margin:1.667em}@media screen and (max-width: 46em){.termly-styles-standard-b726f8.termly-styles-termly-tooltip-c26ee2,.termly-styles-standard-b726f8.termly-styles-termly-stretch-c62824,.termly-styles-standard-b726f8.termly-styles-termly-banner-e1ed59{border-radius:0;width:100% !important;max-width:100vw;margin:0 !important;left:0;right:0}}.termly-styles-top-a9b7ed.termly-styles-termly-stretch-c62824,.termly-styles-top-a9b7ed.termly-styles-termly-banner-e1ed59{top:0}.termly-styles-bottom-d26761.termly-styles-termly-stretch-c62824,.termly-styles-bottom-d26761.termly-styles-termly-banner-e1ed59{bottom:0}.termly-styles-termly-stretch-c62824 .termly-styles-logo-c34670,.termly-styles-termly-banner-e1ed59 .termly-styles-logo-c34670{justify-content:left}@media screen and (max-width: 58em){.termly-styles-termly-stretch-c62824 .termly-styles-logo-c34670,.termly-styles-termly-banner-e1ed59 .termly-styles-logo-c34670{justify-content:center}}.termly-styles-termly-stretch-c62824 .termly-styles-content-fcefe4,.termly-styles-termly-banner-e1ed59 .termly-styles-content-fcefe4{display:flex;flex:1;align-items:center}@media screen and (max-width: 58em){.termly-styles-termly-stretch-c62824 .termly-styles-content-fcefe4,.termly-styles-termly-banner-e1ed59 .termly-styles-content-fcefe4{flex-direction:column}}.termly-styles-termly-stretch-c62824 .termly-styles-message-d6c726,.termly-styles-termly-banner-e1ed59 .termly-styles-message-d6c726{margin-right:2em}@media screen and (max-width: 58em){.termly-styles-termly-stretch-c62824 .termly-styles-message-d6c726,.termly-styles-termly-banner-e1ed59 .termly-styles-message-d6c726{margin-bottom:2em;margin-right:0}}.termly-styles-termly-banner-e1ed59{border-width:0;max-width:1408px;left:0;right:0;margin-left:auto;margin-right:auto}@media only screen and (max-width: 70em){.termly-styles-termly-banner-e1ed59{width:calc(100% - 20px);margin:10px}}.termly-styles-termly-stretch-c62824{border-radius:0;width:100% !important;max-width:100vw;margin:0 !important;left:0;right:0}.termly-styles-termly-tooltip-c26ee2{width:45.7em}.termly-styles-termly-tooltip-c26ee2.termly-styles-top_left-a763e6{top:0;left:0}.termly-styles-termly-tooltip-c26ee2.termly-styles-top_right-f0c2ab{top:0;right:0}.termly-styles-termly-tooltip-c26ee2.termly-styles-bottom_left-c53472{left:0;bottom:0}.termly-styles-termly-tooltip-c26ee2.termly-styles-bottom_right-e3477a{right:0;bottom:0}.termly-styles-termly-tooltip-c26ee2 .termly-styles-message-d6c726{margin-bottom:1.5em}","",{version:3,sources:["webpack://./src/components/ResourceBlocker/ConsentPrompt/Banner/styles.scss","webpack://./src/components/ResourceBlocker/_mixins.scss"],names:[],mappings:"AAWA,8GACE,aAAA,CACA,iBAAA,CACA,qBAAA,CACA,SAAA,CACA,cAAA,CACA,6BAAA,CACA,cAAA,CACA,cAAA,CCwBA,oCDrBE,wMAnBF,eAAA,CACA,qBAAA,CACA,eAAA,CACA,mBAAA,CACA,MAAA,CACA,OAAA,CAAA,CAqBA,2HACE,KAAA,CAGF,iIACE,QAAA,CAGF,+HACE,oBAAA,CCDF,oCAAA,+HDII,sBAAA,CAAA,CAIJ,qIACE,YAAA,CAIA,MAAA,CACA,kBAAA,CCdF,oCDQA,qIAGI,qBAAA,CAAA,CAMJ,qIACE,gBAAA,CClBF,oCDiBA,qIAII,iBAAA,CACA,cAAA,CAAA,CAKN,oCAIE,cAAA,CAEA,gBAAA,CACA,MAAA,CACA,OAAA,CACA,gBAAA,CACA,iBAAA,CC3CA,yCDiCF,oCAaI,uBAAA,CACA,WAAA,CAAA,CAIJ,qCA/EE,eAAA,CACA,qBAAA,CACA,eAAA,CACA,mBAAA,CACA,MAAA,CACA,OAAA,CAiFF,qCAGE,YAAA,CAEA,mEACE,KAAA,CACA,MAAA,CAGF,oEACE,KAAA,CACA,OAAA,CAGF,sEACE,MAAA,CACA,QAAA,CAGF,uEACE,OAAA,CACA,QAAA,CAGF,mEACE,mBAAA",sourcesContent:["@import '../../mixins';\n\n@mixin full-width {\n border-radius: 0;\n width: 100% !important;\n max-width: 100vw;\n margin: 0 !important;\n left: 0;\n right: 0;\n}\n\n%banner-like {\n display: block;\n border-radius: 5px;\n box-sizing: border-box;\n opacity: 1;\n position: fixed;\n z-index: var(--termly-z-index);\n border-width: 0;\n margin: 1.667em;\n\n @include xs() {\n &.standard {\n @include full-width;\n }\n }\n}\n\n%banner-like-content {\n &.top {\n top: 0;\n }\n\n &.bottom {\n bottom: 0;\n }\n\n .logo {\n justify-content: left;\n\n @include sm() {\n justify-content: center;\n }\n }\n\n .content {\n display: flex;\n @include sm() {\n flex-direction: column;\n }\n flex: 1;\n align-items: center;\n }\n\n .message {\n margin-right: 2em;\n\n @include sm() {\n margin-bottom: 2em;\n margin-right: 0;\n }\n }\n}\n\n.termly-banner {\n @extend %banner-like;\n @extend %banner-like-content;\n\n border-width: 0;\n\n max-width: 1408px;\n left: 0;\n right: 0;\n margin-left: auto;\n margin-right: auto;\n\n @include md() {\n width: calc(100% - 20px);\n margin: 10px;\n }\n}\n\n.termly-stretch {\n @extend %banner-like;\n @extend %banner-like-content;\n\n @include full-width;\n}\n\n.termly-tooltip {\n @extend %banner-like;\n\n width: 45.7em;\n\n &.top_left {\n top: 0;\n left: 0;\n }\n\n &.top_right {\n top: 0;\n right: 0;\n }\n\n &.bottom_left {\n left: 0;\n bottom: 0;\n }\n\n &.bottom_right {\n right: 0;\n bottom: 0;\n }\n\n .message {\n margin-bottom: 1.5em;\n }\n}\n","$codgray: #141414;\n$mineshaft: #2a2a2a;\n$mercury: #e4e4e4;\n$water-blue-seven: #0da3dc;\n$dark-blue-grey: #19243c;\n$bluey-grey-three: #8b93a7;\n$black-two: #3a3a3a;\n$very-light-pink: #e6e6e6;\n$pinkish-grey-three: #bfbfbf;\n$azure-eight: #2bb4e0;\n$azure-six: #1a98eb;\n$white: #fff;\n$white-two: #f9f9f9;\n$black: #000;\n$replacement-title: #1f1e33;\n$replacement-description: #303030;\n$replacement-accept: #3b9cf6;\n$greyish-brown: #3b3b3b;\n$pale-grey-three: #ededef;\n$pale-grey-four: #f7f9fc;\n$steel: #868e96;\n$charcoal-grey: #363840;\n$blue-grey: #808ba4;\n\n@mixin lg {\n @media only screen and (max-width: 95em) {\n @content;\n }\n}\n\n@mixin md {\n @media only screen and (max-width: 70em) {\n @content;\n }\n}\n\n@mixin sm {\n @media screen and (max-width: 58em) {\n @content;\n }\n}\n\n@mixin xs {\n @media screen and (max-width: 46em) {\n @content;\n }\n}\n\n@mixin xxs {\n @media screen and (max-width: 36.5em) {\n @content;\n }\n}\n\n@mixin xxxs {\n @media screen and (max-width: 23.125em) {\n @content;\n }\n}\n\n@mixin setFont($font-family, $font-size, $color, $font-weight: 500) {\n font-family: $font-family;\n font-size: $font-size;\n font-weight: $font-weight;\n color: $color;\n}\n"],sourceRoot:""}]),A.locals={"termly-tooltip":"termly-styles-termly-tooltip-c26ee2","termly-stretch":"termly-styles-termly-stretch-c62824","termly-banner":"termly-styles-termly-banner-e1ed59",standard:"termly-styles-standard-b726f8",top:"termly-styles-top-a9b7ed",bottom:"termly-styles-bottom-d26761",logo:"termly-styles-logo-c34670",content:"termly-styles-content-fcefe4",message:"termly-styles-message-d6c726",top_left:"termly-styles-top_left-a763e6",top_right:"termly-styles-top_right-f0c2ab",bottom_left:"termly-styles-bottom_left-c53472",bottom_right:"termly-styles-bottom_right-e3477a"};const m=A}}]); //# sourceMappingURL=https://app.termly.io/resource-blocker/support/685-27f5931c20318504e456.min.js.map