PageSourceSearch

https://askarapps.com/_next/static/chunks/pages/dashboard/[guildId]/antilink-adf0407558e8e302.js

js askarapps.com collected 2026-10-02 00:28:29 UTC 37,124 bytes, 5 lines download raw bytes

1
2!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{},n=(new e.Error).stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="e90fc801-9d52-55ad-a81d-d7e0759a0eef")}catch(e){}}();
3(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[8692],{3965:(e,a,i)=>{"use strict";i.d(a,{M:()=>n});let n=(0,i(14684).k5)({tag:"svg",attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{d:"M0 416c0 17.7 14.3 32 32 32l54.7 0c12.3 28.3 40.5 48 73.3 48s61-19.7 73.3-48L480 448c17.7 0 32-14.3 32-32s-14.3-32-32-32l-246.7 0c-12.3-28.3-40.5-48-73.3-48s-61 19.7-73.3 48L32 384c-17.7 0-32 14.3-32 32zm128 0a32 32 0 1 1 64 0 32 32 0 1 1 -64 0zM320 256a32 32 0 1 1 64 0 32 32 0 1 1 -64 0zm32-80c-32.8 0-61 19.7-73.3 48L32 224c-17.7 0-32 14.3-32 32s14.3 32 32 32l246.7 0c12.3 28.3 40.5 48 73.3 48s61-19.7 73.3-48l54.7 0c17.7 0 32-14.3 32-32s-14.3-32-32-32l-54.7 0c-12.3-28.3-40.5-48-73.3-48zM192 128a32 32 0 1 1 0-64 32 32 0 1 1 0 64zm73.3-64C253 35.7 224.8 16 192 16s-61 19.7-73.3 48L32 64C14.3 64 0 78.3 0 96s14.3 32 32 32l86.7 0c12.3 28.3 40.5 48 73.3 48s61-19.7 73.3-48L480 128c17.7 0 32-14.3 32-32s-14.3-32-32-32L265.3 64z"},child:[]}]})},12304:(e,a,i)=>{"use strict";i.d(a,{V:()=>n});let n=(0,i(14684).k5)({tag:"svg",attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{d:"M416 208c0 45.9-14.9 88.3-40 122.7L502.6 457.4c12.5 12.5 12.5 32.8 0 45.3s-32.8 12.5-45.3 0L330.7 376c-34.4 25.2-76.8 40-122.7 40C93.1 416 0 322.9 0 208S93.1 0 208 0S416 93.1 416 208zM208 352a144 144 0 1 0 0-288 144 144 0 1 0 0 288z"},child:[]}]})},28033:(e,a,i)=>{"use strict";i.d(a,{A:()=>n});let n=(0,i(14684).k5)({tag:"svg",attr:{viewBox:"0 0 640 512"},child:[{tag:"path",attr:{d:"M579.8 267.7c56.5-56.5 56.5-148 0-204.5c-50-50-128.8-56.5-186.3-15.4l-1.6 1.1c-14.4 10.3-17.7 30.3-7.4 44.6s30.3 17.7 44.6 7.4l1.6-1.1c32.1-22.9 76-19.3 103.8 8.6c31.5 31.5 31.5 82.5 0 114L422.3 334.8c-31.5 31.5-82.5 31.5-114 0c-27.9-27.9-31.5-71.8-8.6-103.8l1.1-1.6c10.3-14.4 6.9-34.4-7.4-44.6s-34.4-6.9-44.6 7.4l-1.1 1.6C206.5 251.2 213 330 263 380c56.5 56.5 148 56.5 204.5 0L579.8 267.7zM60.2 244.3c-56.5 56.5-56.5 148 0 204.5c50 50 128.8 56.5 186.3 15.4l1.6-1.1c14.4-10.3 17.7-30.3 7.4-44.6s-30.3-17.7-44.6-7.4l-1.6 1.1c-32.1 22.9-76 19.3-103.8-8.6C74 372 74 321 105.5 289.5L217.7 177.2c31.5-31.5 82.5-31.5 114 0c27.9 27.9 31.5 71.8 8.6 103.9l-1.1 1.6c-10.3 14.4-6.9 34.4 7.4 44.6s34.4 6.9 44.6-7.4l1.1-1.6C433.5 260.8 427 182 377 132c-56.5-56.5-148-56.5-204.5 0L60.2 244.3z"},child:[]}]})},50894:(e,a,i)=>{(window.__NEXT_P=window.__NEXT_P||[]).push(["/dashboard/[guildId]/antilink",function(){return i(96053)}])},62834:(e,a,i)=>{"use strict";i.d(a,{X:()=>n});let n=(0,i(14684).k5)({tag:"svg",attr:{viewBox:"0 0 320 512"},child:[{tag:"path",attr:{d:"M310.6 233.4c12.5 12.5 12.5 32.8 0 45.3l-192 192c-12.5 12.5-32.8 12.5-45.3 0s-12.5-32.8 0-45.3L242.7 256 73.4 86.6c-12.5-12.5-12.5-32.8 0-45.3s32.8-12.5 45.3 0l192 192z"},child:[]}]})},65758:(e,a,i)=>{"use strict";i.d(a,{R:()=>n});let n=(0,i(14684).k5)({tag:"svg",attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{d:"M367.2 412.5L99.5 144.8C77.1 176.1 64 214.5 64 256c0 106 86 192 192 192c41.5 0 79.9-13.1 111.2-35.5zm45.3-45.3C434.9 335.9 448 297.5 448 256c0-106-86-192-192-192c-41.5 0-79.9 13.1-111.2 35.5L412.5 367.2zM0 256a256 256 0 1 1 512 0A256 256 0 1 1 0 256z"},child:[]}]})},96053:(e,a,i)=>{"use strict";i.r(a),i.d(a,{default:()=>eL});var n=i(37876),o=i(15069),s=i(24322),t=i(14232),r=i(72414),l=i(94788),d=i(67768),c=i(74359),p=i(40097),m=i(72665),x=i(77989),g=i(83605),h=i(13139),u=i(13755),f=i(8202),b=i(70690),j=i(3965),y=i(17710),w=i(46696),A=i(62834),k=i(28033),v=i(65758),C=i(12304);let M=(0,i(14684).k5)({tag:"svg",attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{d:"M123.6 391.3c12.9-9.4 29.6-11.8 44.6-6.4c26.5 9.6 56.2 15.1 87.8 15.1c124.7 0 208-80.5 208-160s-83.3-160-208-160S48 160.5 48 240c0 32 12.4 62.8 35.7 89.2c8.6 9.7 12.8 22.5 11.8 35.5c-1.4 18.1-5.7 34.7-11.3 49.4c17-7.9 31.1-16.7 39.4-22.7zM21.2 431.9c1.8-2.7 3.5-5.4 5.1-8.1c10-16.6 19.5-38.4 21.4-62.9C17.7 326.8 0 285.1 0 240C0 125.1 114.6 32 256 32s256 93.1 256 208s-114.6 208-256 208c-37.1 0-72.3-6.4-104.1-17.9c-11.9 8.7-31.3 20.6-54.3 30.6c-15.1 6.6-32.3 12.6-50.1 16.1c-.8 .2-1.6 .3-2.4 .5c-4.4 .8-8.7 1.5-13.2 1.9c-.2 0-.5 .1-.7 .1c-5.1 .5-10.2 .8-15.3 .8c-6.5 0-12.3-3.9-14.8-9.9c-2.5-6-1.1-12.8 3.4-17.4c4.1-4.2 7.8-8.7 11.3-13.5c1.7-2.3 3.3-4.6 4.8-6.9l.3-.5z"},child:[]}]});var z=i(5720),$=i(86548),N=i(87856),D=i(177),I=i(24913),_=i(64486);let L=N.Ay.div.withConfig({componentId:"sc-33869025-0"})(["display:flex;flex-direction:column;width:100%;","{padding-bottom:80px;}"],D.$_.md),P=N.Ay.div.withConfig({componentId:"sc-33869025-1"}
3)(["height:1px;background:rgba(255,255,255,0.06);margin-bottom:6px;","{display:none;}"],D.$_.md),E=N.Ay.div.withConfig({componentId:"sc-33869025-2"})(["display:flex;align-items:center;gap:22px;padding:26px 2px;border-bottom:1px solid rgba(255,255,255,0.06);.info{flex:1;min-width:0;}.title-row{display:flex;align-items:center;gap:12px;margin-bottom:7px;flex-wrap:wrap;}h3{margin:0;font-size:1.18rem;font-weight:700;color:#fff;letter-spacing:-0.015em;}p{margin:0;font-size:0.88rem;color:#a1a1aa;line-height:1.4;}","{background:#0c0c10;border:1px solid rgba(255,255,255,0.06);border-radius:16px;padding:16px;margin-bottom:16px;gap:12px;.title-row{gap:9px;margin-bottom:5px;}h3{font-size:1rem;font-weight:800;}p{font-size:0.78rem;line-height:1.45;}}"],D.$_.md),T=N.Ay.span.withConfig({componentId:"sc-33869025-3"})(["display:inline-flex;align-items:center;gap:6px;padding:3px 10px;border-radius:7px;font-size:0.72rem;font-weight:700;background:",";color:",";.dot{width:7px;height:7px;border-radius:50%;background:",";box-shadow:",";}","{padding:3px 9px;font-size:0.68rem;.dot{width:6px;height:6px;}}"],e=>e.$on?"rgba(16, 185, 129, 0.12)":"rgba(255, 255, 255, 0.05)",e=>e.$on?"#10b981":D.Tj.textMuted,e=>e.$on?"#10b981":D.Tj.textMuted,e=>e.$on?"0 0 8px #10b98188":"none",D.$_.md),S=N.Ay.button.withConfig({componentId:"sc-33869025-4"})(["width:54px;height:30px;border-radius:15px;flex-shrink:0;position:relative;border:none;cursor:pointer;background:",";box-shadow:",";transition:background 0.2s ease;.knob{position:absolute;top:3px;left:",";width:24px;height:24px;border-radius:50%;background:#fff;box-shadow:0 2px 5px rgba(0,0,0,0.35);transition:left 0.2s cubic-bezier(0.3,1.5,0.6,1);}","{width:52px;.knob{left:",";}}"],e=>e.$on?D.Tj.brand:"#3f3f46",e=>e.$on?"0 0 16px rgba(116, 18, 255, 0.4)":"none",e=>e.$on?"27px":"3px",D.$_.md,e=>e.$on?"25px":"3px"),q=N.Ay.section.withConfig({componentId:"sc-33869025-5"})(["padding:","px 2px;border-bottom:",";position:relative;"," ","{padding:0;border-bottom:none;}"],e=>{var a;return null!=(a=e.$py)?a:22},e=>e.$last?"none":"1px solid rgba(255, 255, 255, 0.06)",e=>null!=e.$z&&(0,N.AH)(["z-index:",";"],e.$z),D.$_.md),B=N.Ay.div.withConfig({componentId:"sc-33869025-6"})(["display:flex;align-items:center;gap:","px;margin-bottom:","px;> svg{color:#a78bfa;font-size:0.92rem;flex-shrink:0;}h3{margin:0;font-size:1rem;font-weight:700;color:#fff;white-space:nowrap;flex-shrink:0;letter-spacing:-0.01em;}.spacer{margin-left:auto;}","{gap:9px;margin:20px 2px 12px;> svg{font-size:0.82rem;}h3{font-size:0.72rem;font-weight:700;letter-spacing:0.09em;text-transform:uppercase;color:",";}}"],e=>e.$tight?10:12,e=>{var a;return null!=(a=e.$mb)?a:16},D.$_.md,D.Tj.textMuted),F=N.Ay.span.withConfig({componentId:"sc-33869025-7"})(["display:inline-flex;align-items:center;justify-content:center;min-width:20px;height:20px;padding:0 6px;border-radius:6px;background:rgba(116,18,255,0.16);color:#c4b5fd;font-size:0.72rem;font-weight:700;"]),G=N.Ay.div.withConfig({componentId:"sc-33869025-8"})(["","{background:#0c0c10;border:1px solid rgba(255,255,255,0.06);border-radius:16px;padding:16px;margin-bottom:","px;}"],D.$_.md,e=>{var a;return null!=(a=e.$mbMobile)?a:16}),O=N.Ay.div.withConfig({componentId:"sc-33869025-9"})(["display:grid;grid-template-columns:1fr 1fr;gap:44px;max-width:1180px;> div{min-width:0;}","{grid-template-columns:1fr;gap:24px;}","{display:flex;flex-direction:column;gap:16px;}"],D.$_.lg,D.$_.md),K=N.Ay.label.withConfig({componentId:"sc-33869025-10"})(["display:block;font-size:0.78rem;font-weight:600;color:#a1a1aa;margin-bottom:9px;span{color:#52525b;font-weight:500;}","{font-size:0.72rem;}"],D.$_.md),V=N.Ay.div.withConfig({componentId:"sc-33869025-11"})(["display:flex;align-items:center;gap:6px;color:#52525b;font-size:0.74rem;margin-top:9px;svg{font-size:0.72rem;flex-shrink:0;}","{display:none;}"],D.$_.md),Y=N.Ay.div.withConfig({componentId:"sc-33869025-12"})(["display:flex;align-items:center;gap:6px;color:#f2777a;font-size:0.74rem;margin-top:9px;svg{font-size:0.7rem;flex-shrink:0;}","{font-size:0.72rem;margin-top:8px;}"],D.$_.md),U=N.Ay.input.withConfig({componentId:"sc-33869025-13"})(["width:100%;background:#0c0c10;border:1px solid #1c1c24;border-radius:11px;padding:12px 14px;color:#e4e4e7;font-size:0.88rem;font-family:inherit;box-sizing:border-box;outline:none;transition:border-color 0.16s;&::placeholder{color:#52525b;}&:focus{border-color:",";}","{display:none;}"],D.Tj.brand,D.$_.md),X=N.Ay.textarea.withConfig({componentId:"sc-33869025-14"})(["display:none;","{display:block;width:100%;background:#09090b;border:1px solid #1c1c24;border-radius:11px;padding:12px 14px;color:#e4e4e7;font-size:0.86rem;font-family:inherit;box-sizing:border-box;outline:none;resize:none;line-height:1.5;transition:border-color 0.16s;&::placeholder{color:#52525b;}&:focus{border-color:",";}}"],D.$_.md,D.Tj.brand),Q=_.MI,R=N.Ay.button.withConfig({componentId:"sc-33869025-15"})(["width:100%;display:flex;align-items:center;gap:9px;background:#0c0c10;border:1px solid #1c1c24;border-radius:11px;padding:12px 14px;cursor:pointer;font-family:inherit;text-align:left;transition:border-color 0.15s;&:hover{border-color:#2a2a35;}> .hash{color:",";font-size:0.8rem;flex-shrink:0;}.name{flex:1;min-width:0;font-size:0.86rem;font-weight:",";color:",";white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}> .chev{margin-left:auto;color:#52525b;font-size:0.68rem;flex-shrink:0;}> .chev-right{display:none;}","{background:#09090b;.name{font-size:0.88rem;}> .chev{display:none;}> .chev-right{display:block;margin-left:auto;color:#52525b;font-size:0.72rem;flex-shrink:0;}}"],D.Tj.textMuted,e=>e.$picked?600:400,e=>e.$picked?"#e4e4e7":"#52525b",D.$_.md),J=_.bl,W=(0,N.Ay)(_.ms).withConfig({componentId:"sc-33869025-16"})(["","{display:none;}"],D.$_.md),Z=_.U1,H=_.Kk,ee=_._I,ea=_.Zu,ei=(0,N.Ay)(_.NJ).attrs({$mdGrow:!0}).withConfig({componentId:"sc-33869025-17"})([""]),en=N.Ay.div.withConfig({componentId:"sc-33869025-18"})(["margin-left:auto;display:inline-flex;align-items:center;gap:8px;background:#0c0c10;border:1px dashed #2a2a35;border-radius:10px;padding:4px 4px 4px 13px;> svg{color:#52525b;font-size:0.72rem;flex-shrink:0;}input{background:transparent;border:none;width:185px;color:#e4e4e7;font-size:0.83rem;font-family:inherit;outline:none;&::placeholder{color:#52525b;}}","{display:none;}"],D.$_.md),eo=N.Ay.button.withConfig({componentId:"sc-33869025-19"})(["width:30px;height:30px;flex-shrink:0;border-radius:8px;display:flex;align-items:center;justify-content:center;border:none;font-family:inherit;cursor:",";background:",";color:",";box-shadow:",";transition:all 0.15s ease;svg{font-size:0.76rem;}"],e=>e.$on?"pointer":"not-allowed",e=>e.$on?D.Tj.brand:"rgba(255, 255, 255, 0.05)",e=>e.$on?"#fff":"#52525b",e=>e.$on?"0 6px 16px rgba(116, 18, 255, 0.32)":"none"),es=N.Ay.div.withConfig({componentId:"sc-33869025-20"})(["display:none;","{display:flex;gap:9px;margin-bottom:14px;input{flex:1;min-width:0;background:#09090b;border:1px solid #1c1c24;border-radius:10px;padding:11px 13px;color:#e4e4e7;font-size:0.86rem;font-family:inherit;box-sizing:border-box;outline:none;&::placeholder{color:#52525b;}&:focus{border-color:",";}}}"],D.$_.md,D.Tj.brand),et=N.Ay.button.withConfig({componentId:"sc-33869025-21"})(["width:44px;height:44px;flex-shrink:0;border-radius:11px;display:flex;align-items:center;justify-content:center;border:none;font-family:inherit;cursor:pointer;background:",";color:",";box-shadow:",";svg{font-size:0.85rem;}"],e=>e.$on?D.Tj.brand:"rgba(255, 255, 255, 0.05)",e=>e.$on?"#fff":"#52525b",e=>
3e.$on?"0 8px 20px rgba(116, 18, 255, 0.32)":"none"),er=N.Ay.button.withConfig({componentId:"sc-33869025-22"})(["display:inline-flex;align-items:center;gap:8px;background:#0c0c10;border:1px dashed #2a2a35;border-radius:10px;padding:9px 15px;cursor:pointer;font-family:inherit;color:#a1a1aa;font-size:0.83rem;font-weight:500;transition:border-color 0.15s,color 0.15s;svg{font-size:0.74rem;}&:hover{border-color:",";color:#a78bfa;}","{display:none;}"],D.Tj.brand,D.$_.md),el=N.Ay.button.withConfig({componentId:"sc-33869025-23"})(["display:none;","{width:100%;display:flex;align-items:center;justify-content:center;gap:8px;background:#09090b;border:1px dashed #2a2a35;border-radius:11px;padding:12px;cursor:pointer;font-family:inherit;color:#a78bfa;font-size:0.84rem;font-weight:600;margin-bottom:14px;svg{font-size:0.78rem;}&:active{border-color:",";}}"],D.$_.md,D.Tj.brand),ed=N.Ay.div.withConfig({componentId:"sc-33869025-24"})(["display:flex;flex-wrap:wrap;gap:10px;.empty{color:#52525b;font-size:0.84rem;}","{gap:8px;.empty{font-size:0.8rem;}}"],D.$_.md),ec=N.Ay.span.withConfig({componentId:"sc-33869025-25"})(["display:inline-flex;align-items:center;gap:9px;border-radius:9px;padding:9px 9px 9px 13px;font-size:0.85rem;color:#e4e4e7;font-weight:500;background:",";border:1px solid ",";max-width:100%;min-width:0;> .hash{color:",";font-size:0.76rem;flex-shrink:0;}> .link{color:",";font-size:0.72rem;flex-shrink:0;}.chip-warn{color:#f2777a;font-size:0.72rem;flex-shrink:0;}.chip-name{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;min-width:0;}","{background:",";border-color:",";padding:7px 8px 7px 11px;font-size:0.82rem;> .link{font-size:0.68rem;}}"],e=>e.$warn?"rgba(242, 119, 122, 0.06)":"#0e0e12",e=>e.$warn?"rgba(242, 119, 122, 0.32)":"#1c1c24",D.Tj.textMuted,D.Tj.textMuted,D.$_.md,e=>e.$warn?"rgba(242, 119, 122, 0.06)":"rgba(255, 255, 255, 0.04)",e=>e.$warn?"rgba(242, 119, 122, 0.32)":"rgba(255, 255, 255, 0.08)"),ep=N.Ay.button.withConfig({componentId:"sc-33869025-26"})(["width:19px;height:19px;flex-shrink:0;border-radius:5px;background:transparent;border:none;color:#52525b;cursor:pointer;display:flex;align-items:center;justify-content:center;font-size:0.72rem;&:hover{background:rgba(242,119,122,0.15);color:#f2777a;}","{width:18px;height:18px;font-size:0.7rem;}"],D.$_.md),em=(0,N.Ay)(ed).withConfig({componentId:"sc-33869025-27"})(["","{display:none;}"],D.$_.md),ex=N.Ay.div.withConfig({componentId:"sc-33869025-28"})(["display:none;","{display:flex;flex-direction:column;gap:12px;.empty{color:#52525b;font-size:0.82rem;}}"],D.$_.md),eg=N.Ay.div.withConfig({componentId:"sc-33869025-29"})(["display:flex;align-items:center;gap:12px;.mi-body{flex:1;min-width:0;display:flex;flex-direction:column;gap:4px;}.mi-chip{display:inline-flex;align-items:center;gap:8px;width:fit-content;max-width:100%;min-width:0;}.mi-name{font-size:0.9rem;font-weight:600;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}.mi-chan{color:#e4e4e7;font-size:0.86rem;font-weight:500;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}.mi-hash{color:",";font-size:0.76rem;flex-shrink:0;}.mi-warn{display:flex;align-items:flex-start;gap:6px;color:#f2777a;font-size:0.71rem;line-height:1.35;svg{font-size:0.66rem;margin-top:2px;flex-shrink:0;}}"],D.Tj.textMuted),eh=N.Ay.button.withConfig({componentId:"sc-33869025-30"})(["width:34px;height:34px;flex-shrink:0;border-radius:9px;background:transparent;border:1px solid rgba(255,255,255,0.07);color:",";cursor:pointer;display:flex;align-items:center;justify-content:center;font-family:inherit;svg{font-size:0.76rem;}&:active,&:hover{background:rgba(242,119,122,0.12);border-color:rgba(242,119,122,0.3);color:#f2777a;}"],D.Tj.textMuted),eu=N.Ay.div.withConfig({componentId:"sc-33869025-31"})(["display:flex;flex-direction:column;gap:6px;margin-top:14px;.w-row{display:flex;align-items:center;gap:8px;font-size:0.77rem;}.w-row svg{color:#f2777a;font-size:0.72rem;flex-shrink:0;}.w-name{color:#e4e4e7;font-weight:600;}.w-text{color:#a1a1aa;}","{display:none;}"],D.$_.md),ef=N.Ay.div.withConfig({componentId:"sc-33869025-32"})(["display:none;","{display:block;position:fixed;inset:0;z-index:",";background:rgba(0,0,0,0.62);animation:"," 0.2s ease;}"],D.$_.md,D.fE.modal,I.Gq),eb=N.Ay.div.withConfig({componentId:"sc-33869025-33"})(["display:none;","{position:fixed;left:0;right:0;bottom:0;z-index:",";max-height:calc(100% - 64px);background:#121216;border-top:1px solid #26262f;border-radius:22px 22px 0 0;box-shadow:0 -18px 50px rgba(0,0,0,0.6);display:flex;flex-direction:column;animation:"," 0.3s cubic-bezier(0.16,1,0.3,1);overflow:hidden;}"],D.$_.md,D.fE.modal,I.L3),ej=N.Ay.div.withConfig({componentId:"sc-33869025-34"})(["flex-shrink:0;padding:12px 18px 8px;.grab{width:38px;height:4px;border-radius:2px;background:#3a3a44;margin:0 auto 14px;}.title-row{display:flex;align-items:center;gap:10px;margin-bottom:12px;}.title{font-size:1rem;font-weight:800;color:#fff;letter-spacing:-0.01em;}.close{margin-left:auto;width:30px;height:30px;border-radius:8px;background:rgba(255,255,255,0.05);border:1px solid #26262f;color:#a1a1aa;cursor:pointer;font-size:0.8rem;display:flex;align-items:center;justify-content:center;font-family:inherit;}.search{display:flex;align-items:center;gap:9px;background:#09090b;border:1px solid #1c1c24;border-radius:11px;padding:10px 13px;> svg{color:#52525b;font-size:0.8rem;flex-shrink:0;}input{flex:1;min-width:0;background:transparent;border:none;color:#e4e4e7;font-size:0.88rem;font-family:inherit;outline:none;&::placeholder{color:#52525b;}}}"]),ey=N.Ay.div.withConfig({componentId:"sc-33869025-35"})(["flex:1;overflow-y:auto;padding:6px 12px calc(16px + env(safe-area-inset-bottom));scrollbar-width:none;&::-webkit-scrollbar{width:0;display:none;}"]);var ew=i(14291),eA=i(50265),ek=i(72553),ev=i(13338),eC=i(54111),eM=i(5468);let ez=(0,z.YK)({subtituloDaPagina:{id:"antilink.pagina.subtitulo",defaultMessage:"Bloqueie links maliciosos e spam, permitindo apenas o que for seguro."},botSemAcesso:{id:"painelAntilink.botSemAcesso",defaultMessage:"O bot n\xe3o tem acesso a este canal."}
3,botNaoEnvia:{id:"painelAntilink.botNaoEnvia",defaultMessage:"O bot n\xe3o pode enviar mensagens neste canal."},cargoGerenciado:{id:"painelAntilink.cargoGerenciado",defaultMessage:"Cargo gerenciado por integra\xe7\xe3o."},cargoGerenciadoLongo:{id:"painelAntilink.cargoGerenciadoLongo",defaultMessage:"Cargo gerenciado por integra\xe7\xe3o — o bot n\xe3o pode atribu\xed-lo."},semLogs:{id:"painelAntilink.semLogs",defaultMessage:"Sem logs"},nenhumCanalEncontrado:{id:"painelAntilink.nenhumCanalEncontrado",defaultMessage:"Nenhum canal encontrado."},nenhumCargoEncontrado:{id:"painelAntilink.nenhumCargoEncontrado",defaultMessage:"Nenhum cargo encontrado."},bot:{id:"painelAntilink.bot",defaultMessage:"BOT"},falhaAoAtualizarStatus:{id:"painelAntilink.falhaAoAtualizarStatus",defaultMessage:"Erro ao atualizar o status."},falhaAoSalvar:{id:"painelAntilink.falhaAoSalvar",defaultMessage:"Erro ao salvar a configura\xe7\xe3o."},falhaAoAtualizarLista:{id:"painelAntilink.falhaAoAtualizarLista",defaultMessage:"Erro ao atualizar a lista."},tituloDaPagina:{id:"titulo.painel.antilink",defaultMessage:"Prote\xe7\xe3o Antilink"},sistemaDeProtecao:{id:"painelAntilink.sistemaDeProtecao",defaultMessage:"Sistema de Prote\xe7\xe3o"},monitorando:{id:"painelAntilink.monitorando",defaultMessage:"Monitorando"},desligado:{id:"painelAntilink.desligado",defaultMessage:"Desligado"},estaMonitorando:{id:"painelAntilink.estaMonitorando",defaultMessage:"O bot est\xe1 monitorando e deletando links n\xe3o permitidos."},estaDesligado:{id:"painelAntilink.estaDesligado",defaultMessage:"O sistema est\xe1 desligado — links s\xe3o permitidos livremente."},configuracoesGerais:{id:"painelAntilink.configuracoesGerais",defaultMessage:"Configura\xe7\xf5es Gerais"},canalDeLogs:{id:"painelAntilink.canalDeLogs",defaultMessage:"Canal de Logs"},punicoes:{id:"painelAntilink.punicoes",defaultMessage:"(puni\xe7\xf5es)"},selecionarCanal:{id:"painelAntilink.selecionarCanal",defaultMessage:"Selecionar canal…"},buscarCanal:{id:"painelAntilink.buscarCanal",defaultMessage:"Buscar canal..."},buscarCargo:{id:"painelAntilink.buscarCargo",defaultMessage:"Buscar cargo..."},mensagemDeAviso:{id:"painelAntilink.mensagemDeAviso",defaultMessage:"Mensagem de Aviso"},enviadaAoUsuario:{id:"painelAntilink.enviadaAoUsuario",defaultMessage:"(enviada ao usu\xe1rio)"},exemploDeAviso:{id:"painelAntilink.exemploDeAviso",defaultMessage:"Ex: Proibido enviar links aqui!"},quandoAparece:{id:"painelAntilink.quandoAparece",defaultMessage:"Mostrada quando um link \xe9 bloqueado."},dominiosSeguros:{id:"painelAntilink.dominiosSeguros",defaultMessage:"Dom\xednios Seguros"},adicionarDominio:{id:"painelAntilink.adicionarDominio",defaultMessage:"Adicionar dom\xednio"},adicionarDominioCurto:{id:"painelAntilink.adicionarDominioCurto",defaultMessage:"adicionar dom\xednio…"},exemploDeDominio:{id:"painelAntilink.exemploDeDominio",defaultMessage:"Ex: youtube.com"},remover:{id:"painelAntilink.remover",defaultMessage:"Remover"},nenhumDominio:{id:"painelAntilink.nenhumDominio",defaultMessage:"Nenhum dom\xednio na whitelist."},cargosPermitidos:{id:"painelAntilink.cargosPermitidos",defaultMessage:"Cargos Permitidos"},adicionarCargo:{id:"painelAntilink.adicionarCargo",defaultMessage:"Adicionar cargo"},adicionarCargoTitulo:{id:"painelAntilink.adicionarCargoTitulo",defaultMessage:"Adicionar Cargo"},nenhumCargoPermitido:{id:"painelAntilink.nenhumCargoPermitido",defaultMessage:"Nenhum cargo permitido."},canaisPermitidos:{id:"painelAntilink.canaisPermitidos",defaultMessage:"Canais Permitidos"},adicionarCanal:{id:"painelAntilink.adicionarCanal",defaultMessage:"Adicionar canal"},adicionarCanalTitulo:{id:"painelAntilink.adicionarCanalTitulo",defaultMessage:"Adicionar Canal"},nenhumCanalPermitido:{id:"painelAntilink.nenhumCanalPermitido",defaultMessage:"Nenhum canal permitido."},fechar:{id:"painelComum.acao.fechar",defaultMessage:"Fechar"}}),e$=e=>e.color?"#".concat(e.color.toString(16).padStart(6,"0")):"#9ca3af",eN=e=>e.managed&&!e.booster;function eD(e,a){return a?a.botCanView?a.botCanSend?null:e.formatMessage(ez.botNaoEnvia):e.formatMessage(ez.botSemAcesso):null}let eI=e=>{let{channels:a,excludeIds:i,search:o,onPick:s,withNoLog:t,onNoLog:r}=e,l=(0,z.tz)(),d=function(e,a,i){let n=i.toLowerCase(),o=e.filter(e=>0===e.type&&!a.includes(e.id)).filter(e=>!n||e.name.toLowerCase().includes(n)).sort((e,a)=>e.position-a.position),s=e.filter(e=>4===e.type).sort((e,a)=>e.position-a.position),t=[],r=o.filter(e=>!e.parentId);for(let e of(r.length&&t.push({key:"uncategorized",label:null,items:r}),s)){let a=o.filter(a=>a.parentId===e.id);a.length&&t.push({key:e.id,label:e.name.toUpperCase(),items:a})}return t}(a,i,o);return(0,n.jsxs)(n.Fragment,{children:[t&&(0,n.jsxs)(ee,{type:"button",onClick:r,children:[(0,n.jsx)(v.R,{className:"hash"}),(0,n.jsx)("span",{className:"muted",children:(0,n.jsx)(z.sA,{...ez.semLogs})})]}),d.map(e=>(0,n.jsxs)("div",{children:[e.label&&(0,n.jsx)(H,{children:e.label}),e.items.map(e=>{var a;return(0,n.jsxs)(ee,{type:"button",onClick:()=>s(e.id),title:null!=(a=eD(l,e))?a:e.name,children:[(0,n.jsx)(u.a,{className:"hash"}),(0,n.jsx)("span",{className:"opt-name",children:e.name}),eD(l,e)&&(0,n.jsx)(y.D,{className:"opt-warn"})]},e.id)})]},e.key)),0===d.length&&(0,n.jsx)(ea,{children:(0,n.jsx)(z.sA,{...ez.nenhumCanalEncontrado})})]})},e_=e=>{let{roles:a,excludeIds:i,search:o,guildId:s,onPick:t}=e,r=(0,z.tz)(),l=o.toLowerCase(),d=a.filter(e=>e.id!==s&&!i.includes(e.id)).filter(e=>!l||e.name.toLowerCase().includes(l)).sort((e,a)=>a.position-e.position);return(0,n.jsxs)(n.Fragment,{children:[d.map(e=>(0,n.jsxs)(ee,{type:"button",$disabled:eN(e),onClick:()=>!eN(e)&&t(e.id),title:eN(e)?r.formatMessage(ez.cargoGerenciado):e.name,children:[(0,n.jsx)(ei,{$color:e$(e)}),(0,n.jsx)("span",{className:"opt-name",style:{color:eN(e)?"#71717a":e$(e),fontWeight:600},children:e.name}),eN(e)&&(0,n.jsx)("span",{className:"bot-tag",children:(0,n.jsx)(z.sA,{...ez.bot})})]},e.id)),0===d.length&&(0,n.jsx)(ea,{children:(0,n.jsx)(z.sA,{...ez.nenhumCargoEncontrado})})]})};function eL(){let e=(0,z.tz)(),a=(0,$.y)(),i=(0,s.u)(),r=(0,d.jE)(),{status:v,setSaving:N,setSaved:D,setError:I}=(0,eC.P)(),[_,H]=(0,t.useState)(""),[ee,ea]=(0,t.useState)(null),[eL,eP]=(0,t.useState)(""),eE=e=>{ea(a=>a===e?null:e),eP("")},eT=(0,t.useCallback)(()=>{ea(null),eP("")},[]),{data:eS,isLoading:eq}=(0,c.I)({queryKey:(0,o.Yl)("config",i),queryFn:()=>m.Ay.get("/config/".concat(i)).then(e=>e.data),enabled:!!i}),{data:eB}=(0,c.I)({queryKey:(0,o.Yl)("roles",i),queryFn:()=>m.Ay.get("/guilds/".concat(i,"/roles")).then(e=>Array.isArray(e.data)?e.data:[]),enabled:!!i,staleTime:6e5}),{data:eF}=(0,c.I)({queryKey:(0,o.Yl)("channels",i),queryFn:()=>m.Ay.get("/guilds/".concat(i,"/channels")).then(e=>Array.isArray(e.data)?e.data:[]),enabled:!!i,staleTime:6e5}),eG=(0,p.n)({mutationFn:e=>m.Ay.put("/config/".concat(i),{antilink:{enabled:e}}),onMutate:N,onSuccess:()=>{r.invalidateQueries({queryKey:(0,o.Yl)("config",i)}),D()},onError:e=>{I(),a.erroDaApi(e,ez.falhaAoAtualizarStatus)}}),eO=(0,p.n)({mutationFn:e=>m.Ay.put("/config/".concat(i),{antilink:e}),onMutate:N,onSuccess:()=>{r.invalidateQueries({queryKey:(0,o.Yl)("config",i)}),D()},onError:e=>{I(),a.erroDaApi(e,ez.falhaAoSalvar)}}),eK=(0,p.n)({mutationFn:e=>{let{type:a,value:n,action:o}=e;return m.Ay.post("/antilink/".concat(i,"/list"),{type:a,value:n,action:o})},onMutate:N,onSuccess:()=>{r.invalidateQueries({queryKey:(0,o.Yl)("config",i)}),D()},onError:e=>{I(),a.erroDaApi(e,ez.falhaAoAtualizarLista)}}),eV=(null==eS?void 0:eS.antilink)||{},eY=eV.whitelist||{roles:[],channels:[],users:[]},eU=(0,t.useMemo)(()=>Array.isArray(eV.allowedDomains)?eV.allowedDomains:[],[eV.allowedDomains]),eX=Array.isArray(eY.roles)?eY.roles:[],eQ=Array.isArray(eY.channels)?eY.channels:[],eR=Array.isArray(eB)?eB:[],eJ=Array.isArray(eF)?eF:[],eW=eJ.find(e=>e.id===eV.logChannel),eZ=eV.logChannel?eD(e,eW):null,eH=!!eV.enabled,e0=(0,t.useCallback)(()=>{let e=_.trim().toLowerCase().replace(/^https?:\/\//,"").replace(/\/.*$/,"");if(!e||eU.includes(e))return void H("");eK.mutate({type:"domains",value:e,action:"add"}),H("")},[_,eU,eK]),e1=(0,t.useCallback)(e=>{eK.mutate({type:"roles",value:e,action:"add"}),eT()},[eK,eT]),e2=(0,t.useCallback)(e=>{eK.mutate({type:"channels",value:e,action:"add"}),eT()},[eK,eT]),e5=(0,t.useCallback)(e=>{eO.mutate({logChannel:e}),eT()},[eO,eT]),e3=(e,a)=>{eK.mutate({type:e,value:a,action:"remove"})};if(!i)return null;if(eq)return(0,n.jsx)(n.Fragment,{children:(0,n.jsxs)(L,{children:[(0,n.jsx)(ew.E,{width:"280px",height:"30px",radius:"8px"}),(0,n.jsx)(ew.E,{width:"440px",height:"16px",radius:"4px",style:{marginTop:10,marginBottom:26}}),(0,n.jsx)(ew.E,{width:"100%",height:"86px",radius:"14px",style:{marginBottom:20}}),[1,2,3,4].map(e=>(0,n.jsx)(ew.E,{width:"100%",height:"110px",radius:"14px",style:{marginBottom:18},darker:e%2==0},e))]})});let e4=eX.map(e=>eR.find(a=>a.id===e)).filter(e=>!!e&&eN(e)).map(a=>({name:"@".concat(a.name),text:e.formatMessage(ez.cargoGerenciadoLongo)})),e6=eQ.map(e=>eJ.find(a=>a.id===e)).filter(a=>!!a&&!!eD(e,a)).map(a=>({name:"#".concat(a.name),text:eD(e,a)})),e8=e.formatMessage("log"===ee?ez.canalDeLogs:"role"===ee?ez.adicionarCargoTitulo:ez.adicionarCanalTitulo),e7=e.formatMessage("role"===ee?ez.buscarCargo:ez.buscarCanal),e9="role"===ee?(0,n.jsx)(e_,{roles:eR,excludeIds:eX,search:eL,guildId:i,onPick:e1}):"channel"===ee?(0,n.jsx)(eI,{channels:eJ,excludeIds:eQ,search:eL,onPick:e2}):"log"===ee?(0,n.jsx)(eI,{channels:eJ,excludeIds:[],search:eL,onPick:e5,withNoLog:!0,onNoLog:()=>e5("")}):null;return(0,n.jsx)(n.Fragment,{children:(0,n.jsx)(eA._,{permission:ek.J.MANAGE_CONFIG,children:(0,n.jsxs)(L,{children:[(0,n.jsx)(l.z,{title:e.formatMessage(ez.tituloDaPagina),subtitle:e.formatMessage(ez.subt
3ituloDaPagina),actions:(0,n.jsx)(ev.T,{status:v}),hideTitleOnMobile:!0,mb:"24px"}),(0,n.jsx)(P,{}),(0,n.jsxs)(E,{children:[(0,n.jsxs)("div",{className:"info",children:[(0,n.jsxs)("div",{className:"title-row",children:[(0,n.jsx)("h3",{children:(0,n.jsx)(z.sA,{...ez.sistemaDeProtecao})}),(0,n.jsxs)(T,{$on:eH,children:[(0,n.jsx)("span",{className:"dot"}),(0,n.jsx)(z.sA,{...eH?ez.monitorando:ez.desligado})]})]}),(0,n.jsx)("p",{children:(0,n.jsx)(z.sA,{...eH?ez.estaMonitorando:ez.estaDesligado})})]}),(0,n.jsx)(S,{type:"button",$on:eH,onClick:()=>eG.mutate(!eH),"aria-label":e.formatMessage(ez.sistemaDeProtecao),children:(0,n.jsx)("span",{className:"knob"})})]}),(0,n.jsxs)(q,{$z:6,$py:26,children:[(0,n.jsxs)(B,{$mb:20,$tight:!0,children:[(0,n.jsx)(j.M,{}),(0,n.jsx)("h3",{children:(0,n.jsx)(z.sA,{...ez.configuracoesGerais})})]}),(0,n.jsx)(G,{children:(0,n.jsxs)(O,{children:[(0,n.jsxs)("div",{children:[(0,n.jsxs)(K,{children:[(0,n.jsx)(z.sA,{...ez.canalDeLogs})," ",(0,n.jsx)("span",{children:(0,n.jsx)(z.sA,{...ez.punicoes})})]}),(0,n.jsxs)(Q,{children:[(0,n.jsxs)(R,{type:"button",$picked:!!eW,onClick:()=>eE("log"),children:[(0,n.jsx)(u.a,{className:"hash"}),(0,n.jsx)("span",{className:"name",children:eW?"#".concat(eW.name):e.formatMessage(ez.selecionarCanal)}),(0,n.jsx)(w.V,{className:"chev"}),(0,n.jsx)(A.X,{className:"chev-right"})]}),"log"===ee&&(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(J,{onClick:eT}),(0,n.jsxs)(W,{children:[(0,n.jsx)(Z,{children:(0,n.jsx)("input",{placeholder:e.formatMessage(ez.buscarCanal),"aria-label":e.formatMessage(ez.buscarCanal),value:eL,onChange:e=>eP(e.target.value)})}),e9]})]})]}),eZ&&(0,n.jsxs)(Y,{children:[(0,n.jsx)(y.D,{})," ",eZ]})]}),(0,n.jsxs)("div",{children:[(0,n.jsxs)(K,{children:[(0,n.jsx)(z.sA,{...ez.mensagemDeAviso})," ",(0,n.jsx)("span",{children:(0,n.jsx)(z.sA,{...ez.enviadaAoUsuario})})]}),(0,n.jsx)(U,{placeholder:e.formatMessage(ez.exemploDeAviso),defaultValue:eV.warn
3Message,onBlur:e=>eO.mutate({warnMessage:e.target.value})}),(0,n.jsx)(X,{rows:3,placeholder:e.formatMessage(ez.exemploDeAviso),defaultValue:eV.warnMessage,onBlur:e=>eO.mutate({warnMessage:e.target.value})}),(0,n.jsxs)(V,{children:[(0,n.jsx)(M,{})," ",(0,n.jsx)(z.sA,{...ez.quandoAparece})]})]})]})})]}),(0,n.jsxs)(q,{children:[(0,n.jsxs)(B,{children:[(0,n.jsx)(f.f,{}),(0,n.jsx)("h3",{children:(0,n.jsx)(z.sA,{...ez.dominiosSeguros})}),eU.length>0&&(0,n.jsx)(F,{children:eU.length}),(0,n.jsxs)(en,{children:[(0,n.jsx)(k.A,{}),(0,n.jsx)("input",{placeholder:e.formatMessage(ez.adicionarDominioCurto),"aria-label":e.formatMessage(ez.adicionarDominioCurto),value:_,onChange:e=>H(e.target.value),onKeyDown:e=>{"Enter"===e.key&&e0()}}),(0,n.jsx)(eo,{type:"button",$on:!!_.trim(),onClick:e0,"aria-label":e.formatMessage(ez.adicionarDominio),children:(0,n.jsx)(g.O,{})})]})]}),(0,n.jsxs)(G,{children:[(0,n.jsxs)(es,{children:[(0,n.jsx)("input",{placeholder:e.formatMessage(ez.exemploDeDominio),"aria-label":e.formatMessage(ez.exemploDeDominio),value:_,onChange:e=>H(e.target.value),onKeyDown:e=>{"Enter"===e.key&&e0()}}),(0,n.jsx)(et,{type:"button",$on:!!_.trim(),onClick:e0,"aria-label":e.formatMessage(ez.adicionarDominio),children:(0,n.jsx)(g.O,{})})]}),(0,n.jsxs)(ed,{children:[eU.map(a=>(0,n.jsxs)(ec,{children:[(0,n.jsx)(k.A,{className:"link"}),(0,n.jsx)("span",{className:"chip-name",children:a}),(0,n.jsx)(ep,{type:"button",onClick:()=>e3("domains",a),title:e.formatMessage(ez.remover),children:(0,n.jsx)(b.V,{})})]},a)),0===eU.length&&(0,n.jsx)("span",{className:"empty",children:(0,n.jsx)(z.sA,{...ez.nenhumDominio})})]})]})]}),(0,n.jsxs)(q,{children:[(0,n.jsxs)(B,{children:[(0,n.jsx)(h.e,{}),(0,n.jsx)("h3",{children:(0,n.jsx)(z.sA,{...ez.cargosPermitidos})}),eX.length>0&&(0,n.jsx)(F,{children:eX.length}),(0,n.jsxs)("div",{className:"spacer",style:{position:"relative"},children:[(0,n.jsxs)(er,{type:"button",onClick:()=>eE("role"),children:[(0,n.jsx)(g.O,{}),(0,n.jsx)(z.sA,{...ez.adicionarCargo})]}),"role"===ee&&(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(J,{onClick:eT}),(0,n.jsxs)(W,{$w:300,$right:!0,children:[(0,n.jsx)(Z,{children:(0,n.jsx)("input",{placeholder:e.formatMessage(ez.buscarCargo),"aria-label":e.formatMessage(ez.buscarCargo),value:eL,onChange:e=>eP(e.target.value)})}),e9]})]})]})]}),(0,n.jsxs)(G,{children:[(0,n.jsxs)(el,{type:"button",onClick:()=>eE("role"),children:[(0,n.jsx)(g.O,{}),(0,n.jsx)(z.sA,{...ez.adicionarCargo})]}),(0,n.jsxs)(em,{children:[eX.map(a=>{let i=eR.find(e=>e.id===a),o=!!i&&eN(i),s=i?e$(i):"#99aab5";return(0,n.jsxs)(ec,{$warn:o,children:[(0,n.jsx)(ei,{$color:s}),(0,n.jsxs)("span",{className:"chip-name",style:{color:s,fontWeight:600},children:["@",(null==i?void 0:i.name)||a]}),o&&(0,n.jsx)(y.D,{className:"chip-warn"}),(0,n.jsx)(ep,{type:"button",onClick:()=>e3("roles",a),title:e.formatMessage(ez.remover),children:(0,n.jsx)(b.V,{})})]},a)}),0===eX.length&&(0,n.jsx)("span",{className:"empty",children:(0,n.jsx)(z.sA,{...ez.nenhumCargoPermitido})})]}),e4.length>0&&(0,n.jsx)(eu,{children:e4.map(e=>(0,n.jsxs)("div",{className:"w-row",children:[(0,n.jsx)(y.D,{}),(0,n.jsx)("span",{className:"w-name",children:e.name}),(0,n.jsx)("span",{className:"w-text",children:e.text})]},e.name))}),(0,n.jsxs)(ex,{children:[eX.map(a=>{let i=eR.find(e=>e.id===a),o=i?e$(i):"#99aab5";return(0,n.jsxs)(eg,{children:[(0,n.jsxs)("div",{className:"mi-body",children:[(0,n.jsxs)("span",{className:"mi-chip",children:[(0,n.jsx)(ei,{$color:o}),(0,n.jsxs)("span",{className:"mi-name",style:{color:o},children:["@",(null==i?void 0:i.name)||a]})]}),i&&eN(i)&&(0,n.jsxs)("span",{className:"mi-warn",children:[(0,n.jsx)(y.D,{}),(0,n.jsx)(z.sA,{...ez.cargoGerenciadoLongo})]})]}),(0,n.jsx)(eh,{type:"button",onClick:()=>e3("roles",a),"aria-label":e.formatMessage(ez.remover),children:(0,n.jsx)(x.q,{})})]},a)}),0===eX.length&&(0,n.jsx)("div",{className:"empty",children:(0,n.jsx)(z.sA,{...ez.nenhumCargoPermitido})})]})]})]}),(0,n.jsxs)(q,{$last:!0,children:[(0,n.jsxs)(B,{children:[(0,n.jsx)(u.a,{}),(0,n.jsx)("h3",{children:(0,n.jsx)(z.sA,{...ez.canaisPermitidos})}),eQ.length>0&&(0,n.jsx)(F,{children:eQ.length}),(0,n.jsxs)("div",{className:"spacer",style:{position:"relative"},children:[(0,n.jsxs)(er,{type:"button",onClick:()=>eE("channel"),children:[(0,n.jsx)(g.O,{}),(0,n.jsx)(z.sA,{...ez.adicionarCanal})]}),"channel"===ee&&(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(J,{onClick:eT}),(0,n.jsxs)(W,{$w:300,$right:!0,$up:!0,children:[(0,n.jsx)(Z,{children:(0,n.jsx)("input",{placeholder:e.formatMessage(ez.buscarCanal),"aria-label":e.formatMessage(ez.buscarCanal),value:eL,onChange:e=>eP(e.target.value)})}),e9]})]})]})]}),(0,n.jsxs)(G,{$mbMobile:8,children:[(0,n.jsxs)(el,{type:"button",onClick:()=>eE("channel"),children:[(0,n.jsx)(g.O,{}),(0,n.jsx)(z.sA,{...ez.adicionarCanal})]}),(0,n.jsxs)(em,{children:[eQ.map(a=>{let i=eJ.find(e=>e.id===a),o=!!eD(e,i);return(0,n.jsxs)(ec,{$warn:o,children:[(0,n.jsx)(u.a,{className:"hash"}),(0,n.jsx)("span",{className:"chip-name",children:(null==i?void 0:i.name)||a}),o&&(0,n.jsx)(y.D,{className:"chip-warn"}),(0,n.jsx)(ep,{type:"button",onClick:()=>e3("channels",a),title:e.formatMessage(ez.remover),children:(0,n.jsx)(b.V,{})})]},a)}),0===eQ.length&&(0,n.jsx)("span",{className:"empty",children:(0,n.jsx)(z.sA,{...ez.nenhumCanalPermitido})})]}),e6.length>0&&(0,n.jsx)(eu,{children:e6.map(e=>(0,n.jsxs)("div",{className:"w-row",children:[(0,n.jsx)(y.D,{}),(0,n.jsx)("span",{className:"w-name",children:e.name}),(0,n.jsx)("span",{className:"w-text",children:e.text})]},e.name))}),(0,n.jsxs)(ex,{children:[eQ.map(a=>{let i=eJ.find(e=>e.id===a),o=eD(e,i);return(0,n.jsxs)(eg,{children:[(0,n.jsxs)("div",{className:"mi-body",children:[(0,n.jsxs)("span",{className:"mi-chip",children:[(0,n.jsx)(u.a,{className:"mi-hash"}),(0,n.jsx)("span",{className:"mi-chan",children:(null==i?void 0:i.name)||a})]}),o&&(0,n.jsxs)("span",{className:"mi-warn",children:[(0,n.jsx)(y.D,{}),o]})]}),(0,n.jsx)(eh,{type:"button",onClick:()=>e3("channels",a),"aria-label":e.formatMessage(ez.remover),children:(0,n.jsx)(x.q,{})})]},a)}),0===eQ.length&&(0,n.jsx)("div",{className:"empty",children:(0,n.jsx)(z.sA,{...ez.nenhumCanalPermitido})})]})]})]}),ee&&(0,n.jsxs)(eM.Z,{children:[(0,n.jsx)(ef,{onClick:eT}),(0,n.jsxs)(eb,{children:[(0,n.jsxs)(ej,{children:[(0,n.jsx)("div",{className:"grab"}),(0,n.jsxs)("div",{className:"title-row",children:[(0,n.jsx)("span",{className:"title",children:e8}),(0,n.jsx)("button",{type:"button",className:"close",onClick:eT,"aria-label":e.formatMessage(ez.fechar),children:(0,n.jsx)(b.V,{})})]}),(0,n.jsxs)("div",{className:"search",children:[(0,n.jsx)(C.V,{}),(0,n.jsx)("input",{placeholder:e7,"aria-label":e7,value:eL,onChange:e=>eP(e.target.value)})]})]}),(0,n.jsx)(ey,{children:e9})]})]})]})})})}eL.getLayout=r.YX}},e=>{e.O(0,[8230,1297,2300,2414,9492,636,6593,8792],()=>e(e.s=50894)),_N_E=e.O()}]);
4//# sourceMappingURL=antilink-adf0407558e8e302.js.map
5//# debugId=e90fc801-9d52-55ad-a81d-d7e0759a0eef

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.