<html><head><meta name="color-scheme" content="light dark"></head><body><pre style="word-wrap: break-word; white-space: pre-wrap;">var __decorate = (this &amp;&amp; this.__decorate) || function (decorators, target, key, desc) {
    var c = arguments.length, r = c &lt; 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
    if (typeof Reflect === "object" &amp;&amp; typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
    else for (var i = decorators.length - 1; i &gt;= 0; i--) if (d = decorators[i]) r = (c &lt; 3 ? d(r) : c &gt; 3 ? d(target, key, r) : d(target, key)) || r;
    return c &gt; 3 &amp;&amp; r &amp;&amp; Object.defineProperty(target, key, r), r;
};
var __importDefault = (this &amp;&amp; this.__importDefault) || function (mod) {
    return (mod &amp;&amp; mod.__esModule) ? mod : { "default": mod };
};
define(["require", "exports", "esri/core/accessorSupport/decorators", "esri/widgets/Widget", "esri/widgets/support/widget"], function (require, exports, decorators_1, Widget_1, widget_1) {
    "use strict";
    Widget_1 = __importDefault(Widget_1);
    const CSS = {
        base: "esri-share"
    };
    let Share = class Share extends Widget_1.default {
        constructor(params) {
            super(params);
            this.view = null;
            this.messages = null;
        }
        render() {
            const { share, shareIncludeSocial, shareIncludeEmbed, popupPanel } = this.config;
            const displayShare = share &amp;&amp; this?.view?.widthBreakpoint !== "xsmall" ? true : false;
            //share-button-color
            return displayShare ? ((0, widget_1.tsx)("div", null,
                (0, widget_1.tsx)("instant-apps-social-share", { bind: this, view: this.view, mode: "inline", socialMedia: shareIncludeSocial, embed: shareIncludeEmbed, "display-tip-text": popupPanel ? "false" : "true" }))) : null;
        }
    };
    __decorate([
        (0, decorators_1.property)()
    ], Share.prototype, "config", void 0);
    __decorate([
        (0, decorators_1.property)()
    ], Share.prototype, "view", void 0);
    __decorate([
        (0, decorators_1.property)(),
        (0, widget_1.messageBundle)("sidebar/app/t9n/common")
    ], Share.prototype, "messages", void 0);
    Share = __decorate([
        (0, decorators_1.subclass)("Share")
    ], Share);
    return Share;
});
</pre></body></html>