UNPKG

@usercentrics/cmp-browser-sdk

Version:
2 lines (1 loc) 852 B
import{d as s,g as a,i,aC as e,a3 as o,ap as t,aD as d,aq as r}from"./index-a467e104.js";var h=s(function s(o){a(this,s),i(this,"isOverlayEnabled",void 0),this.isOverlayEnabled=e(o)}),n=s(function s(e){var h;a(this,s),i(this,"defaultView",void 0),i(this,"hideDataProcessingServices",void 0),i(this,"isOverlayEnabled",void 0),i(this,"showCategoriesTab",void 0),i(this,"showServicesTab",void 0),i(this,"tabColor",void 0),this.defaultView=o(e.secondLayer.defaultView,t.CAT),this.hideDataProcessingServices=o(e.secondLayer.hideDataProcessingServices,!1),this.isOverlayEnabled=d(e),this.showCategoriesTab=o(e.secondLayer.tabsCategoriesIsEnabled,!0),this.showServicesTab=o(e.secondLayer.tabsServicesIsEnabled,!0),this.tabColor=o(r(null===(h=e.customization)||void 0===h||null===(h=h.color)||void 0===h?void 0:h.secondLayerTab),null)});export{h as F,n as S};