"use strict";(self.webpackChunkgkml_frontend=self.webpackChunkgkml_frontend||[]).push([[64],{3993:function(t){t.exports=function(t){var e,n="";return n+='
\n
\n 索引号:\n '+(null==(e=t.identifier)?"":e)+'\n
\n
\n 分类:\n '+(null==(e=t.classify_theme_name)?"":e)+'\n
\n
\n 发布机构:\n '+(null==(e=t.publisher)?"":e)+'\n
\n
\n 成文日期:\n '+(null==(e=t.date)?"":e)+'\n
\n
\n 名称:\n '+(null==(e=t.title)?"":e)+'\n
\n
\n 文号:\n '+(null==(e=t.document_number)?"":e)+'\n
\n
\n 主题词:\n '+(null==(e=t.keywords)?"":e)+"\n
\n
\n"}},1224:function(t,e,n){n(9600),n(8309),t.exports=function(t){var e,n="";Array.prototype.join;n+='
\n \n \n
\n"}},7890:function(t){t.exports=function(t){return'
\n
\n
\n','
\n
\n
\n'}},5099:function(t,e,n){n(9600),t.exports=function(t){var e,n="";Array.prototype.join;for(var i in n+='\n"}},3483:function(t,e,n){n(9600),n(9254),n(8309),n(1249),t.exports=function(t){var e,n="";Array.prototype.join;return n+='
\n \n '+(null==(e=t.name)?"":e)+'\n\n \n ',t.children.map((function(t){n+='\n \n '+(null==(e=t.name)?"":e)+"\n "})),n+="\n \n
\n"}},310:function(t,e,n){n(9600),t.exports=function(t){var e,n="";Array.prototype.join;for(var i in n+="
\n
\n

\n 《广东省人民政府规范性文件库》收录了全省规范性文件。为方便获取使用,本库按照省政府、省政府部门、市级规范性文件分别编排,按照公布、失效情况及时更新,并设置了检索工具。欢迎查阅使用。\n

\n
\n \n
"}},7904:function(t,e,n){n(9600),t.exports=function(t){var e,n="";Array.prototype.join;return n+="\n ",t.empty?n+='\n 暂时没有新内容\n ':n+='\n \n \n '+(null==(e=t.title)?"":e)+"\n \n \n "+(null==(e=t.create_time)?"":e)+"\n "+(null==(e=t.date)?"":e)+'\n '+(null==(e=t.document_number)?"":e)+"\n ",n+="\n\n"}},9882:function(t,e,n){n(9600),n(8309),t.exports=function(t){var e,n="";Array.prototype.join;return n+="\n ",t.empty?n+='\n 暂时没有新内容\n ':n+='\n \n \n '+(null==(e=t.index)?"":e)+'\n \n \n \n \n '+(null==(e=t.title)?"":e)+'\n \n
\n \n '+(null==(e=t.abstract)?"":e)+'\n \n \n \n
\n \n '+(null==(e=t.textDownload.text)?"":e)+'\n \n \n '+(null==(e=t.imageDownload.text)?"":e)+"\n \n
\n \n ",n+="\n\n"}},4199:function(t){t.exports=function(t){return'\n','\n'}},3396:function(t){t.exports=function(t){return'
\n
\n
\n
\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
名称发布日期成文日期文号
\n
\n
\n \n \n \n \n \n \n \n \n\n \n
\n \n
\n
\n
\n','
\n
\n
\n
\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
名称发布日期成文日期文号
\n
\n
\n \n \n \n \n \n \n \n \n\n \n
\n \n
\n
\n
\n'}},7522:function(t,e,n){n(7941),n(2526),n(7327),n(1539),n(5003),n(9554),n(4747),n(9337),n(3321),n(9070);var i=n(5318);Object.defineProperty(e,"__esModule",{value:!0}),e["default"]=void 0;var a=i(n(9713));function s(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);e&&(i=i.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,i)}return n}function o(t){for(var e=1;e1&&arguments[1]!==undefined?arguments[1]:0,n=!(arguments.length>2&&arguments[2]!==undefined)||arguments[2],i="fetchPostList",a=Math.ceil(e/5),s=c.replace("http://","//").replace("http://","//"),o="".concat(s,"/gkmlpt/api/all/").concat(t,"?page=").concat(a,"&sid=").concat(d);return"production"!==u&&(o="/".concat(d,"/api/all/").concat(t,"?page=").concat(a)),n&&r.cancel(i),r.api(o,{},{method:"get"},i)},fetchSearchJsonp:function(){var t=arguments.length>0&&arguments[0]!==undefined?arguments[0]:"",e=arguments.length>1?arguments[1]:undefined,n=arguments.length>2&&arguments[2]!==undefined?arguments[2]:0,i=arguments.length>3&&arguments[3]!==undefined?arguments[3]:"",a=arguments.length>4&&arguments[4]!==undefined?arguments[4]:1,s=arguments.length>5&&arguments[5]!==undefined?arguments[5]:"",l=arguments.length>6&&arguments[6]!==undefined?arguments[6]:"",c=arguments.length>7&&arguments[7]!==undefined&&arguments[7],u=(arguments.length>8&&undefined,arguments.length>9&&arguments[9]!==undefined?arguments[9]:""),h=c?{abolished_or_expired_to_time:Math.round((new Date).getTime()/1e3)}:{not_abolished_and_not_expired_from_time:Math.round((new Date).getTime()/1e3)},p="0"===l&&!c||c&&!l?o({},h):{};return r.api("".concat(f,"/site/").concat(d),o({page:n,pagesize:20,isgkml:1,text:decodeURIComponent(e||""),order:a,including_url_doc:1,including_attach_doc:1,classify_main_name:i,classify_mains:u,classify_mains_excluded:t,position:s},p),{type:"GET",dataType:"jsonp"})},fetchPostVisit:function(t){return r.api("".concat(p,"/jsonp/post/sum"),{site:d,post:t},{type:"GET",dataType:"jsonp"})},statistics:function(){var t=arguments.length>0&&arguments[0]!==undefined?arguments[0]:"gkml",e=arguments.length>1&&arguments[1]!==undefined?arguments[1]:"visit",n="".concat(p,"/visit/").concat(e,"?site=").concat(d);e="visit"===e?"appid":e,n="".concat(n,"&").concat(e,"=").concat(t);var i=$("body"),a=''),s=$(a).on("load",(function(t){s.remove()}));i.append(s)}};e["default"]=m},9673:function(t,e,n){n(9070);var i=n(5318);Object.defineProperty(e,"__esModule",{value:!0}),e["default"]=void 0,n(2564);var a=i(n(4575)),s=i(n(3913)),o=i(n(3993)),r=function(){function t(e){(0,a["default"])(this,t),this.init(e),this.render(),this.bindEvent()}return(0,s["default"])(t,[{key:"init",value:function(t){var e=t.container;this.container=$(e)}},{key:"render",value:function(){var t=arguments.length>0&&arguments[0]!==undefined?arguments[0]:{};this.el=$((0,o["default"])(t)),this.container.empty().append(this.el)}},{key:"hide",value:function(){var t=this;setTimeout((function(){t.focus||(t.el.fadeOut(100),t.render())}))}},{key:"bindEvent",value:function(){var t=this;this.container.on("mouseenter",(function(e){t.focus=!0})).on("mouseleave",(function(e){t.focus=!1,t.hide()}))}},{key:"remove",value:function(){this.el.remove()}},{key:"show",value:function(t,e){this.render(e),this.el.css({left:"690px",top:"".concat(t.offset().top+t.height()-371,"px")}).fadeIn(150)}}]),t}();e["default"]=r},9682:function(t,e,n){n(9070);var i=n(5318);Object.defineProperty(e,"__esModule",{value:!0}),e["default"]=void 0;var a=i(n(7757));n(6699),n(2023),n(4916),n(5306),n(2222),n(7042);var s=i(n(8926)),o=i(n(4575)),r=i(n(3913)),l=i(n(9713)),c=i(n(7522)),u=i(n(339)),d=function(){function t(e){(0,o["default"])(this,t),(0,l["default"])(this,"isLogin",!1),this.init(e),this.bindEvent(),this.checkMobile()}var e,n;return(0,r["default"])(t,[{key:"checkMobile",value:function(){if(u["default"].getQueryVariable("jump"))$("body").css({visibility:"inherit"});else{var t=this.config,e=t.SID,n=t.ENV,i=t.ACTION,a=window.location.href.includes("preview");this.config.isPreview=a;var s=u["default"].browser();if(a)s.mobile&&!window.location.href.includes("policy")&&(window.location.href=window.location.href.replace("preview/","preview/m"));else if(s.mobile){if(console.log("!isPreview browser.mobile"),window.location.href.includes("post_"))return void(window.location.href=window.location.href.replace("post_","mpost_")+window.location.hash);if(console.log(i,window.location.href),i.includes("policy")||window.location.href.includes("policy")||window.location.href.includes("type=policySearch")||window.location.href.includes("type=standardSearch"))return;window.location.href="production"!==n?u["default"].url(e,"m".concat(i).concat(window.location.hash)):u["default"].url("gkmlpt","m".concat(i).concat(window.location.hash))}$("body").css({visibility:"inherit"})}}},{key:"init",value:function(t){var e=t.config;this.config=e,this.$doms={wza:$("#my-wza"),slh:$("#my-slh"),addFav:$("#add-fav"),myFav:$("#my-fav")},this.updatePageKey(),this.fetchUserInfo(),c["default"].statistics()}},{key:"bindEvent",value:function(){var t=this,e=window.location,n=this.$doms,i=n.wza,o=n.addFav,r=n.slh;window.cnillWzaInstance?(window.cnillWzaInstance.setOption({observerSelector:".table-content",mutationObserver:!0}),window.cnillWzaInstance.startInit("".concat(e.protocol,"//").concat(e.hostname,"/gkmlpt/gkml/polyfill/cnill_polyfill.swf")),i.on("click",(function(t){window.cnillWzaInstance.init()}))):i.on("click",(function(){alert("请使用现代浏览器访问(如:chrome、firefox、360安全浏览器极速版)或IE9及以上版本。")})),window.slhInstance?(window.slhInstance.setOption({observerSelector:".table-content",mutationObserver:!0}),r.on("click",(function(t){window.slhInstance.init()}))):r.on("click",(function(){alert("请使用现代浏览器访问(如:chrome、firefox、360安全浏览器极速版)或IE9及以上版本。")})),o.on("click",function(){var e=(0,s["default"])(a["default"].mark((function n(e){var i,s;return a["default"].wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return i=$(e.target),s=i.hasClass("with-fav"),n.next=4,c["default"].fetchHandleFav(t.pageKey,s);case 4:t.setFav({isfav:!s});case 5:case"end":return n.stop()}}),n)})));return function(t){return e.apply(this,arguments)}}()),$(window).on("hashchange",function(){var e=(0,s["default"])(a["default"].mark((function n(e){var i;return a["default"].wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(!t.isLogin){e.next=7;break}return t.updatePageKey(),e.next=4,c["default"].fetchFavStatus(t.pageKey);case 4:return i=e.sent,e.next=7,t.setFav(i);case 7:case"end":return e.stop()}}),n)})));return function(t){return e.apply(this,arguments)}}())}},{key:"updatePageKey",value:function(){this.pageKey="".concat(this.config.SID,"-").concat(window.location.pathname),window.location.hash&&(this.pageKey="".concat(this.pageKey,"-").concat(window.location.hash.slice(1)))}},{key:"fetchUserInfo",value:(n=(0,s["default"])(a["default"].mark((function i(){var t;return a["default"].wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return t={isfav:!1},e.prev=1,e.next=4,c["default"].fetchUserInfo();case 4:return this.isLogin=!0,e.next=7,c["default"].fetchFavStatus(this.pageKey);case 7:if(t=e.sent,c["default"].fetchVisitHistory(),!this.config.isFav||t.isfav){e.next=13;break}return e.next=12,c["default"].fetchHandleFav(this.pageKey,!1);case 12:t={isfav:!0};case 13:e.next=21;break;case 15:if(e.prev=15,e.t0=e["catch"](1),401!==e.t0.errcode){e.next=21;break}return e.next=21,this.fetchRedirectUrl();case 21:return e.prev=21,this.setFav(t),e.finish(21);case 24:case"end":return e.stop()}}),i,this,[[1,15,21,24]])}))),function(){return n.apply(this,arguments)})},{key:"fetchRedirectUrl",value:(e=(0,s["default"])(a["default"].mark((function d(){var t,e;return a["default"].wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return n.next=2,c["default"].fetchRedirectUrl();case 2:t=n.sent,e=t.url,this.$doms.addFav.prop("href",e);case 5:case"end":return n.stop()}}),d,this)}))),function(){return e.apply(this,arguments)})},{key:"setFav",value:function(t){var e=this.$doms,n=e.addFav,i=e.myFav;n[t.isfav?"addClass":"removeClass"]("with-fav").html(t.isfav?" 已收藏":" 收藏"),i.prop("href",window.location.href.includes(".southcn.")?"//cloudtest-znzl.southcn.com/collection":"//service.gd.gov.cn/collection"),t.isfav?i.show():i.hide()}}]),t}();e["default"]=d},5471:function(t,e,n){n(9070);var i=n(5318);Object.defineProperty(e,"__esModule",{value:!0}),e["default"]=void 0;var a=i(n(4575)),s=i(n(3913)),o=i(n(7890)),r=function(){function t(e){(0,a["default"])(this,t),this.init(e)}return(0,s["default"])(t,[{key:"init",value:function(t){var e=t.container,n=t.isLoading;this.container=e,this.isLoading=n,this.render(),this.setStatus(n)}},{key:"setStatus",value:function(t){this.isLoading=t,this.el[t?"fadeIn":"fadeOut"](150)}},{key:"remove",value:function(){this.el.remove()}},{key:"render",value:function(){this.el=$((0,o["default"])()),this.container.append(this.el)}}]),t}();e["default"]=r},1623:function(t,e,n){n(9070);var i=n(5318);Object.defineProperty(e,"__esModule",{value:!0}),e["default"]=void 0,n(9554),n(1539),n(4747),n(9826),n(8309),n(9653),n(4916),n(3123),n(2222),n(6699),n(2023);var a=i(n(319)),s=i(n(4575)),o=i(n(3913)),r=i(n(9713)),l=i(n(5099)),c=i(n(6130)),u=c["default"].util,d=c["default"].POLICY,h=function(){function t(e){(0,s["default"])(this,t),(0,r["default"])(this,"actionItem",{id:0}),this.init(e),this.render()}return(0,o["default"])(t,[{key:"init",value:function(t){var e=t.selector,n=t.config;this.config=n,this.parent=$(e),this.tree=n.TREE,this.jump=!!u.getQueryVariable("jump")}},{key:"getChildIds",value:function(t){if(!t)return[];var e=[t.id];return t.children.forEach((function(t){e.push(t.id),t.children.forEach((function(t){e.push(t.id)}))})),e}},{key:"setNavLink",value:function(){var t=this,e=this.config.TREE.find((function(t){return t.name===d})),n=[],i="";e&&(n=this.getChildIds(e),i=Number(window.location.href.split("#")[1]));var s=this.config.TREE.find((function(t){return"政府信息公开工作年度报告"===t.name})),o=this.config.TREE.find((function(t){return"政府信息公开年报"===t.name})),r=[];s&&(r=this.getChildIds(s),i=Number(window.location.href.split("#")[1])),o&&(r=[].concat((0,a["default"])(r),(0,a["default"])(this.getChildIds(o))),i=Number(window.location.href.split("#")[1]));var l=this.config.TREE.find((function(t){return"地方部门平台链接"===t.name})),c=[];l&&(c=this.getChildIds(l),i=Number(window.location.href.split("#")[1]));var u=this.config.TREE.find((function(t){return"政府信息公开制度文件"===t.name})),h=this.config.TREE.find((function(t){return"政府信息公开制度"===t.name})),m=[];u&&(m=this.getChildIds(u),i=Number(window.location.href.split("#")[1])),h&&(m=[].concat((0,a["default"])(m),(0,a["default"])(this.getChildIds(h))),i=Number(window.location.href.split("#")[1]));var g="content"===this.config.ACTION?"index":this.config.ACTION;this.setNavLinkStatus({},"index");var w=f[this.config.ACTION];e&&n.includes(i)&&(g="policy",w="policy"),(s||o)&&r.includes(i)&&(g="annualreport",w="annualreport"),l&&c.includes(i)&&(g="link",w="link"),(u||h)&&m.includes(i)&&(g="publicfile",w="publicfile"),this.tree.forEach((function(e){var n=p[e.name];n&&(t.setNavLinkStatus(e,v[n]),w&&n===w.text&&(t.actionItem=e))})),$(".gkml-".concat(g)).addClass("active")}},{key:"setNavLinkStatus",value:function(t,e){var n=this.config,i=n.ENV,a=n.SID,s=t.jump_url,o=s?"_blank":"";s||(s="production"!==i?u.url(a,e,{}):u.url("gkmlpt",e,{})),s!==t.jump_url&&this.jump&&(t.jump_url="".concat(s).concat(s.includes("?")?"&":"?","jump=false")),$(".gkml-".concat(e)).show().find("a").prop("href",s).prop("target",o)}},{key:"remove",value:function(){this.parent.empty()}},{key:"render",value:function(){this.el=$((0,l["default"])(f)),this.parent.append(this.el)}}]),t}();e["default"]=h;var f={policy:{text:"政策",imgName:"policy",className:"gkml-policy",hasChildren:!0},guide:{text:"政府信息公开指南",imgName:"zhinan",className:"gkml-guide",hasChildren:!1},publicfile:{text:"政府信息公开制度",imgName:"gongkaizhidu",className:"gkml-publicfile",hasChildren:!1},index:{text:"法定主动公开内容",imgName:"zhudonggongkai",className:"gkml-index",hasChildren:!0},annualreport:{text:"政府信息公开年报",imgName:"nianbao",className:"gkml-annualreport",hasChildren:!1},link:{text:"地方部门平台链接",imgName:"link",className:"gkml-link",hasChildren:!1}},p={"政策":"政策","政府信息公开目录":"法定主动公开内容","政府信息公开工作年度报告":"政府信息公开年报","政府信息公开制度文件":"政府信息公开制度","地方部门平台链接":"地方部门平台链接","法定主动公开内容":"法定主动公开内容","政府信息公开年报":"政府信息公开年报","政府信息公开制度":"政府信息公开制度","政府信息公开指南":"政府信息公开指南"},v={"政策":"policy","地方部门平台链接":"link","法定主动公开内容":"index","政府信息公开年报":"annualreport","政府信息公开制度":"publicfile","政府信息公开指南":"guide"}},8266:function(t,e,n){n(7941),n(2526),n(7327),n(5003),n(9337),n(3321),n(9070);var i=n(5318);Object.defineProperty(e,"__esModule",{value:!0}),e["default"]=void 0,n(9554),n(1539),n(4747);var a=i(n(4575)),s=i(n(3913)),o=i(n(9713)),r=i(n(5763));function l(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);e&&(i=i.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,i)}return n}function c(t){for(var e=1;e1e4?1e4:e,this.render(),this.el[e<=20?"hide":"show"]()}},{key:"change",value:function(t){this.callbacks.push(t)}},{key:"remove",value:function(){this.el.remove()}},{key:"render",value:function(){var t=this;this.el.pagination(c(c({},this.options),{},{callback:function(e){t.callbacks.forEach((function(t){t(e)}))}}))}}]),t}();e["default"]=u},5763:function(t,e,n){n(9070),Object.defineProperty(e,"__esModule",{value:!0}),e["default"]=function(t){var e={totalData:0,showData:0,pageCount:9,current:1,prevCls:"prev",nextCls:"next",prevContent:"<",nextContent:">",activeCls:"active",coping:!1,isHide:!1,homePage:"",endPage:"",keepShowPN:!1,mode:"unfixed",count:4,jump:!1,jumpIptCls:"jump-ipt",jumpBtnCls:"jump-btn",jumpBtn:"跳转",callback:undefined},n=function(e,n){var i,a=n,s=t(document),o=t(e);this.setPageCount=function(t){return a.pageCount=t},this.getPageCount=function(){return a.totalData&&a.showData?Math.ceil(parseInt(a.totalData)/a.showData):a.pageCount},this.getCurrent=function(){return i||1},this.filling=function(t){var e="";i=parseInt(t)||parseInt(a.current);var n,s,r=this.getPageCount();switch(a.mode){case"fixed":if(e+=''+a.prevContent+"",a.coping)e+=''+(a.coping&&a.homePage?a.homePage:"1")+"";for(n=i>a.count-1?i+a.count-1>r?i-(a.count-(r-i)):i-2:1,s=i+a.count-1>r?r:n+a.count;n<=s;n++)e+=n!=i?''+n+"":''+n+"";if(a.coping)e+=''+(a.coping&&a.endPage?a.endPage:r)+"";e+=''+a.nextContent+"";break;case"unfixed":if(a.keepShowPN||i>1?e+=''+a.prevContent+"":0==a.keepShowPN&&o.find("."+a.prevCls)&&o.find("."+a.prevCls).remove(),i>=a.count+2&&1!=i&&r!=a.count){var l=a.coping&&a.homePage?a.homePage:"1";e+=a.coping?''+l+"...":""}for(n=i-a.count<=1?1:i-a.count,s=i+a.count>=r?r:i+a.count;n<=s;n++)n<=r&&n>=1&&(e+=n!=i?''+n+"":''+n+"");if(i+a.count=1&&r>a.count){var c=a.coping&&a.endPage?a.endPage:r;e+=a.coping?'...'+c+"":""}a.keepShowPN||i'+a.nextContent+"":0==a.keepShowPN&&o.find("."+a.nextCls)&&o.find("."+a.nextCls).remove()}e+=a.jump?''+a.jumpBtn+"":"",o.empty().html(e)},this.eventBind=function(){var e=this,n=e.getPageCount(),i=1;o.off().on("click","a",(function(){if(t(this).hasClass(a.nextCls)){if(o.find("."+a.activeCls).text()>=n)return t(this).addClass("disabled"),!1;i=parseInt(o.find("."+a.activeCls).text())+1}else if(t(this).hasClass(a.prevCls)){if(o.find("."+a.activeCls).text()<=1)return t(this).addClass("disabled"),!1;i=parseInt(o.find("."+a.activeCls).text())-1}else if(t(this).hasClass(a.jumpBtnCls)){if(""===o.find("."+a.jumpIptCls).val())return;i=parseInt(o.find("."+a.jumpIptCls).val())}else i=parseInt(t(this).data("page"));e.filling(i),"function"==typeof a.callback&&a.callback(e)})),o.on("input propertychange","."+a.jumpIptCls,(function(){var e=t(this),i=e.val(),a=/[^\d]/g;a.test(i)&&e.val(i.replace(a,"")),parseInt(i)>n&&e.val(n),0===parseInt(i)&&e.val(1)})),s.keydown((function(t){if(13==t.keyCode&&o.find("."+a.jumpIptCls).val()){var n=parseInt(o.find("."+a.jumpIptCls).val());e.filling(n),"function"==typeof a.callback&&a.callback(e)}}))},this.init=function(){this.filling(a.current),this.eventBind(),a.isHide&&"1"==this.getPageCount()||"0"==this.getPageCount()?o.hide():o.show()},this.init()};return t.fn.pagination=function(i,a){"function"==typeof i?(a=i,i={}):i=i||{};var s=t.extend({},e,i);return this.each((function(){var t=new n(this,s);"function"==typeof a&&a(t)}))},t},n(1058),n(9826),n(1539),n(4916),n(5306)},8561:function(t,e,n){n(9070);var i=n(5318);Object.defineProperty(e,"__esModule",{value:!0}),e["default"]=void 0,n(9554),n(1539),n(4747),n(9653),n(4916),n(3123);var a=i(n(4575)),s=i(n(3913)),o=i(n(9713)),r=i(n(3483)),l=function(){function t(e){(0,a["default"])(this,t),(0,o["default"])(this,"callbacks",[]),this.init(e),this.bindEvent(),this.render()}return(0,s["default"])(t,[{key:"init",value:function(t){var e=t.container,n=t.routerData;this.container=e,this.routerData=n||{name:"法定主动公开内容",link:"/gkmlpt",children:[{name:"全部",id:0}]}}},{key:"setRouterChildren",value:function(t){this.routerData.children=t,this.render()}},{key:"setRouterData",value:function(t){this.routerData=t,this.render()}},{key:"change",value:function(t){this.callbacks.push(t)}},{key:"triggerEvent",value:function(t){this.callbacks.forEach((function(e){e(t)}))}},{key:"bindEvent",value:function(){var t=this;this.container.on("click",(function(e){var n=$(e.target);n.attr("data-id")&&t.triggerEvent(n.attr("data-id"))}))}},{key:"remove",value:function(){this.container.empty()}},{key:"render",value:function(){this.routerData.children||(this.routerData.children=[{id:Number(window.location.href.split("#")[1]),name:"全部"}]),this.el=$((0,r["default"])(this.routerData)),this.container.empty().append(this.el)}}]),t}();e["default"]=l},8490:function(t,e,n){n(9070);var i=n(5318);Object.defineProperty(e,"__esModule",{value:!0}),e["default"]=void 0,n(6699),n(2023),n(9653),n(4916),n(3123),n(3710),n(1539),n(9714),n(2222);var a=i(n(4575)),s=i(n(3913)),o=i(n(6130))["default"].util,r=function(){function t(e){(0,a["default"])(this,t),this.init(e),this.bindEvent()}return(0,s["default"])(t,[{key:"init",value:function(t){var e=t.config;this.config=e,this.searchOrder=1,this.searchPosition="title",this.$doms={policyBtn:$("#policy-search__form-button"),searchBtn:$("#search-button-gkml"),gfBtn:$("#standard-search__form-button"),searchIpt:$("#input-keywords").val(decodeURIComponent(o.getQueryVariable("keywords")||""))},window.location.href.includes("type=policySearch")||window.location.href.includes("type=standardSearch")?o.setPlaceHolder(this.$doms.searchIpt,""):window.location.href.includes("search?keywords")?(o.setPlaceHolder(this.$doms.searchIpt,"请输入搜索关键词"),this.searchOrder=Number(window.location.href.split("order=")[1].split("&")[0]),this.searchPosition=window.location.href.split("position=")[1]):o.setPlaceHolder(this.$doms.searchIpt,"请输入搜索关键词"),this.searchOrder?$("#sort-time0").prop("checked",!0):$("#sort-relative0").prop("checked",!0),"title"===this.searchPosition?$("#search-title0").prop("checked",!0):$("#search-all0").prop("checked",!0)}},{key:"bindEvent",value:function(){var t=this,e=this,n=this.$doms,i=n.policyBtn,a=n.searchBtn,s=n.searchIpt,r=n.gfBtn,l=this.config,c=l.SID,u=l.ENV;a.on("click",(function(t){var n=s.val().toString();n="请输入搜索关键词"==n?"":n,window.location.href="".concat(o.url("production"===u?"gkmlpt":c,"search"),"?keywords=").concat(encodeURIComponent(n),"&order=").concat(e.searchOrder,"&position=").concat(e.searchPosition)})),r.on("click",(function(){var t=s.val().toString();t="请输入搜索关键词"==t?"":t,window.location.href="".concat(o.url("production"===u?"gkmlpt":c,"search"),"?type=standardSearch&keywords=").concat(encodeURIComponent(t))})),$("#search-title0").on("click",(function(){t.searchPosition="title"})),$("#search-all0").on("click",(function(){t.searchPosition="all"})),$("#sort-relative0").on("click",(function(){t.searchOrder=0})),$("#sort-time0").on("click",(function(){t.searchOrder=1})),s.on("keydown",(function(t){13===t.keyCode&&(window.location.href.includes("type=policySearch")||window.location.href.includes("type=standardSearch")?i.trigger("click"):a.trigger("click"))}))}}]),t}();e["default"]=r},7311:function(t,e,n){n(9070);var i=n(5318);Object.defineProperty(e,"__esModule",{value:!0}),e["default"]=void 0;var a=i(n(4575)),s=i(n(3913)),o=i(n(310)),r=function(){function t(e){(0,a["default"])(this,t),this.init(e),this.render(),this.bindEvent()}return(0,s["default"])(t,[{key:"init",value:function(t){var e=t.container,n=t.tabs,i=t.rightDom,a=t.isNeedTopTip;this.container=$(e),this.tabs=n,this.isNeedTopTip=a,this.rightDom=$(i)}},{key:"bindEvent",value:function(){}},{key:"remove",value:function(){this.el.empty(),this.rightDom.css({width:"100%"})}},{key:"render",value:function(){this.el=$((0,o["default"])({tabs:this.tabs,isNeedTopTip:this.isNeedTopTip})),this.container.empty().append(this.el),this.rightDom.css({width:"870px"})}}]),t}();e["default"]=r},75:function(t,e,n){n(9070);var i=n(5318);Object.defineProperty(e,"__esModule",{value:!0}),e["default"]=void 0,n(9653),n(4916),n(5306),n(7042),n(9826),n(1539),n(8309),n(1249),n(3123),n(6699),n(2023),n(2222),n(9554),n(4747),n(7327);var a=i(n(319)),s=i(n(4575)),o=i(n(3913)),r=i(n(9713)),l=i(n(4199)),c=i(n(6130)),u=c["default"].util,d=window._CONFIG,h=d.ENV,f=d.SID,p=function(){function t(e){(0,s["default"])(this,t),(0,r["default"])(this,"curItem",{id:0}),(0,r["default"])(this,"map",{}),(0,r["default"])(this,"callbacks",[]),this.init(e)}return(0,o["default"])(t,[{key:"init",value:function(t){var e=t.parent,n=t.tree,i=t.hash,a=t.curItem;this.parent=e,this.tree=n,a&&a.id?this.curItem=a:i&&(this.curItem={id:Number(i.slice(1).replace("?fav=1",""))||-1}),this.beforeHandleData(this.tree),this.handleData(this.tree),this.render(),this.bindEvent()}},{key:"beforeHandleData",value:function(t){var e=t.find((function(t){return"政府信息公开目录"===t.name||"法定主动公开内容"===t.name}));e&&e.children&&e.children.length&&t.push.apply(t,(0,a["default"])(e.children))}},{key:"handleData",value:function(t){for(var e=0;e0)for(var n=0;n'.concat(e.split("//")[1],"")),$("body .bottom-href-box").css({padding:"3px 5px"})})),$(".show-bottom-href").on("mouseleave",(function(t){t.stopPropagation(),$("body .bottom-href-box").empty().css({padding:"0px"})}))}},{key:"renderSimpleLi",value:function(t){var e=$(document.createElement("li"));t.name!==c["default"].POLICY&&"地方规章库链接"!==t.name&&"省政府部门规范性文件库链接"!==t.name&&"市政府部门规范性文件库链接"!==t.name&&"市级规范性文件库链接"!==t.name&&"区级规范性文件库链接"!==t.name&&"政府信息公开工作年度报告"!==t.name&&"政府信息公开指南"!==t.name&&"政府信息公开制度文件"!==t.name&&"政府信息公开目录"!==t.name&&"政府信息依申请公开"!==t.name&&"政府信息公开制度"!==t.name&&"法定主动公开内容"!==t.name&&"政府信息公开指南"!==t.name&&"政府信息公开年报"!==t.name||e.hide();var n=window._CONFIG.TREE.find((function(t){return t.name===c["default"].POLICY}));if(n&&"规章"===t.name)t.showHref=window.location.href.includes("http:")?"http:":"http:"+"".concat(u.url("production"===h?"gkmlpt":f,"search"),"?type=policySearch"),e.append('

").concat(t.name,"

"));else if(n&&"规范性文件"===t.name)t.showHref=window.location.href.includes("http:")?"http:":"http:"+"".concat(u.url("production"===h?"gkmlpt":f,"search"),"?type=standardSearch"),e.append('

").concat(t.name,"

"));else{var i="production"!==h?u.url(f,$(".gkml-policy")&&$(".gkml-policy").hasClass("active")?"policy":"index"):u.url("gkmlpt",$(".gkml-policy")&&$(".gkml-policy").hasClass("active")?"policy":"index");t.showHref=t.jump_url?t.jump_url:i+"#"+t.id,e.append('

').concat(t.name,"

"))}if(e.attr("data-id",t.id),e.attr("data-layer",t.layer),t.children&&t.children.length>0){var a=$("
    ");e.addClass("hasChild render"),e.append('+'),e.append(a);for(var s=0;s.icon").trigger("click");a.find(">p").each((function(e,n){var i=$(n);i.is(":visible")&&(t.curItem&&t.curItem.jump_url&&(window._CONFIG.isOpenFromUrl=!0),i.trigger("click"))}))}else this.triggerEvent(n?-1:n)}},{key:"render",value:function(){var t=this;this.parent.append((0,l["default"])()),this.el=this.parent.find("#tree"),this.tree.forEach((function(e){"地方部门平台链接"!==e.name&&t.el.append(t.renderSimpleLi(e))})),this.el.find(">li:visible:last").css("marginBottom",0)}}]),t}();e["default"]=p},6432:function(t,e,n){n(7941),n(2526),n(7327),n(5003),n(9554),n(4747),n(9337),n(3321),n(9070);var i=n(5318);Object.defineProperty(e,"__esModule",{value:!0}),e["default"]=void 0,n(9601),n(1539),n(8674);var a=i(n(9713));function s(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);e&&(i=i.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,i)}return n}function o(t){for(var e=1;e=400&&(n.errmessage="客户端出错"),e(n)},complete:function(){i&&delete l[i]}}));i&&(l[i]=a)}))},setDefaultOptsHeaders:function(t){r.headers=o(o({},r.headers),t)}};e["default"]=c},6130:function(t,e,n){n(9070);var i=n(5318);Object.defineProperty(e,"__esModule",{value:!0}),e["default"]=void 0;var a=i(n(6432)),s=i(n(339)),o={ajax:a["default"],util:s["default"],POLICY:"政策"};e["default"]=o},339:function(t,e,n){n(9070),Object.defineProperty(e,"__esModule",{value:!0}),e["default"]=void 0,n(4916),n(5306),n(4765),n(3123),n(3710),n(1539),n(9714),n(3210),n(2222),n(2772),n(4723),n(9600);var i={},a=$("
    "),s=window._CONFIG,o=s.APP_URL,r=s.ENV,l=(s.SID,{fixText:function(t){return a.html(t).text().replace(//gi,">")},getQueryVariable:function(t){if(i[t])return i[t];for(var e=window.location.search.substring(1).split("&"),n=0;n-1,presto:t.indexOf("Presto")>-1,webKit:t.indexOf("AppleWebKit")>-1,gecko:t.indexOf("Gecko")>-1&&-1===t.indexOf("KHTML"),mobile:!!t.match(/AppleWebKit.*Mobile.*/),ios:!!t.match(/\(i[^;]+;( U;)? CPU.+Mac OS X/),android:t.indexOf("Android")>-1||t.indexOf("Adr")>-1,iPhone:t.indexOf("iPhone")>-1,iPad:t.indexOf("iPad")>-1,webApp:-1===t.indexOf("Safari"),weixin:t.indexOf("MicroMessenger")>-1}},url:function(t,e,n,i){var a,s,l=!0,c=o;"production"!==r&&(c="".concat(window.location.protocol,"//").concat(window.location.host)||o);if(a="".concat(c,"/").concat(t,"/").concat(e),i)a="".concat(a,"/").concat(n.join("/"));else if(n)for(s in n)l?(l=!1,a="".concat(a,"?").concat(s,"=").concat(encodeURIComponent(n[s]))):a="".concat(a,"&").concat(s,"=").concat(encodeURIComponent(n[s]));return a=a.replace("http://","//").replace("http://","//"),a}});e["default"]=l},5787:function(t,e,n){n(9070);var i=n(5318);Object.defineProperty(e,"__esModule",{value:!0}),e["default"]=void 0;var a=i(n(7757));n(6699),n(2023),n(9653),n(4916),n(3123),n(9826),n(1539),n(8309),n(5306),n(9554),n(4747),n(2222),n(7042);var s=i(n(8926)),o=i(n(4575)),r=i(n(3913)),l=i(n(9713)),c=i(n(7522)),u=i(n(9682)),d=i(n(8490)),h=i(n(1623)),f=i(n(75)),p=i(n(8561)),v=i(n(5471)),m=i(n(8266)),g=i(n(9673)),w=i(n(3396)),b=i(n(7904)),y=i(n(9882)),k=i(n(339)),C=i(n(6130)),I=function(){function t(e){(0,o["default"])(this,t),(0,l["default"])(this,"components",{}),(0,l["default"])(this,"hasPolicy",{}),(0,l["default"])(this,"hasGuide",{}),(0,l["default"])(this,"hasAnnualreport",{}),(0,l["default"])(this,"hasAnnualreport2",{}),(0,l["default"])(this,"hasLink",{}),(0,l["default"])(this,"hasPublicfile",{}),(0,l["default"])(this,"hasPublicfile2",{}),(0,l["default"])(this,"hasCancelClassify",{}),(0,l["default"])(this,"curClassifyId",0),(0,l["default"])(this,"config",{}),this.init(e),this.renderComponent(),this.bindComponentEvent(),this.ready(),this.bindEvent()}var e,n,i;return(0,r["default"])(t,[{key:"init",value:function(t){if(this.config=t,this.isAnnualreportIds=[],this.isAnnualreport2Ids=[],this.isPolicyIds=[],this.isLinkIds=[],this.isPublicfileIds=[],this.isPublicfile2Ids=[],this.isGuideIds=[],window.location.href.includes("preview/index")){var e=Number(window.location.href.split("#")[1]);if(this.hasPolicy=this.config.TREE.find((function(t){return t.name===C["default"].POLICY})),this.hasPolicy&&this.hasPolicy.id===e&&window.location.href.includes("/preview/index")){var n=window.location.href.replace("preview/index/","preview/policy/");window.location.href=n}else this.hasPolicy&&this.hasPolicy.children&&this.hasPolicy.children.forEach((function(t){if(t.id===e){var n=window.location.href.replace("preview/index/","preview/policy/");window.location.href=n}}))}this.container=$(".content-container"),this.el=$((0,w["default"])()),this.postList=this.el.find("#postList"),this.container.append(this.el)}},{key:"bindComponentEvent",value:function(){var t=this,e=this.config,n=e.isPreview,i=e.DETAIL,a=this.components,s=a.tree,o=a.router,r=a.pagination;s.change((function(e){t.handleTreeChange(e)})),o.change((function(e){t.handleTreeChange(e)})),r.change((function(e){n?t.handlePreview(i.articles):t.fetchList(t.curClassifyId,e.getCurrent())}))}},{key:"getChildIds",value:function(t){if(!t)return[];var e=[t.id];return t.children.forEach((function(t){e.push(t.id),t.children.forEach((function(t){e.push(t.id)}))})),e}},{key:"renderComponent",value:function(){var t=this.config.TREE;this.hasPolicy=this.config.TREE.find((function(t){return t.name===C["default"].POLICY})),this.hasGuide=this.config.TREE.find((function(t){return"政府信息公开指南"===t.name})),this.hasAnnualreport=this.config.TREE.find((function(t){return"政府信息公开工作年度报告"===t.name})),this.hasAnnualreport2=this.config.TREE.find((function(t){return"政府信息公开年报"===t.name})),this.hasCancelClassify=this.config.TREE.find((function(t){return"政府信息依申请公开"===t.name})),this.hasLink=this.config.TREE.find((function(t){return"地方部门平台链接"===t.name})),this.hasPublicfile=this.config.TREE.find((function(t){return"政府信息公开制度文件"===t.name})),this.hasPublicfile2=this.config.TREE.find((function(t){return"政府信息公开制度"===t.name}));var e="";this.hasPolicy&&(this.config.POLICYTREE=this.hasPolicy.children,this.isPolicyIds=this.getChildIds(this.hasPolicy),e=Number(window.location.href.split("#")[1])),this.hasGuide&&(this.isGuideIds=this.getChildIds(this.hasGuide),e=Number(window.location.href.split("#")[1])),this.hasCancelClassify&&(e=Number(window.location.href.split("#")[1])),this.hasAnnualreport&&(this.isAnnualreportIds=this.getChildIds(this.hasAnnualreport),e=Number(window.location.href.split("#")[1])),this.hasAnnualreport2&&(this.isAnnualreport2Ids=this.getChildIds(this.hasAnnualreport2),e=Number(window.location.href.split("#")[1])),this.hasCancelClassify&&(e=Number(window.location.href.split("#")[1])),this.hasLink&&(this.isLinkIds=this.getChildIds(this.hasLink),e=Number(window.location.href.split("#")[1])),this.hasPublicfile&&(this.isPublicfileIds=this.getChildIds(this.hasPublicfile),e=Number(window.location.href.split("#")[1])),this.hasPublicfile2&&(this.isPublicfile2Ids=this.getChildIds(this.hasPublicfile2),e=Number(window.location.href.split("#")[1]));var n="policy"===this.config.ACTION||"content"===this.config.ACTION&&this.hasPolicy&&this.isPolicyIds.includes(e)?this.config.POLICYTREE:JSON.parse(JSON.stringify(t));"content"===this.config.ACTION&&(this.hasAnnualreport||this.hasAnnualreport2)&&(this.hasAnnualreport&&this.isAnnualreportIds.includes(e)||this.hasAnnualreport2&&this.isAnnualreport2Ids.includes(e))&&(n=this.isAnnualreportIds&&this.isAnnualreportIds.includes(e)?this.hasAnnualreport.children:this.hasAnnualreport2.children),"content"===this.config.ACTION&&this.hasLink&&this.isLinkIds.includes(e)&&(n=this.hasLink.children),"content"===this.config.ACTION&&(this.hasPublicfile||this.hasPublicfile2)&&(this.hasPublicfile&&this.isPublicfileIds.includes(e)||this.hasPublicfile2&&this.isPublicfile2Ids.includes(e))&&(n=this.isPublicfileIds&&this.isPublicfileIds.includes(e)?this.hasPublicfile.children:this.hasPublicfile2.children),new u["default"]({config:this.config}),new d["default"]({config:this.config});var i=this.components.nav=new h["default"]({selector:".nav__slot",config:this.config});this.components.nav.setNavLink(),this.components.tree=new f["default"]({parent:i.el.find(".nav-bar__slot"),tree:n,hash:window.location.hash}),this.components.loading=new v["default"]({container:this.el,isLoading:!1});var a="policy"===this.config.ACTION||"content"===this.config.ACTION&&this.hasPolicy&&this.isPolicyIds.includes(e)?"policy":"index",s="policy"===this.config.ACTION?this.hasPolicy.id:0,o="policy"===this.config.ACTION||"content"===this.config.ACTION&&this.hasPolicy&&this.isPolicyIds.includes(e)?"政策":"法定主动公开内容",r=[{name:"全部",id:s}];this.components.router=new p["default"]({container:this.el.find(".content-wrapper__router"),routerData:{name:o,link:k["default"].url("gkmlpt",a),children:r}}),"content"===this.config.ACTION&&(this.hasAnnualreport||this.hasAnnualreport2)&&(this.hasAnnualreport&&this.isAnnualreportIds.includes(e)||this.hasAnnualreport2&&this.isAnnualreport2Ids.includes(e))&&this.components.router.setRouterData({name:"政府信息公开年报",link:k["default"].url("gkmlpt","annualreport"),children:[]}),"content"===this.config.ACTION&&this.hasLink&&this.isLinkIds.includes(e)&&this.components.router.setRouterData({name:"地方部门平台链接",link:k["default"].url("gkmlpt","link"),children:[]}),"content"===this.config.ACTION&&(this.hasPublicfile||this.hasPublicfile2)&&(this.hasPublicfile&&this.isPublicfileIds.includes(e)||this.hasPublicfile2&&this.isPublicfile2Ids.includes(e))&&this.components.router.setRouterData({name:"政府信息公开制度",link:k["default"].url("gkmlpt","publicfile"),children:[]}),this.components.pagination=new m["default"]({selector:".pagination",totalData:0,showData:20,current:1,prevContent:"上一页",nextContent:"下一页",keepShowPN:!0,jump:!0,coping:!0}),this.components.popup=new g["default"]({container:"#popup__container"});var l=window.location.href.includes("preview");"index"!==this.config.ACTION||l||!this.hasCancelClassify||this.hasCancelClassify.id!==Number(e)?"index"!==this.config.ACTION||l||!(this.hasAnnualreport&&this.isAnnualreportIds.includes(Number(e))||this.hasAnnualreport2&&this.isAnnualreport2Ids.includes(Number(e)))?"index"===this.config.ACTION&&!l&&this.hasPolicy&&this.isPolicyIds.includes(Number(e))?window.location.href=this.hasPolicy.jump_url||window.location.href.split("/index")[0]+"/policy":"index"===this.config.ACTION&&!l&&this.hasLink&&this.isLinkIds.includes(Number(e))?window.location.href=this.hasLink.jump_url||window.location.href.split("/index")[0]+"/link":"index"!==this.config.ACTION||l||!(this.hasPublicfile&&this.isPublicfileIds.includes(Number(e))||this.hasPublicfile2&&this.isPublicfile2Ids.includes(Number(e)))?"index"===this.config.ACTION&&!l&&this.hasGuide&&this.isGuideIds.includes(Number(e))&&(window.location.href=this.hasGuide.jump_url||window.location.href.split("/index")[0]+"/guide"):window.location.href=(this.isPublicfileIds.includes(Number(e))?this.hasPublicfile.jump_url:this.hasPublicfile2.jump_url)||window.location.href.split("/index")[0]+"/publicfile":window.location.href=(this.isAnnualreportIds.includes(Number(e))?this.hasAnnualreport.jump_url:this.hasAnnualreport2.jump_url)||window.location.href.split("/index")[0]+"/annualreport":window.location.href=window.location.href.split("/index")[0]+"/index"}},{key:"handlePreview",value:function(t){this.page=1,this.total=20,this.renderList(t)}},{key:"handleTreeChange",value:(i=(0,s["default"])(a["default"].mark((function I(){var t,e,n,i,s,o,r,l,c,u=arguments;return a["default"].wrap((function(a){for(;;)switch(a.prev=a.next){case 0:if(!(t=u.length>0&&u[0]!==undefined?u[0]:0)||t!==this.curClassifyId){a.next=3;break}return a.abrupt("return");case 3:if(e=$("#tree").find('li[data-id="'.concat(t,'"]')).find(">p"),n=!0,e.each((function(t,e){$(e).is(":visible")||(n=!1)})),"index"!==this.config.action||n){a.next=8;break}return a.abrupt("return");case 8:if(i=this.config,s=i.SID,o=i.ENV,r=i.ACTION,l=i.DETAIL,c=i.isPreview,window.location.href.includes("preview/policy")&&-1==t&&(t=Number(window.location.href.split("#")[1])),!(t<0)){a.next=14;break}return a.abrupt("return",window.location.href="production"!==o?k["default"].url(s,"index"):k["default"].url("gkmlpt","index"));case 14:t&&(window.location.href="#".concat(t));case 15:if(this.curClassifyId=t,t>0&&this.components.router.setRouterChildren(this.components.tree.getTreePath(t)),!c){a.next=21;break}l.classify.id==t?this.handlePreview(l.articles):window.location.href="production"!==o?k["default"].url(s,"".concat(r).concat(window.location.hash.replace("?fav=1",""))):k["default"].url("gkmlpt","".concat(r).concat(window.location.hash.replace("?fav=1",""))),a.next=40;break;case 21:if("index"!==this.config.ACTION||!this.hasCancelClassify||this.hasCancelClassify.id!==Number(t)){a.next=24;break}return window.location.href=window.location.href.split("/index")[0]+"/index",a.abrupt("return");case 24:if("index"!==this.config.ACTION||!(this.hasAnnualreport&&this.isAnnualreportIds.includes(Number(t))||this.hasAnnualreport2&&this.isAnnualreport2Ids.includes(Number(t)))){a.next=27;break}return window.location.href=(this.isAnnualreportIds.includes(Number(t))?this.hasAnnualreport.jump_url:this.hasAnnualreport2.jump_url)||window.location.href.split("/index")[0]+"/annualreport",a.abrupt("return");case 27:if("index"!==this.config.ACTION||!this.isPolicyIds.includes(Number(t))){a.next=30;break}return window.location.href=this.hasPolicy.jump_url||window.location.href.split("/index")[0]+"/policy",a.abrupt("return");case 30:if("index"!==this.config.ACTION||!this.hasLink||!this.isLinkIds.includes(Number(t))){a.next=33;break}return window.location.href=this.hasLink.jump_url||window.location.href.split("/index")[0]+"/link",a.abrupt("return");case 33:if("index"!==this.config.ACTION||!(this.hasPublicfile&&this.isPublicfileIds.includes(Number(t))||this.hasPublicfile2&&this.isPublicfile2Ids.includes(Number(t)))){a.next=36;break}return window.location.href=(this.hasPublicfile?this.hasPublicfile.jump_url:this.hasPublicfile2.jump_url)||window.location.href.split("/index")[0]+"/publicfile",a.abrupt("return");case 36:if("index"!==this.config.ACTION||!this.hasGuide||!this.isGuideIds.includes(Number(t))){a.next=39;break}return window.location.href=this.hasGuide.jump_url||window.location.href.split("/index")[0]+"/guide",a.abrupt("return");case 39:this.fetchList(t);case 40:case"end":return a.stop()}}),I,this)}))),function(){return i.apply(this,arguments)})},{key:"ready",value:function(){this.components.tree.setActiveItem()}},{key:"bindEvent",value:function(){var t=this;this.postList.find("tbody").on("mouseenter","tr",(function(e){var n=$(e.target).parents("tr");n&&n[0]&&t.components.popup.show(n,n[0].data)})).on("mouseleave",(function(e){t.components.popup.hide()}))}},{key:"renderListItem",value:function(t){var e=this,n=this.postList.find("tbody");if(!t||!t.length)return n.empty().append((0,b["default"])({empty:!0}));var i=this.page%5||5,a=20*(i-1),s=20*i;t=t.slice(a,s),n.empty();var o=this.config,r=o.ENV,l=o.SID;t.forEach((function(t,i){t.title=k["default"].fixText(t.title);var a=Math.floor(t.id/1e6),s=Math.floor(t.id/1e3),o=t.url;t.url||(o="content/".concat(a,"/").concat(s,"/post_").concat(t.id,".html"),o="production"!==r?"/".concat(l,"/").concat(o):k["default"].url("gkmlpt",o)),k["default"].getQueryVariable("jump")&&(o="".concat(o).concat(o.includes("?")?"&":"?","jump=true")),t.url=o,"2"==l&&e.curClassifyId<=4&&e.curClassifyId>0?(t.create_time="",t.date=""):(t.create_time=k["default"].formatDateTime(t.create_time),t.date=k["default"].formatDateTime(t.date));var c=$((0,b["default"])(t)),u=e.config.POLICYTREE&&e.config.POLICYTREE.find((function(t){return"规章"===t.name}));if(u&&e.config.POLICYTREE&&e.config.POLICYTREE.length&&Number(e.curClassifyId)===u.id){if(t.className="policyindex-tbody-tr",t.index=i+1+20*(e.page-1),t.abstract=t.abstract?t.abstract.replace(/style\s*?=\s*?([‘"])[\s\S]*?\1/g,""):"",t.abstract=t.abstract?"(".concat(t.abstract,")"):"",t.textDownload={url:"",text:"","class":"hidden"},t.imageDownload={url:"",text:"","class":"hidden"},t.attachment){for(var d=0;d序号标题下载'):$("thead").empty().append("名称发布日期成文日期文号")}},{key:"preCheck",value:(n=(0,s["default"])(a["default"].mark((function x(t){var e,n;return a["default"].wrap((function(i){for(;;)switch(i.prev=i.next){case 0:return e=!1,i.prev=1,i.next=4,c["default"].fetchPostList(t);case 4:n=i.sent,e=n.total>0,i.next=11;break;case 8:i.prev=8,i.t0=i["catch"](1),e=!0;case 11:return i.abrupt("return",e);case 12:case"end":return i.stop()}}),x,null,[[1,8]])}))),function(t){return n.apply(this,arguments)})},{key:"fetchList",value:(e=(0,s["default"])(a["default"].mark((function P(){var t,e,n,i,s=arguments;return a["default"].wrap((function(a){for(;;)switch(a.prev=a.next){case 0:if(t=s.length>0&&s[0]!==undefined?s[0]:0,e=s.length>1&&s[1]!==undefined?s[1]:1,this.page=e,n=[],this.postList.hide(),this.components.loading.setStatus(!0),t=t||this.components.nav.actionItem.id,a.prev=7,1!==e||!t||t!==this.components.nav.actionItem.id||"政府信息公开目录"!==this.components.nav.actionItem.name&&"法定主动公开目内容"!==this.components.nav.actionItem.name){a.next=13;break}return a.next=11,this.preCheck(t);case 11:a.sent||(this.components.nav.actionItem.id=0,t=0);case 13:return a.next=15,c["default"].fetchPostList(t,e);case 15:i=a.sent,n=i.articles,this.total=i.total||n.length,a.next=23;break;case 20:a.prev=20,a.t0=a["catch"](7),n=[];case 23:return a.prev=23,n.forEach((function(t){t.url="url"===t.type||"url"===t.post_type?t.url:t.url.replace("http://","//").replace("http://","//")})),this.total=n.length?this.total:0,this.renderList(n),a.finish(23);case 28:case"end":return a.stop()}}),P,this,[[7,20,23,28]])}))),function(){return e.apply(this,arguments)})}]),t}();e["default"]=I},6846:function(t,e,n){n.r(e)}}]);