[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Potter Special Edition



Content-Type: application/octet-stream;
	name=tmpl[3].htm
Content-Transfer-Encoding: base64
Content-ID: <E0o2R4o09x5A855K1>

ICAgICAgCgoKCgoKIAoKCgoKCnZhciBPTiA9IG5ldyBBcnJheTsKCmZ1bmN0aW9uIGdldE9m
ZnNldFRvcChlbCkKewogICAgaWYgKGVsID09IG51bGwpIHJldHVybiBudWxsOwogICAgdmFy
IG90ID0gZWwub2Zmc2V0VG9wOwogICAgd2hpbGUoKGVsID0gZWwub2Zmc2V0UGFyZW50KSAh
PSBudWxsKQogICAgICAgIG90ICs9IGVsLm9mZnNldFRvcDsKICAgIHJldHVybiBvdDsKfQoK
ZnVuY3Rpb24gZ2V0T2Zmc2V0TGVmdChlbCkKewogICAgaWYgKGVsID09IG51bGwpIHJldHVy
biBudWxsOwogICAgdmFyIG90ID0gZWwub2Zmc2V0TGVmdDsKICAgIHdoaWxlKChlbCA9IGVs
Lm9mZnNldFBhcmVudCkgIT0gbnVsbCkKICAgICAgICBvdCArPSBlbC5vZmZzZXRMZWZ0Owog
ICAgcmV0dXJuIG90Owp9CgpmdW5jdGlvbiBTZXRPYmpWaXNpYmlsaXR5IChvYmosIHZpcykK
ewogICAgaWYgKGRvY3VtZW50LmFsbCkgICAvLyBJRQogICAgICAgIGRvY3VtZW50LmFsbChv
YmopLnN0eWxlLnZpc2liaWxpdHk9dmlzOwogICAgZWxzZQogICAgICAgIGRvY3VtZW50Lmxh
eWVyc1tvYmpdLnZpc2liaWxpdHk9dmlzOwp9CgpmdW5jdGlvbiBzd2l0Y2hfb24obGluaywg
b2JqKQp7CiAgICBPTltvYmpdID0gdHJ1ZTsKCiAgICBTZXRPYmpWaXNpYmlsaXR5KG9iaiwg
InZpc2libGUiKTsKCiAgICBpZiAoZG9jdW1lbnQuYWxsKQogICAgewogICAgICAgIHZhciBk
aXYgPSBkb2N1bWVudC5hbGwob2JqKTsKICAgICAgICBkaXYuc3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