PageSourceSearch

https://www.nextelection.com/static/js/DelP.1b4490fe.chunk.js

js nextelection.com collected 2026-10-07 00:19:26 UTC 12,194 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunkmc_frontend=self.webpackChunkmc_frontend||[]).push([[8090],{9218:(e,t,a)=>{a.d(t,{A:()=>f});var s=a(9950),l=a(18216),n=a(96583),r=a(79739),o=a(28170),i=a(6493),d=a(40033),c=a(8145),h=a(93047),u=a(28321),m=a(44414);function f(e){const{t:t}=(0,u.Bd)(),[a,f]=s.useState("");return(0,m.jsxs)(n.A,{fullWidth:!0,maxWidth:"xs",open:e.open,"aria-labelledby":"max-width-dialog-title",children:[(0,m.jsxs)(d.A,{id:"max-width-dialog-title",children:[t(e.heading),e.beta&&(0,m.jsx)("span",{className:"beta",children:"Beta"})]}),(0,m.jsxs)(o.A,{children:[e.imageURL&&(0,m.jsx)("img",{className:"image400",src:e.imageURL}),e.image,(0,m.jsx)(i.A,{children:t(e.desc)})]}),e.textFieldID&&(0,m.jsxs)(o.A,{sx:{overflowY:"visible"},children:[(0,m.jsx)(c.A,{autoFocus:!0,size:"small",id:e.textFieldID,label:e.textFieldLabel,fullWidth:!0,value:a,onChange:e=>{f(e.target.value)}}),(0,m.jsx)("span",{className:"form_input_error",children:e.textFieldErrorMsg})]}),(0,m.jsxs)(r.A,{children:[e.cta1URL?(0,m.jsx)(h.N_,{"aria-label":e.cta1Text,to:e.cta1URL,children:(0,m.jsx)(l.A,{variant:"outlined",color:"primary",disabled:e.disabled,children:t(e.cta1Text)})}):(0,m.jsx)(l.A,{onClick:function(){e.cta1Clicked(a)},variant:"outlined",color:"primary",disabled:e.disabled,children:t(e.cta1Text)}),e.cta2Text&&(0,m.jsx)(m.Fragment,{children:e.cta2URL?(0,m.jsx)(h.N_,{"aria-label":e.cta2Text,to:e.cta2URL,children:(0,m.jsx)(l.A,{color:"primary",size:"small",disabled:e.disabled,children:t(e.cta2Text)})}):(0,m.jsx)(l.A,{onClick:function(){e.cta2Clicked()},color:"primary",size:"small",disabled:e.disabled,children:t(e.cta2Text)})})]})]})}},68735:(e,t,a)=>{a.r(t),a.d(t,{default:()=>m});var s=a(9950),l=a(2873),n=a(30373),r=a(28321),o=a(11546),i=a(44389),d=a(53011),c=a(62244),h=a(9218),u=a(44414);const m=(0,o.Ng)((e=>({userState:e.userState,currentIssue:e.issue,currentOrg:e.politicalParty,currentPersona:e.publicPersona,networkNode:e.networkNode})),{getIssueDetails:l.M9D,getOrgDetails:l.BPt,getPersonaDetails:l.r32,getNNXDetails:l.Bwd,editChannelPost:l.eJR})((function(e){const t=[e.channelType,e.channelID,e.postType,e.postID].join("/"),{t:a}
1=(0,r.Bd)(),[o,m]=(0,s.useState)(!1),[x,p]=(0,s.useState)(!1),[A]=s.useState(l.h0f),[S,k]=(0,s.useState)(!1);function N(a){let s=!1;switch(a){case n.A.CHANNEL_TOPIC:s=e.currentIssue.miscJson.chanFeaturedPosts.some((e=>e.link.includes(t)))||e.currentIssue.miscJson.chanFeaturedPosts.some((t=>t.link.includes(e.hashID)));break;case n.A.CHANNEL_ORG:s=e.currentOrg.chanFeaturedPosts.some((e=>e.link.includes(t)))||e.currentOrg.chanFeaturedPosts.some((t=>t.link.includes(e.hashID)));break;case n.A.CHANNEL_PERSONA:s=e.currentPersona.chanFeaturedPosts.some((e=>e.link.includes(t)))||e.currentPersona.chanFeaturedPosts.some((t=>t.link.includes(e.hashID)))}return s}function g(){let a=!1;return a=e.networkNode.nnFeaturedPosts.some((e=>e.link.includes(t)))||e.networkNode.nnFeaturedPosts.some((t=>t.link.includes(e.hashID))),a}return(0,s.useEffect)((()=>{var t=!1,a=e.channelID,s=e.currentIssue.issueDetails,l=!1,r=!1;e.channelType===n.A.CHANNEL_TOPIC&&(s&&s.id==a&&(t=!0,l=N(n.A.CHANNEL_TOPIC)),t||e.getIssueDetails(a,!0,e.userState.territoryTree.wardID,!1,!0,!0,!1),"SUCCESS"===e.networkNode.infoSetANetworkState?r=g():e.getNNXDetails());var o=!1,i=e.currentOrg.politicalPartyDetails;e.channelType===n.A.CHANNEL_ORG&&(i&&i.id==a&&(o=!0,l=N(n.A.CHANNEL_ORG)),o||e.getOrgDetails(a,!0,!1,!1,!1,!0,!0,!1),"SUCCESS"===e.networkNode.infoSetANetworkState?r=g():e.getNNXDetails());var d=!1,c=e.currentPersona.politicalPartyDetails;e.channelType===n.A.CHANNEL_PERSONA&&(c&&c.id==a&&(d=!0,l=N(n.A.CHANNEL_PERSONA)),d||e.getPersonaDetails(a,!0,!1,!1,!1,!0,!0,!1),"SUCCESS"===e.networkNode.infoSetANetworkState?r=g():e.getNNXDetails()),m(l),p(r)}),[]),(0,s.useEffect)((()=>{if("SUCCESS"===e.currentIssue.networkState){let e=N(n.A.CHANNEL_TOPIC);m(e)}}),[e.currentIssue.networkState]),(0,s.useEffect)((()=>{if("SUCCESS"===e.currentOrg.networkState){let e=N(n.A.CHANNEL_ORG);m(e)}}),[e.currentOrg.networkState]),(0,s.useEffect)((()=>{if("SUCCESS"===e.currentPersona.networkState){let e=N(n.A.CHANNEL_PERSONA);m(e)}}),[e.currentPersona.networkState]),(0,s.useEffect)((()=>{if("SUCCESS"===e.networkNode.infoSetANetworkState){var t=g();p(t)}}),[e.networkNode.infoSetANetworkState]),(0,s.useEffect)((()=>{e.networkStateDelete}),[e.networkStateDelete]),"STARTED"===e.currentIssue.networkState||"STARTED"===e.currentOrg.networkState||"STARTED"===e.currentPersona.networkState||"STARTED"===e.networkNode.infoSetANetworkState?(0,u.jsx)(i.A,{"aria-labelledby":"simple-modal-title","aria-describedby":"simple-modal-description",open:!0,children:(0,u.jsx)(d.A,{sx:A,children:(0,u.jsx)(c.A,{text:"Just a mo",text2:"Fetching Featured status of this post."})})}):o||x||e.postHasSA?(0,u.jsx)(h.A,{open:!0,heading:"Cannot delete post",desc:"This post has been Featured, or is part of a Story Arc and cannot be deleted. Remove from Featured and Story Arc first.",cta1Text:"OK",cta1Clicked:e.cta1Clicked,cta2Text:"Learn more",cta2Clicked:e=>window.open(n.A.mcSiteURL+"/help/deleting-content#restrictions-on-post-deleting","_blank")}):S?(0,u.jsx)(i.A,{"aria-labelledby":"simple-modal-title","aria-describedby":"simple-modal-description",open:!0,children:(0,u.jsx)(d.A,{sx:A,children:(0,u.jsx)(c.A,{text:"Deleting post",text2:"Scrubbing every trace of this unloved content across the world, including it's comments, up/down votes, bookmarks & analytics. Content may still remain in caches for a while."})})}):(0,u.jsx)(h.A,{open:!0,heading:"\u26a0 Delete this post?",image:(0,u.jsx)(f,{width:"100%",height:"50%",color1:e.networkNode.colors.primaryColor,color2:e.networkNode.colors.secondaryColor}),desc:"Consider editing the post instead of deleting it.",cta1Text:a("Do not delete"),cta1Clicked:e.cta1Clicked,cta2Text:"Yes, delete",cta2Clicked:function(){k(!0),e.editChannelPost(null,e.channelType,e.channelID,e.backendContentType,e.channelContentID,!0,e.modDeleteMiscJson,e.postSubtypeCode,e.ctaURL)}})}));function f(e){return(0,u.jsxs)("svg",{x:"0px",y:"0px",width:e.width,height:e.height,viewBox:"0 0 400 200",...e,children:[(0,u.jsx)("path",{"data-name":"Path 1",d:"M97 196H44.7s-1-15.6 5.2-15.8c6.3-.2 5.6 6.9 13.5-2.8 7.8-9.7 17.4-9.2 18.6-3.5 1.2 5.8-2.4 10.4 4.2 9 6.7-1.5 16.2 2.2 10.8 13z",fill:"#e
16e6e6",style:{strokeWidth:.37183}}),(0,u.jsx)("path",{"data-name":"Path 2",d:"M70 196h-.2a53.8 53.8 0 0 1 4.3-20.6c1.9-4 3.7-5.7 3.7-5.7l.1.1s-1.8 1.7-3.7 5.7a53.7 53.7 0 0 0-4.2 20.4z",fill:"#fff",style:{strokeWidth:.37183}}),(0,u.jsx)("path",{"data-name":"Path 3",d:"m88.9 196-.2-.1a27.4 27.4 0 0 1 7-11.5v.2a27.2 27.2 0 0 0-6.8 11.3z",fill:"#fff",style:{strokeWidth:.37183}}),(0,u.jsx)("path",{"data-name":"Path 4",d:"M53 196h-.2a19.2 19.2 0 0 0-1.7-11.3 15.5 15.5 0 0 0-2.8-4l.1-.1a15.7 15.7 0 0 1 2.8 4 19.4 19.4 0 0 1 1.8 11.3z",fill:"#fff",style:{strokeWidth:.37183}}),(0,u.jsx)("path",{"data-name":"Path 5",d:"M104.1 196.2h-65v-.3c0-.5-.9-13.4 3.3-18a4.6 4.6 0 0 1 3.3-1.7c2.8 0 4.5 1 5.9 1.8 2.6 1.6 4.3 2.6 10.6-5.2 6.7-8.3 14-10.2 18.3-9.1 2.7.6 4.6 2.4 5.1 5 .5 2.4.4 4.7.2 6.5-.1 2-.2 3.5.6 4.2.7.5 2 .6 4.2.1 4.4-1 10.7-.1 13.8 4 1.7 2.1 3 6-.2 12.5zm-64.6-.5h64.3c2.4-5 2.5-9 .2-12-2.8-3.7-8.9-4.7-13.3-3.7-2.4.5-3.8.4-4.6-.3-1-.8-.9-2.5-.7-4.6.1-1.7.3-4-.2-6.3a6 6 0 0 0-4.8-4.7c-4.1-1-11.2.8-17.9 9-6.5 8.1-8.5 7-11.2 5.3-1.4-.8-3-1.8-5.5-1.7a4.1 4.1 0 0 0-3 1.5c-3.8 4.1-3.4 15.7-3.3 17.5z",fill:e.color1,style:{strokeWidth:.37183}}),(0,u.jsx)("path",{"data-name":"Path 8",d:"M316.5 196.4h-64v-.3l-3-87.5h70zm-63.3-.7h62.6l3-86.3h-68.6z",fill:e.color2,style:{strokeWidth:.37183}}),(0,u.jsxs)("g",{"data-name":"Group 1",fill:e.color2,children:[(0,u.jsx)("path",{"data-name":"Rectangle 17",d:"M262.9 124.8h4.9v60.3h-5z"}),(0,u.jsx)("path",{"data-name":"Rectangle 18",d:"M282 124.8h5v60.3h-5z"}),(0,u.jsx)("path",{"data-name":"Rectangle 19",d:"M301.3 124.8h4.8v60.3h-4.8z"})]}),(0,u.jsx)("path",{d:"m360.3 134.3-.3-.2-79.6-50.3 7-10.9.2.2 79.6 50.3zm-78.8-50.7 78.6 49.7 6-9.7L287.7 74z",fill:e.color2,style:{strokeWidth:.37183}}),(0,u.jsx)("path",{"data-name":"Path 10",d:"M341 79.8a14.3 14.3 0 0 0-21.7 14.1l3.8 2.4a11.3 11.3 0 1 1 10.8 6.8l3.7 2.4a14.3 14.3 0 0 0 3.5-25.7z",fill:e.color2,style:{strokeWidth:.37183}}),(0,u.jsx)("path",{"data-name":"Rectangle 21",fill:e.color2,style:{strokeWidth:.37183},d:"M25 195.9h338v.7H25z"}),(0,u.jsxs)("g",{"data-name":"Group 6",transform:"translate(25 5.1) scale(.37183)",children:[(0,u.jsx)("path",{"data-name":"Path 111",d:"M397 499.4h-14.5l-7-56.1H397z",fill:"#feb8b8"}),(0,u.jsx)("path",{"data-name":"Path 112",d:"M354.4 513h45.8v-17.7h-28.4a17.4 17.4 0 0 0-17.4 17.4z",fill:e.color1}),(0,u.jsx)("path",{"data-name":"Path 113",d:"m392 412.4 10 10.5 45.4-33.7-14.8-15.6z",fill:"#feb8b8"}),(0,u.jsx)("path",{"data-name":"Path 114",d:"m412.3 427.8-19.5-20.5-12.8 12.2 31.5 33.1.2-.2a17.4 17.4 0 0 0 .6-24.6z",fill:e.color1}),(0,u.jsx)("path",{"data-name":"Path 115",d:"M290.5 258.5a12 12 0 0 1 5.8-17.4l57.1-145.7 22.3 13.3-63.5 139.8a12 12 0 0 1-21.7 10z",fill:"#feb8b8"}),(0,u.jsx)("path",{"data-name":"Path 116",d:"M507.6 269a12 12 0 0 1-10.7-15l-84.4-131.8 23.9-10.2 75.8 133.5a12 12 0 0 1-4.6 23.4z",fill:"#feb8b8"}),(0,u.jsx)("path",{"data-name":"Path 117",d:"m354 243.9 15 222 35.6-3.2 7.4-163.8 19.9 70.4 43 3.1-17-139z",fill:e.color1}),(0,u.jsx)("path",{"data-name":"Path 118",d:"m438.2 358.8-6.3 10.5-44 30.4 31.4 16.8s60.9-33.6 55.6-44z",fill:e.color1}),(0,u.jsx)("path",{"data-name":"Path 119",d:"m322.8 154.1 12.4-35a62.5 62.5 0 0 1 32.3-35.6 89.4 89.4 0 0 1 52.5-3l4.5 1.2a87.4 87.4 0 0 1 33.1 16c7.7 6 14.6 13.7 15.2 21.9 2.1 9.3 3.2 57.6 3.2 57.6h-18.7l3 65-.3-.4s-107.9 20.4-107.9 10v-67.2l-2.2-24.4z",fill:"#ccc"}),(0,u.jsx)("circle",{"data-name":"Ellipse 12",cx:423.4,cy:41.6,r:29.9,fill:"#feb8b8"}),(0,u.jsx)("path",{"data-name":"Path 120",d:"m428 28.2 23.1 1c3 0 6.1-.2 8.3-2 3.4-3 2.8-8.3 1-12.3C455.4 3.7 444.3-.3 432 0c-12.2.3-25 4.5-31.6 14.8a48.1 48.1 0 0 0-6 35.4 38.5 38.5 0 0 1 31.6-22z",fill:e.color1})]}),(0,u.jsxs)("g",{"data-name":"Group 4",children:[(0,u.jsx)("path",{"data-name":"Path 81",d:"m235.3 124.3-31.2-21.9a1.3 1.3 0 0 1-.3-1.8l24.5-35a1.3 1.3 0 0 1 1.9-.3L261.4 87a1.3 1.3 0 0 1 .3 2l-24.5 35a1.3 1.3 0 0 1-1.9.3z",fill:e.color2}),(0,u.jsx)("path",{"data-name":"Path 82",d:"M242.4 100.6 224 87.7a2 2 0 1 1 2.3-3.2l18.3 12.8a2 2 0 0 1-2.2 3.3z",fill:"#fff"}),(0,u.jsx)("path",{"data-name":"Path 83",d:"m238.2 106.6-18.4-12.9a2 2 0 1 1 2.3-3.2l18.3 12.8a2 2 0 0 1-2.2 3.3z",fill:"#fff"}),(0,u.jsx)("path",{"data-name":"Path 84",d:"m234 112.6-18.4-12.8a2 2 0 1 1 2.2-3.2l18.4 12.8a2 2 0 0 1-2.3 3.2z",fill:"#fff"}),(0,u.jsx)("path",{"data-name":"Path 85",d:"m242.3 88.7-7-5a2 2 0 1 1 2.2-3.2l7 5a2 2 0 0 1-2.2 3.2z",fill:"#fff"})]})]})}},6493:(e,t,a)=>{a.d(t,{A:()=>S});var s=a(98587),l=a(58168),n=a(9950),r=a(72004),o=a(74061),i=a(59254),d=a(19608),c=a(48283),h=a(82053),u=a(80863),m=a(68483);function f(e){return(0,m.Ay)("MuiDialogContentText",e)}(0,u.A)("MuiDialogContentText",["root"]);var x=a(44414);const p=["children","className"],A=(0,i.Ay)(h.A,{shouldForwardProp:e=>(0,d.A)(e)||"classes"===e,name:"MuiDialogContentText",slot:"Root",overridesResolver:(e,t)=>t.root})({}),S=n.forwardRef((function(e,t){const a=(0,c.A)({props:e,name:"MuiDialogContentText"}),{className:n}=a,i=(0,s.A)(a,p),d=(e=>{const{classes:t}=e,a=(0,o.A)({root:["root"]},f,t);return(0,l.A)({},t,a)})(i);return(0,x.jsx)(A,(0,l.A)({component:"p",variant:"body1",color:"text.secondary",ref:t,ownerState:i,className:(0,r.A)(d.root,n)},a,{classes:d}))}))},40033:(e,t,a)=>{a.d(t,{A:()=>p});var s=a(58168),l=a(98587),n=a(9950),r=a(72004),o=a(74061),i=a(82053),d=a(59254),c=a(48283),h=a(23025),u=a(5536),m=a(44414);const f=["className","id"],x=(0,d.Ay)(i.A,{name:"MuiDialogTitle",slot:"Root",overridesResolver:(e,t)=>t.root})({padding:"16px 24px",flex:"0 0 auto"}),p=n.forwardRef((function(e,t){const a=(0,c.A)({props:e,name:"MuiDialogTitle"}),{className:i,id:d}=a,p=(0,l.A)(a,f),A=a,S=(e=>{const{classes:t}=e;return(0,o.A)({root:["root"]},h.t,t)})(A),{titleId:k=d}=n.useContext(u.A);return(0,m.jsx)(x,(0,s.A)({component:"h2",className:(0,r.A)(S.root,i),ownerState:A,ref:t,variant:"h6",id:null!=d?d:k},p))}))}}]);

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.