1Drupal.locale = { 'pluralFormula': function ($n) { return Number((((($n%10)==1)&&(($n%100)!=11))?(0):((((($n%10)>=2)&&(($n%10)<=4))&&((($n%100)<10)||(($n%100)>=20)))?(1):2))); }, 'strings': {"":{"An AJAX HTTP error occurred.":"\u0412\u043e\u0437\u043d\u0438\u043a\u043b\u0430 AJAX HTTP \u043e\u0448\u0438\u0431\u043a\u0430.","HTTP Result Code: !status":"\u041f\u043e\u043b\u0443\u0447\u0435\u043d\u043d\u044b\u0439 \u043a\u043e\u0434 HTTP: !status","An AJAX HTTP request terminated abnormally.":"HTTP \u0437\u0430\u043f\u0440\u043e\u0441 AJAX \u0437\u0430\u0432\u0435\u0440\u0448\u0435\u043d \u043d\u0435\u043f\u0440\u0430\u0432\u0438\u043b\u044c\u043d\u043e.","Debugging information follows.":"\u0421\u043b\u0435\u0434\u0443\u0435\u0442 \u043e\u0442\u043b\u0430\u0434\u043e\u0447\u043d\u0430\u044f \u0438\u043d\u0444\u043e\u0440\u043c\u0430\u0446\u0438\u044f.","Path: !uri":"\u041f\u0443\u0442\u044c: !uri","StatusText: !statusText":"\u0422\u0435\u043a\u0441\u0442 \u0421\u043e\u0441\u0442\u043e\u044f\u043d\u0438\u044f: !statusText","ResponseText: !responseText":"\u0422\u0435\u043a\u0441\u0442 \u041e\u0442\u0432\u0435\u0442\u0430: !responseText","ReadyState: !readyState":"ReadyState: !readyState","Loading":"\u0417\u0430\u0433\u0440\u0443\u0437\u043a\u0430","(active tab)":"(\u0430\u043a\u0442\u0438\u0432\u043d\u0430\u044f \u0432\u043a\u043b\u0430\u0434\u043a\u0430)","Hide":"\u0421\u043a\u0440\u044b\u0442\u044c","Show":"\u041f\u043e\u043a\u0430\u0437\u0430\u0442\u044c","Re-order rows by numerical weight instead of dragging.":"\u0423\u043f\u043e\u0440\u044f\u0434\u043e\u0447\u0438\u0442\u044c \u0441\u0442\u0440\u043e\u043a\u0438 \u043f\u043e \u0432\u0435\u0441\u0443 \u0432\u043c\u0435\u0441\u0442\u043e \u043f\u0435\u0440\u0435\u0442\u0430\u0441\u043a\u0438\u0432\u0430\u043d\u0438\u044f.","Show row weights":"\u041f\u043e\u043a\u0430\u0437\u0430\u0442\u044c \u0432\u0435\u0441 \u0441\u0442\u0440\u043e\u043a","Hide row weights":"\u0421\u043a\u0440\u044b\u0442\u044c \u0432\u0435\u0441 \u0441\u0442\u0440\u043e\u043a","Drag to re-order":"\u0418\u0437\u043c\u0435\u043d\u0438\u0442\u044c \u043f\u043e\u0440\u044f\u0434\u043e\u043a \u043c\u043e\u0436\u043d\u043e, \u043f\u0435\u0440\u0435\u0442\u0430\u0449\u0438\u0432 \u043f\u0443\u043d\u043a\u0442 \u043c\u044b\u0448\u043a\u043e\u0439.","Changes made in this table will not be saved until the form is submitted.":"\u0421\u0434\u0435\u043b\u0430\u043d\u043d\u044b\u0435 \u0432 \u0441\u043f\u0438\u0441\u043a\u0435 \u0438\u0437\u043c\u0435\u043d\u0435\u043d\u0438\u044f \u043d\u0435 \u0432\u0441\u0442\u0443\u043f\u044f\u0442 \u0432 \u0441\u0438\u043b\u0443, \u043f\u043e\u043a\u0430 \u0432\u044b \u043d\u0435 \u0441\u043e\u0445\u0440\u0430\u043d\u0438\u0442\u0435 \u0438\u0445.","Enabled":"\u0412\u043a\u043b\u044e\u0447\u0435\u043d\u043e","Disabled":"\u041e\u0442\u043a\u043b\u044e\u0447\u0435\u043d\u043e","Next":"\u0412\u043f\u0435\u0440\u0451\u0434","Edit":"\u0420\u0435\u0434\u0430\u043a\u0442\u0438\u0440\u043e\u0432\u0430\u0442\u044c","Sunday":"\u0432\u043e\u0441\u043a\u0440\u0435\u0441\u0435\u043d\u044c\u0435","Monday":"\u043f\u043e\u043d\u0435\u0434\u0435\u043b\u044c\u043d\u0438\u043a","Tuesday":"\u0432\u0442\u043e\u0440\u043d\u0438\u043a","Wednesday":"\u0441\u0440\u0435\u0434\u0430","Thursday":"\u0447\u0435\u0442\u0432\u0435\u0440\u0433","Friday":"\u043f\u044f\u0442\u043d\u0438\u0446\u0430","Saturday":"\u0441\u0443\u0431\u0431\u043e\u0442\u0430","Add":"\u0414\u043e\u0431\u0430\u0432\u0438\u0442\u044c","Configure":"\u041d\u0430\u0441\u0442\u0440\u043e\u0438\u0442\u044c","All":"\u0412\u0441\u0435","Done":"\u0413\u043e\u0442\u043e\u0432\u043e","Prev":"\u041d\u0430\u0437\u0430\u0434","Mon":"\u043f\u043d","Tue":"\u0432\u0442","Wed":"\u0441\u0440","Thu":"\u0447\u0442","Fri":"\u043f\u0442","Sat":"\u0441\u0431","Sun":"\u0432\u0441","January":"\u044f\u043d\u0432\u0430\u0440\u044f","February":"\u0444\u0435\u0432\u0440\u0430\u043b\u044f","March":"\u043c\u0430\u0440\u0442\u0430","April":"\u0430\u043f\u0440\u0435\u043b\u044f","May":"\u043c\u0430\u044f","June":"\u0438\u044e\u043d\u044f","July":"\u0438\u044e\u043b\u044f","August":"\u0430\u0432\u0433\u0443\u0441\u0442\u0430","September":"\u0441\u0435\u043d\u0442\u044f\u0431\u0440\u044f","October":"\u043e\u043a\u0442\u044f\u0431\u0440\u044f","November":"\u043d\u043e\u044f\u0431\u0440\u044f","December":"\u0434\u0435\u043a\u0430\u0431\u0440\u044f","Select all rows in this table":"\u041e\u0442\u043c\u0435\u0442\u0438\u0442\u044c \u0432\u0441\u0435 \u0441\u0442\u0440\u043e\u043a\u0438 \u0442\u0430\u0431\u043b\u0438\u0446\u044b","Deselect all rows in this table":"\u0421\u043d\u044f\u0442\u044c \u043e\u0442\u043c\u0435\u0442\u043a\u0443 \u0441\u043e \u0432\u0441\u0435\u0445 \u043a\u043e\u043b\u043e\u043d\u043e\u043a \u0442\u0430\u0431\u043b\u0438\u0446\u044b","Today":"\u0421\u0435\u0433\u043e\u0434\u043d\u044f","Jan":"\u044f\u043d\u0432","Feb":"\u0444\u0435\u0432","Mar":"\u043c\u0430\u0440","Apr":"\u0430\u043f\u0440","Jun":"\u0438\u044e\u043d","Jul":"\u0438\u044e\u043b","Aug":"\u0430\u0432\u0433","Sep":"\u0441\u0435\u043d","Oct":"\u043e\u043a\u0442","Nov":"\u043d\u043e\u044f","Dec":"\u0434\u0435\u043a","Su":"\u0432\u0441","Mo":"\u043f\u043d","Tu":"\u0432\u0442","We":"\u0441\u0440","Th":"\u0447\u0442","Fr":"\u043f\u0442","Sa":"\u0441\u0431","Not published":"\u041d\u0435 \u043e\u043f\u0443\u0431\u043b\u0438\u043a\u043e\u0432\u0430\u043d\u043e","Please wait...":"\u041f\u043e\u0436\u0430\u043b\u0443\u0439\u0441\u0442\u0430, \u043f\u043e\u0434\u043e\u0436\u0434\u0438\u0442\u0435...","mm\/dd\/yy":"mm\/dd\/yy","By @name on @date":"@name, @date","By @
1name":"@name","Not in menu":"\u041d\u0435 \u0432 \u043c\u0435\u043d\u044e","Alias: @alias":"\u0421\u0438\u043d\u043e\u043d\u0438\u043c: @alias","No alias":"\u0421\u0438\u043d\u043e\u043d\u0438\u043c \u043d\u0435 \u0437\u0430\u0434\u0430\u043d","New revision":"\u041d\u043e\u0432\u0430\u044f \u0440\u0435\u0434\u0430\u043a\u0446\u0438\u044f","The changes to these blocks will not be saved until the \u003Cem\u003ESave blocks\u003C\/em\u003E button is clicked.":"\u0418\u0437\u043c\u0435\u043d\u0435\u043d\u0438\u044f, \u0441\u0434\u0435\u043b\u0430\u043d\u043d\u044b\u0435 \u0432 \u0431\u043b\u043e\u043a\u0430\u0445 \u043d\u0435 \u0432\u0441\u0442\u0443\u043f\u044f\u0442 \u0432 \u0441\u0438\u043b\u0443 \u043f\u043e\u043a\u0430 \u0432\u044b \u043d\u0435 \u043d\u0430\u0436\u043c\u0435\u0442\u0435 \u043a\u043d\u043e\u043f\u043a\u0443 \u003Cem\u003E\u0421\u043e\u0445\u0440\u0430\u043d\u0438\u0442\u044c \u0431\u043b\u043e\u043a\u0438\u003C\/em\u003E.","This permission is inherited from the authenticated user role.":"\u042d\u0442\u043e \u043f\u0440\u0430\u0432\u043e \u043d\u0430\u0441\u043b\u0435\u0434\u0443\u0435\u0442\u0441\u044f \u043e\u0442 \u0440\u043e\u043b\u0438 \u00ab\u0410\u0432\u0442\u043e\u0440\u0438\u0437\u0438\u0440\u043e\u0432\u0430\u043d\u043d\u044b\u0439 \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044c\u00bb.","No revision":"\u041d\u0435\u0442 \u0440\u0435\u0434\u0430\u043a\u0446\u0438\u0438","@number comments per page":"@number \u043a\u043e\u043c\u043c\u0435\u043d\u0442\u0430\u0440\u0438\u0435\u0432 \u043d\u0430 \u0441\u0442\u0440\u0430\u043d\u0438\u0446\u0443","Requires a title":"\u0422\u0440\u0435\u0431\u0443\u0435\u0442\u0441\u044f \u0437\u0430\u0433\u043e\u043b\u043e\u0432\u043e\u043a","Not restricted":"\u0411\u0435\u0437 \u043e\u0433\u0440\u0430\u043d\u0438\u0447\u0435\u043d\u0438\u0439","Not customizable":"\u041d\u0435 \u043d\u0430\u0441\u0442\u0440\u0430\u0438\u0432\u0430\u0435\u043c\u044b\u0439","Restricted to certain pages":"\u041e\u0433\u0440\u0430\u043d\u0438\u0447\u0435\u043d\u043e \u0434\u043b\u044f \u043e\u043f\u0440\u0435\u0434\u0435\u043b\u0451\u043d\u043d\u044b\u0445 \u0441\u0442\u0440\u0430\u043d\u0438\u0446","The block cannot be placed in this region.":"\u0411\u043b\u043e\u043a \u043d\u0435 \u043c\u043e\u0436\u0435\u0442 \u0431\u044b\u0442\u044c \u0440\u0430\u0437\u043c\u0435\u0449\u0451\u043d \u0432 \u0434\u0430\u043d\u043d\u043e\u0439 \u043e\u0431\u043b\u0430\u0441\u0442\u0438.","Customize dashboard":"\u041d\u0430\u0441\u0442\u0440\u043e\u0438\u0442\u044c \u043f\u0430\u043d\u0435\u043b\u044c \u0443\u043f\u0440\u0430\u0432\u043b\u0435\u043d\u0438\u044f","Hide summary":"\u0421\u043a\u0440\u044b\u0442\u044c \u0430\u043d\u043e\u043d\u0441","Edit summary":"\u0420\u0435\u0434\u0430\u043a\u0442\u0438\u0440\u043e\u0432\u0430\u0442\u044c \u0430\u043d\u043e\u043d\u0441","Don\u0027t display post information":"\u041d\u0435 \u043f\u043e\u043a\u0430\u0437\u044b\u0432\u0430\u0442\u044c \u0438\u043d\u0444\u043e\u0440\u043c\u0430\u0446\u0438\u044e \u043e \u043f\u0443\u0431\u043b\u0438\u043a\u0430\u0446\u0438\u0438","@title dialog":"\u0414\u0438\u0430\u043b\u043e\u0433 @title","The selected file %filename cannot be uploaded. Only files with the following extensions are allowed: %extensions.":"\u0412\u044b\u0431\u0440\u0430\u043d\u043d\u044b\u0439 \u0444\u0430\u0439\u043b %filename \u043d\u0435 \u043c\u043e\u0436\u0435\u0442 \u0431\u044b\u0442\u044c \u0437\u0430\u0433\u0440\u0443\u0436\u0435\u043d. \u0412\u043e\u0437\u043c\u043e\u0436\u043d\u043e \u0437\u0430\u0433\u0440\u0443\u0437\u043a\u0430 \u0444\u0430\u0439\u043b\u043e\u0432 \u0442\u043e\u043b\u044c\u043a\u043e \u0441\u043e \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0438\u043c\u0438 \u0440\u0430\u0441\u0448\u0438\u0440\u0435\u043d\u0438\u044f\u043c\u0438: %extensions.","Autocomplete popup":"\u0412\u0441\u043f\u043b\u044b\u0432\u0430\u044e\u0449\u0435\u0435 \u0430\u0432\u0442\u043e\u0437\u0430\u043f\u043e\u043b\u043d\u0435\u043d\u0438\u0435","Searching for matches...":"\u041f\u043e\u0438\u0441\u043a \u0441\u043e\u0432\u043f\u0430\u0434\u0435\u043d\u0438\u0439...","Insert this token into your form":"\u0412\u0441\u0442\u0430\u0432\u0438\u0442\u044c \u044d\u0442\u043e\u0442 \u0442\u043e\u043a\u0435\u043d \u0432 \u0432\u0430\u0448\u0443 \u0444\u043e\u0440\u043c\u0443","First click a text field to insert your tokens into.":"\u0421\u043d\u0430\u0447\u0430\u043b\u0430 \u043a\u043b\u0438\u043a\u043d\u0438\u0442\u0435 \u0432 \u0442\u0435\u043a\u0441\u0442\u043e\u0432\u043e\u0435 \u043f\u043e\u043b\u0435, \u0447\u0442\u043e\u0431\u044b \u0432\u0441\u0442\u0430\u0432\u0438\u0442\u044c \u0442\u043e\u043a\u0435\u043d\u044b.","Automatic alias":"\u0410\u0432\u0442\u043e\u043c\u0430\u0442\u0438\u0447\u0435\u0441\u043a\u0438\u0439 \u0441\u0438\u043d\u043e\u043d\u0438\u043c","Remove group":"\u0423\u0434\u0430\u043b\u0438\u0442\u044c \u0433\u0440\u0443\u043f\u043f\u0443","Apply (all displays)":"\u041f\u0440\u0438\u043c\u0435\u043d\u0438\u0442\u044c (\u0432\u0441\u0435 \u043e\u0442\u043e\u0431\u0440\u0430\u0436\u0435\u043d\u0438\u044f)","Revert to default":"\u0412\u0435\u0440\u043d\u0443\u0442\u044c \u043a \u043d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0430\u043c \u043f\u043e \u0443\u043c\u043e\u043b\u0447\u0430\u043d\u0438\u044e","Apply (this display)":"\u041f\u0440\u0438\u043c\u0435\u043d\u0438\u0442\u044c (\u0434\u0430\u043d\u043d\u043e\u0435 \u043e\u0442\u043e\u0431\u0440\u0430\u0436\u0435\u043d\u0438\u0435)","Insert Teaser Break":"\u0412\u0441\u0442\u0430\u0432\u0438\u0442\u044c \u0440\u0430\u0437\u0440\u044b\u0432 \u0432 \u0430\u043d\u043e\u043d\u0441","Insert Page Break":"\u0412\u0441\u0442\u0430\u0432\u0438\u0442\u044c \u0440\u0430\u0437\u0440\u044b\u0432 \u0441\u0442\u0440\u0430\u043d\u0438\u0446\u044b","The document already contains a teaser break. Do you want to proceed by removing it first?":"\u
10414\u043e\u043a\u0443\u043c\u0435\u043d\u0442 \u0443\u0436\u0435 \u0441\u043e\u0434\u0435\u0440\u0436\u0438\u0442 \u043e\u0431\u0440\u0435\u0437\u043a\u0443 \u0430\u043d\u043e\u043d\u0441\u0430. \u0425\u043e\u0442\u0438\u0442\u0435 \u043b\u0438 \u0412\u044b \u0441\u043d\u0430\u0447\u0430\u043b\u0430 \u0443\u0434\u0430\u043b\u0438\u0442\u044c \u0435\u0451?","+@count":"+@count","-@count":"-@count","Log messages":"\u0421\u043e\u043e\u0431\u0449\u0435\u043d\u0438\u044f \u0432 \u043b\u043e\u0433","Please select a file.":"\u041f\u043e\u0436\u0430\u043b\u0443\u0439\u0441\u0442\u0430 \u0432\u044b\u0431\u0435\u0440\u0438\u0442\u0435 \u0444\u0430\u0439\u043b.","You are not allowed to operate on more than %num files.":"\u0412\u0430\u043c \u043d\u0435 \u0440\u0430\u0437\u0440\u0435\u0448\u0435\u043d\u043e \u0443\u043f\u0440\u0430\u0432\u043b\u044f\u0442\u044c \u0431\u043e\u043b\u044c\u0448\u0435 \u0447\u0435\u043c \u0441 %num \u0444\u0430\u0439\u043b\u0430\u043c\u0438.","Please specify dimensions within the allowed range that is from 1x1 to @dimensions.":"\u041f\u043e\u0436\u0430\u043b\u0443\u0439\u0441\u0442\u0430 \u0443\u043a\u0430\u0436\u0438\u0442\u0435 \u0440\u0430\u0437\u043c\u0435\u0440 \u0432\u043d\u0443\u0442\u0440\u0438 \u0440\u0430\u0437\u0440\u0435\u0448\u0451\u043d\u043d\u043e\u0433\u043e \u0434\u0438\u0430\u043f\u043e\u0437\u043e\u043d\u0430 \u043e\u0442 1x1 \u0434\u043e @dimensions.","%filename is not an image.":"\u0424\u0430\u0439\u043b %filename \u043d\u0435 \u044f\u0432\u043b\u044f\u0435\u0442\u0441\u044f \u0438\u0437\u043e\u0431\u0440\u0430\u0436\u0435\u043d\u0438\u0435\u043c.","File browsing is disabled in directory %dir.":"\u041f\u0440\u043e\u0441\u043c\u043e\u0442\u0440 \u0444\u0430\u0439\u043b\u043e\u0432 \u0437\u0430\u043f\u0440\u0435\u0449\u0435\u043d \u0434\u043b\u044f \u043f\u0430\u043f\u043a\u0438 %dir.","Do you want to refresh the current directory?":"\u0412\u044b \u0445\u043e\u0442\u0438\u0442\u0435 \u043e\u0431\u043d\u043e\u0432\u0438\u0442\u044c \u0442\u0435\u043a\u0443\u0449\u0443\u044e \u043f\u0430\u043f\u043a\u0443?","Delete selected files?":"\u0423\u0434\u0430\u043b\u0438\u0442\u044c \u0432\u044b\u0431\u0440\u0430\u043d\u043d\u044b\u0435 \u0444\u0430\u0439\u043b\u044b?","Please select a thumbnail.":"\u0412\u044b\u0431\u0435\u0440\u0438\u0442\u0435 \u043c\u0438\u043d\u0438\u0430\u0442\u044e\u0440\u0443.","You must select at least %num files.":"\u041d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u043e \u0432\u044b\u0431\u0440\u0430\u0442\u044c \u043d\u0435 \u043c\u0435\u043d\u0435\u0435 %num \u0444\u0430\u0439\u043b\u043e\u0432.","You can not perform this operation.":"\u0412\u044b \u043d\u0435 \u043c\u043e\u0436\u0435\u0442\u0435 \u0432\u044b\u043f\u043e\u043b\u043d\u0438\u0442\u044c \u044d\u0442\u0443 \u043e\u043f\u0435\u0440\u0430\u0446\u0438\u044e.","Change view":"\u0421\u043c\u0435\u043d\u0438\u0442\u044c \u0432\u0438\u0434","Also allow !name role to !permission?":"\u0422\u0430\u043a\u0436\u0435 \u043f\u0440\u0438\u0441\u0432\u043e\u0438\u0442\u044c \u0440\u043e\u043b\u0438 !name \u043f\u0440\u0430\u0432\u0430 !permission?","Available tokens":"\u0414\u043e\u0441\u0442\u0443\u043f\u043d\u044b\u0435 \u0442\u043e\u043a\u0435\u043d\u044b","Loading token browser...":"\u0417\u0430\u0433\u0440\u0443\u0437\u043a\u0430 \u0431\u0440\u0430\u0443\u0437\u0435\u0440\u0430 \u0442\u043e\u043a\u0435\u043d\u043e\u0432...","New":"\u041d\u043e\u0432\u043e\u0435","Inclusion: @value":"\u0412\u043a\u043b\u044e\u0447\u0435\u043d\u0438\u0435: @value","Priority: @value":"\u041f\u0440\u0438\u043e\u0440\u0438\u0442\u0435\u0442: @value","No results":"\u041d\u0435\u0442 \u0440\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442\u043e\u0432","clear":"\u041e\u0447\u0438\u0441\u0442\u0438\u0442\u044c","Modules installed within the last week.":"\u041c\u043e\u0434\u0443\u043b\u0438, \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u043b\u0435\u043d\u043d\u044b\u0435 \u0437\u0430 \u043f\u043e\u0441\u043b\u0435\u0434\u043d\u044e\u044e \u043d\u0435\u0434\u0435\u043b\u044e.","No modules added within the last week.":"\u041d\u0435\u0442 \u043c\u043e\u0434\u0443\u043b\u0435\u0439, \u0434\u043e\u0431\u0430\u0432\u043b\u0435\u043d\u043d\u044b\u0445 \u0437\u0430 \u043f\u043e\u0441\u043b\u0435\u0434\u043d\u044e\u044e \u043d\u0435\u0434\u0435\u043b\u044e.","Recent":"\u041f\u043e\u0441\u043b\u0435\u0434\u043d\u0438\u0439","Modules enabled\/disabled
1within the last week.":"\u041c\u043e\u0434\u0443\u043b\u0438, \u0432\u043a\u043b\u044e\u0447\u0451\u043d\u043d\u044b\u0435\/\u0432\u044b\u043a\u043b\u044e\u0447\u0435\u043d\u043d\u044b\u0435 \u0437\u0430 \u043f\u043e\u0441\u043b\u0435\u0434\u043d\u044e\u044e \u043d\u0435\u0434\u0435\u043b\u044e.","No modules were enabled or disabled within the last week.":"\u041d\u0435\u0442 \u043c\u043e\u0434\u0443\u043b\u0435\u0439, \u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u0431\u044b\u043b\u0438 \u0432\u043a\u043b\u044e\u0447\u0435\u043d\u044b \u0438\u043b\u0438 \u043e\u0442\u043a\u043b\u044e\u0447\u0435\u043d\u044b \u0432 \u0442\u0435\u0447\u0435\u043d\u0438\u0435 \u043f\u043e\u0441\u043b\u0435\u0434\u043d\u0435\u0439 \u043d\u0435\u0434\u0435\u043b\u0438.","@enabled of @total":"@enabled \u0438\u0437 @total","CustomMessage: !customMessage":"\u0421\u043e\u0431\u0441\u0442\u0432\u0435\u043d\u043d\u043e\u0435 \u0441\u043e\u043e\u0431\u0449\u0435\u043d\u0438\u0435: !customMessage","The response failed verification so will not be processed.":"\u041e\u0442\u0432\u0435\u0442 \u043d\u0435 \u043f\u0440\u043e\u0448\u0435\u043b \u043f\u0440\u043e\u0432\u0435\u0440\u043a\u0443 \u043f\u043e\u044d\u0442\u043e\u043c\u0443 \u043e\u0431\u0440\u0430\u0431\u0430\u0442\u044b\u0432\u0430\u0442\u044c\u0441\u044f \u043d\u0435 \u0431\u0443\u0434\u0435\u0442.","The callback URL is not local and not trusted: !url":"URL-\u0430\u0434\u0440\u0435\u0441 \u043e\u0431\u0440\u0430\u0442\u043d\u043e\u0433\u043e \u0432\u044b\u0437\u043e\u0432\u0430 \u043d\u0435 \u044f\u0432\u043b\u044f\u0435\u0442\u0441\u044f \u043b\u043e\u043a\u0430\u043b\u044c\u043d\u044b\u043c \u0438 \u0434\u043e\u0432\u0435\u0440\u0435\u043d\u043d\u044b\u043c: !url","Translation files":"\u0424\u0430\u0439\u043b\u044b \u043f\u0435\u0440\u0435\u0432\u043e\u0434\u0430","Hide description":"\u0421\u043a\u0440\u044b\u0442\u044c \u043e\u043f\u0438\u0441\u0430\u043d\u0438\u0435","Show description":"\u041f\u043e\u043a\u0430\u0437\u0430\u0442\u044c \u043e\u043f\u0438\u0441\u0430\u043d\u0438\u0435"}} };; 2// $Id$ 3// author: olk [email protected] (aka - [email protected]) 4(function ($) { 5Drupal.behaviors.ccfcollapse = { 6 attach: function (context, settings) { 7 $('.ccfcollapse-wrapper').once('ccfcollapse-wrapper', function () { 8 var $ccfw=$(this); 9 var $body_wrapper=$('> .ccfcollapse-wrapper-body', this); 10 var $th =$('> .ccfcollapse-wrapper-title-hide:first', this); 11 var $ts =$('> .ccfcollapse-wrapper-title-show:first', this); 12 var $lh = $('<a class="ccfcollapse-wrapper-link-collapse-all" href="#" alt="'+$th.contents().text()+'"></a>').prepend($th.contents()).appendTo($th) 13 .click(function() { 14 $body_wrapper. 15 find('.ccfcollapse-link-collapse:not(.hide)') 16 .each( function(indx,element){ 17 $(this).triggerHandler('click'); 18 }); 19 $th.hide(); 20 $ts.show(); 21 return false; 22 }); 23 var $ls = $('<a class="ccfcollapse-wrapper-link-expand-all" href="#" alt="'+$ts.contents().text()+'"></a>').prepend($ts.contents()).appendTo($ts) 24 .click(function() { 25 $body_wrapper. 26 find('.ccfcollapse-link-expand:not(.hide)') 27 .each( function(indx,element){ 28 $(this).triggerHandler('click'); 29 }); 30 $ts.hide(); 31 $th.show(); 32 return false; 33 }); 34 if ($ccfw.hasClass('hide')) { 35 $ts.show(); 36 } 37 else { 38 $th.show(); 39 } 40 }); 41 42 $('.ccfcollapse').once('ccfcollapse', function () { 43 var $ccf=$(this); 44 var $th =$('> .ccfcollapse-title-hide', this); 45 var $ts =$('> .ccfcollapse-title-show', this); 46 var $static_title =$('> .ccfcollapse-static-title', this); 47 var $body = $('> .ccfcollapse-body', this); 48 var speed_hide = $("> input[name='speed-hide']", this).val(); 49 var method_hide = $("> input[name='method-hide']", this).val(); 50 var speed_show = $("> input[name='speed-show']", this).val(); 51 var method_show = $("> input[name='method-show']", this).val(); 52 var is_unpublis_node = $("> input[name=is-unpublish-node]",this).val(); 53 var nid = $("> input[name='node-nid']", this).val(); 54 $static_title.hide(); 55 // ÑÑÑлка на ÑвеÑÑÑвание 56 var $lh = $('<a class="ccfcollapse-link-collapse" href="#" alt="'+$th.contents().text()+'"></a>') 57 .prepend($th.contents()) 58 .appendTo($th) 59 .click(function() { 60 var ccfc = $body.get(0); 61 if (!ccfc.animating) { 62 Drupal.ccfcollapseToggler(ccfc,speed_hide,method_hide,'hide'); 63 $th.hide().addClass('hide').find('a').addClass('hide'); 64 $ts.show().removeClass('hide').find('a').removeClass('hide'); 65 } 66 return false;
67 }); 68 // ÑÑÑлка на ÑазвеÑÑÑвание 69 var $ls = $('<a class="ccfcollapse-link-expand" href="#" alt="'+$ts.contents().text()+'"></a>') 70 .prepend($ts.contents()) 71 .appendTo($ts) 72 .click(function() { 73 var ccfc = $body.get(0); 74 if (!ccfc.animating) { 75 if($ts.hasClass('ajax_node') && !$ts.hasClass('processed') && !$ts.hasClass('loadded')) { 76 $body.find('.ccfcollapse-ajax-body').empty(); 77 Drupal.ccfcollapseLoadNode($body,$ts,$th,nid,ccfc,speed_show,method_show,is_unpublis_node); 78 } 79 else { 80 Drupal.ccfcollapseToggler(ccfc,speed_show,method_show,'show'); 81 $th.show().removeClass('hide').find('a').removeClass('hide'); 82 $ts.hide().addClass('hide').find('a').addClass('hide'); 83 } 84 85 } 86 return false; 87 }); 88 89 if ($ccf.hasClass('hide')) { 90 $body.hide(); 91 $ts.show().removeClass('hide').find('a').removeClass('hide'); 92 $th.hide().addClass('hide').find('a').addClass('hide'); 93 if($ts.hasClass('ajax_node')) { 94 $ts.find('a').before('<span class="ccfcollapse-ajax-processed"> </span>'); 95 $ts.find('.ccfcollapse-ajax-processed').hide(); 96 } 97 } 98 else { 99 if($ts.hasClass('ajax_node') && !$ts.hasClass('processed') && !$ts.hasClass('loadded')) { 100 $ts.find('a').before('<span class="ccfcollapse-ajax-processed"> </span>'); 101 Drupal.ccfcollapseLoadNode($body,$ts,$th,nid,'','','start',is_unpublis_node); 102 } 103 $ts.hide().addClass('hide').find('a').addClass('hide'); 104 $th.show().removeClass('hide').find('a').removeClass('hide'); 105 $body.show(); 106 } 107 }); 108 } 109}; 110 111Drupal.ccfcollapseLoadNode = function(body,ts,th,nid,ccfc,speed_show,method_show,is_unpublis_node) { 112 var action = 'http://' + window.location.hostname +'/ccfcollapse/js_load_node/'+nid+'/'+is_unpublis_node; 113 $(ts).find('.ccfcollapse-ajax-processed').show(); 114 $(ts).addClass('processed'); 115 $.ajax({ 116 type: "GET", 117 url: action, 118 dataType: "json", 119 success: function(result) { 120 if (result['status']) { 121// var text=result['data']; 122 var text=result['data']['text']; 123 var title=result['data']['title']; 124 var publish=result['data']['publish']; 125// if(title && is_title_node==1) { 126// $(body).parent().find('.ccfcollapse-title-allow').append(' <span class="ccfcollapse-node-title">'+title+'</span>').show(); 127// } 128 if(is_unpublis_node == 1 || publish==1) { 129 $(body).find('.ccfcollapse-ajax-body').replaceWith(text); 130 } 131 else { 132 $(body).find('.ccfcollapse-ajax-body').replaceWith(Drupal.t('This node is unpublished')); 133 } 134 Drupal.attachBehaviors($(body)); 135 } 136 else { 137 $(body).find('.ccfcollapse-ajax-body').replaceWith(Drupal.t('Error loading node')); 138 } 139 140 }, 141 error: function(result) { 142 $(body).find('.ccfcollapse-node-title').empty(); 143 $(body).find('.ccfcollapse-ajax-body').replaceWith(Drupal.t('Error loading node')); 144 145 }, 146 complete: function(result) { 147 $(ts).find('.ccfcollapse-ajax-processed').hide(); 148 if (method_show != 'start') { 149 Drupal.ccfcollapseToggler(ccfc,speed_show,method_show,'show'); 150 } 151 $(th).show().removeClass('hide').find('a').removeClass('hide'); 152 $(ts).hide().addClass('hide').find('a').addClass('hide'); 153 $(ts).find('.ccfcollapse-ajax-processed').hide(); 154 $(ts).removeClass('processed').addClass('loadded'); 155 } 156 }); 157} 158 159Drupal.ccfcollapseToggler = function(ccfc,speed,method,op) { 160 ccfc.animating = true; 161 162 if(op == 'show') { 163 var method_show={height: 'show'}; 164 switch(method) { 165 case 'fade': 166 method_show={opacity: 'show'}; 167 break; 168 case 'slidefade': 169 method_show = {opacity: 'show', height: 'show'}; 170 break; 171 } 172 $(ccfc).animate(method_show, speed); 173 } 174 else { 175 var method_hide={height: 'hide'}; 176 switch(method) { 177 case 'fade': 178 method_hide={opacity: 'hide'}; 179 break; 180 case 'slidefade': 181 method_hide={opacity: 'hide', height: 'hide'}; 182 break; 183 } 184 $(ccfc).animate(method_hide, speed); 185 186 } 187 ccfc.animating = false;
188}; 189 190})(jQuery); 191;
vendor: 11,960 bytes, lines 192-197
192/*! 193 Colorbox 1.6.4 194 license: MIT 195 http://www.jacklmoore.com/colorbox 196*/ 197(function(t,e,i){function n(i,n,o){var r=e.createElement(i);return n&&(r.id=Z+n),o&&(r.style.cssText=o),t(r)}function o(){return i.innerHeight?i.innerHeight:t(i).height()}function r(e,i){i!==Object(i)&&(i={}),this.cache={},this.el=e,this.value=function(e){var n;return void 0===this.cache[e]&&(n=t(this.el).attr("data-cbox-"+e),void 0!==n?this.cache[e]=n:void 0!==i[e]?this.cache[e]=i[e]:void 0!==X[e]&&(this.cache[e]=X[e])),this.cache[e]},this.get=function(e){var i=this.value(e);return t.isFunction(i)?i.call(this.el,this):i}}function h(t){var e=W.length,i=(A+t)%e;return 0>i?e+i:i}function a(t,e){return Math.round((/%/.test(t)?("x"===e?E.width():o())/100:1)*parseInt(t,10))}function s(t,e){return t.get("photo")||t.get("photoRegex").test(e)}function l(t,e){return t.get("retinaUrl")&&i.devicePixelRatio>1?e.replace(t.get("photoRegex"),t.get("retinaSuffix")):e}function d(t){"contains"in x[0]&&!x[0].contains(t.target)&&t.target!==v[0]&&(t.stopPropagation(),x.focus())}function c(t){c.str!==t&&(x.add(v).removeClass(c.str).addClass(t),c.str=t)}function g(e){A=0,e&&e!==!1&&"nofollow"!==e?(W=t("."+te).filter(function(){var i=t.data(this,Y),n=new r(this,i);return n.get("rel")===e}),A=W.index(_.el),-1===A&&(W=W.add(_.el),A=W.length-1)):W=t(_.el)}function u(i){t(e).trigger(i),ae.triggerHandler(i)}function f(i){var o;if(!G){if(o=t(i).data(Y),_=new r(i,o),g(_.get("rel")),!U){U=$=!0,c(_.get("className")),x.css({visibility:"hidden",display:"block",opacity:""}),I=n(se,"LoadedContent","width:0; height:0; overflow:hidden; visibility:hidden"),b.css({width:"",height:""}).append(I),j=T.height()+k.height()+b.outerHeight(!0)-b.height(),D=C.width()+H.width()+b.outerWidth(!0)-b.width(),N=I.outerHeight(!0),z=I.outerWidth(!0);var h=a(_.get("initialWidth"),"x"),s=a(_.get("initialHeight"),"y"),l=_.get("maxWidth"),f=_.get("maxHeight");_.w=Math.max((l!==!1?Math.min(h,a(l,"x")):h)-z-D,0),_.h=Math.max((f!==!1?Math.min(s,a(f,"y")):s)-N-j,0),I.css({width:"",height:_.h}),J.position(),u(ee),_.get("onOpen"),O.add(F).hide(),x.focus(),_.get("trapFocus")&&e.addEventListener&&(e.addEventListener("focus",d,!0),ae.one(re,function(){e.removeEventListener("focus",d,!0)})),_.get("returnFocus")&&ae.one(re,function(){t(_.el).focus()})}var p=parseFloat(_.get("opacity"));v.css({opacity:p===p?p:"",cursor:_.get("overlayClose")?"pointer":"",visibility:"visible"}).show(),_.get("closeButton")?B.html(_.get("close")).appendTo(b):B.appendTo("<div/>"),w()}}function p(){x||(V=!1,E=t(i),x=n(se).attr({id:Y,"class":t.support.opacity===!1?Z+"IE":"",role:"dialog",tabindex:"-1"}).hide(),v=n(se,"Overlay").hide(),L=t([n(se,"LoadingOverlay")[0],n(se,"LoadingGraphic")[0]]),y=n(se,"Wrapper"),b=n(se,"Content").append(F=n(se,"Title"),R=n(se,"Current"),P=t('<button type="button"/>').attr({id:Z+"Previous"}),K=t('<button type="button"/>').attr({id:Z+"Next"}),S=t('<button type="button"/>').attr({id:Z+"Slideshow"}),L),B=t('<button type="button"/>').attr({id:Z+"Close"}),y.append(n(se).append(n(se,"TopLeft"),T=n(se,"TopCenter"),n(se,"TopRight")),n(se,!1,"clear:left").append(C=n(se,"MiddleLeft"),b,H=n(se,"MiddleRight")),n(se,!1,"clear:left").append(n(se,"BottomLeft"),k=n(se,"BottomCenter"),n(se,"BottomRight"))).find("div div").css({"float":"left"}),M=n(se,!1,"position:absolute; width:9999px; visibility:hidden; display:none; max-width:none;"),O=K.add(P).add(R).add(S)),e.body&&!x.parent().length&&t(e.body).append(v,x.append(y,M))}function m(){function i(t){t.which>1||t.shiftKey||t.altKey||t.metaKey||t.ctrlKey||(t.preventDefault(),f(this))}return x?(V||(V=!0,K.click(function(){J.next()}),P.click(function(){J.prev()}),B.click(function(){J.close()}),v.click(function(){_.get("overlayClose")&&J.close()}),t(e).bind("keydown."+Z,function(t){var e=t.keyCode;U&&_.get("escKey")&&27===e&&(t.preventDefault(),J.close()),U&&_.get("arrowKey")&&W[1]&&!t.altKey&&(37===e?(t.preventDefault(),P.click()):39===e&&(t.preventDefault(),K.click()))}),t.isFunction(t.fn.on)?t(e).on("click."+Z,"."+te,i):t("."+te).live("click."+Z,i)),!0):!1}function w(){var e,o,r,h=J.prep,d=++le;if($=!0,q=!1,u(he),u(ie),_.get("onLoad"),_.h=_.get("height")?a(_.get("height"),"y")-N-j:_.get("innerHeight")&&a(_.get("innerHeight"),"y"),_.w=_.get("width")?a(_.get("width"),"x")-z-D:_.get("innerWidth")&&a(_.get("innerWidth"),"x"),_.mw=_.w,_.mh=_.h,_.get("maxWidth")&&(_.mw=a(_.get("maxWidth"),"x")-z-D,_.mw=_.w&&_.w<_.mw?_.w:_.mw),_.get("maxHeight")&&(_.mh=a(_.get("maxHeight"),"y")-N-j,_.mh=_.h&&_.h<_.mh?_.h:_.mh),e=_.get("href"),Q=setTimeout(function(){L.show()},100),_.get("inline")){var c=t(e).eq(0);r=t("<div>").hide().insertBefore(c),ae.one(he,function(){r.replaceWith(c)}),h(c)}else _.get("iframe")?h(" "):_.get("html")?h(_.get("html")):s(_,e)?(e=l(_,e),q=_.get("createImg"),t(q).addClass(Z+"Photo").bind("error."+Z,function(){h(n(se,"Error").html(_.get("imgError")))}).one("load",function(){d===le&&setTimeout(function(){var e;_.get("retinaImage")&&i.devicePixelRatio>1&&(q.height=q.height/i.devicePixelRatio,q.width=q.width/i.devicePixelRatio),_.get("scalePhotos")&&(o=function(){q.height-=q.height*e,q.width-=q.width*e},_.mw&&q.width>_.mw&&(e=(q.width-_.mw)/q.width,o()),_.mh&&q.height>_.mh&&(e=(q.height-_.mh)/q.height,o())),_.h&&(q.style.marginTop=Math.max(_.mh-q.height,0)/2+"px"),W[1]&&(_.get("loop")||W[A+1])&&(q.style.cursor="pointer",t(q).bind("click."+Z,function(){J.next()})),q.style.width=q.width+"px",q.style.height=q.height+"px",h(q)},1)}),q.src=e):e&&M.load(e,_.get("data"),function(e,i){d===le&&h("error"===i?n(se,"Error").html(_.get("xhrError")):t(this).contents())})}var v,x,y,b,T,C,H,k,W,E,I,M,L,F,R,S,K,P,B,O,_,j,D,N,z,A,q,U,$,G,Q,J,V,X={html:!1,photo:!1,iframe:!1,inline:!1,transition:"elastic",speed:300,fadeOut:300,width:!1,initialWidth:"600",innerWidth:!1,maxWidth:!1,height:!1,initialHeight:"450",innerHeight:!1,maxHeight:!1,scalePhotos:!0,scrolling:!0,opacity:.9,preloading:!0,className:!1,overlayClose:!0,escKey:!0,arrowKey:!0,top:!1,bottom:!1,left:!1,right:!1,fixed:!1,data:void 0,closeButton:!0,fastIframe:!0,open:!1,reposition:!0,loop:!0,slideshow:!1,slideshowAuto:!0,slideshowSpeed:2500,slideshowStart:"start slideshow",slideshowStop:"stop slideshow",photoRegex:/\.(gif|png|jp(e|g|eg)|bmp|ico|webp|jxr|svg)((#|\?).*)?$/i,retinaImage:!1,retinaUrl:!1,retinaSuffix:"@2x.$1",current:"image {current} of {total}",previous:"previous",next:"next",close:"close",xhrError:"This content failed to load.",imgError:"This image failed to load.",returnFocus:!0,trapFocus:!0,onOpen:!1,onLoad:!1,onComplete:!1,onCleanup:!1,onClosed:!1,rel:function(){return this.rel},href:function(){return t(this).attr("href")},title:function(){return this.title},createImg:function(){var e=new Image,i=t(this).data("cbox-img-attrs");return"object"==typeof i&&t.each(i,function(t,i){e[t]=i}),e},createIframe:function(){var i=e.createElement("iframe"),n=t(this).data("cbox-iframe-attrs");return"object"==typeof n&&t.each(n,function(t,e){i[t]=e}),"frameBorder"in i&&(i.frameBorder=0),"allowTransparency"in i&&(i.allowTransparency="true"),i.name=(new Date).getTime(),i.allowFullscreen=!0,i}},Y="colorbox",Z="cbox",te=Z+"Element",ee=Z+"_open",ie=Z+"_load",ne=Z+"_complete",oe=Z+"_cleanup",re=Z+"_closed",he=Z+"_purge",ae=t("<a/>"),se="div",le=0,de={},ce=function(){function t(){clearTimeout(h)}function e(){(_.get("loop")||W[A+1])&&(t(),h=setTimeout(J.next,_.get("slideshowSpeed")))}function i(){S.html(_.get("slideshowStop")).unbind(s).one(s,n),ae.bind(ne,e).bind(ie,t),x.removeClass(a+"off").addClass(a+"on")}function n(){t(),ae.unbind(ne,e).unbind(ie,t),S.html(_.get("slideshowStart")).unbind(s).one(s,function(){J.next(),i()}),x.removeClass(a+"on").addClass(a+"off")}function o(){r=!1,S.hide(),t(),ae.unbind(ne,e).unbind(ie,t),x.removeClass(a+"off "+a+"on")}var r,h,a=Z+"Slideshow_",s="click."+Z;return function(){r?_.get("slideshow")||(ae.unbind(oe,o),o()):_.get("slideshow")&&W[1]&&(r=!0,ae.one(oe,o),_.get("slideshowAuto")?i():n(),S.show())}}();t[Y]||(t(p),J=t.fn[Y]=t[Y]=function(e,i){var n,o=this;return e=e||{},t.isFunction(o)&&(o=t("<a/>"),e.open=!0),o[0]?(p(),m()&&(i&&(e.onComplete=i),o.each(function(){var i=t.data(this,Y)||{};t.data(this,Y,t.extend(i,e))}).addClass(te),n=new r(o[0],e),n.get("open")&&f(o[0])),o):o},J.position=function(e,i){function n(){T[0].style.width=k[0].style.width=b[0].style.width=parseInt(x[0].style.width,10)-D+"px",b[0].style.height=C[0].style.height=H[0].style.height=parseInt(x[0].style.height,10)-j+"px"}var r,h,s,l=0,d=0,c=x.offset();if(E.unbind("resize."+Z),x.css({top:-9e4,left:-9e4}),h=E.scrollTop(),s=E.scrollLeft(),_.get("fixed")?(c.top-=h,c.left-=s,x.css({position:"fixed"})):(l=h,d=s,x.css({position:"absolute"})),d+=_.get("right")!==!1?Math.max(E.width()-_.w-z-D-a(_.get("right"),"x"),0):_.get("left")!==!1?a(_.get("left"),"x"):Math.round(Math.max(E.width()-_.w-z-D,0)/2),l+=_.get("bottom")!==!1?Math.max(o()-_.h-N-j-a(_.get("bottom"),"y"),0):_.get("top")!==!1?a(_.get("top"),"y"):Math.round(Math.max(o()-_.h-N-j,0)/2),x.css({top:c.top,left:c.left,visibility:"visible"}),y[0].style.width=y[0].style.height="9999px",r={width:_.w+z+D,height:_.h+N+j,top:l,left:d},e){var g=0;t.each(r,function(t){return r[t]!==de[t]?(g=e,void 0):void 0}),e=g}de=r,e||x.css(r),x.dequeue().animate(r,{duration:e||0,complete:function(){n(),$=!1,y[0].style.width=_.w+z+D+"px",y[0].style.height=_.h+N+j+"px",_.get("reposition")&&setTimeout(function(){E.bind("resize."+Z,J.position)},1),t.isFunction(i)&&i()},step:n})},J.resize=function(t){var e;U&&(t=t||{},t.width&&(_.w=a(t.width,"x")-z-D),t.innerWidth&&(_.w=a(t.innerWidth,"x")),I.css({width:_.w}),t.height&&(_.h=a(t.height,"y")-N-j),t.innerHeight&&(_.h=a(t.innerHeight,"y")),t.innerHeight||t.height||(e=I.scrollTop(),I.css({height:"auto"}),_.h=I.height()),I.css({height:_.h}),e&&I.scrollTop(e),J.position("none"===_.get("transition")?0:_.get("speed")))},J.prep=function(i){function o(){return _.w=_.w||I.width(),_.w=_.mw&&_.mw<_.w?_.mw:_.w,_.w}function a(){return _.h=_.h||I.height(),_.h=_.mh&&_.mh<_.h?_.mh:_.h,_.h}if(U){var d,g="none"===_.get("transition")?0:_.get("speed");I.remove(),I=n(se,"LoadedContent").append(i),I.hide().appendTo(M.show()).css({width:o(),overflow:_.get("scrolling")?"auto":"hidden"}).css({height:a()}).prependTo(b),M.hide(),t(q).css({"float":"none"}),c(_.get("className")),d=function(){function i(){t.support.opacity===!1&&x[0].style.removeAttribute("filter")}var n,o,a=W.length;U&&(o=function(){clearTimeout(Q),L.hide(),u(ne),_.get("onComplete")},F.html(_.get("title")).show(),I.show(),a>1?("string"==typeof _.get("current")&&R.html(_.get("current").replace("{current}",A+1).replace("{total}",a)).show(),K[_.get("loop")||a-1>A?"show":"hide"]().html(_.get("next")),P[_.get("loop")||A?"show":"hide"]().html(_.get("previous")),ce(),_.get("preloading")&&t.each([h(-1),h(1)],function(){var i,n=W[this],o=new r(n,t.data(n,Y)),h=o.get("href");h&&s(o,h)&&(h=l(o,h),i=e.createElement("img"),i.src=h)})):O.hide(),_.get("iframe")?(n=_.get("createIframe"),_.get("scrolling")||(n.scrolling="no"),t(n).attr({src:_.get("href"),"class":Z+"Iframe"}).one("load",o).appendTo(I),ae.one(he,function(){n.src="//about:blank"}),_.get("fastIframe")&&t(n).trigger("load")):o(),"fade"===_.get("transition")?x.fadeTo(g,1,i):i())},"fade"===_.get("transition")?x.fadeTo(g,0,function(){J.position(0,d)}):J.position(g,d)}},J.next=function(){!$&&W[1]&&(_.get("loop")||W[A+1])&&(A=h(1),f(W[A]))},J.prev=function(){!$&&W[1]&&(_.get("loop")||A)&&(A=h(-1),f(W[A]))},J.close=function(){U&&!G&&(G=!0,U=!1,u(oe),_.get("onCleanup"),E.unbind("."+Z),v.fadeTo(_.get("fadeOut")||0,0),x.stop().fadeTo(_.get("fadeOut")||0,0,function(){x.hide(),v.hide(),u(he),I.remove(),setTimeout(function(){G=!1,u(re),_.get("onClosed")},1)}))},J.remove=function(){x&&(x.stop(),t[Y].close(),x.stop(!1,!0).remove(),v.remove(),G=!1,x=null,t("."+te).removeData(Y).removeClass(te),t(e).unbind("click."+Z).unbind("keydown."+Z))},J.element=function(){return t(_.el)},J.settings=X)})(jQuery,document,window);
197; 198/** 199 * @file 200 * Colorbox module init js. 201 */ 202 203(function ($) { 204 205Drupal.behaviors.initColorbox = { 206 attach: function (context, settings) { 207 if (!$.isFunction($('a, area, input', context).colorbox) || typeof settings.colorbox === 'undefined') { 208 return; 209 } 210 211 if (settings.colorbox.mobiledetect && window.matchMedia) { 212 // Disable Colorbox for small screens. 213 var mq = window.matchMedia("(max-device-width: " + settings.colorbox.mobiledevicewidth + ")"); 214 if (mq.matches) { 215 return; 216 } 217 } 218 219 // Use "data-colorbox-gallery" if set otherwise use "rel". 220 settings.colorbox.rel = function () { 221 if ($(this).data('colorbox-gallery')) { 222 return $(this).data('colorbox-gallery'); 223 } 224 else { 225 return $(this).attr('rel'); 226 } 227 }; 228 229 $('.colorbox', context) 230 .once('init-colorbox').each(function(){ 231 // Only images are supported for the "colorbox" class. 232 // The "photo" setting forces the href attribute to be treated as an image. 233 var extendParams = { 234 photo: true 235 }; 236 // If a title attribute is supplied, sanitize it. 237 var title = $(this).attr('title'); 238 if (title) { 239 extendParams.title = Drupal.colorbox.sanitizeMarkup(title); 240 } 241 $(this).colorbox($.extend({}, settings.colorbox, extendParams)); 242 }); 243 244 $(context).bind('cbox_complete', function () { 245 Drupal.attachBehaviors($('#cboxLoadedContent')); 246 }); 247 } 248}; 249 250// Create colorbox namespace if it doesn't exist. 251if (!Drupal.hasOwnProperty('colorbox')) { 252 Drupal.colorbox = {}; 253} 254 255/** 256 * Global function to allow sanitizing captions and control strings. 257 * 258 * @param markup 259 * String containing potential markup. 260 * @return @string 261 * Sanitized string with potentially dangerous markup removed. 262 */ 263Drupal.colorbox.sanitizeMarkup = function(markup) { 264 // If DOMPurify installed, allow some HTML. Otherwise, treat as plain text. 265 if (typeof DOMPurify !== 'undefined') { 266 var purifyConfig = { 267 ALLOWED_TAGS: [ 268 'a', 269 'b', 270 'strong', 271 'i', 272 'em', 273 'u', 274 'cite', 275 'code', 276 'br' 277 ], 278 ALLOWED_ATTR: [ 279 'href', 280 'hreflang', 281 'title', 282 'target' 283 ] 284 } 285 if (Drupal.settings.hasOwnProperty('dompurify_custom_config')) { 286 purifyConfig = Drupal.settings.dompurify_custom_config; 287 } 288 return DOMPurify.sanitize(markup, purifyConfig); 289 } 290 else { 291 return Drupal.checkPlain(markup); 292 } 293} 294 295})(jQuery); 296; 297/** 298 * @file 299 * Colorbox module style js. 300 */ 301 302(function ($) { 303 304Drupal.behaviors.initColorboxDefaultStyle = { 305 attach: function (context, settings) { 306 $(context).bind('cbox_complete', function () { 307 // Only run if there is a title. 308 if ($('#cboxTitle:empty', context).length == false) { 309 $('#cboxLoadedContent img', context).bind('mouseover', function () { 310 $('#cboxTitle', context).slideDown(); 311 }); 312 $('#cboxOverlay', context).bind('mouseover', function () { 313 $('#cboxTitle', context).slideUp(); 314 }); 315 } 316 else { 317 $('#cboxTitle', context).hide(); 318 } 319 }); 320 } 321}; 322 323})(jQuery); 324; 325/** 326 * @file 327 * Colorbox module load js. 328 */ 329(function ($) { 330 331Drupal.behaviors.initColorboxLoad = { 332 attach: function (context, settings) { 333 if (!$.isFunction($.colorbox) || typeof settings.colorbox === 'undefined') { 334 return; 335 } 336 337 if (settings.colorbox.mobiledetect && window.matchMedia) { 338 // Disable Colorbox for small screens. 339 var mq = window.matchMedia("(max-device-width: " + settings.colorbox.mobiledevicewidth + ")"); 340 if (mq.matches) { 341 return; 342 } 343 } 344 345 $.urlParams = function (url) { 346 var p = {}, 347 e, 348 a = /\+/g, // Regex for replacing addition symbol with a space. 349 r = /([^&=]+)=?([^&]*)/g, 350 d = function (s) { return decodeURIComponent(s.replace(a, ' ')); }, 351 q = url.split('?'); 352 while (e = r.exec(q[1])) { 353 e[1] = d(e[1]); 354 e[2] = d(e[2]); 355 switch (e[2].toLowerCase()) { 356 case 'true': 357 case 'yes': 358 e[2] = true; 359 break; 360 case 'false': 361 case 'no': 362 e[2] = false;
363 break; 364 } 365 if (e[1] == 'width') { e[1] = 'innerWidth'; } 366 if (e[1] == 'height') { e[1] = 'innerHeight'; } 367 if (e[2]) { 368 e[2] = Drupal.checkPlain(e[2]); 369 } 370 p[e[1]] = e[2]; 371 } 372 return p; 373 }; 374 375 $('.colorbox-load', context) 376 .once('init-colorbox-load', function () { 377 var href = $(this).attr('href'); 378 379 var params = $.urlParams(href); 380 381 // Always load in an iframe. 382 params.iframe = true; 383 384 // Set inner width and height if not already specified. 385 if (!params.hasOwnProperty('innerWidth')) { 386 params.innerWidth = $(window).width() * .8; 387 } 388 if (!params.hasOwnProperty('innerHeight')) { 389 params.innerHeight = $(window).height() * .8; 390 } 391 392 if (!params.hasOwnProperty('title')) { 393 // If a title attribute is supplied, sanitize it. 394 var title = $(this).attr('title'); 395 if (title) { 396 params.title = Drupal.colorbox.sanitizeMarkup(title); 397 } 398 } 399 $(this).colorbox($.extend({}, settings.colorbox, params)); 400 }); 401 } 402}; 403 404})(jQuery); 405; 406/** 407 * @file 408 * Colorbox module inline js. 409 */ 410 411(function ($) { 412 413Drupal.behaviors.initColorboxInline = { 414 attach: function (context, settings) { 415 if (!$.isFunction($.colorbox) || typeof settings.colorbox === 'undefined') { 416 return; 417 } 418 419 if (settings.colorbox.mobiledetect && window.matchMedia) { 420 // Disable Colorbox for small screens. 421 var mq = window.matchMedia("(max-device-width: " + settings.colorbox.mobiledevicewidth + ")"); 422 if (mq.matches) { 423 return; 424 } 425 } 426 427 $.urlParam = function(name, url){ 428 if (name == 'fragment') { 429 var results = new RegExp('(#[^&#]*)').exec(url); 430 } 431 else { 432 var results = new RegExp('[\\?&]' + name + '=([^&#]*)').exec(url); 433 } 434 if (!results) { return ''; } 435 return results[1] || ''; 436 }; 437 $('.colorbox-inline', context).once('init-colorbox-inline').colorbox({ 438 transition:settings.colorbox.transition, 439 speed:settings.colorbox.speed, 440 opacity:settings.colorbox.opacity, 441 slideshow:settings.colorbox.slideshow, 442 slideshowAuto:settings.colorbox.slideshowAuto, 443 slideshowSpeed:settings.colorbox.slideshowSpeed, 444 slideshowStart:settings.colorbox.slideshowStart, 445 slideshowStop:settings.colorbox.slideshowStop, 446 current:settings.colorbox.current, 447 previous:settings.colorbox.previous, 448 next:settings.colorbox.next, 449 close:settings.colorbox.close, 450 overlayClose:settings.colorbox.overlayClose, 451 maxWidth:settings.colorbox.maxWidth, 452 maxHeight:settings.colorbox.maxHeight, 453 innerWidth:function(){ 454 return $.urlParam('width', $(this).attr('href')); 455 }, 456 innerHeight:function(){ 457 return $.urlParam('height', $(this).attr('href')); 458 }, 459 title:function(){ 460 return Drupal.colorbox.sanitizeMarkup( 461 decodeURIComponent($.urlParam('title', $(this).attr('href')))); 462 }, 463 iframe:function(){ 464 return $.urlParam('iframe', $(this).attr('href')); 465 }, 466 inline:function(){ 467 return $.urlParam('inline', $(this).attr('href')); 468 }, 469 href:function(){ 470 return $.urlParam('fragment', $(this).attr('href')); 471 } 472 }); 473 } 474}; 475 476})(jQuery); 477; 478(function($){ 479/** 480 * Toggle the visibility of the scroll to top link. 481 */ 482 483Drupal.behaviors.scroll_to_top = { 484 attach: function (context, settings) { 485 // append back to top link top body if it is not 486 var exist= jQuery('#back-top').length; // exist = 0 if element doesn't exist 487 if(exist == 0){ // this test is for fixing the ajax bug 488 $("body").append("<p id='back-top'><a href='#top'><span id='button'></span><span id='link'>" + settings.scroll_to_top.label + "</span></a></p>"); 489 } 490 // Preview function 491 $("input").change(function () { 492 // building the style for preview 493 var style="<style>#scroll-to-top-prev-container #back-top-prev span#button-prev{ background-color:"+$("#edit-scroll-to-top-bg-color-out").val()+";} #scroll-to-top-prev-container #back-top-prev span#button-prev:hover{ background-color:"+$("#edit-scroll-to-top-bg-color-hover").val()+" }</style>" 494 // building the html content of preview 495 var html="<p id='back-top-prev' style='position:relative;'><a href='#top'><span id='button-prev'></span><span id='link'>"; 496 // if label enabled display it 497 if($("#edit-scroll-to-top-display-text").attr('checked')){ 498 html+=$("#edit-scroll-to-top-label").val(); 499 } 500 html+="</span></a></p>"; 501 // update the preview 502 $("#scroll-to-top-prev-container").html(style+html); 503 }); 504 $("#back-top").hide(); 505 $(function () { 506 $(window).scroll(function () { 507 // Adding IE8 support 508 var scrollTop = 0; 509 if (document.documentElement && document.documentElement.scrollTop) { 510 scrollTop = document.documentElement.scrollTop; 511 } 512 if ($(this).scrollTop() > 100 || scrollTop > 100) { 513 $('#back-top').fadeIn(); 514 } else { 515 $('#back-top').fadeOut(); 516 } 517 }); 518 519 // scroll body to 0px on click 520 $('#back-top a').click(function () { 521 $('body,html').animate({ 522 scrollTop: 0 523 }, 800); 524 return false;
525 }); 526 }); 527 } 528}; 529})(jQuery); 530; 531(function ($) { 532 Drupal.behaviors.improved_multi_select = { 533 attach: function(context, settings) { 534 535 if (settings.improved_multi_select && settings.improved_multi_select.selectors) { 536 537 var selectors = settings.improved_multi_select.selectors; 538 539 for (var key in selectors) { 540 var selector = selectors[key]; 541 $(selector, context).once('improvedselect', function() { 542 $(this).parent().append('<div class="improvedselect" sid="'+ $(this).attr('id') +'" id="improvedselect-'+ $(this).attr('id') +'"><div class="improvedselect-text-wrapper"><input type="text" class="improvedselect_filter" sid="'+ $(this).attr('id') +'" prev="" /></div><ul class="improvedselect_sel"></ul><ul class="improvedselect_all"></ul><div class="improvedselect_control"><span class="add" sid="'+ $(this).attr('id') +'">></span><span class="del" sid="'+ $(this).attr('id') +'"><</span><span class="add_all" sid="'+ $(this).attr('id') +'">»</span><span class="del_all" sid="'+ $(this).attr('id') +'">«</span></div><div class="clear" /></div>'); 543 var improvedselect_id = $(this).attr('id'); 544 $(this).find('option').each(function(){ 545 if ($(this).attr('selected')) { 546 $('#improvedselect-'+ improvedselect_id +' .improvedselect_sel', context).append('<li so="'+ $(this).attr('value') +'">'+ $(this).text() +'</li>'); 547 } 548 else { 549 $('#improvedselect-'+ improvedselect_id +' .improvedselect_all', context).append('<li so="'+ $(this).attr('value') +'">'+ $(this).text() +'</li>'); 550 } 551 }); 552 $('#improvedselect-'+ improvedselect_id +' li', context).click(function(){ 553 $(this).toggleClass('selected'); 554 }); 555 $(this).hide(); 556 }); 557 } 558 559 $('.improvedselect_filter', context).keyup(function(){ 560 var text = $(this).val(); 561 if (text.length && text != $(this).attr('prev')) { 562 $(this).attr('prev', text); 563 var patt = new RegExp(text,'i'); 564 $('#improvedselect-'+ $(this).attr('sid') +' .improvedselect_all li', context).each(function(){ 565 var str = $(this).text(); 566 if (str.match(patt)){ 567 $(this).show(); 568 } 569 else{ 570 $(this).hide(); 571 } 572 }); 573 } 574 else { 575 $(this).attr('prev', '') 576 $('#improvedselect-'+ $(this).attr('sid') +' .improvedselect_all li', context).each(function(){ 577 $(this).show(); 578 }); 579 } 580 }); 581 582 // Add selected items. 583 $('.improvedselect .add', context).click(function(){ 584 var sid = $(this).attr('sid'); 585 $('#improvedselect-'+ sid +' .improvedselect_all .selected', context).each(function(){ 586 $(this).removeClass('selected'); 587 $(this).show(); 588 $('#improvedselect-'+ sid +' .improvedselect_sel', context).append($(this)); 589 }); 590 improvedselectUpdate(sid, context); 591 }); 592 593 // Remove selected items. 594 $('.improvedselect .del', context).click(function(){ 595 var sid = $(this).attr('sid'); 596 $('#improvedselect-'+ sid +' .improvedselect_sel .selected', context).each(function(){ 597 $(this).removeClass('selected'); 598 $('#improvedselect-'+ sid +' .improvedselect_all', context).append($(this)); 599 }); 600 improvedselectUpdate(sid, context); 601 }); 602 603 // Remove all filtered items. 604 $('.improvedselect .add_all', context).click(function(){ 605 var sid = $(this).attr('sid'); 606 $('#improvedselect-'+ sid +' .improvedselect_all li', context).each(function(){ 607 if ($(this).css('display') != 'none') { 608 $(this).removeClass('selected'); 609 $('#improvedselect-'+ sid +' .improvedselect_sel', context).append($(this)); 610 } 611 }); 612 improvedselectUpdate(sid, context); 613 }); 614 615 // Remove all items. 616 $('.improvedselect .del_all', context).click(function(){ 617 var sid = $(this).attr('sid'); 618 $('#improvedselect-'+ sid +' input', context).val(''); 619 $('#improvedselect-'+ sid +' input', context).attr('prev', ''); 620 $('#improvedselect-'+ sid +' .improvedselect_sel li', context).each(function(){ 621 $(this).removeClass('selected'); 622 $('#improvedselect-'+ sid +' .improvedselect_all', context).append($(this)); 623 }); 624 $('#improvedselect-'+ sid +' .improvedselect_all li', context).each(function(){ 625 $(this).show(); 626 }); 627 improvedselectUpdate(sid, context); 628 }); 629 630 } 631 } 632 }; 633 634 function improvedselectUpdate(sid, context) { 635 $('#'+ sid +' option:selected', context).attr("selected", ""); 636 $('#improvedselect-'+ sid +' .improvedselect_sel li', context).each(function(){ 637 $('#'+ sid +' [value="'+ $(this).attr('so') +'"]', context).attr("selected", "selected"); 638 }); 639 640 $('#' + sid, context).find('option').each(function() { 641 if ($(this).attr("selected")) { 642 $('#improvedselect-'+ sid +' .improvedselect_sel', context).append($('#improvedselect-'+ sid +' .improvedselect_sel [so="'+ $(this).attr('value') +'"]', context)); 643 } 644 else { 645 $('#improvedselect-'+ sid +' .improvedselect_all', context).append($('#improvedselect-'+ sid +' .improvedselect_all [so="'+ $(this).attr('value') +'"]', context)); 646 } 647 }); 648 } 649 650})(jQuery, Drupal); 651; 652/** 653 * @file 654 * Unlock protected forms by resetting the form action to the path that 655 * it should be, only if the current user is verified to be human.
656 */ 657(function ($) { 658 Drupal.antibot = {}; 659 660 Drupal.behaviors.antibot = { 661 attach: function (context) { 662 // Assume the user is not human, despite JS being enabled. 663 Drupal.settings.antibot.human = false; 664 665 // Wait for a mouse to move, indicating they are human. 666 $('body').mousemove(function() { 667 // Unlock the forms. 668 Drupal.antibot.unlockForms(); 669 }); 670 671 // Wait for a touch move event, indicating that they are human. 672 $('body').bind('touchmove', function() { 673 // Unlock the forms. 674 Drupal.antibot.unlockForms(); 675 }); 676 677 // A tab or enter key pressed can also indicate they are human. 678 $('body').keydown(function(e) { 679 if ((e.keyCode == 9) || (e.keyCode == 13)) { 680 // Unlock the forms. 681 Drupal.antibot.unlockForms(); 682 } 683 }); 684 } 685 }; 686 687 /** 688 * Revert the action on the protected forms to what it was originally 689 * set to. 690 */ 691 Drupal.antibot.unlockForms = function() { 692 // Act only if we haven't yet verified this user as being human. 693 if (!Drupal.settings.antibot.human) { 694 // Iterate all antibot forms that we need to unlock. 695 for (var id in Drupal.settings.antibot.forms) { 696 // Switch the action to the original value. 697 $('form#' + id).attr('action', Drupal.settings.antibot.forms[id].action); 698 699 // Check if a key is required. 700 if (Drupal.settings.antibot.forms[id].key) { 701 // Inject the key value. 702 $('form#' + id).find('input[name="antibot_key"]').val(Drupal.settings.antibot.forms[id].key.split("").reverse().join("").match(/.{1,2}/g).map((value) => value.split("").reverse().join("")).join("")); 703 } 704 } 705 // Mark this user as being human. 706 Drupal.settings.antibot.human = true; 707 } 708 }; 709 710})(jQuery); 711;
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.