1import { j as f, l as _, G as g, o as x, c as b, e as i, u as e, n as h, f as m, a as t, t as o, B as y, d as v, F as w } from "./app-yg_pP4S4.js"; 2import { _ as I } from "./BaseInput-DrEncIoW.js"; 3import { _ as T } from "./LiveChat-BEmWJs6j.js"; 4import { _ as V } from "./FormFooter-BR3rPhrH.js"; 5import { _ as k } from "./DashboardLayout-CXf_hhYT.js"; 6import "./functions-DLrKIvnr.js"; 7import "./ApplicationLogo-D4QkytOJ.js"; 8import "./_plugin-vue_export-helper-DlAUqK2U.js"; 9import "./XMarkIcon-C7ztHuKP.js"; 10import "./index-CDyB1Hog.js"; 11import "./UserAvatar-B3-R1wxh.js"; 12import "./popover-DTQdCRwt.js"; 13import "./consts-7Qk9bpse.js"; 14import "./form-BcDj1t5Y.js"; 15import "./LoaderIcon-BfI_LFZK.js"; 16import "./ModalConfirmation-BptK8hn4.js"; 17import "./index-BF2h0ubX.js"; 18import "./CheckIcon-Bb6ppPFl.js"; 19import "./modelWrapper-D0DowOi8.js"; 20import "./BaseButton-DP1PFEmO.js"; 21import "./BaseModal-lnT_D81c.js"; 22import "./EyeIcon-C30yl1ND.js"; 23import "./HomeIcon-B7IW8yDA.js"; 24import "./MinusIcon-C5ZUuSoW.js"; 25import "./menu-DpWDC0YJ.js"; 26import "./use-text-value-9Z6g_4jd.js"; 27import "./use-tree-walker-DC0osvAV.js"; 28import "./vue-transitions-DxcThSkT.js"; 29import "./ClockIcon-DWc8x_ii.js"; 30const D = { class: "my-6 max-lg:my-0 2xl:my-0 2xl:p-6" }, B = { class: "flex px-6 py-5 max-lg:py-4 max-sm:px-4 2xl:rounded-lg 2xl:bg-gray-50" }, S = { class: "shrink-0" }, U = { class: "mr-3 aspect-square rounded-md bg-primary-50 p-0.5" }, $ = ["src", "alt"], q = { class: "mr-8 max-sm:mr-0 md:mr-12" }, A = { class: "mb-1 text-lg font-medium leading-6 text-gray-900" }, C = { class: "text-sm font-normal leading-5 text-gray-500" }, F = { class: "p-6 max-lg:pt-2 max-sm:px-4" }, N = { class: "block items-center justify-between text-sm leading-6 text-gray-500 lg:flex" }, j = { class: "mt-5 flex items-center space-x-2 lg:mt-0" }, E = { for: "tapfiliate_enabled", class: "block text-sm font-medium text-gray-700" }, L = { class: "flex w-full rounded-md lg:w-3/5" }, R = { class: "mt-10" }, G = { for: "account_id", class: "mt-4 block text-sm font-medium text-gray-700" }, M = { class: "mt-1.5 flex w-full rounded-md shadow-sm lg:w-3/5" }, yt = { __name: "IntegrationTapfiliate", props: { accountId: { required: false, type: String }, enabled: { required: true, type: Boolean } }, setup(d) { 31 const n = d, { t: a } = f(), c = [{ label: a("Settings"), url: route("settings.modules.index") }, { label: a("Integrations"), url: route("settings.integrations.index") }, { label: "Tapfiliate" }], s = _({ enabled: n.enabled, account_id: n.accountId }), p = g(new URL("/build/assets/integration-tapfiliate-DR669dDC.png", import.meta.url).href), u = () => s.put(route("settings.integrations.tapfiliate.update"), { preserveScroll: true }); 32 return (Y, l) => (x(), b(w, null, [i(e(h), { title: e(a)("Integration") }, null, 8, ["title"]), i(k, { breadcrumbs: c, "wrapper-class": "flow-root overflow-clip max-lg:[&_input]:text-base max-lg:[&_textarea]:text-base max-lg:[&_select]:text-base max-lg:[&_button[aria-haspopup=listbox]]:min-h-11" }, { header: m(() =>
32 [v(o(e(a)("Tapfiliate")), 1)]), default: m(() => [t("div", D, [t("div", B, [t("div", S, [t("div", U, [t("img", { class: "h-9 w-9 text-white", src: p.value, alt: e(a)("Tapfiliate") }, null, 8, $)])]), t("div", q, [t("h3", A, o(e(a)("Tapfiliate")), 1), t("div", C, o(e(a)("Affiliate tracking software for your referral programs.")), 1)])])]), t("form", { onSubmit: y(u, ["prevent"]) }, [t("div", F, [t("div", N, [t("div", null, o(e(a)("You can find your Account ID (Account sub ID) in your Tapfiliate account settings. Coupon codes assigned to affiliates in Tapfiliate must match your coupon codes exactly.")), 1), t("div", j, [t("label", E, o(e(a)("Enabled")), 1), t("div", L, [i(T, { id: "tapfiliate_enabled", modelValue: e(s).enabled, "onUpdate:modelValue": l[0] || (l[0] = (r) => e(s).enabled = r) }, null, 8, ["modelValue"])])])]), t("div", R, [t("label", G, o(e(a)("Tapfiliate account ID")), 1), t("div", M, [i(I, { id: "account_id", modelValue: e(s).account_id, "onUpdate:modelValue": l[1] || (l[1] = (r) => e(s).account_id = r), class: "w-full" }, null, 8, ["modelValue"])])])]), i(V, { "is-dirty": e(s).isDirty, processing: e(s).processing }, null, 8, ["is-dirty", "processing"])], 32)]), _: 1 })], 64)); 33} }; 34export { 35 yt as default 36};
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.