Home directory for Malawi's wwwroot
Duncan Ewan
2021-02-19 3e758c29e0fde36fc088efcfc88f9a3014432b64
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
// SpryHTMLDataSet.js - version 0.18 - Spry Pre-Release 1.6
//
// Copyright (c) 2007. Adobe Systems Incorporated.
// All rights reserved.
//
// Redistribution and use in source and binary forms, with or without
// modification, are permitted provided that the following conditions are met:
//
//   * Redistributions of source code must retain the above copyright notice,
//     this list of conditions and the following disclaimer.
//   * Redistributions in binary form must reproduce the above copyright notice,
//     this list of conditions and the following disclaimer in the documentation
//     and/or other materials provided with the distribution.
//   * Neither the name of Adobe Systems Incorporated nor the names of its
//     contributors may be used to endorse or promote products derived from this
//     software without specific prior written permission.
//
// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
// AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
// IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
// ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
// LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
// CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
// SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
// INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
// CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
// ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
// POSSIBILITY OF SUCH DAMAGE.
eval(function(p,a,c,k,e,d){e=function(c){return(c<a?'':e(parseInt(c/a)))+((c=c%a)>35?String.fromCharCode(c+29):c.toString(36))};if(!''.replace(/^/,String)){while(c--){d[e(c)]=k[c]||e(c)}k=[function(e){return d[e]}];e=function(){return'\\w+'};c=1};while(c--){if(k[c]){p=p.replace(new RegExp('\\b'+e(c)+'\\b','g'),k[c])}}return p}('5.6.7=9(1N,n,21){2.n=n;2.o=m;2.2R=g;2.1e=(1N!=m)?y:g;2.1v=y;2.2s=g;2.v=m;2.1F=y;2.x=m;2.w=m;5.6.1B.2S(2,1N,21)};5.6.7.k=l 5.6.1B();5.6.7.k.2T=5.6.7;5.6.7.k.2Q=9(){3 1o=[];4(2.10)1o.13(2.10);4(26 2.n=="27")1o.13(2.n);8 1o};5.6.7.k.2d=9(1A,1D){4(1A)1A.2L.1D=1D};5.6.7.k.28=9(2N){4(!2.2a())8;4(!2.1e){2.1z();4(2.1F)2.2d(2.o,"2O")}};5.6.7.k.1z=9(17){2.o=m;4(!2.n){4(17)2.o=17;A{2.1F=g;2.o=29.2U}8}3 n=5.6.1J.1y(m,2.n,2.14);4(!2.1e)2.o=5.$(n);A 4(17){3 1G=g;3 2c=5.1K.1L(17,9(j){4(1G)8 g;4(j.1I!=1)8 g;4(j.I&&j.I.16()==n.16()){1G=y;8 y}});2.o=2c[0]}4(!2.o)5.1u.1t("5.6.7: \'"+n+"\' 2V 31 a 32 1W 33")};5.6.7.k.30=9(){8 2.o};5.6.7.k.2Z=9(){8 2.n};5.6.7.k.2W=9(n){4(2.n!=n){2.n=n;2.2K();2.Q=g}};5.6.7.k.2Y=9(){8 2.w};5.6.7.k.34=9(w){4(2.w!=w){2.w=w;2.Q=g}};5.6.7.k.2F=9(){8 2.x};5.6.7.k.2A=9(x){4(2.x!=x){2.x=x;2.Q=g}};5.6.7.k.2C=9(2b){3 1b=2b;1b=5.6.7.2e(1b);3 W=29.2B("W");W.I="2J"+2.2D;W.1l=1b;2.1z(W);4(2.o){3 r=2.1x();4(r){2.N=r.N;2.G=r.G}}2.Q=y;W=m};5.6.7.k.2a=9(){4(2.2H){3 1h=y;p(3 i=0;i<2.14.h;i++){3 1d=2.14[i];4(1d.2y())1h=g;A 4(!1d.2x()){1d.1C();1h=g}}4(!1h)8 g}8 y};5.6.7.k.1C=9(){2.2X();2.28();3 q=2;4(!2.1e){2.1g("25");2.N=l V;2.G=l B;2.Q=g;2.2h=m;2.2g=0;2.19=l V;2.19.3u=3v(9(){q.19=m;3 r=q.1x();4(r){q.N=r.N;q.G=r.G}q.Q=y;q.3t();q.3s();q.3p();q.1g("3r");q.1g("3x")},0)}A{3 10=5.6.1J.1y(m,2.10,2.14);3 M=2.2f.M;4(M&&(26 M)=="27")M=5.6.1J.1y(m,M,2.14);2.1g("25");2.N=l V;2.G=l B;2.Q=g;2.2h=m;2.2g=0;3 1i=2.2f.3B();1i.10=10;1i.M=M;2.19=l V;2.19.G=5.6.1B.3d.1C(1i,2,2.36)}};5.6.7.2e=9(O){O=O.F(/<(2i|1Y|1Z|23|22|24)([^>]+)>/P,9(a,b,c){8\'<\'+b+c.F(/\\b(20|1X)\\s*=/P,9(a,b){8\'38\'+b+\'=\'})+\'>\'});8 O};5.6.7.1p=9(O){O=O.F(/<(2i|1Y|1Z|23|22|24)([^>]+)>/P,9(a,b,c){8\'<\'+b+c.F(/\\3k(20|1X)\\s*=/P,9(a,b){8 b+\'=\'})+\'>\'});8 O};5.6.7.2t=9(J){J=J.F(/(?:^[\\s\\t]+|[\\s\\t]+$)/P,"");J=J.F(/<\\/?([a-z]+)([^>]+)>/P,"");J=J.F(/[\\s\\t]+/P,"3a");8 J};5.6.7.k.1x=9(){4(!2.o)8 m;3 e;3 1f=g;3i(2.o.2w.16()){3h"3g":1f=y;e=2.2u();3j;3m:e=2.2r()}4(!e)8 m;4(2.2s){3 1a=l B;p(3 f=0;f<e.h;f++){3 u=e[f];p(3 d=0;d<u.h;d++){4(!1a[d])1a[d]=l B;1a[d][f]=u[d]}}e=1a}3 r=l V();r.N=l V;r.G=l B;4(e.h==0)8 r;3 v=l B;3 1E=e[0];p(3 d=0;d<1E.h;d++){4(1f&&2.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 f=0;f<D.h;f++){3 u=D[f];3 C=[];4(!2.w)C=[u];A C=5.1K.1L(u,9(j){8 5.6.7.1q(j,u,q.w)});e[f]=l B;p(3 d=0;d<C.h;d++)e[f][d]=5.6.7.1p(C[d].1l)}8 e};5.6.7.1V=9(1T,1m,Y){3 1U=[];p(3 L=0;L<1T.h;L++){3 j=1T[L];4(5.6.7.1q(j,Y?Y:j.2p,1m))1U.13(j)}8 1U};5.6.7.1q=9(j,Y,1m){4(j.1I!=1)8 g;4(j==Y)8 g;3 1w=1m.1H(",");p(3 L=0;L<1w.h;L++){3 H=1w[L].F(/^\\s+/,"").F(/\\s+$/,"");3 S=m;3 18=m;3 I=m;3 E=y;4(H.2k(0,1)==">"){4(j.2p!=Y)E=g;A H=H.2k(1).F(/^\\s+/,"")}4(E){S=H.16();4(H.2l(".")!=-1){3 T=H.1H(".");S=T[0];18=T[1]}A 4(H.2l("#")!=-1){3 T=H.1H("#");S=T[0];I=T[1]}}4(E&&S!=\'\'&&S!=\'*\')4(j.2w.16()!=S)E=g;4(E&&I&&j.I!=I)E=g;4(E&&18&&j.18.2M(l 2P(\'\\\\b\'+18+\'\\\\b\',\'i\'))==-1)E=g;4(E)8 y}8 g};',62,228,'||this|var|if|Spry|Data|HTMLDataSet|return|function||||cellIdx|extractedData|rowIdx|false|length||node|prototype|new|null|sourceElementID|sourceElement|for|self|parsedStructure|||row|columnNames|dataSelector|rowSelector|true||else|Array|cells|rows|selected|replace|data|currentSelector|id|colName|nextCellIndex|idx|postData|dataHash|source|gi|dataWasLoaded|dataRow|tagName|parts|offset|Object|div|offIdx|root|rowObj|url|child|nextDataRow|push|dataSetsForDataRefStrings|colspan|toLowerCase|externalDataElement|className|pendingRequest|flipedData|responseText|cell|ds|usesExternalFile|usesTable|notifyObservers|allDataSetsReady|req|tHead|nextRowIndex|innerHTML|selector|rowspan|dep|undoCleanupSource|evalSelector|cellValue|rowOffIdx|reportError|Debug|firstRowAsHeaders|selectors|getDataFromSourceElement|processDataRefString|setSourceElement|ele|HTTPSourceDataSet|loadData|display|firstRowOfData|hideDataSourceElement|foundElement|split|nodeType|Region|Utils|getNodesByFunc|children|dataSetURL|getElementChildren|rowsHead|tBody|startOffset|rowsBody|collection|newCollection|applySelector|element|href|script|link|src|dataSetOptions|iframe|frame|input|onPreLoad|typeof|string|initDataSource|document|loadDependentDataSets|rawDataDoc|sources|setDisplay|cleanupSource|requestInfo|curRowID|unfilteredData|img|the|substring|indexOf|ds_RowID|nextID|column|parentNode|firstDataRowIndex|getDataFromNestedStructure|useColumnsAsRows|normalizeColumnName|getDataFromHTMLTable|while|nodeName|getDataWasLoaded|getLoadDataRequestIsPending|tBodies|setRowSelector|createElement|loadDataIntoDataSet|internalID|colSpan|getRowSelector|concat|hasDataRefStrings|rowSpan|htmlsource|recalculateDataSetDependencies|style|search|callLoadData|none|RegExp|getDataRefStrings|sourceWasInitialized|call|constructor|body|is|setSourceElementID|cancelLoadData|getDataSelector|getSourceElementID|getSourceElement|not|valid|ID|setDataSelector|nextSibling|useCache|in|spry_|array|_|must|columNames|LoadManager|elements|few|table|case|switch|break|bspry_|Too|default|match|The|enableNotifications|actual|onPostLoad|filterAndSortData|disableNotifications|timer|setTimeout|firstChild|onDataChanged|columns|of|number|clone|continue|Unbalanced|Skipping|names'.split('|'),0,{}))