PageSourceSearch

https://app.ausha.co/assets/route-CkKVGphN.js

js ausha.co collected 2026-10-01 08:30:48 UTC 3,681 bytes, 60 lines download raw bytes

1import{cL as S,cE as v,u as A,gv as T,gw as z,gM as O,j as e,aG as R,a6 as N,aa as _,aH as l,aI as h,gN as E,cY as p,a8 as L,gO as M,p as C,g as t,F as w,R as $,O as k}from"./index-B1LBq2tR.js";import{a as m}from"./index-B-cGDOXk.js";(function(){try{var n=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{};n.SENTRY_RELEASE={id:"ce373f6359424ff342fb47488e90c33c1f7ed34c"};var i=new n.Error().stack;i&&(n._sentryDebugIds=n._sentryDebugIds||{},n._sentryDebugIds[i]="48f4b385-ad78-4c53-9c47-4d72428cdb98",n._sentryDebugIdIdentifier="sentry-dbid-48f4b385-ad78-4c53-9c47-4d72428cdb98")}catch{}})();const D=C("/_authenticated/app/channel/$channelId/show/$showId/monetization"),H=({children:n})=>{const{showId:i,channelId:o}=D.useParams(),{data:c}=S(Number(i)),x=c?.languageId===47,{data:s}=v(Number(o)),{t:a}=A(),I=T(s),y=s?.isOwnerHostingFreemium,b=s?.isHostingPro||z({pricing:I?.level,allowedPricings:["boost","supersonic"]}),{hasAccess:j,reason:d}=O({show:c,channel:s});return e.jsxs(F,{children:[e.jsxs(B,{children:[e.jsx(W,{children:a("Q9vMNy",{description:"Monetization",default:"Monétisation"})}),e.jsxs(R,{children:[e.jsxs(N,{isDisabled:d!==p.ROLE_NOT_ALLOWED,children:[e.jsx(_,{children:e.jsx(l,{to:"/app/channel/$channelId/show/$showId/monetization/auto",params:{channelId:o,showId:i},fuzzy:!0,children:r=>e.jsxs(h,{isActive:!!r,isDisabled:!j&&d!==p.MISSING_HOSTING_SUBSCRIPTION,children:[e.jsx(u,{icon:E}),e.jsx(g,{to:"/app/channel/$channelId/show/$showId/monetization/auto",params:{channelId:o,showId:i},children:x?a("dLfvce",{description:"Automatic",default:"Automatique"}):a("5rYcdu",{description:"Sponsorship",default:"Partenariat"})}),y&&e.jsx(f,{icon:m})]})})}),e.jsx(L,{placement:"top",children:a("Sof8v5",{description:"Only the owner of the show can access to automatic monetization",default:"Seul le propriétaire de l'émission peut accéder à la monétisation automatique."})})]}),e.jsx(l,{to:"/app/channel/$channelId/show/$showId/monetization/manual",params:{channelId:o,showId:i},fuzzy:!0,children:r=>e.jsxs(h,{isActive:!!r,children:[e.jsx(u,{icon:M}),e.jsx(g,{to:"/app/channel/$channelId/show/$showId/monetization/manual",params:{channelId:o,showId:i},children:a("hwx9qB",{description:"Manual",default:"Manuelle"})}),!b&&e.jsx(f,{icon:m})]})})]})]}),e.jsx(G,{children:e.jsx(P,{children:n})})]})},F=t.div`
2    display: block;
3    padding-inline: 1rem;
4    padding-block: 1rem;
5    display: flex;
6    flex-direction: column;
7    gap: 2rem;
8    width: 100%;
9
10    @media screen and (min-width: 1200px) {
11        flex-direction: row;
12        gap: 1rem;
13    }
14`,G=t.div`
15    display: flex;
16    justify-content: center;
17    flex-grow: 1;
18    min-width: 0;
19`,P=t.div`
20    display: flex;
21    height: max-content;
22    flex-direction: column;
23    gap: 1rem;
24    min-width: 0;
25    flex-grow: 1;
26
27    @media screen and (min-width: 1200px) {
28        max-width: var(--container-width);
29    }
30`,B=t.aside`
31    display: flex;
32    flex-direction: column;
33    height: fit-content;
34    gap: 1rem;
35
36    @media screen and (min-width: 1200px) {
37        position: sticky;
38        top: 1rem;
39        left: 0;
40        flex-shrink: 0;
41        gap: 1.5rem;
42        padding: 0.5rem;
43        width: 12.5rem;
44    }
45`,W=t.h2`
46    font-weight: var(--fw-bold);
47    font-size: var(--fs-heading-m);
48    line-height: var(--lh-heading-m);
49`,u=t(w)`
50    width: 1rem;
51    height: 1rem;
52`,f=t(w)`
53    color: var(--primary);
54    width: 0.75rem;
55    height: 0.75rem;
56`,g=t($)`
57    transition: color 0.2s;
58    color: inherit;
59`,Y=function(){return e.jsx(H,{children:e.jsx(k,{})})};export{Y as component};
60//# sourceMappingURL=route-CkKVGphN.js.map

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.