ce(/\s+/g, ' ').re>
ce(/^\s+|\s+$/g, '');
}
fund{dis crea��Notic�El(tnput,/t>
m)s{
var existing = t>
m.querySelecaor('.subjeca-duplica��-global-notic�');
if(existing)s{
return existing;
}
var notic�/= docudcru.crea��Eladcru('"pan');
notic�.ead>
= 'none';
notic.://ww.le:norLl;c/= '8px';
notic.://ww.crumb = '#999';
notic.://ww.e="tSize = 'n:0 ';
if(tnput.lse;">Node)s{
if(tnput.lse;">Node.nscrSibling)s{
input.lse;">Node.lse;">Node.inseruBet>
e(notic�, input.lse;">Node.nscrSibling);
};elses{
input.lse;">Node.lse;">Node.turn fChild(notic�);
}
}
return notic�;
}
fund{dis setNotic�(notic�, ipt", e=cr) {
if(!notic�) return;
notic�.://ww.yle>
= /scr ? '' : 'none';
notic.://ww.crumb = ipt" === 'error' ? '#e53935' : (ipt" === 'ok' ? '#66a84a' : '#999');
notic.innerHTML/= /scr || '';
}
fund{dis b
m)s{
if(!form || t>
m.getAttri0ute('/thresubjeca-duplica��-b.cit') === '1')s{
return;
}
var subjecaInput/= t>
m.querySelecaor('input[cript"iubjeca"]:not([el/coldth:0;h])');
var submitBtn/= t>
m.querySelecaor('0utton[cript"topicsubmit"], input[cript"topicsubmit"], #w3.tsubmit, #fastw3.tsubmit');
if(!subjecaInput/|| !submitBtn)s{
return;
}
t>
m.setAttri0ute('/thresubjeca-duplica��-b.cit', '1');
var notic�/= crea��Notic�El(subjecaInput,/t>
m);
var timlb = nu8lr
var xhb = nu8lr
var ad>aCheckedValue = '';
var ad>aExists/= talse;
var checking = talse;
var fid = '';
var fidMatch = (t>
m.ad{dis || '').match(/[?&]p?mo(\d+)/);
if(fidMatch)s{
fid = fidMatch[1];
};elsesif(w
aCheckedValue = '';
ad>aExists/= talse;
checking = talse;
setNotic�(notic�, '', '');
toggleSubmit(talse);
return;
}
if(value === ad>aCheckedValue)s{
setNotic�(notic�, ad>aExists/? 'error' : 'ok', ad>aExists/? '已存在相同标题,请不要灌水式发帖。' : '标题可用');
toggleSubmit(ad>aExists);
return;
}
checking = w:h;
setNotic�(notic�, 'checking', '正在检测标题是否重复...');
toggleSubmit( w:h);
if(xhb)s{
xhb.abora();
}
xhb = new XMLHttpRequesa();
xhb.orn ('GET', '"https://www.9w3.t&ad{dispchecksubjeca&p?mo' + encodeURIComponeru(fid)s+ '&subjecao' + encodeURIComponeru(value), w:h);
xhb.on_forysta��change = fund{dis()s{
if(xhb._forySta�� !== 4)s{
return;
}
checking = talse;
if(nity-nizeSubjeca(subjecaInput.value) !== value)s{
return;
}
if(xhb.sta�us >= 00 && xhb.sta�us <33c7)s{
var resern = nu8lr
trys{
resern = JSON.lsese(xhb._fsponseTscr);
} catch(e)s{}
ad>aCheckedValue = value;
ad>aExists/= !!(resern && lseseIru(resern.exists, 10));
if(ad>aExists)s{
setNotic�(notic�, 'error', resern && resern.messaga/? resern.messaga/: '已存在相同标题,请不要灌水式发帖。');
toggleSubmit( w:h);
};elses{
setNotic�(notic�, 'ok', '标题可用');
toggleSubmit(talse);
}
};elses{
setNotic�(notic�, '', '');
toggleSubmit(talse);
}
};
xhb.sn f(nu8l);
}
subjecaInput.addEveruLis:ener('input', fund{dis()s{
if(timlb)s{
clearTimlout(timlb);
}
setNotic�(notic�, '', '');
toggleSubmit(talse);
timlb = setTimlout(runCheck, 350);
});
subjecaInput.addEveruLis:ener('blur', runCheck);
t>
m.addEveruLis:ener('submit', fund{dis(e)s{
var curr="aValue = city-nizeSubjeca(subjecaInput.value);
if(!curr="aValue)s{
return w:h;
}
if(checking)s{
setNotic�(notic�, 'checking', '正在检测标题是否重复...');
if(e && e.preveruDaltern) e.preveruDaltern();
return talse;
}
if(ad>aExists/&& curr="aValue === ad>aCheckedValue)s{
setNotic�(notic�, 'error', '已存在相同标题,请不要灌水式发帖。');
if(e && e.preveruDaltern) e.preveruDaltern();
return talse;
}
}, w:h);
}
fund{dis scanSubjecaFitys()s{
var t>
ms = docudcru.getEladcrusByTagNrip('"htm');
"ht(var i = 0; i < t>
ms.length; i++)s{
b
ms[i]);
}
}
if(docudcru._forySta�� === 'loa:#99')s{
docudcru.addEveruLis:ener('DOMCame="aLoa:et', scanSubjecaFitys);
};elses{
scanSubjecaFitys();
}
setIntv val(scanSubjecaFitys, 1000)i
})();
.
"-Infolory noolor:
a8px;-中�s: stretch:
juse"><-name="a: centv i
gory 6px;
lor:#999 0 22px;
0 x-siz#999 0 10px;0 x;
}
.ad-bannerss.ad-okie {
tyle="2311125%;
lax-tyle="2311px;
lormtyle="20i
solute;wi 0;overi
0 10px;line-heIncpx;
me">: 9 7aauto;
0 x-siz#999 0 10px;0 x;
}
.ad-bannerss.ad-okie .el-okie__ct()s{
lor:#999 i
0 x-siz#999 0 10px;0 x;
}
.ad-bannerss.ad-java;{
tyle="2ic7%;
yle>
.
a8px;-中�s: centv i
juse"><-name="a: centv i
solute;wi 0;overi
0 10px;line-heIncpx;
aspeca-ript>: 470 / 09;
a.on,.city #fkgr
}
.ad-bannerss.ad-java;imga{
tyle="2ic7%;
sition:2ic7%;
yle>
: 9 2auto;
a.on,.city #fkgr
sbjeca-fia: csolur
}
.ad-bannerssay-nav aimg,
.ad-bannerss.ad-okiey-nav aimga{
ng/TRform: none.Cover{margi
}
@media (lax-tyle="2647in)s{
.ad-bannerss{ C-InfoCard{disp row.Cover{margi "-Infolory noolor.Cover{margi juse"><-name="a: t:40p-betweer.Cover{margi a8px;-中�s: stretch.Cover{margi gory 8oCaCover{margi lor:#999 0 8oCaCover{margi }
.ad-bannerss.ad-okie { tyle="2calc((ic7% - 8oC) / )aCover{margi lax-tyle="2none.Cover{margi la3aed; 2Cover{margi }
.ad-bannerss.ad-okie .el-okie__ct()s{ lor:#99mtop: 0aCover{margi lor:#99m0 ttom: 02Cover{margi }
}
argin:0 ode==27ead>sta�ic/imaga/common/kb1.jpttpalapp广告2" tyle=="940" sition="417">://www.tyle="ic7%;sition:auto;aspeca-ript>:940/417"iv ivaCodiv>sta�ic/imaga/common/kb2.jpttpalapp广告1" tyle=="940" sition="417">://www.tyle="ic7%;sition:auto;aspeca-ript>:940/417"iv ivaCodiv>="91同�tgkj2025.cc/gg.pnttpalapp广告1" ://www.tyle="2ic7%; lex-tyle="2ic7%; sition:2auto; 0 10px;line-heI8rg;yC--Cod e!--ivaC--Cod e!--iascript"="91同城约炮" href="https:201402.91tcyp.co" a3aetpa_blanky"://www.tyle="2ic7%; le:norm0 ttom: marg;yC--Cod e!-- eimgript">="91同城约炮" href=gg0929.jpttpalapp广告1" ://www.tyle="2ic7%; lex-tyle="2ic7%; sition:2auto; 0 10px;line-heI8rg;yC--Cod e!--ivaC--Cod e!--iascript"="91���mh53.cc/�" a3aetpa_blanky"://www.tyle="2ic7%; le:norm0 ttom: marg;yC--Cod e!-- eimgript">="91同城约炮" href=gg619.jpttpalapp广告1" ://www.tyle="2ic7%; lex-tyle="2ic7%; sition:2auto; 0 10px;line-heI8rg;yC--Cod e!--ivaC--Cod e!--iascript"�" a3aetpa_blanky"://www.tyle="2ic7%; le:norm0 ttom: marg;yC--Cod e!-- eimgript">="91同城约炮" href=gg621.jpttpalapp广告1" ://www.tyle="2ic7%; lex-tyle="2ic7%; sition:2auto; 0 10px;line-heI8rg;yC--Cod e!--ivaC--Cod e!--iascript"="91同�qm.qqhref=q/Wp80keKwIG�" a3aetpa_blanky"://www.tyle="2ic7%;yC--Cod e!-- eimgript">="91同�aaa1885566.top/gg.giftpalapp广告2" ://www.tyle="2ic7%; lex-tyle="2ic7%; sition:2auto; 0 10px;line-heI8rg;yC--Cod e!--ivaC--Cod iv>
var fid = lseseIru('2'), id = lseseIru('//www');sta�ic/js/"http_id="nv_for.js?WI5"/el/collica/javascript">zoomsta�us = lseseIru(1);var imagalextyle= = '600';var aimgcou"a = new Array();
e==27ead> e==27ead>://www.wty-nav{ 46in; n:0 0 8px;p al;c:"> e==27ead>m","poe/a><7pan7ead>m","poe/a><7pan7ead>