System.register(["./p-5e377a26.system.js","./p-4166d436.system.js","./p-e847e88b.system.js"],(function(n){"use strict";var e,t,o,i;return{setters:[function(n){e=n.r;t=n.h;o=n.H},function(n){i=n.i},function(){}],execute:function(){var d=".sc-dvn-component-demo-h{display:-ms-inline-flexbox;display:inline-flex;-ms-flex-direction:column;flex-direction:column;-ms-flex-pack:justify;justify-content:space-between;margin:0 calc(2 * var(--spacing-unit));vertical-align:top;position:relative}.sc-dvn-component-demo-h:first-child{margin-left:0}.sc-dvn-component-demo-h:last-child{margin-right:0}.sc-dvn-component-demo-h dvn-highlighted-code.sc-dvn-component-demo{margin-left:calc(4 * var(--spacing-unit));margin-top:0}.sc-dvn-component-demo-h .flex-column.sc-dvn-component-demo dvn-highlighted-code.sc-dvn-component-demo{margin-top:calc(4 * var(--spacing-unit));margin-left:0}";var c=n("dvn_component_demo",function(){function n(n){e(this,n);this.layout="vertical"}n.prototype.render=function(){return t(o,null,t("div",{class:{"align-items-start":true,"d-flex":true,"flex-column":this.layout!=="horizontal"}},t("div",{innerHTML:this.domString,class:""}),t("dvn-highlighted-code",{leaned:true,textToCopy:this.domString},this.domString)))};return n}());c.style=d;var r="dvn-highlighted-code{display:inline-block;-webkit-box-sizing:border-box;box-sizing:border-box;margin:calc(4 * var(--spacing-unit));border-radius:var(--corner-radius);background:var(--color-highlighted-code-background);padding:calc(2 * var(--spacing-unit)) calc(4 * var(--spacing-unit));position:relative;max-width:100%;overflow:auto}dvn-highlighted-code.condensed{padding:0}dvn-highlighted-code.condensed pre.prettyprint{margin:8px}dvn-highlighted-code.condensed .controls{position:absolute;right:0;top:0;bottom:0}dvn-highlighted-code pre.prettyprint{background:var(--color-highlighted-code-background)}dvn-highlighted-code.leaned{margin:0}dvn-highlighted-code:hover .controls{opacity:1}dvn-highlighted-code .controls{opacity:0;-webkit-transition:opacity .3s;transition:opacity .3s}dvn-highlighted-code:not(.condensed) .controls dvn-button{position:absolute;bottom:calc(1 * var(--spacing-unit));right:calc(1 * var(--spacing-unit))}";var a=function(n){var e=document.createElement("textarea");e.value=n;document.body.appendChild(e);e.select();document.execCommand("copy");document.body.removeChild(e)};var s=n("dvn_highlighted_code",function(){function n(n){e(this,n);this.leaned=false;this.condensed=false}n.prototype.componentDidLoad=function(){setTimeout((function(){(PR||{}).prettyPrint()}),100)};n.prototype.render=function(){var n=this;return t(o,{class:{leaned:this.leaned,condensed:this.condensed}},t("pre",{class:"prettyprint"},t("slot",null)),this.textToCopy&&t("div",{class:"controls"},t("dvn-icon-button",{iconName:"uil uil-copy",leaned:true,view:this.condensed?"solid":"flat",shape:this.condensed?"square":"rounded",tint:"secondary",onClick:function(){a(n.textToCopy);n.notifier.congratulate("Copied to clipboard!")}})))};return n}());i(s);s.style=r}}}));