MapboxImageryProvider.js 20 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608
  1. import Credit from "../Core/Credit.js";
  2. import defaultValue from "../Core/defaultValue.js";
  3. import defined from "../Core/defined.js";
  4. import deprecationWarning from "../Core/deprecationWarning.js";
  5. import DeveloperError from "../Core/DeveloperError.js";
  6. import Resource from "../Core/Resource.js";
  7. import UrlTemplateImageryProvider from "./UrlTemplateImageryProvider.js";
  8. const trailingSlashRegex = /\/$/;
  9. const defaultCredit = new Credit(
  10. '&copy; <a href="https://www.mapbox.com/about/maps/">Mapbox</a> &copy; <a href="http://www.openstreetmap.org/copyright">OpenStreetMap</a> <strong><a href="https://www.mapbox.com/map-feedback/">Improve this map</a></strong>'
  11. );
  12. /**
  13. * @typedef {object} MapboxImageryProvider.ConstructorOptions
  14. *
  15. * Initialization options for the MapboxImageryProvider constructor
  16. *
  17. * @property {string} [url='https://api.mapbox.com/v4/'] The Mapbox server url.
  18. * @property {string} mapId The Mapbox Map ID.
  19. * @property {string} accessToken The public access token for the imagery.
  20. * @property {string} [format='png'] The format of the image request.
  21. * @property {Ellipsoid} [ellipsoid] The ellipsoid. If not specified, the WGS84 ellipsoid is used.
  22. * @property {number} [minimumLevel=0] The minimum level-of-detail supported by the imagery provider. Take care when specifying
  23. * this that the number of tiles at the minimum level is small, such as four or less. A larger number is likely
  24. * to result in rendering problems.
  25. * @property {number} [maximumLevel] The maximum level-of-detail supported by the imagery provider, or undefined if there is no limit.
  26. * @property {Rectangle} [rectangle=Rectangle.MAX_VALUE] The rectangle, in radians, covered by the image.
  27. * @property {Credit|string} [credit] A credit for the data source, which is displayed on the canvas.
  28. */
  29. /**
  30. * Provides tiled imagery hosted by Mapbox.
  31. *
  32. * @alias MapboxImageryProvider
  33. * @constructor
  34. *
  35. * @param {MapboxImageryProvider.ConstructorOptions} options Object describing initialization options
  36. *
  37. * @example
  38. * // Mapbox tile provider
  39. * const mapbox = new Cesium.MapboxImageryProvider({
  40. * mapId: 'mapbox.mapbox-terrain-v2',
  41. * accessToken: 'thisIsMyAccessToken'
  42. * });
  43. *
  44. * @see {@link https://www.mapbox.com/developers/api/maps/#tiles}
  45. * @see {@link https://www.mapbox.com/developers/api/#access-tokens}
  46. */
  47. function MapboxImageryProvider(options) {
  48. options = defaultValue(options, defaultValue.EMPTY_OBJECT);
  49. const mapId = options.mapId;
  50. //>>includeStart('debug', pragmas.debug);
  51. if (!defined(mapId)) {
  52. throw new DeveloperError("options.mapId is required.");
  53. }
  54. //>>includeEnd('debug');
  55. const accessToken = options.accessToken;
  56. //>>includeStart('debug', pragmas.debug);
  57. if (!defined(accessToken)) {
  58. throw new DeveloperError("options.accessToken is required.");
  59. }
  60. //>>includeEnd('debug');
  61. this._defaultAlpha = undefined;
  62. this._defaultNightAlpha = undefined;
  63. this._defaultDayAlpha = undefined;
  64. this._defaultBrightness = undefined;
  65. this._defaultContrast = undefined;
  66. this._defaultHue = undefined;
  67. this._defaultSaturation = undefined;
  68. this._defaultGamma = undefined;
  69. this._defaultMinificationFilter = undefined;
  70. this._defaultMagnificationFilter = undefined;
  71. const resource = Resource.createIfNeeded(
  72. defaultValue(options.url, "https://{s}.tiles.mapbox.com/v4/")
  73. );
  74. this._mapId = mapId;
  75. this._accessToken = accessToken;
  76. let format = defaultValue(options.format, "png");
  77. if (!/\./.test(format)) {
  78. format = `.${format}`;
  79. }
  80. this._format = format;
  81. let templateUrl = resource.getUrlComponent();
  82. if (!trailingSlashRegex.test(templateUrl)) {
  83. templateUrl += "/";
  84. }
  85. templateUrl += `${mapId}/{z}/{x}/{y}${this._format}`;
  86. resource.url = templateUrl;
  87. resource.setQueryParameters({
  88. access_token: accessToken,
  89. });
  90. let credit;
  91. if (defined(options.credit)) {
  92. credit = options.credit;
  93. if (typeof credit === "string") {
  94. credit = new Credit(credit);
  95. }
  96. } else {
  97. credit = defaultCredit;
  98. }
  99. this._resource = resource;
  100. this._imageryProvider = new UrlTemplateImageryProvider({
  101. url: resource,
  102. credit: credit,
  103. ellipsoid: options.ellipsoid,
  104. minimumLevel: options.minimumLevel,
  105. maximumLevel: options.maximumLevel,
  106. rectangle: options.rectangle,
  107. });
  108. this._ready = true;
  109. this._readyPromise = Promise.resolve(true);
  110. }
  111. Object.defineProperties(MapboxImageryProvider.prototype, {
  112. /**
  113. * Gets the URL of the Mapbox server.
  114. * @memberof MapboxImageryProvider.prototype
  115. * @type {string}
  116. * @readonly
  117. */
  118. url: {
  119. get: function () {
  120. return this._imageryProvider.url;
  121. },
  122. },
  123. /**
  124. * Gets a value indicating whether or not the provider is ready for use.
  125. * @memberof MapboxImageryProvider.prototype
  126. * @type {boolean}
  127. * @readonly
  128. * @deprecated
  129. */
  130. ready: {
  131. get: function () {
  132. deprecationWarning(
  133. "MapboxImageryProvider.ready",
  134. "MapboxImageryProvider.ready was deprecated in CesiumJS 1.104. It will be in CesiumJS 1.107."
  135. );
  136. return this._imageryProvider.ready;
  137. },
  138. },
  139. /**
  140. * Gets a promise that resolves to true when the provider is ready for use.
  141. * @memberof MapboxImageryProvider.prototype
  142. * @type {Promise<boolean>}
  143. * @readonly
  144. * @deprecated
  145. */
  146. readyPromise: {
  147. get: function () {
  148. deprecationWarning(
  149. "MapboxImageryProvider.readyPromise",
  150. "MapboxImageryProvider.readyPromise was deprecated in CesiumJS 1.104. It will be in CesiumJS 1.107."
  151. );
  152. return this._imageryProvider._readyPromise;
  153. },
  154. },
  155. /**
  156. * Gets the rectangle, in radians, of the imagery provided by the instance.
  157. * @memberof MapboxImageryProvider.prototype
  158. * @type {Rectangle}
  159. * @readonly
  160. */
  161. rectangle: {
  162. get: function () {
  163. return this._imageryProvider.rectangle;
  164. },
  165. },
  166. /**
  167. * Gets the width of each tile, in pixels.
  168. * @memberof MapboxImageryProvider.prototype
  169. * @type {number}
  170. * @readonly
  171. */
  172. tileWidth: {
  173. get: function () {
  174. return this._imageryProvider.tileWidth;
  175. },
  176. },
  177. /**
  178. * Gets the height of each tile, in pixels.
  179. * @memberof MapboxImageryProvider.prototype
  180. * @type {number}
  181. * @readonly
  182. */
  183. tileHeight: {
  184. get: function () {
  185. return this._imageryProvider.tileHeight;
  186. },
  187. },
  188. /**
  189. * Gets the maximum level-of-detail that can be requested.
  190. * @memberof MapboxImageryProvider.prototype
  191. * @type {number|undefined}
  192. * @readonly
  193. */
  194. maximumLevel: {
  195. get: function () {
  196. return this._imageryProvider.maximumLevel;
  197. },
  198. },
  199. /**
  200. * Gets the minimum level-of-detail that can be requested. Generally,
  201. * a minimum level should only be used when the rectangle of the imagery is small
  202. * enough that the number of tiles at the minimum level is small. An imagery
  203. * provider with more than a few tiles at the minimum level will lead to
  204. * rendering problems.
  205. * @memberof MapboxImageryProvider.prototype
  206. * @type {number}
  207. * @readonly
  208. */
  209. minimumLevel: {
  210. get: function () {
  211. return this._imageryProvider.minimumLevel;
  212. },
  213. },
  214. /**
  215. * Gets the tiling scheme used by the provider.
  216. * @memberof MapboxImageryProvider.prototype
  217. * @type {TilingScheme}
  218. * @readonly
  219. */
  220. tilingScheme: {
  221. get: function () {
  222. return this._imageryProvider.tilingScheme;
  223. },
  224. },
  225. /**
  226. * Gets the tile discard policy. If not undefined, the discard policy is responsible
  227. * for filtering out "missing" tiles via its shouldDiscardImage function. If this function
  228. * returns undefined, no tiles are filtered.
  229. * @memberof MapboxImageryProvider.prototype
  230. * @type {TileDiscardPolicy}
  231. * @readonly
  232. */
  233. tileDiscardPolicy: {
  234. get: function () {
  235. return this._imageryProvider.tileDiscardPolicy;
  236. },
  237. },
  238. /**
  239. * Gets an event that is raised when the imagery provider encounters an asynchronous error.. By subscribing
  240. * to the event, you will be notified of the error and can potentially recover from it. Event listeners
  241. * are passed an instance of {@link TileProviderError}.
  242. * @memberof MapboxImageryProvider.prototype
  243. * @type {Event}
  244. * @readonly
  245. */
  246. errorEvent: {
  247. get: function () {
  248. return this._imageryProvider.errorEvent;
  249. },
  250. },
  251. /**
  252. * Gets the credit to display when this imagery provider is active. Typically this is used to credit
  253. * the source of the imagery.
  254. * @memberof MapboxImageryProvider.prototype
  255. * @type {Credit}
  256. * @readonly
  257. */
  258. credit: {
  259. get: function () {
  260. return this._imageryProvider.credit;
  261. },
  262. },
  263. /**
  264. * Gets the proxy used by this provider.
  265. * @memberof MapboxImageryProvider.prototype
  266. * @type {Proxy}
  267. * @readonly
  268. */
  269. proxy: {
  270. get: function () {
  271. return this._imageryProvider.proxy;
  272. },
  273. },
  274. /**
  275. * Gets a value indicating whether or not the images provided by this imagery provider
  276. * include an alpha channel. If this property is false, an alpha channel, if present, will
  277. * be ignored. If this property is true, any images without an alpha channel will be treated
  278. * as if their alpha is 1.0 everywhere. When this property is false, memory usage
  279. * and texture upload time are reduced.
  280. * @memberof MapboxImageryProvider.prototype
  281. * @type {boolean}
  282. * @readonly
  283. */
  284. hasAlphaChannel: {
  285. get: function () {
  286. return this._imageryProvider.hasAlphaChannel;
  287. },
  288. },
  289. /**
  290. * The default alpha blending value of this provider, with 0.0 representing fully transparent and
  291. * 1.0 representing fully opaque.
  292. * @memberof MapboxImageryProvider.prototype
  293. * @type {Number|undefined}
  294. * @deprecated
  295. */
  296. defaultAlpha: {
  297. get: function () {
  298. deprecationWarning(
  299. "MapboxImageryProvider.defaultAlpha",
  300. "MapboxImageryProvider.defaultAlpha was deprecated in CesiumJS 1.104. It will be in CesiumJS 1.107. Use ImageryLayer.alpha instead."
  301. );
  302. return this._defaultAlpha;
  303. },
  304. set: function (value) {
  305. deprecationWarning(
  306. "MapboxImageryProvider.defaultAlpha",
  307. "MapboxImageryProvider.defaultAlpha was deprecated in CesiumJS 1.104. It will be in CesiumJS 1.107. Use ImageryLayer.alpha instead."
  308. );
  309. this._defaultAlpha = value;
  310. },
  311. },
  312. /**
  313. * The default alpha blending value on the night side of the globe of this provider, with 0.0 representing fully transparent and
  314. * 1.0 representing fully opaque.
  315. * @memberof MapboxImageryProvider.prototype
  316. * @type {Number|undefined}
  317. * @deprecated
  318. */
  319. defaultNightAlpha: {
  320. get: function () {
  321. deprecationWarning(
  322. "MapboxImageryProvider.defaultNightAlpha",
  323. "MapboxImageryProvider.defaultNightAlpha was deprecated in CesiumJS 1.104. It will be in CesiumJS 1.107. Use ImageryLayer.nightAlpha instead."
  324. );
  325. return this.defaultNightAlpha;
  326. },
  327. set: function (value) {
  328. deprecationWarning(
  329. "MapboxImageryProvider.defaultNightAlpha",
  330. "MapboxImageryProvider.defaultNightAlpha was deprecated in CesiumJS 1.104. It will be in CesiumJS 1.107. Use ImageryLayer.nightAlpha instead."
  331. );
  332. this.defaultNightAlpha = value;
  333. },
  334. },
  335. /**
  336. * The default alpha blending value on the day side of the globe of this provider, with 0.0 representing fully transparent and
  337. * 1.0 representing fully opaque.
  338. * @memberof MapboxImageryProvider.prototype
  339. * @type {Number|undefined}
  340. * @deprecated
  341. */
  342. defaultDayAlpha: {
  343. get: function () {
  344. deprecationWarning(
  345. "MapboxImageryProvider.defaultDayAlpha",
  346. "MapboxImageryProvider.defaultDayAlpha was deprecated in CesiumJS 1.104. It will be in CesiumJS 1.107. Use ImageryLayer.dayAlpha instead."
  347. );
  348. return this._defaultDayAlpha;
  349. },
  350. set: function (value) {
  351. deprecationWarning(
  352. "MapboxImageryProvider.defaultDayAlpha",
  353. "MapboxImageryProvider.defaultDayAlpha was deprecated in CesiumJS 1.104. It will be in CesiumJS 1.107. Use ImageryLayer.dayAlpha instead."
  354. );
  355. this._defaultDayAlpha = value;
  356. },
  357. },
  358. /**
  359. * The default brightness of this provider. 1.0 uses the unmodified imagery color. Less than 1.0
  360. * makes the imagery darker while greater than 1.0 makes it brighter.
  361. * @memberof MapboxImageryProvider.prototype
  362. * @type {Number|undefined}
  363. * @deprecated
  364. */
  365. defaultBrightness: {
  366. get: function () {
  367. deprecationWarning(
  368. "MapboxImageryProvider.defaultBrightness",
  369. "MapboxImageryProvider.defaultBrightness was deprecated in CesiumJS 1.104. It will be in CesiumJS 1.107. Use ImageryLayer.brightness instead."
  370. );
  371. return this._defaultBrightness;
  372. },
  373. set: function (value) {
  374. deprecationWarning(
  375. "MapboxImageryProvider.defaultBrightness",
  376. "MapboxImageryProvider.defaultBrightness was deprecated in CesiumJS 1.104. It will be in CesiumJS 1.107. Use ImageryLayer.brightness instead."
  377. );
  378. this._defaultBrightness = value;
  379. },
  380. },
  381. /**
  382. * The default contrast of this provider. 1.0 uses the unmodified imagery color. Less than 1.0 reduces
  383. * the contrast while greater than 1.0 increases it.
  384. * @memberof MapboxImageryProvider.prototype
  385. * @type {Number|undefined}
  386. * @deprecated
  387. */
  388. defaultContrast: {
  389. get: function () {
  390. deprecationWarning(
  391. "MapboxImageryProvider.defaultContrast",
  392. "MapboxImageryProvider.defaultContrast was deprecated in CesiumJS 1.104. It will be in CesiumJS 1.107. Use ImageryLayer.contrast instead."
  393. );
  394. return this._defaultContrast;
  395. },
  396. set: function (value) {
  397. deprecationWarning(
  398. "MapboxImageryProvider.defaultContrast",
  399. "MapboxImageryProvider.defaultContrast was deprecated in CesiumJS 1.104. It will be in CesiumJS 1.107. Use ImageryLayer.contrast instead."
  400. );
  401. this._defaultContrast = value;
  402. },
  403. },
  404. /**
  405. * The default hue of this provider in radians. 0.0 uses the unmodified imagery color.
  406. * @memberof MapboxImageryProvider.prototype
  407. * @type {Number|undefined}
  408. * @deprecated
  409. */
  410. defaultHue: {
  411. get: function () {
  412. deprecationWarning(
  413. "MapboxImageryProvider.defaultHue",
  414. "MapboxImageryProvider.defaultHue was deprecated in CesiumJS 1.104. It will be in CesiumJS 1.107. Use ImageryLayer.hue instead."
  415. );
  416. return this._defaultHue;
  417. },
  418. set: function (value) {
  419. deprecationWarning(
  420. "MapboxImageryProvider.defaultHue",
  421. "MapboxImageryProvider.defaultHue was deprecated in CesiumJS 1.104. It will be in CesiumJS 1.107. Use ImageryLayer.hue instead."
  422. );
  423. this._defaultHue = value;
  424. },
  425. },
  426. /**
  427. * The default saturation of this provider. 1.0 uses the unmodified imagery color. Less than 1.0 reduces the
  428. * saturation while greater than 1.0 increases it.
  429. * @memberof MapboxImageryProvider.prototype
  430. * @type {Number|undefined}
  431. * @deprecated
  432. */
  433. defaultSaturation: {
  434. get: function () {
  435. deprecationWarning(
  436. "MapboxImageryProvider.defaultSaturation",
  437. "MapboxImageryProvider.defaultSaturation was deprecated in CesiumJS 1.104. It will be in CesiumJS 1.107. Use ImageryLayer.saturation instead."
  438. );
  439. return this._defaultSaturation;
  440. },
  441. set: function (value) {
  442. deprecationWarning(
  443. "MapboxImageryProvider.defaultSaturation",
  444. "MapboxImageryProvider.defaultSaturation was deprecated in CesiumJS 1.104. It will be in CesiumJS 1.107. Use ImageryLayer.saturation instead."
  445. );
  446. this._defaultSaturation = value;
  447. },
  448. },
  449. /**
  450. * The default gamma correction to apply to this provider. 1.0 uses the unmodified imagery color.
  451. * @memberof MapboxImageryProvider.prototype
  452. * @type {Number|undefined}
  453. * @deprecated
  454. */
  455. defaultGamma: {
  456. get: function () {
  457. deprecationWarning(
  458. "MapboxImageryProvider.defaultGamma",
  459. "MapboxImageryProvider.defaultGamma was deprecated in CesiumJS 1.104. It will be in CesiumJS 1.107. Use ImageryLayer.gamma instead."
  460. );
  461. return this._defaultGamma;
  462. },
  463. set: function (value) {
  464. deprecationWarning(
  465. "MapboxImageryProvider.defaultGamma",
  466. "MapboxImageryProvider.defaultGamma was deprecated in CesiumJS 1.104. It will be in CesiumJS 1.107. Use ImageryLayer.gamma instead."
  467. );
  468. this._defaultGamma = value;
  469. },
  470. },
  471. /**
  472. * The default texture minification filter to apply to this provider.
  473. * @memberof MapboxImageryProvider.prototype
  474. * @type {TextureMinificationFilter}
  475. * @deprecated
  476. */
  477. defaultMinificationFilter: {
  478. get: function () {
  479. deprecationWarning(
  480. "MapboxImageryProvider.defaultMinificationFilter",
  481. "MapboxImageryProvider.defaultMinificationFilter was deprecated in CesiumJS 1.104. It will be in CesiumJS 1.107. Use ImageryLayer.minificationFilter instead."
  482. );
  483. return this._defaultMinificationFilter;
  484. },
  485. set: function (value) {
  486. deprecationWarning(
  487. "MapboxImageryProvider.defaultMinificationFilter",
  488. "MapboxImageryProvider.defaultMinificationFilter was deprecated in CesiumJS 1.104. It will be in CesiumJS 1.107. Use ImageryLayer.minificationFilter instead."
  489. );
  490. this._defaultMinificationFilter = value;
  491. },
  492. },
  493. /**
  494. * The default texture magnification filter to apply to this provider.
  495. * @memberof MapboxImageryProvider.prototype
  496. * @type {TextureMagnificationFilter}
  497. * @deprecated
  498. */
  499. defaultMagnificationFilter: {
  500. get: function () {
  501. deprecationWarning(
  502. "MapboxImageryProvider.defaultMagnificationFilter",
  503. "MapboxImageryProvider.defaultMagnificationFilter was deprecated in CesiumJS 1.104. It will be in CesiumJS 1.107. Use ImageryLayer.magnificationFilter instead."
  504. );
  505. return this._defaultMagnificationFilter;
  506. },
  507. set: function (value) {
  508. deprecationWarning(
  509. "MapboxImageryProvider.defaultMagnificationFilter",
  510. "MapboxImageryProvider.defaultMagnificationFilter was deprecated in CesiumJS 1.104. It will be in CesiumJS 1.107. Use ImageryLayer.magnificationFilter instead."
  511. );
  512. this._defaultMagnificationFilter = value;
  513. },
  514. },
  515. });
  516. /**
  517. * Gets the credits to be displayed when a given tile is displayed.
  518. *
  519. * @param {number} x The tile X coordinate.
  520. * @param {number} y The tile Y coordinate.
  521. * @param {number} level The tile level;
  522. * @returns {Credit[]} The credits to be displayed when the tile is displayed.
  523. */
  524. MapboxImageryProvider.prototype.getTileCredits = function (x, y, level) {
  525. return undefined;
  526. };
  527. /**
  528. * Requests the image for a given tile.
  529. *
  530. * @param {number} x The tile X coordinate.
  531. * @param {number} y The tile Y coordinate.
  532. * @param {number} level The tile level.
  533. * @param {Request} [request] The request object. Intended for internal use only.
  534. * @returns {Promise<ImageryTypes>|undefined} A promise for the image that will resolve when the image is available, or
  535. * undefined if there are too many active requests to the server, and the request should be retried later.
  536. *
  537. * @exception {DeveloperError} <code>requestImage</code> must not be called before the imagery provider is ready.
  538. */
  539. MapboxImageryProvider.prototype.requestImage = function (x, y, level, request) {
  540. return this._imageryProvider.requestImage(x, y, level, request);
  541. };
  542. /**
  543. * Asynchronously determines what features, if any, are located at a given longitude and latitude within
  544. * a tile. This function is optional, so it may not exist on all ImageryProviders.
  545. *
  546. * @param {number} x The tile X coordinate.
  547. * @param {number} y The tile Y coordinate.
  548. * @param {number} level The tile level.
  549. * @param {number} longitude The longitude at which to pick features.
  550. * @param {number} latitude The latitude at which to pick features.
  551. * @return {Promise<ImageryLayerFeatureInfo[]>|undefined} A promise for the picked features that will resolve when the asynchronous
  552. * picking completes. The resolved value is an array of {@link ImageryLayerFeatureInfo}
  553. * instances. The array may be empty if no features are found at the given location.
  554. * It may also be undefined if picking is not supported.
  555. */
  556. MapboxImageryProvider.prototype.pickFeatures = function (
  557. x,
  558. y,
  559. level,
  560. longitude,
  561. latitude
  562. ) {
  563. return this._imageryProvider.pickFeatures(x, y, level, longitude, latitude);
  564. };
  565. // Exposed for tests
  566. MapboxImageryProvider._defaultCredit = defaultCredit;
  567. export default MapboxImageryProvider;