<html><head><meta name="color-scheme" content="light dark"></head><body><pre style="word-wrap: break-word; white-space: pre-wrap;">define(["require", "exports"], function (require, exports) {
    "use strict";
    Object.defineProperty(exports, "__esModule", { value: true });
    exports.isWithinConfigurationExperience = void 0;
    function isWithinConfigurationExperience() {
        const { frameElement, location, parent } = window; //Â&nbsp;IfÂ&nbsp;frameElementÂ&nbsp;isÂ&nbsp;null,Â&nbsp;originsÂ&nbsp;betweenÂ&nbsp;parentÂ&nbsp;andÂ&nbsp;childÂ&nbsp;doÂ&nbsp;notÂ&nbsp;match
        return frameElement
            ? //Â&nbsp;IfÂ&nbsp;originsÂ&nbsp;match,Â&nbsp;checkÂ&nbsp;ifÂ&nbsp;parentÂ&nbsp;iframeÂ&nbsp;hasÂ&nbsp;data-embed-type="instant-config"
                frameElement.getAttribute("data-embed-type") === "instant-config"
                    ? //Â&nbsp;IfÂ&nbsp;so,Â&nbsp;appÂ&nbsp;isÂ&nbsp;withinÂ&nbsp;configÂ&nbsp;experienceÂ&nbsp;-Â&nbsp;useÂ&nbsp;draftÂ&nbsp;values
                        true
                    : //Â&nbsp;Otherwise,Â&nbsp;itÂ&nbsp;isÂ&nbsp;notÂ&nbsp;withinÂ&nbsp;configÂ&nbsp;experienceÂ&nbsp;-Â&nbsp;useÂ&nbsp;publishÂ&nbsp;values
                        false
            : //Â&nbsp;OriginsÂ&nbsp;doÂ&nbsp;notÂ&nbsp;match
                //Â&nbsp;IFÂ&nbsp;TRUEÂ&nbsp;-Â&nbsp;IfÂ&nbsp;parentÂ&nbsp;andÂ&nbsp;childÂ&nbsp;locationsÂ&nbsp;doÂ&nbsp;notÂ&nbsp;match,Â&nbsp;andÂ&nbsp;theÂ&nbsp;locationÂ&nbsp;hostnamesÂ&nbsp;areÂ&nbsp;localÂ&nbsp;host.
                //Â&nbsp;UseÂ&nbsp;draftÂ&nbsp;valuesÂ&nbsp;forÂ&nbsp;locallyÂ&nbsp;hostedÂ&nbsp;configÂ&nbsp;panelÂ&nbsp;testing
                //Â&nbsp;IFÂ&nbsp;FALSEÂ&nbsp;-Â&nbsp;templateÂ&nbsp;appÂ&nbsp;isÂ&nbsp;embeddedÂ&nbsp;onÂ&nbsp;hostedÂ&nbsp;pageÂ&nbsp;-Â&nbsp;useÂ&nbsp;publishÂ&nbsp;values.
                location !== parent.location &amp;&amp; (location.hostname === "localhost" || location.hostname === "127.0.0.1");
    }
    exports.isWithinConfigurationExperience = isWithinConfigurationExperience;
});
</pre></body></html>